| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2022-09-16 | accept keywords and rule numbers in any order | -19/+39 | ||
| 2022-09-16 | send the "no-match" error message in pure text format | -5/+2 | ||
| 2022-09-16 | send the list of pre-defined keywords along with each invoked rule | -2/+7 | ||
| 2022-09-16 | add support for keywords when using the "rules" command. | -4/+18 | ||
| This doesn't change the way the rules command originally worked and keeps the priority to rule numbers. But in case a number (or numbers) is not supplied, it will try to find a rule that maps to a the supplied keyword. | ||||
| 2022-09-16 | fix "isistance" typo | -1/+1 | ||
| 2022-09-12 | Don't use fake in-project venvs for poetry | -21/+13 | ||
| Instead let poetry install the venv for the project in the right place, leading to a more 'traditional' poetry setup. | ||||
| 2022-09-11 | Bump poetry in Docker and lint to 1.2.0 | -1/+1 | ||
| 2022-09-11 | Use HassanAbouelela/setup-python for CI | -57/+5 | ||
| 2022-09-10 | Use venvs with poetry in Dockerfile | -6/+16 | ||
| This is required due to a regression in poetry, see https://github.com/HassanAbouelela/actions/pull/7 | ||||
| 2022-08-19 | Duration for DM changed to Edited flag | -10/+7 | ||
| 2022-08-18 | fix: don't include replied mentions in mention filter (#2017) | -12/+124 | ||
| Co-authored-by: Izan <[email protected]> Co-authored-by: TizzySaurus <[email protected]> Co-authored-by: Xithrius <[email protected]> | ||||
| 2022-08-18 | Check if channel.guild is None | -1/+1 | ||
| 2022-08-18 | Made DM duration remaining optional with resend | -6/+8 | ||
| 2022-08-17 | fix: replace datetime.utcnow() with arrow | -4/+4 | ||
| 2022-08-16 | Added article to automute message | -1/+1 | ||
| 2022-08-16 | Removed unused datetime import | -1/+0 | ||
| 2022-08-16 | Updated infractions display for updates | -23/+59 | ||
| - Added new infraction delta calculations to updated infractions. - Updates of infraction durations now also update the `last_applied` field. - `inserted_at` is now sent by the bot client to denote the original unmodified infraction application time | ||||
| 2022-08-16 | Corrected test use of utcnow | -1/+1 | ||
| Corrected test case to use `datetime.utcnow()` to be consistent with target | ||||
| 2022-08-16 | Updated previous tests to use subset method | -7/+5 | ||
| 2022-08-16 | Refactored test to not use datetime patch | -8/+11 | ||
| - Used new method of dict subset comparison instead of datetime patching for better compat. with argument types | ||||
| 2022-08-16 | Removed `inserted_at` fallback | -13/+5 | ||
| Given API updates, the fallback is not needed | ||||
| 2022-08-16 | Changed datetime.now to arrow.utcnow | -2/+2 | ||
| - Used arrow.utcnow to reduce complexity and import | ||||
| 2022-08-16 | Infraction duration fallback if no `last_applied` field | -2/+13 | ||
| 2022-08-16 | Added microsecond rounding for `humanize_delta` | -1/+16 | ||
| 2022-08-16 | Added new expiry usage to apply | -1/+1 | ||
| - Added new usage of `last_applied` time for duration calculation in `apply_infraction` | ||||
| 2022-08-16 | Use `last_applied` to display duration | -1/+2 | ||
| 2022-08-16 | Correct last_applied formatting | -1/+1 | ||
| 2022-08-16 | Fixed tests | -6/+7 | ||
| - Corrected datetime patching | ||||
| 2022-08-16 | Updated ban command docstring | -2/+4 | ||
| - Updated docstring to be more explicit on parameter fields | ||||
| 2022-08-16 | Updated parameter names | -5/+5 | ||
| - Changed `duration` parameter names to `duration_or_expiry` to more accurately reflect options for help | ||||
| 2022-08-16 | Added isoformat for test payload | -1/+1 | ||
| 2022-08-16 | Fixed test patches | -15/+17 | ||
| 2022-08-16 | Updated tests | -17/+23 | ||
| - Refactored tests for new time duration arguments | ||||
| 2022-08-16 | Ran isort on imports | -2/+2 | ||
| 2022-08-16 | Refactoring for DurationOrExpiry | -25/+33 | ||
| 2022-08-16 | Added `DurationOrExpiry` type union | -0/+1 | ||
| 2022-08-16 | Added newlines and non-mentioned mod role | -4/+5 | ||
| 2022-08-15 | Correctly initialise redis tests | -42/+37 | ||
| Calling the cog_load from within the setUp function resulted in interaction with a RedisSession before it was initialised. This wasn't noticed in CI as it only error under certain concurrency timings due to xdist. To resolve this, we moved the setup and async setup logic to a base class. Co-authored-by: Hassan Abouelela <[email protected]> | ||||
| 2022-08-15 | fix: change use of arrow to datetime and change docstring wording | -5/+5 | ||
| 2022-08-15 | Added mod alerted notice to auto-infractions | -1/+4 | ||
| 2022-08-15 | feat: command for banning compromised accounts | -0/+7 | ||
| 2022-08-15 | Fix incident tests. | -13/+25 | ||
| 2022-08-14 | Globally decode binary responses from redis to strings | -0/+1 | ||
| 2022-08-14 | revert bump to markdownify version | -10/+14 | ||
| The new versions introduce conversions which causes the doc command embed to be formatted improperly | ||||
| 2022-08-14 | Use RedisTestCase helper class for both Incidents and Silence test cases. | -36/+6 | ||
| 2022-08-14 | Add a new test helper for managing redis sessions | -0/+24 | ||
| This helper ensures that a fresh RedisSession is given to each test case that inherits from it. | ||||
| 2022-08-14 | Bump bot-core to full 8.0.0 release | -8/+7 | ||
| 2022-08-14 | Remove unneeded N802 noqas | -5/+5 | ||
| pep-naming now supports these functions being in camel case. | ||||
| 2022-08-14 | Directly return the RedisSession on connection | -2/+1 | ||
| 2022-08-14 | noqa false-positive B023 instances | -4/+4 | ||
| This was a new lint rule added in the latest bugbear. | ||||
