| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2022-08-13 | 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-13 | Corrected test use of utcnow | -1/+1 | ||
| Corrected test case to use `datetime.utcnow()` to be consistent with target | ||||
| 2022-08-06 | Updated previous tests to use subset method | -7/+5 | ||
| 2022-08-06 | 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-06 | Removed `inserted_at` fallback | -13/+5 | ||
| Given API updates, the fallback is not needed | ||||
| 2022-08-06 | Changed datetime.now to arrow.utcnow | -2/+2 | ||
| - Used arrow.utcnow to reduce complexity and import | ||||
| 2022-08-01 | Infraction duration fallback if no `last_applied` field | -2/+13 | ||
| 2022-08-01 | Added microsecond rounding for `humanize_delta` | -1/+16 | ||
| 2022-07-31 | Added new expiry usage to apply | -1/+1 | ||
| - Added new usage of `last_applied` time for duration calculation in `apply_infraction` | ||||
| 2022-07-28 | Use `last_applied` to display duration | -1/+2 | ||
| 2022-07-28 | Correct last_applied formatting | -1/+1 | ||
| 2022-07-28 | Fixed tests | -6/+7 | ||
| - Corrected datetime patching | ||||
| 2022-07-28 | Updated ban command docstring | -2/+4 | ||
| - Updated docstring to be more explicit on parameter fields | ||||
| 2022-07-28 | Updated parameter names | -5/+5 | ||
| - Changed `duration` parameter names to `duration_or_expiry` to more accurately reflect options for help | ||||
| 2022-07-28 | Added isoformat for test payload | -1/+1 | ||
| 2022-07-28 | Fixed test patches | -15/+17 | ||
| 2022-07-28 | Updated tests | -17/+23 | ||
| - Refactored tests for new time duration arguments | ||||
| 2022-07-28 | Ran isort on imports | -2/+2 | ||
| 2022-07-28 | Refactoring for DurationOrExpiry | -25/+33 | ||
| 2022-07-28 | Added `DurationOrExpiry` type union | -0/+1 | ||
| 2022-07-23 | Update `!modpings off` confirmation to use a discord timestamp. | -8/+9 | ||
| 2022-07-21 | Start 3.11 snekbox container by default | -2/+2 | ||
| Since snekbox uses 3.11 by default, it makes sense for this one to be started by default, and the 3.10 container to be opt-in. | ||||
| 2022-07-21 | Update snekbox tests to expect new output | -11/+13 | ||
| 2022-07-21 | Include what version of Python was used in snekbox output. | -6/+6 | ||
| 2022-07-21 | Use the view clear on timeout feature from bot-core in snekbox | -9/+7 | ||
| This will mean the buttons will be cleared from the response on interaction timeout. | ||||
| 2022-07-17 | fix(tags/print-return): use the raw GitHub URL for the GIF | -1/+1 | ||
| As mentioned in the previous commit, using the raw GitHub URL would be more reliable than a Discord CDN URL. | ||||