| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2022-10-09 | Use scoring system that weights age and number of entries | -128/+1375 | ||
| Added new tests for this behaviour, and added pytest-subtests dev dependency | ||||
| 2022-10-09 | Move tests out of moderation/ directory | -0/+0 | ||
| I didn't mean to put them there in the first place | ||||
| 2022-09-19 | Rename test function and re-add change removed in merge. | -2/+2 | ||
| 2022-09-19 | Change f-string to normal string | -1/+1 | ||
| Co-authored-by: ChrisJL <[email protected]> | ||||
| 2022-09-17 | Use Python Poetry Base Action (#2277) | -21/+3 | ||
| 2022-09-17 | Removed italics from the help command (#2272) | -5/+5 | ||
| * removed asterisk from embed description * removed italics from line 334, 375 and 415 * pagination.py, L239 added italics | ||||
| 2022-09-16 | Removed "redis_ready" from additional_spec_asyncs in MockBot (#2275) | -1/+1 | ||
| The attribute was removed from Bot in fc05849 | ||||
| 2022-09-14 | Update docstrings & comment. | -17/+8 | ||
| 2022-09-13 | Specify the path for poetry venvs | -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. | ||||
| 2022-09-13 | Ignore mounted in-project venvs on startup | -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. | ||||
| 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-09-10 | Fix error in help channels cog which assumed an embed would have a description | -1/+2 | ||
| 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 | ||||