| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2020-02-28 | Ignore NotFound errors inside continue_eval | -24/+25 | ||
| It could have caused some errors if the user delete his own message | ||||
| 2020-02-28 | Return only the new code in continue_eval and check for truthiness instead | -11/+10 | ||
| 2020-02-27 | Moderation: fix task cancellation for permanent infraction when editing | -1/+3 | ||
| A task should not be cancelled if an infraction is permanent because tasks don't exist for permanent infractions. Fixes BOT-1V | ||||
| 2020-02-27 | Use unicode code point instead of literal for the snekbox re-eval emoji | -6/+8 | ||
| Unicode literals aren't really safe compared to code points | ||||
| 2020-02-27 | Split the eval command procedure into two functions. | -114/+148 | ||
| Two functions were created: send_eval and continue_eval, in order to facilitate testing. The corresponding tests are also changed in this commit. | ||||
| 2020-02-26 | Add clarifying comment to role checking logic implementation | -0/+1 | ||
| 2020-02-26 | Disable TRACE logging for Sentry breadcrumbs. | -1/+1 | ||
| 2020-02-26 | Added DMs ignoring to antimalware check | -1/+2 | ||
| 2020-02-26 | Fix comparison operator when checking token expiration. | -1/+1 | ||
| With `<` the check only went through when the token was already expired, making revoking redundant; and didn't go through when the token still had some time before expiration. | ||||
| 2020-02-26 | Added to AntiMalware staff ignore check. | -1/+5 | ||
| 2020-02-26 | Check for falsy values instead of ``""` and `None` explicitly. | -2/+1 | ||
| After the change to also check empty strings to avoid unucessary requests, it is no longer necessary to do an explicit value check, as the only values that can come from the .env file are `None` and strings Co-authored-by: Karlis S <[email protected]> | ||||
| 2020-02-26 | Specify the logged time is in UTC. | -1/+1 | ||
| 2020-02-26 | Create task for `revoke_access_token` when unloading cog to ensure it's ↵ | -1/+1 | ||
| executed. | ||||
| 2020-02-26 | Make sure token exists before checking its expiration. | -1/+1 | ||
| Without the check and an invalid token, an AttributeError is raised; blocking the relevant ClientError from being raised in `get_access_token`. | ||||
| 2020-02-26 | Check for empty strings alongside None before loading cog. | -1/+2 | ||
| Docker fetches values from the .env itself and defaults to "" instead of None, needing to do invalid access token requests before unloading itself. | ||||
| 2020-02-25 | Restyle if body to include the error instead of adding the cog. | -3/+3 | ||
| 2020-02-25 | Fix `__iter__` for classes without subsections. | -2/+3 | ||
| The previous implementation assumed the config class was a subsection, failing with a KeyError if it wasn't one. Co-authored-by: kwzrd <[email protected]> | ||||
| 2020-02-25 | Fix mismatched constant names in syncer tests | -6/+6 | ||
| 2020-02-25 | Configure staff role & channel groupings in YAML | -10/+27 | ||
| Delete duplicate keys that were missed in the merge | ||||
| 2020-02-25 | Assign created task to a variable. | -1/+1 | ||
| Co-authored-by: SebastiaanZ <[email protected]> | ||||
| 2020-02-25 | Wait for available guild instead of bot startup. | -1/+1 | ||
| Co-authored-by: SebastiaanZ <[email protected]> | ||||
| 2020-02-24 | Do not attempt to load Reddit cog when environment variables are not provided. | -1/+4 | ||
| When environment variables weren't provided; the cog attempted to create a BasicAuth object with None as values resulting in an exception before the event loop was started and a subsequent crash. | ||||
| 2020-02-24 | Remove unused `chunks` function and its tests. | -26/+1 | ||
| The function was only used in the since removed `Events` cog. | ||||
| 2020-02-24 | Change docstring mood. | -1/+1 | ||
| 2020-02-24 | Change warning text. | -1/+1 | ||
| 2020-02-24 | Add ConfigVerifier cog. | -0/+41 | ||
| Adds ConfigVerifier which verifies channels when loaded. | ||||
| 2020-02-24 | Implement `__iter__` on constants YAMLGetter. | -0/+4 | ||
| Python tries to fall back on passing indices to `__getitem__` without iter implemented; failing on the first line. | ||||
| 2020-02-23 | Sync: code style refactoring | -7/+10 | ||
| * Convert diff namedtuple to dict outside the dict comprehension * Define long condition as a boolean instead of in the if statement * Pass role and user dicts to aiohttp normally instead of unpacking | ||||
| 2020-02-23 | Tests: fix setting bot-commands ID in information tests | -4/+4 | ||
| 2020-02-23 | Constants: rename Guild.Constant.ignored to modlog_blacklist | -7/+8 | ||
| This name better explains what the list is for. | ||||
| 2020-02-23 | Config: replace abbreviated lists with normal ones | -4/+34 | ||
| Lists were getting too long to be readable as one line. Having each element on a separate line also reduces merge conflicts. | ||||
| 2020-02-23 | Config: add underscore to devcontrib | -2/+2 | ||
| 2020-02-23 | Config: fix DEV_LOG variable thingy | -2/+2 | ||
| 2020-02-23 | Always load doc and verification extensions | -5/+3 | ||
| They used to only be loaded in "debug mode" because the main guild was used to test the bot. However, we have since moved to using a separate test guild so it's no longer a concern if these cogs get loaded. It was confusing to some contributors as to why these cogs were not being loaded since the debug mode isn't really documented anywhere. | ||||
| 2020-02-23 | Config: rename channels to match their names in the guild | -76/+76 | ||
| 2020-02-23 | Constants: remove code jam champions role | -2/+0 | ||
| Nothing was using it. | ||||
| 2020-02-23 | Constants: rename developers role back to verified | -1/+3 | ||
| It makes the code which uses it more readable. A comment was added to explain the discrepancy between the constant's name and the name in the guild. | ||||
| 2020-02-23 | Constants: rename roles to match their names in the guild | -28/+28 | ||
| 2020-02-23 | Config: remove checkpoint_test and devtest | -6/+0 | ||
| They no longer exist in the guild. * Move devlog under the "Logs" category | ||||
| 2020-02-23 | Config: shorten name of PYTHON_COMMUNITY_ROLE | -7/+7 | ||
| 2020-02-23 | Config: split channels into categories | -21/+39 | ||
| 2020-02-23 | Config: split roles into categories | -12/+16 | ||
| 2020-02-23 | Config: rename roles to match their names in the guild | -18/+18 | ||
| 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 | ||
