| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2020-02-23 | Reminders: don't cancel task if reminder is invalid when rescheduling | -6/+11 | ||
| If a reminder is invalid, it won't get rescheduled. Therefore, there wouldn't exist a task to cancel and it'd raise a warning. Fixes BOT-1C | ||||
| 2020-02-23 | Add Sentdex server to whitelist | -0/+1 | ||
| 2020-02-24 | Change verification post log level to info, tidy code. | -14/+13 | ||
| 2020-02-24 | Reduce log level of tag cooldown notice. | -2/+4 | ||
| 2020-02-23 | Remove call to delete reminder, as ensure method already does it. | -1/+0 | ||
| 2020-02-23 | Check reminder user and channel before send and schedule. | -17/+38 | ||
| 2020-02-23 | Don't log exception traceback on Forbidden for welcomes. | -12/+9 | ||
| 2020-02-23 | Don't set project log level so it uses root level. | -1/+1 | ||
| 2020-02-23 | Define `_count` in `__init__`. | -0/+1 | ||
| 2020-02-23 | Suppress NotFound on react clear, tidy imports. | -18/+21 | ||
| 2020-02-21 | Change defcon log levels from warning to info | -2/+2 | ||
| 2020-02-21 | Enable logging warnings to Sentry | -3/+12 | ||
| 2020-02-21 | Bot: send empty cache warning to a webhook | -3/+12 | ||
| This is more visible than it would be if it was only logged. * Add a webhook for the dev-log channel to constants | ||||
| 2020-02-21 | Attach jump_to url to the event | -0/+8 | ||
| 2020-02-21 | Use push_scope instead of configure_scope | -2/+2 | ||
| 2020-02-21 | Use log.error instead of capture_exception | -2/+2 | ||
| 2020-02-21 | Remove AIOHTTP integration from Sentry since it is intended for AIOHTTP servers. | -3/+1 | ||
| 2020-02-21 | Remove tests for custom bot log | -62/+2 | ||
| 2020-02-21 | Remove the space that makes the test fail | -1/+1 | ||
| 2020-02-21 | Use the code provided by sco1 to fix the checks failing. | -5/+10 | ||
| 2020-02-21 | Add basic sentry usage for command errors giving user information and ↵ | -85/+10 | ||
| command context. | ||||
| 2020-02-21 | Attach extra information on a command error | -1/+13 | ||
| 2020-02-21 | Set BOT_SENTRY_DSN environment variable for tests | -1/+1 | ||
| 2020-02-21 | Implement basic Sentry SDK usage | -2/+14 | ||
| 2020-02-20 | Update flake8-annotations to v2.0. | -10/+51 | ||
| 2020-02-20 | Change to explicit logs, remove logmatic. | -160/+76 | ||
| 2020-02-19 | API: add comment explaining class attributes | -0/+2 | ||
| Explain changes caused by 22a55534ef13990815a6f69d361e2a12693075d5. | ||||
| 2020-02-19 | Sync: add confirmation timeout and max diff to config | -16/+24 | ||
| 2020-02-19 | Moderation: show avatar in infraction deactivation log | -0/+5 | ||
| 2020-02-17 | Pagination migrations - Emoji Data Structure Modified | -1/+1 | ||
| Changed the pagination emoji collection from list to tuple This change was suggested since this collection is constant | ||||
| 2020-02-17 | Change snekbox api url to internal docker domain. | -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. | ||||
| 2020-02-16 | Error handler: handle CommandOnCooldown errors | -4/+6 | ||
| Simply send the error's default message to the invoking context. | ||||
| 2020-02-16 | Error handler: update docstrings to reflect recent changes | -20/+39 | ||
| 2020-02-16 | Error handler: simplify check failure handler & handle bot missing roles | -13/+9 | ||
| discord.py's default error messages are quite descriptive already so there really isn't a need to write our own. Therefore, the log calls were removed so that the generic debug log message is used in the on_command_error. In addition to handling missing bot permissions, missing bot roles are also handled. The message doesn't specify which because it doesn't really matter to the end-user. The logs will use the default error messages as described above, and those will contain the specific roles or permissions that are missing. | ||||
| 2020-02-16 | Error handler: (almost) always log the error being handled | -16/+11 | ||
| The log level is debug for most errors and it's mainly useful for precisely that - debugging. This is why some "useless" errors are also logged e.g. CommandNotFound. Unexpected errors and some API errors will still have higher levels. * Add a single log statement to the end of the handler to cover UserInputError, CheckFailure, and CommandNotFound (when it's not trying to get a tag) * Log 404s from API | ||||
| 2020-02-16 | Error handler: handle ArgumentParsingError | -0/+2 | ||
| Simply send the error message with the help command. | ||||
| 2020-02-16 | Error handler: handle BadUnionArgument | -0/+2 | ||
| Send a message specifying the parameter name, the converters used, and the last error message from the converters. | ||||
| 2020-02-16 | Error handler: handle TooManyArguments | -0/+3 | ||
| Send a message specifying the error reason. | ||||
| 2020-02-16 | Error handler: handle MissingRequiredArgument | -1/+4 | ||
| Send a message indicating which argument is missing. | ||||
| 2020-02-16 | Error handler: simplify error imports | -29/+15 | ||
| Import the errors module and qualify the error types with it rather than importing a large list of error types. | ||||
| 2020-02-16 | Error handler: create separate function to handle UserInputError | -12/+17 | ||
| 2020-02-16 | Error handler: move help command retrieval to a separate function | -11/+18 | ||
| 2020-02-16 | Error handler: move tag retrieval to a separate function | -18/+28 | ||
| 2020-02-16 | Error handler: log unhandled exceptions instead of re-raising | -2/+2 | ||
| 2020-02-16 | Error handler: create separate function to handle ResponseCodeError | -14/+17 | ||
| 2020-02-16 | Error handler: create separate function to handle CheckFailure | -15/+29 | ||
| 2020-02-16 | Moderation: fix member not found error not being shown | -1/+1 | ||
| 2020-02-16 | Fix missing Django logs when using Docker Compose | -0/+2 | ||
| Fixed by allocating a pseudo-tty to the web and bot services in Docker Compose. | ||||
| 2020-02-15 | Moderation: show member as a mention in expired infraction log | -1/+1 | ||
| 2020-02-15 | Moderation: show correct actor in expired infraction log | -3/+4 | ||
| The bot user was always being used instead of using the actor field of the infraction. | ||||
