aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | Removed "redis_ready" from additional_spec_asyncs in MockBot (#2275)Gravatar Aleksey Zasorin2022-09-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attribute was removed from Bot in fc05849
| | * | | | | | | | | Specify the path for poetry venvsGravatar Chris Lovering2022-09-13-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this the venv would be created in /root/.cache and the nonn-root user that prod runs under would not have access to it.
| | * | | | | | | | | Ignore mounted in-project venvs on startupGravatar Chris Lovering2022-09-13-1/+4
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Poetry's virtualenvs.in-project config deafults to None, meaning it will use in-project venvs if it finds one, otherwise it will use the cache dir. In dev we mount the entire root project directory to /bot. This means if the host's venv in in the project dir, this will get mounted and prioritised by poetry run. If the host is on a non-linux OS this will cause poetry to fail to boot.
| | * | | | | | | | Merge remote-tracking branch 'origin/bot-2231-bug' into bot-2231-bugGravatar Izan2022-09-14-1476/+340
| | |\ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ Merge branch 'main' into bot-2231-bugGravatar TizzySaurus2022-08-14-1476/+340
| | | |\ \ \ \ \ \ \ \
| | * | | | | | | | | | Update docstrings & comment.Gravatar Izan2022-09-14-17/+8
| | |/ / / / / / / / /
| | * | | | | | | | | Make reference message in reminders italic.Gravatar Izan2022-08-06-1/+1
| | | | | | | | | | |
| | * | | | | | | | | Allow referencing message as argument to `!remind edit content`Gravatar Izan2022-07-25-11/+32
| | | | | | | | | | |
| | | | * | | | | | | Disable nose plugin in pytestGravatar wookie1842022-08-04-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue with pytest running functions called setup in test files when they shouldn't be run
| | | | | * | | | | | Fix error in help channels cog which assumed an embed would have a descriptionGravatar wookie1842022-09-10-1/+2
| | | | | | | | | | |
| | | | | | * | | | | Add note to docstring, fix type-hints, and update log messagesGravatar wookie1842022-08-06-6/+14
| | | | | | | | | | |
| | | | | | * | | | | Fix testsGravatar wookie1842022-08-04-12/+18
| | | | | | | | | | |
| | | | | | * | | | | Refactor infractions to avoid passing around coroutinesGravatar wookie1842022-08-04-16/+23
| | | | | |/ / / / / | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | This avoids warnings if they are never awaited, e.g. when functions are mocked in tests
| | | | | | * | | | fix: data dictionary guarantees reason key existence if pardon reason existsGravatar Luna2022-08-19-0/+1
| | | | | | | | | |
| | | | | | * | | | fix: remove chance of empty string overriding database infraction reasonGravatar Luna2022-08-18-1/+1
| | | | | | | | | |
| | | | | | * | | | fix: lint (again)Gravatar Luna2022-08-18-3/+3
| | | | | | | | | |
| | | | | | * | | | fix: add check to prevent NoneType from passing into str concatenationGravatar Luna2022-08-18-4/+8
| | | | | | | | | |
| | | | | | * | | | change: make unban require pardon reasonGravatar Luna2022-08-18-7/+1
| | | | | | | | | |
| | | | | | * | | | add: test for reasoned and reasonless pardonsGravatar Luna2022-08-17-1/+7
| | | | | | | | | |
| | | | | | * | | | fix: trailing whitespaceGravatar Luna2022-08-17-1/+1
| | | | | | | | | |
| | | | | | * | | | Merge pull request #2 from VirdanTheBurden/feat-add-reason-argument-to-pardonsGravatar Luna Ilune Makyus2022-08-17-6/+7
| | | | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | fix: docstrings
| | | | | | | * | | | fix: docstringsGravatar Luna2022-08-17-6/+7
| | | | | | | | | | |
| | | | | | * | | | | Merge pull request #1 from VirdanTheBurden/feat-add-reason-argument-to-pardonsGravatar Luna Ilune Makyus2022-08-17-8/+40
| | | | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | feat: add reason argument to pardon commands
| | | | | | | * | | | fix: lintGravatar Luna2022-08-17-5/+23
| | | | | | | | | | |
| | | | | | | * | | | feat: add reason argument to pardon commandsGravatar Luna2022-08-17-10/+24
| | | | | | |/ / / /
| | | | | | | * / / Remove unnecessary logginGravatar Juan Ignacio Battiston2022-08-28-2/+0
| | | | | | |/ / / | | | | | |/| | |
| | | | | | | * | move DEFAULT_RULES_DESCRIPTION under information.pyGravatar Amrou Bellalouna2022-09-20-9/+7
| | | | | | | | |
| | | | | | | * | use subTest to isolate assertionsGravatar Amrou Bellalouna2022-09-19-14/+17
| | | | | | | | |
| | | | | | | * | add DEFAULT_RULES_DESCRIPTION to avoid duplicationGravatar Amrou Bellalouna2022-09-19-13/+10
| | | | | | | | |
| | | | | | | * | fix redundant test nameGravatar Amrou Bellalouna2022-09-19-1/+1
| | | | | | | | |
| | | | | | | * | test the cases where default rules message is supposed to be sentGravatar Amrou Bellalouna2022-09-19-0/+31
| | | | | | | | |
| | | | | | | * | fix wrong type hint of the rules function return valueGravatar Amrou Bellalouna2022-09-19-2/+2
| | | | | | | | |
| | | | | | | * | add test that checks for the sent content if one invalid index is present in ↵Gravatar Amrou Bellalouna2022-09-19-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the input
| | | | | | | * | return final list of rule numbers to be sentGravatar Amrou Bellalouna2022-09-19-2/+4
| | | | | | | | |
| | | | | | | * | sort the list of final rule numbersGravatar Amrou Bellalouna2022-09-19-1/+1
| | | | | | | | |
| | | | | | | * | determine final_rule_numbers value by subscribing to the ↵Gravatar Amrou Bellalouna2022-09-18-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keyword_to_rule_number using the matched keywords
| | | | | | | * | subscribe directly to the keyword_to_rule_number dict instead of using .getGravatar Amrou Bellalouna2022-09-18-1/+2
| | | | | | | | |
| | | | | | | * | remove redundant use of list transformation when sorting final rule numbersGravatar Amrou Bellalouna2022-09-18-1/+1
| | | | | | | | |
| | | | | | | * | replace the keywords set with a dict that maps each keyword to its rule numberGravatar Amrou Bellalouna2022-09-18-8/+6
| | | | | | | | |
| | | | | | | * | enumerate full_rules with a start index of 1Gravatar Amrou Bellalouna2022-09-18-2/+2
| | | | | | | | |
| | | | | | | * | remove useless initial sorting of keywordsGravatar Amrou Bellalouna2022-09-18-2/+0
| | | | | | | | |
| | | | | | | * | remove duplicate final rule numbers then sortGravatar Amrou Bellalouna2022-09-18-1/+1
| | | | | | | | |
| | | | | | | * | remove unreachable codeGravatar Amrou Bellalouna2022-09-18-8/+0
| | | | | | | | |
| | | | | | | * | rename pick to rule_numberGravatar Amrou Bellalouna2022-09-18-2/+2
| | | | | | | | |
| | | | | | | * | rename index to rule_numberGravatar Amrou Bellalouna2022-09-18-1/+3
| | | | | | | | |
| | | | | | | * | stop matching keywords when they're invalid upon triaging the rule numbers & ↵Gravatar Amrou Bellalouna2022-09-18-19/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keywords
| | | | | | | * | stop matching as soon as an invalid kw is encounteredGravatar Amrou Bellalouna2022-09-18-11/+22
| | | | | | | | |
| | | | | | | * | remove help message that displays the available keywords per ruleGravatar Amrou Bellalouna2022-09-16-8/+2
| | | | | | | | |
| | | | | | | * | rename rules to rule_numbersGravatar Amrou Bellalouna2022-09-16-7/+7
| | | | | | | | |
| | | | | | | * | replace .isdigit predicate with a try except blockGravatar Amrou Bellalouna2022-09-16-2/+2
| | | | | | | | |