| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2022-09-10 | Check for commands being None in try_get_tag and try_silence | -1/+9 | ||
| 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. | ||||
| 2022-08-14 | Stop creating futures in tests with no event loop running | -6/+0 | ||
| 2022-08-14 | Add back a lock to DocRedisCache.set based on the DocItem | -0/+8 | ||
| 2022-08-14 | Update any calls to Redis 'iscan' to the new name 'scan_iter' | -2/+2 | ||
| 2022-08-14 | Convert key expiries to integers before passing to Redis | -1/+1 | ||
| If a float is given, Redis will assume the expiry is in milliseconds and must be multiplied by 1000. This is undesirable, as we are already passing the expiry in seconds. | ||||
| 2022-08-14 | Remove usages of the removed namespace_lock decorator | -6/+1 | ||
| 2022-08-14 | No longer use the removed RedisSession connection object | -51/+46 | ||
| This has been abstracted away, the correct way to do this now is to directly access the client. | ||||
| 2022-08-14 | redis-py breaking changes | -5/+6 | ||
| This commit resolves all the breaking changes from the aioredis -> redis-py migration. | ||||
| 2022-08-14 | Bump all deps to latest | -85/+62 | ||