| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Merge branch 'master' into sebastiaan/features/use-async-rediscache-package | 2020-09-22 | -1136/+1003 | |
| |\ | ||||
| | * | Merge pull request #1164 from python-discord/sebastiaan/bugs/duckpond | 2020-09-21 | -630/+102 | |
| | |\ | | | | | | | Several improvements to duckpond | |||
| | | * | Use `has_any_role` decorator instead of old `with_role` decorator | 2020-09-21 | -2/+2 | |
| | | | | ||||
| | | * | Merge branch 'master' into sebastiaan/bugs/duckpond | 2020-09-21 | -506/+901 | |
| | | |\ | | |/ | |/| | ||||
| | * | | Merge branch 'bug/1142/fix-everyone-ping' into master | 2020-09-21 | -62/+47 | |
| | |\ \ | ||||
| | | * \ | Merge branch 'master' into bug/1142/fix-everyone-ping | 2020-09-19 | -88/+808 | |
| | | |\ \ | ||||
| | | * | | | Add everyone_ping filter. | 2020-09-08 | -11/+47 | |
| | | | | | | ||||
| | | * | | | Remove everyone_ping rule from antispam. | 2020-09-07 | -152/+0 | |
| | | | | | | | | | | | | | | | | | | | | | The feature will be moved to the filtering cog. | |||
| | | * | | | Add test for everyone_ping rule. | 2020-09-05 | -0/+102 | |
| | | | | | | ||||
| | | * | | | Detect pings after removing codeblocks. | 2020-09-05 | -6/+9 | |
| | | | | | | ||||
| | * | | | | Merge pull request #1167 from Numerlor/eval-escape-paste | 2020-09-21 | -2/+3 | |
| | |\ \ \ \ | | | | | | | | | | | | | Upload eval output with codeblock escapes to pastebin | |||
| | | * | | | | Accommodate new upload behaviour in tests | 2020-09-21 | -2/+2 | |
| | | | | | | | ||||
| | | * | | | | Upload output with codeblock escapes to pastebin | 2020-09-21 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The output can't be sent to discord, but it won't affect anything in the paste service and can safely be uploaded to it. | |||
| | * | | | | | Merge pull request #1150 from python-discord/feat/backend/217/has_any_role | 2020-09-21 | -180/+173 | |
| | |\ \ \ \ \ | | | | | | | | | | | | | | | Implement with(out)_role checks and decorators using has_any_role | |||
| | | * \ \ \ \ | Fix conflicts caused by #1103 | 2020-09-21 | -526/+1662 | |
| | | |\ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | Bunch of things were renamed, which mainly caused import conflicts. | |||
| | * | | | | | | Merge PR #817: Write tests for moderation utils | 2020-09-21 | -12/+384 | |
| | |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | ||||
| | | * | | | | | Fix mod utils tests patch locations | 2020-09-21 | -4/+4 | |
| | | | | | | | | ||||
| | | * | | | | | Fix import order of mod utils tests | 2020-09-21 | -1/+1 | |
| | | | | | | | | ||||
| | | * | | | | | Fix import path of mod utils | 2020-09-21 | -1/+1 | |
| | | | | | | | | ||||
| | | * | | | | | Fix end of file of mod utils tests | 2020-09-21 | -1/+1 | |
| | | | | | | | | ||||
| | | * | | | | | Merge branch 'master' into mod-utils-tests | 2020-09-21 | -3062/+6783 | |
| | | |\ \ \ \ \ | | |/ / / / / | |/| | | | | | ||||
| | * | | | | | | Merge pull request #1103 from python-discord/feat/backend/160/cog-subdirs | 2020-09-21 | -257/+301 | |
| | |\ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | Move cogs to subdirectories | |||
| | | * | | | | | Merge branch 'master' into feat/backend/160/cog-subdirs | 2020-09-21 | -811/+1257 | |
| | | |\ \ \ \ \ | | |/ / / / / | |/| | | | | | ||||
| | | * | | | | | Categorise most of the uncategorised extensions | 2020-08-19 | -5/+5 | |
| | | | | | | | | ||||
| | | * | | | | | Dynamically discover and load extensions upon startup | 2020-08-19 | -61/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Being explicit is nice, but the list of extensions to load has gotten quite long. It's a bit of an eyesore. It's still fairly easy to temporarily exclude extensions: just remove them from the set. Granted, being able to comment them out was more convenient. | |||
| | | * | | | | | Extensions: move utility functions to a utility module | 2020-08-19 | -29/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes the cog cleaner and makes the functions more accessible for other modules. | |||
| | | * | | | | | Extensions: beautify name unqualification | 2020-08-19 | -3/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Yes, that's a real word. | |||
| | | * | | | | | Replace relative imports with absolute ones | 2020-08-19 | -13/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PEP 8 recommends absolute imports over relative ones. | |||
| | | * | | | | | Add comment to explain why import is deferred | 2020-08-19 | -0/+1 | |
| | | | | | | | | ||||
| | | * | | | | | Rename "cogs" directory to "exts" | 2020-08-14 | -163/+164 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The directory contains modules, which are extensions. It only indirectly contains cogs through the extensions. Therefore, a technically more accurate name is "extensions", or "exts" when abbreviated. Furthermore, "exts" is consistent with SeasonalBot. | |||
| | | * | | | | | Defer imports in extensions using __init__.py | 2020-08-14 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since `pkgutil.walk_packages` imports packages it comes across, it's best to avoid potential side effects from imports. | |||
| | | * | | | | | Extensions: support unqualified extension names | 2020-08-14 | -3/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's convenient for users to type less to specify the exception they want. Only require a qualified name if an unqualified name is ambiguous (i.e. two modules in different subpackages have identical names). | |||
| | | * | | | | | Extensions: refactor category grouping code | 2020-08-14 | -3/+2 | |
| | | | | | | | | ||||
| | | * | | | | | Extensions: support nested groupings in list command | 2020-08-14 | -6/+5 | |
| | | | | | | | | ||||
| | | * | | | | | Extensions: group by category in list command | 2020-08-14 | -9/+29 | |
| | | | | | | | | ||||
| | | * | | | | | Extensions: adjust discovery to work with dir structure | 2020-08-14 | -8/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discover extensions recursively and ignore any modules/packages whose names start with an underscore. | |||
| | | * | | | | | Fix paths used to load extensions | 2020-08-14 | -38/+55 | |
| | | | | | | | | ||||
| | | * | | | | | Fix ModLog imports | 2020-08-14 | -8/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bunch of modules still rely on importing the cog directly from the moderation package. | |||
| | | * | | | | | Prefix names of non-extension modules with _ | 2020-08-14 | -87/+100 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This naming scheme will make them easy to distinguish from extensions. | |||
| | | * | | | | | Restructure tests and fix broken tests | 2020-08-14 | -37/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cog tests structure should mirror the structure of the cogs folder. Fix some import/patch paths which broke due to the restructure. | |||
| | | * | | | | | Move extensions into sub-directories | 2020-08-13 | -23/+23 | |
| | | | | | | | | ||||
| | | | * | | | | Apply recent changes of notify infraction to test | 2020-09-20 | -3/+2 | |
| | | | | | | | | ||||
| | | | * | | | | Try to fix location from where post infraction test get ID | 2020-09-20 | -2/+2 | |
| | | | | | | | | ||||
| | | | * | | | | Remove useless textwrap import | 2020-09-20 | -1/+0 | |
| | | | | | | | | ||||
| | | | * | | | | Remove special shortening from reason | 2020-09-20 | -1/+1 | |
| | | | | | | | | ||||
| | | | * | | | | Shorten infraction text when any other field than reason is too long | 2020-09-13 | -0/+4 | |
| | | | | | | | | ||||
| | | | * | | | | Restore newlines for `notify_infraction` embed description | 2020-07-06 | -14/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Truncate reason instead full content to avoid removing newlines | |||
| | | | * | | | | Remove unnecessary if statement from send_private_embed test | 2020-06-25 | -2/+1 | |
| | | | | | | | | ||||
| | | | * | | | | Reorder tests order to match with original file | 2020-06-24 | -65/+65 | |
| | | | | | | | | ||||
| | | | * | | | | Remove unnecessary `textwrap.dedent` in `notify_infraction` | 2020-06-24 | -6/+4 | |
| | | | | | | | | ||||