| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Merge branch 'master' into bug/backend/s329/docker-compose-tty | 2020-02-24 | -571/+888 | |
| |\ | ||||
| | * | Merge pull request #741 from Denayder/information-refactor | 2020-02-23 | -73/+50 | |
| | |\ | | | | | | | Refactor information.py with lots of changes that makes the overall code cleaner and faster | |||
| | | * | Merge branch 'master' into information-refactor | 2020-02-23 | -562/+978 | |
| | | |\ | | |/ | |/| | ||||
| | * | | Merge pull request #771 from python-discord/paginator-react-404 | 2020-02-23 | -18/+22 | |
| | |\ \ | | | | | | | | | Fix paginator erroring on clearing reactions from non-existing messages. | |||
| | | * \ | Merge branch 'master' into paginator-react-404 | 2020-02-23 | -14/+11 | |
| | | |\ \ | | |/ / | |/| | | ||||
| | * | | | Merge pull request #759 from ↵ | 2020-02-23 | -1/+1 | |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | python-discord/optimize/pagination/emoji_collection_structure Pagination migrations - Emoji Data Structure Modified | |||
| | | * \ \ | Merge branch 'master' into optimize/pagination/emoji_collection_structure | 2020-02-23 | -478/+814 | |
| | | |\ \ \ | | |/ / / | |/| | | | ||||
| | * | | | | Merge pull request #772 from python-discord/dm_failure_fix | 2020-02-23 | -12/+9 | |
| | |\ \ \ \ | | | | | | | | | | | | | Don't log exception traceback on Forbidden for welcomes. | |||
| | | * | | | | Don't log exception traceback on Forbidden for welcomes. | 2020-02-23 | -12/+9 | |
| | |/ / / / | ||||
| | * | | | | Don't set project log level so it uses root level. | 2020-02-23 | -1/+1 | |
| | | | | | | ||||
| | | * | | | Pagination migrations - Emoji Data Structure Modified | 2020-02-17 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the pagination emoji collection from list to tuple This change was suggested since this collection is constant | |||
| | | | * | | Define `_count` in `__init__`. | 2020-02-23 | -0/+1 | |
| | | | | | | ||||
| | | | * | | Suppress NotFound on react clear, tidy imports. | 2020-02-23 | -18/+21 | |
| | | |/ / | |/| | | ||||
| | * | | | Change defcon log levels from warning to info | 2020-02-21 | -2/+2 | |
| | | | | | ||||
| | * | | | Enable logging warnings to Sentry | 2020-02-21 | -3/+12 | |
| | | | | | ||||
| | * | | | Merge pull request #733 from kwzrd/unittest-antispam-rules | 2020-02-21 | -178/+634 | |
| | |\ \ \ | | | | | | | | | | | Add test cases for antispam rules, fix bug in attachments rule & test | |||
| | | * \ \ | Merge branch 'master' into unittest-antispam-rules | 2020-02-21 | -658/+494 | |
| | | |\ \ \ | | |/ / / | |/| | | | ||||
| | * | | | | Merge pull request #762 from python-discord/setup-sentry-sdk | 2020-02-21 | -145/+40 | |
| | |\ \ \ \ | | | | | | | | | | | | | Sentry SDK setup | |||
| | | * | | | | Attach jump_to url to the event | 2020-02-21 | -0/+8 | |
| | | | | | | | ||||
| | | * | | | | Use push_scope instead of configure_scope | 2020-02-21 | -2/+2 | |
| | | | | | | | ||||
| | | * | | | | Use log.error instead of capture_exception | 2020-02-21 | -2/+2 | |
| | | | | | | | ||||
| | | * | | | | Remove AIOHTTP integration from Sentry since it is intended for AIOHTTP servers. | 2020-02-21 | -3/+1 | |
| | | | | | | | ||||
| | | * | | | | Remove tests for custom bot log | 2020-02-21 | -62/+2 | |
| | | | | | | | ||||
| | | * | | | | Add basic sentry usage for command errors giving user information and ↵ | 2020-02-21 | -85/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | command context. | |||
| | | * | | | | Attach extra information on a command error | 2020-02-21 | -1/+13 | |
| | | | | | | | ||||
| | | * | | | | Set BOT_SENTRY_DSN environment variable for tests | 2020-02-21 | -1/+1 | |
| | | | | | | | ||||
| | | * | | | | Implement basic Sentry SDK usage | 2020-02-21 | -2/+14 | |
| | |/ / / / | ||||
| | * | | | | Merge pull request #761 from python-discord/logging | 2020-02-20 | -124/+81 | |
| | |\ \ \ \ | | | | | | | | | | | | | Refactor logging setup to be more explicit and cleaner. | |||
| | | * | | | | Update flake8-annotations to v2.0. | 2020-02-20 | -10/+51 | |
| | | | | | | | ||||
| | | * | | | | Change to explicit logs, remove logmatic. | 2020-02-20 | -160/+76 | |
| | |/ / / / | ||||
| | * | | | | Merge pull request #753 | 2020-02-19 | -16/+38 | |
| | |\ \ \ \ | | |_|/ / | |/| | | | Show created date and duration in expired infraction log | |||
| | | * | | | Merge branch 'master' into feat/frontend/b685/expired-infraction-log-duration | 2020-02-19 | -1/+1 | |
| | | |\ \ \ | | |/ / / | |/| | | | ||||
| | * | | | | Change snekbox api url to internal docker domain. | 2020-02-17 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NGINX has been dockerised, and proxy passes now reference internal container domains rather than referencing host or external domains. This will have a few extra benefits: - Less external factors involved for resolving the service address - Can work with the same address on development envs - Snekbox can be closed down entirely so it's inaccessible from external networks. | |||
| | | * | | | Moderation: show avatar in infraction deactivation log | 2020-02-19 | -0/+5 | |
| | | | | | | ||||
| | | * | | | Moderation: show member as a mention in expired infraction log | 2020-02-15 | -1/+1 | |
| | | | | | | ||||
| | | * | | | Moderation: show correct actor in expired infraction log | 2020-02-15 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The bot user was always being used instead of using the actor field of the infraction. | |||
| | | * | | | Moderation: add creation date & duration to expired infraction log | 2020-02-15 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | Closes #685 | |||
| | | * | | | Utils: refactor format_infraction_with_duration and support absolute val | 2020-02-15 | -13/+23 | |
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The absolute value is useful for preventing negative values in the case that date_to is in the past relative to date_from. * Add an absolute parameter to take the absolute value of the duration * Rename expiry to date_to * Rewrite the docstring | |||
| | | * | | Add unit test for newlines antispam rule | 2020-02-04 | -0/+105 | |
| | | | | | ||||
| | | * | | Add unit test for duplicates antispam rule | 2020-02-04 | -0/+66 | |
| | | | | | ||||
| | | * | | Merge branch 'master' into unittest-antispam-rules | 2020-02-02 | -1/+10 | |
| | | |\ \ | ||||
| | | * | | | Make RuleTest use ABCMeta | 2020-02-02 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will prevent child classes to be instantiated unless they implement all abstract methods, leading to a more descriptive error message. | |||
| | | * | | | Adjust existing tests to inherit from RuleTest ABC | 2020-02-02 | -294/+157 | |
| | | | | | | ||||
| | | * | | | Implement RuleTest ABC | 2020-02-02 | -0/+76 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will serve as an ABC for tests for individual rules. The base class provides runners for allowed and disallowed cases, and the children classes then only provide the cases and implementations of helper methods specific to each rule. | |||
| | | * | | | Adjust multi-line docstrings to prevailing style | 2020-01-31 | -3/+6 | |
| | | | | | | ||||
| | | * | | | Refactor msg helper function name to make_msg | 2020-01-26 | -25/+25 | |
| | | | | | | | | | | | | | | | | | | | | | The name msg is less descriptive and creates a needless name conflict in local gen exp. | |||
| | | * | | | Fix incorrect config key in attachments antispam rule | 2020-01-26 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rule was incorrectly printing out the maximum amount of allowed attachments instead of the configured interval. This commit also adjusts the rule's unit test case. | |||
| | | * | | | Add unit test case for role mentions antispam rule | 2020-01-26 | -0/+66 | |
| | | | | | | ||||
| | | * | | | Add unit test case for discord emojis antispam rule | 2020-01-26 | -0/+68 | |
| | | | | | | ||||
| | | * | | | Add unit test case for chars antispam rule | 2020-01-26 | -0/+75 | |
| | | | | | | ||||