Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
| | * | | (Information Tests, discord.py 1.3.x Migration): Fixed `InformationCogTests` ↵ | 2020-04-03 | -3/+3 | ||
| | | | | | | | | | | | | | | | | command calls. | ||||
| | * | | (Information Tests, discord.py 1.3.x Migration): In `InformationCogTests`, ↵ | 2020-04-03 | -8/+3 | ||
| | | | | | | | | | | | | | | | | replaced `.callback` calls with direct command awaits. | ||||
| | * | | (Information Tests, discord.py 1.3.x Migration): Moved from ↵ | 2020-04-03 | -25/+29 | ||
| | | | | | | | | | | | | | | | | `unittest.TestCase` to `unittest.IsolatedAsyncTestCase` rest of test case classes. | ||||
| | * | | (Information Tests, discord.py 1.3.x Migration): Moved from ↵ | 2020-04-03 | -4/+4 | ||
| | | | | | | | | | | | | | | | | `unittest.TestCase` to `unittest.IsolatedAsyncTestCase` in `InformationCogTests`. | ||||
| | * | | (Snekbox Fix, discord.py 1.3.x Migration): Applied one reaction clear to tests. | 2020-04-02 | -2/+2 | ||
| | | | | |||||
| | * | | (Patches, discord.py 1.3.x Migration): Removed patches due not longer necessary. | 2020-04-02 | -0/+0 | ||
| | | | | |||||
| * | | | Refactor unit tests UserSyncerSyncTests to use changes made to UserSyncer in ↵ | 2020-10-02 | -7/+5 | ||
| | | | | | | | | | | | | | | | | _syncers.py | ||||
| * | | | update UserSyncerDiffTests Tests to use changes made to API calls. | 2020-10-02 | -6/+32 | ||
| | | | | |||||
| * | | | Merge branch 'master' into smart_syncing_users | 2020-10-01 | -371/+138 | ||
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | PR #1151 Sync: remove confirmation | 2020-09-26 | -345/+14 | ||
| | |\ \ | |||||
| | | * \ | Merge branch 'master' into feat/backend/1075/remove-syncer-confirm | 2020-09-22 | -972/+574 | ||
| | | |\ \ | |||||
| | | * | | | Fix test for sync message being edited | 2020-09-07 | -1/+3 | ||
| | | | | | | |||||
| | | * | | | Sync: remove confirmation | 2020-09-07 | -345/+12 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The confirmation was intended to be a safe guard against cache issues that would cause a huge number of roles/users to deleted after syncing. With `wait_until_guild_available`, such cache issue shouldn't arise. Therefore, this feature is obsolete. Resolve #1075 | ||||
| | * | | | | Merge pull request #1161 from bast0006/feature-bast-user-token-notify | 2020-09-25 | -26/+124 | ||
| | |\ \ \ \ | | | | | | | | | | | | | | | Add userid decoding and user token detection to the token removal moderation feature | ||||
| | | * | | | | Remove redundant is_valid_userid function | 2020-09-25 | -19/+26 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | extract_user_id(id) is not None does the same job and is not worth the extra function | ||||
| | | * | | | | Change the mod alert message component for the user token detection | 2020-09-24 | -37/+14 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up mock usage, docstrings, unnecessarily split-lined function calls | ||||
| | | * | | | | Add BOT vs USER token detection, properly handling bot tokens for bots in ↵ | 2020-09-24 | -8/+38 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the current server Also adjust the naming and purposes of the format messages to KNOWN and UNKNOWN token messages. | ||||
| | | * | | | | Implement review-suggested changes | 2020-09-24 | -33/+54 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | userid -> user ID maybevalid -> maybe_valid remove collections import and added a new function that handles the "format user ID log message" and should_ping_everyone feature | ||||
| | | * | | | | Merge branch 'master' into feature-bast-user-token-notify | 2020-09-21 | -101/+462 | ||
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Resynchronize changes with the new cog folder arrangement | ||||
| | | * | | | | | Make token_remover check basic HMAC validity (not low entropy) | 2020-09-19 | -5/+35 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handles cases like xxx.xxxxx.xxxxxxxx where a user has intentionally censored part of a token, and will not consider them "valid" | ||||
| | | * | | | | | Add feature to token_remover: log detected user ID, and ping if it's a user ↵ | 2020-09-19 | -6/+39 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in the server Updated tests This comes with a change that a user ID must actually be able to be decoded into an integer to be considered a valid token | ||||
| * | | | | | | | modify tests to use paginated response. | 2020-09-27 | -6/+37 | ||
| |/ / / / / / | |||||
| * | | | | | | Merge branch 'master' into feat/info/1125/user-cmd-whitelist-modmail | 2020-09-22 | -989/+599 | ||
| |\ \ \ \ \ \ | |||||
| | * \ \ \ \ \ | Merge branch 'master' into feat/frontend/533/mod-log-names | 2020-09-22 | -1019/+652 | ||
| | |\ \ \ \ \ \ | | | | |_|_|/ / | | | |/| | | | | |||||
| | | * | | | | | Merge branch 'master' into sebastiaan/features/use-async-rediscache-package | 2020-09-22 | -672/+491 | ||
| | | |\ \ \ \ \ | |||||
| | | | * \ \ \ \ | Merge branch 'master' into sebastiaan/bugs/duckpond | 2020-09-21 | -124/+491 | ||
| | | | |\ \ \ \ \ | |||||
| | | | | * \ \ \ \ | Merge pull request #1167 from Numerlor/eval-escape-paste | 2020-09-21 | -2/+2 | ||
| | | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | Upload eval output with codeblock escapes to pastebin | ||||
| | | | | | * | | | | | Accommodate new upload behaviour in tests | 2020-09-21 | -2/+2 | ||
| | | | | | | | | | | | |||||
| | | | | * | | | | | | Fix conflicts caused by #1103 | 2020-09-21 | -133/+538 | ||
| | | | | |\ \ \ \ \ \ | | | | | | | |_|/ / / | | | | | | |/| | | | | | | | | | | | | | | | Bunch of things were renamed, which mainly caused import conflicts. | ||||
| | | | | | * | | | | | 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 | -352/+1807 | ||
| | | | | | |\| | | | | |||||
| | | | | | | * | | | | Merge branch 'master' into feat/backend/160/cog-subdirs | 2020-09-21 | -82/+157 | ||
| | | | | | | |\| | | | |||||
| | | | | | | * | | | | Categorise most of the uncategorised extensions | 2020-08-19 | -5/+5 | ||
| | | | | | | | | | | | |||||
| | | | | | | * | | | | Rename "cogs" directory to "exts" | 2020-08-14 | -97/+98 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | | | | | | * | | | | Fix ModLog imports | 2020-08-14 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bunch of modules still rely on importing the cog directly from the moderation package. | ||||
| | | | | | | * | | | | Prefix names of non-extension modules with _ | 2020-08-14 | -13/+14 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -14/+14 | ||
| | | | | | | | | | | | |||||
| | | | | | * | | | | | 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 | ||
| | | | | | | | | | | | |||||
| | | | | | * | | | | | Restore newlines for `notify_infraction` embed description | 2020-07-06 | -11/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||
| | | | | | | | | | | | |||||
| | | | | | * | | | | | Move infraction description template back to main file, apply it there | 2020-06-24 | -11/+5 | ||
| | | | | | | | | | | | |||||
| | | | | | * | | | | | Fix test case key name in `test_notify_infraction` | 2020-06-24 | -1/+1 | ||
| | | | | | | | | | | | |||||
| | | | | | * | | | | | Add other parameters to `test_post_user` `not_user` mock | 2020-06-24 | -5/+5 | ||
| | | | | | | | | | | | |||||
| | | | | | * | | | | | Remove unnecessary `log.debug` assert in `test_post_user` | 2020-06-24 | -8/+1 | ||
| | | | | | | | | | | |