Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discordpy bump #2820

Merged
merged 31 commits into from
Jul 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
fae731e
feat: add github_token in config
officialpiyush Feb 21, 2020
8b127b5
feat: add authorization header if present
officialpiyush Feb 21, 2020
5aa1f00
fix: add a missing comma
officialpiyush Feb 21, 2020
0ea0a90
Update bot.py
Taaku18 May 27, 2020
e0387a4
Bumped versions in requirements, unstable
Taaku18 Jun 7, 2020
faee71a
Merge branch 'master' into discordpy-bump
Taaku18 Jun 7, 2020
fd61637
Implement teams in metadata
Taaku18 Jun 7, 2020
67ef0a3
Use event_type for raw reaction update, rename owner_ids -> bot_owner…
Taaku18 Jun 7, 2020
48314e1
Channel delete no longer show warnings and threads get closed properl…
Taaku18 Jun 7, 2020
04e15ef
Use auditlog for message delete event to decrease error rate
Taaku18 Jun 7, 2020
f98354c
Slight error fix
Taaku18 Jun 7, 2020
9a92a74
Add skeleton for dpy dump update
Taaku18 Jun 7, 2020
6bf3064
disable eval config
Taaku18 Jun 7, 2020
a7b155b
Plugins change
Taaku18 Jun 8, 2020
3dc80b7
Merge branch 'discordpy-bump' into feature(plugins)-support-private-r…
Taaku18 Jun 9, 2020
fcacfb6
Add to changelog and bump version
Taaku18 Jun 9, 2020
3da9d68
Merge pull request #2767 from kyb3r/feature(plugins)-support-private-…
Taaku18 Jun 9, 2020
3eaec9b
Merge pull request #2799 from kyb3r/windows-proactor-eventloop-quickfix
Taaku18 Jun 9, 2020
691f916
Bump version for windows plugins support
Taaku18 Jun 9, 2020
ac44377
Black format
Taaku18 Jun 9, 2020
1537298
Add additional database support potentials
Taaku18 Jun 9, 2020
491d07a
Update app.json
Taaku18 Jun 9, 2020
f6957c4
Update Pipfile
Taaku18 Jun 10, 2020
c12a16e
Add pip to pipfile, apparently theres a dependency problem?
Taaku18 Jun 10, 2020
f51a7fb
Rollback py version for heroku
Taaku18 Jun 10, 2020
a27f8bc
dpy 1.3.4
Taaku18 Jul 9, 2020
86f959c
Use py 3.7.8
Taaku18 Jul 9, 2020
53a5176
Freeze into requirements.txt
Taaku18 Jul 9, 2020
e849892
Dont use pipenv in procfile
Taaku18 Jul 9, 2020
494abba
Done
Taaku18 Jul 9, 2020
178ea9c
Dump 3.5.0
Taaku18 Jul 9, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,34 @@ This project mostly adheres to [Semantic Versioning](https://semver.org/spec/v2.
however, insignificant breaking changes do not guarantee a major version bump, see the reasoning [here](https://github.com/kyb3r/modmail/issues/319). If you're a plugins developer, note the "BREAKING" section.


# v3.5.0

Fixed discord.py issue.

### Added

- A confirmation when you manually delete a thread message embed.
- Config var `enable_eval` defaults true, set `enable_eval=no` to disable the eval command. (GH #2803)
- Added `?plugins reset` command to completely reset everything related to plugins. This will fix some problems caused by broken plugins in the file system.
- Support private GitHub repos for plugins (thanks to @officialpiyush pr#2767)

### Changed

- Bump discord.py version to v1.3.3.
- Renamed `bot.owner_ids` to `bot.bot_owner_ids` as the attribute is now defined internally for team support.
- Deleting channel manually will now close the thread.
- Deleting messages will no longer cause the bot to produce warnings.
- Plugins will automatically be removed when it fails to load.
- Moved all database-related activities to clients.py under MongoDBClient, with possible future hook for additional database support.
- `bot.db` is deprecated in favour of `bot.api.db` and will be removed in the future.
- Deprecated `bot.plugin_db.get_partition` in favour of `bot.api.get_plugin_partition` (not final).
- Deprecated `MONGO_URI` config var (but will keep support in the future) in favour of `CONNECTION_URI` and `DATABASE_TYPE`. Right now there is one supported database - "mongodb", which is the default.

### Fixed

- Plugins not loading in Windows OS. Now uses proactor event loop for asyncio which should fix this.


# v3.4.1

### Fixed
Expand Down
8 changes: 4 additions & 4 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]
black = "==19.3b0"
black = "==19.10b0"
pylint = "*"
bandit = "==1.6.2"

Expand All @@ -17,11 +17,11 @@ motor = ">=2.0.0"
natural = "==0.2.0"
isodate = ">=0.6.0"
dnspython = "~=1.16.0"
parsedatetime = "==2.5"
aiohttp = "<3.6.0,>=3.3.0"
parsedatetime = "==2.6"
aiohttp = ">=3.6.0,<3.7.0"
python-dotenv = ">=0.10.3"
pipenv = "*"
"discord.py" = "==1.2.5"
"discord.py" = "==1.3.4"

[requires]
python_version = "3.7"
Expand Down
532 changes: 308 additions & 224 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
worker: pipenv run bot
worker: python bot.py
8 changes: 6 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@
"description": "Comma separated user IDs of people that are allowed to use owner only commands. (eval).",
"required": true
},
"MONGO_URI": {
"description": "Mongo DB connection URI for self-hosting your data.",
"CONNECTION_URI": {
"description": "The connection URI for your database.",
"required": true
},
"DATABASE_TYPE": {
"description": "The type of your database. There is only one supported database at the moment - MongoDB (default).",
"required": false
},
"LOG_URL": {
"description": "The url of the log viewer app for viewing self-hosted logs.",
"required": true
Expand Down
Loading