| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | 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 | |
| | | |\ | ||||
| | | | * | Merge branch 'master' into truncate-internal-eval | 2020-09-16 | -122/+1305 | |
| | | | |\ | ||||
| | | | * | | Change tests to work with the new file layout. | 2020-07-15 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | 326beebe9b097731a39ecc9868e5e1f2bd762aae | |||
| | | | * | | Merge branch 'master' into truncate-internal-eval | 2020-06-21 | -179/+662 | |
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # bot/utils/__init__.py | |||
| | | | * \ \ | Merge branch 'master' into truncate-internal-eval | 2020-05-30 | -33/+390 | |
| | | | |\ \ \ | ||||
| | | | * | | | | Add tests for `send_to_paste_service`. | 2020-05-08 | -0/+74 | |
| | | | | | | | | ||||
| | | | * | | | | Adjust behaviour for new func usage. | 2020-05-07 | -14/+5 | |
| | | | | | | | | ||||
| | | | * | | | | Remove tests from moved function. | 2020-05-07 | -15/+0 | |
| | | | | | | | | ||||
| | | * | | | | | 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 | |
| | | | | | | | | ||||
| | * | | | | | | Merge 2 if-else branches is `test_post_user` | 2020-06-24 | -5/+2 | |
| | | | | | | | | ||||
| | * | | | | | | Replace `True` test with `In` test on `test_post_user` | 2020-06-24 | -1/+1 | |
| | | | | | | | | ||||
| | * | | | | | | Sync keys, variable names and kwargs in `test_post_user` | 2020-06-24 | -12/+12 | |
| | | | | | | | | ||||
| | * | | | | | | Remove case variable definitions in `test_notify_infraction` | 2020-06-24 | -10/+6 | |
| | | | | | | | | ||||
| | * | | | | | | Mod Utils Tests: Remove unnecessary `user` from test name | 2020-06-24 | -1/+1 | |
| | | | | | | | | ||||
| | * | | | | | | Mod Utils Tests: Change `True` assert to `In` assert for message check | 2020-06-24 | -2/+3 | |
| | | | | | | | | ||||
| | * | | | | | | Mod Utils Tests: Move some test cases to `namedtuple` | 2020-06-24 | -66/+29 | |
| | | | | | | | | ||||
| | * | | | | | | Mod Utils Tests: Move INFRACTION_DESCRIPTION_TEMPLATE to tests file | 2020-06-24 | -5/+11 | |
| | | | | | | | | ||||
| | * | | | | | | Increase coverage of moderation utils tests | 2020-06-12 | -5/+36 | |
| | | | | | | | | ||||
| | * | | | | | | Implement description shortening to infraction notify tests | 2020-06-12 | -8/+27 | |
| | | | | | | | | ||||
| | * | | | | | | Remove deprecated avatar hash in `test_post_user` | 2020-06-12 | -3/+1 | |
| | | | | | | | | ||||
| | * | | | | | | Merge branch 'master' into mod-utils-tests | 2020-06-11 | -95/+715 | |
| | |\ \ \ \ \ \ | ||||
| | * | | | | | | | Mod Utils Tests: Replace `has_active_infraction` with `get_active_infraction` | 2020-05-14 | -5/+5 | |
| | | | | | | | | | ||||
| | * | | | | | | | Merge branch 'master' into mod-utils-tests | 2020-05-14 | -63/+586 | |
| | |\ \ \ \ \ \ \ | | | |_|/ / / / | | |/| | | | | | ||||
| | * | | | | | | | (Mod Utils + Tests): Moved constants from tests to utils, applied change | 2020-03-13 | -26/+14 | |
| | | | | | | | | | ||||
| | * | | | | | | | (Moderation Utils Tests): Removed Pardon Color constant. | 2020-03-13 | -3/+1 | |
| | | | | | | | | | ||||
| | * | | | | | | | (Moderation Utils Tests): Removed Infraction Color constant. | 2020-03-13 | -5/+4 | |
| | | | | | | | | | ||||
| | * | | | | | | | (Moderation Utils Tests): Fixed formatting in `notify_pardon` test. | 2020-03-13 | -1/+2 | |
| | | | | | | | | | ||||
| | * | | | | | | | (Moderation Utils Tests): Moved `return_value` to `patch` decorator. | 2020-03-13 | -4/+2 | |
| | | | | | | | | | ||||