aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-02-23Constants: rename Guild.Constant.ignored to modlog_blacklistGravatar MarkKoz-7/+8
This name better explains what the list is for.
2020-02-23Config: replace abbreviated lists with normal onesGravatar MarkKoz-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-23Config: add underscore to devcontribGravatar MarkKoz-2/+2
2020-02-23Config: fix DEV_LOG variable thingyGravatar MarkKoz-2/+2
2020-02-23Always load doc and verification extensionsGravatar MarkKoz-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-23Config: rename channels to match their names in the guildGravatar MarkKoz-76/+76
2020-02-23Constants: remove code jam champions roleGravatar MarkKoz-2/+0
Nothing was using it.
2020-02-23Constants: rename developers role back to verifiedGravatar MarkKoz-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-23Constants: rename roles to match their names in the guildGravatar MarkKoz-28/+28
2020-02-23Config: remove checkpoint_test and devtestGravatar MarkKoz-6/+0
They no longer exist in the guild. * Move devlog under the "Logs" category
2020-02-23Config: shorten name of PYTHON_COMMUNITY_ROLEGravatar MarkKoz-7/+7
2020-02-23Config: split channels into categoriesGravatar MarkKoz-21/+39
2020-02-23Config: split roles into categoriesGravatar MarkKoz-12/+16
2020-02-23Config: rename roles to match their names in the guildGravatar MarkKoz-18/+18
2020-02-23Add Sentdex server to whitelistGravatar Leon Sandøy-0/+1
2020-02-24Change verification post log level to info, tidy code.Gravatar scragly-14/+13
2020-02-24Reduce log level of tag cooldown notice.Gravatar scragly-2/+4
2020-02-23Remove call to delete reminder, as ensure method already does it.Gravatar scragly-1/+0
2020-02-23Check reminder user and channel before send and schedule.Gravatar scragly-17/+38
2020-02-23Don't log exception traceback on Forbidden for welcomes.Gravatar scragly-12/+9
2020-02-23Don't set project log level so it uses root level.Gravatar scragly-1/+1
2020-02-23Define `_count` in `__init__`.Gravatar scragly-0/+1
2020-02-23Suppress NotFound on react clear, tidy imports.Gravatar scragly-18/+21
2020-02-21Change defcon log levels from warning to infoGravatar Joseph Banks-2/+2
2020-02-21Enable logging warnings to SentryGravatar Joseph Banks-3/+12
2020-02-21Attach jump_to url to the eventGravatar Joseph Banks-0/+8
2020-02-21Use push_scope instead of configure_scopeGravatar Joseph Banks-2/+2
2020-02-21Use log.error instead of capture_exceptionGravatar Joseph Banks-2/+2
2020-02-21Remove AIOHTTP integration from Sentry since it is intended for AIOHTTP servers.Gravatar Joseph Banks-3/+1
2020-02-21Remove tests for custom bot logGravatar Joseph Banks-62/+2
2020-02-21Remove the space that makes the test failGravatar Deniz-1/+1
2020-02-21Use the code provided by sco1 to fix the checks failing.Gravatar Deniz-5/+10
2020-02-21Add basic sentry usage for command errors giving user information and ↵Gravatar Joseph Banks-85/+10
command context.
2020-02-21Attach extra information on a command errorGravatar Joseph Banks-1/+13
2020-02-21Set BOT_SENTRY_DSN environment variable for testsGravatar Joseph Banks-1/+1
2020-02-21Implement basic Sentry SDK usageGravatar Joseph Banks-2/+14
2020-02-20Update flake8-annotations to v2.0.Gravatar scragly-10/+51
2020-02-20Change to explicit logs, remove logmatic.Gravatar scragly-160/+76
2020-02-19Moderation: show avatar in infraction deactivation logGravatar MarkKoz-0/+5
2020-02-17Pagination migrations - Emoji Data Structure ModifiedGravatar F4zi-1/+1
Changed the pagination emoji collection from list to tuple This change was suggested since this collection is constant
2020-02-17Change snekbox api url to internal docker domain.Gravatar scragly-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-16Fix missing Django logs when using Docker ComposeGravatar MarkKoz-0/+2
Fixed by allocating a pseudo-tty to the web and bot services in Docker Compose.
2020-02-15Moderation: show member as a mention in expired infraction logGravatar MarkKoz-1/+1
2020-02-15Moderation: show correct actor in expired infraction logGravatar MarkKoz-3/+4
The bot user was always being used instead of using the actor field of the infraction.
2020-02-15Moderation: add creation date & duration to expired infraction logGravatar MarkKoz-1/+7
Closes #685
2020-02-15Utils: refactor format_infraction_with_duration and support absolute valGravatar MarkKoz-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
2020-02-15Add missed signature reformat from reviewGravatar S. Co1-1/+4
Co-Authored-By: Mark <[email protected]>
2020-02-15Add "cancel" as a reminder delete aliasGravatar S. Co1-1/+1
2020-02-15Add full capture of reason string to superstarify invocationGravatar S. Co1-1/+2
2020-02-15Styling & refactors from reviewGravatar S. Co1-17/+29
* Refactor confirmation embed footer string generation to be more concise * Multiline long method calls * Refactor humanized delta f string generation for readability * Switch from `datetime.isoformat` to `dateutils.parser.isoparse` to align with changes elsewhere in the codebase (should be more robust) * Shift reminder channel whitelist to constants Co-Authored-By: Mark <[email protected]>