| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Add production voice gate role and channel to configuration | 2020-10-11 | -0/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create test for voice unban fail send DM | 2020-10-11 | -0/+15 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create base test for voice unban | 2020-10-11 | -0/+18 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create test for voice ban pardon when user not found | 2020-10-11 | -0/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Shorten voice ban reason and create test for it | 2020-10-11 | -0/+20 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Add Voice Ban test about calling apply_infraction | 2020-10-11 | -0/+15 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create test for voice ban applying role remove ignore. | 2020-10-11 | -0/+15 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Check arguments for get_active_infraction in voice ban tests | 2020-10-11 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create test to check does this pass proper kwargs to infraction posting | 2020-10-11 | -0/+12 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create test for case when posting infraction fails | 2020-10-11 | -1/+12 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Revert recent walrus operator change | 2020-10-11 | -1/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create test for case when user already have active Voice Ban | 2020-10-11 | -2/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Simplify post infraction calling and None check | 2020-10-11 | -2/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create test for case when trying to voice ban user who haven't passed gate | 2020-10-11 | -2/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create test for voice unban | 2020-10-11 | -0/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create test for temporary voice ban | 2020-10-11 | -1/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create test for permanent voice ban | 2020-10-11 | -0/+17 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Improve voice gate messages deletion | 2020-10-11 | -2/+8 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Suppress Voice Gate cog InWhiteListCheckFailure | 2020-10-11 | -0/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Implement Voice Verifying command and delete message in voice gate | 2020-10-11 | -1/+111 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Remove not used imports | 2020-10-11 | -1/+0 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Implement voice bans (temporary and permanent) | 2020-10-11 | -0/+85 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Add voice ban icons and show appeal footer for voice ban | 2020-10-11 | -1/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Merge remote-tracking branch 'up/master' into voice-gate | 2020-10-11 | -695/+807 | ||
| | | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Add voice gate configuration to config-default.yml | 2020-10-10 | -0/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Define Voice Gate channel, role and requirement in constants.py | 2020-10-10 | -0/+10 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | | Create base Voice Gate cog | 2020-10-10 | -0/+15 | ||
| | | | |_|_|_|_|_|_|_|/ / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence tests: update docstrings in notifier tests | 2020-10-21 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Reminders: rename namespace constant | 2020-10-18 | -4/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's better to have a self-documenting name than a comment, which, by the way, was using the old name for the decorator. | ||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: add locks to commands | 2020-10-18 | -1/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: rename function to reduce ambiguity | 2020-10-18 | -10/+10 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: amend the manual unsilence message | 2020-10-09 | -2/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarify that this situation could also result from the cache being cleared prematurely. There's no way to distinguish the two scenarios, so a manual unsilence is required for both. | ||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: require only 1 permission to be False for a manual unsilence | 2020-10-09 | -1/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, both sending messages and adding reactions had to be false in order for the manual unsilence failure message to be sent. Because staff may only set one of these manually, the message should be sent if at least one of the permissions is set. | ||||
| | | | | | | | | | | | * | | | | | | | | | | | | Merge master, fix conflicts, and create redis session in silence tests | 2020-10-09 | -4469/+3950 | ||
| | | | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: fix scheduled tasks not being cancelled on unload | 2020-10-09 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence tests: make _async_init attribute tests more robust | 2020-10-08 | -7/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: remove _mod_log_channel attribute | 2020-10-08 | -3/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's only used as an argument to `SilenceNotifier`, so it doesn't need to be an instance attribute. | ||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: add to notifier when indefinite rather than temporary | 2020-10-08 | -7/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accidentally swapped the logic in a previous commit during a refactor. | ||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence tests: fix unawaited coro warnings | 2020-10-07 | -2/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the Scheduler is mocked, it doesn't actually do anything with the coroutines passed to the schedule() functions, hence the warnings. | ||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: rename _init_cog to _async_init | 2020-10-06 | -15/+15 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: refactor _silence | 2020-10-06 | -33/+32 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename to `_silence_overwrites` * Reduce responsibilities to only setting permission overwrites * Log in `silence` instead * Add to notifier in `silence` instead | ||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: move unsilence scheduling to a separate function | 2020-10-06 | -8/+13 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Add license & copyright for autospec's _decoration_helper | 2020-09-25 | -0/+52 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: use f-string for message | 2020-09-22 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Numerlor <[email protected]> | ||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: cancel init task when cog unloads | 2020-08-18 | -4/+12 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence: rename caches | 2020-08-18 | -29/+29 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence tests: remove unnecessary spec_set args | 2020-08-18 | -3/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's not really necessary to set to True when mocking functions. | ||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence tests: more accurately assert the silence cmd schedule a task | 2020-08-18 | -3/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence tests: add a test for rescheduling active silences | 2020-08-18 | -0/+29 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||
| | | | | | | | | | | | * | | | | | | | | | | | | Silence tests: test the rescheduler unsilences expired silences | 2020-08-18 | -0/+14 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | |||||