aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | | | | | | | * Simplify infraction reason truncation testsGravatar ks1292020-05-30-13/+7
| | | | | | | | | | | |
| | | | | | | | | | | * Infr Tests: Make `get_active_infraction` return `None`Gravatar ks1292020-05-20-1/+1
| | | | | | | | | | | |
| | | | | | | | | | | * Infr. Test: Replace `get_active_mock` return valueGravatar ks1292020-05-20-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace `{"foo": "bar"}` with `{"id": 1}`
| | | | | | | | | | | * Infr. Tests: Replace `str` with `dict`Gravatar ks1292020-05-20-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow `.get`, I had to replace `str` return value with `dict`
| | | | | | | | | | | * Infr. Tests: Add more content to await commentGravatar ks1292020-05-20-2/+2
| | | | | | | | | | | |
| | | | | | | | | | | * ModLog Tests: Fix embed description truncate testGravatar ks1292020-05-20-1/+1
| | | | | | | | | | | |
| | | | | | | | | | | * ModLog: Fix embed description truncationGravatar ks1292020-05-20-1/+1
| | | | | | | | | | | |
| | | | | | | | | | | * Infractions: Remove space from placeholderGravatar ks1292020-05-20-1/+1
| | | | | | | | | | | |
| | | | | | | | | | | * Merge branch 'master' into ban-kick-reason-lengthGravatar ks1292020-05-20-870/+2369
| | | | | | | | | | | |\ | | | |_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | |
| | * | | | | | | | | | Merge pull request #944 from Numerlor/eval-timeout-increaseGravatar Dennis Pham2020-05-19-2/+7
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Increase snekbox re eval timeout to 30 seconds
| | | * \ \ \ \ \ \ \ \ \ Merge branch 'master' into eval-timeout-increaseGravatar Dennis Pham2020-05-19-503/+349
| | | |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | | |/| | | | | | | | | |
| | * | | | | | | | | | | Add Steam gift card scam to domain blacklistGravatar S. Co12020-05-18-0/+2
| | | | | | | | | | | | |
| | * | | | | | | | | | | [bug] Adjustment to changes in #941, return message sent by webhook so ↵Gravatar Joseph Banks2020-05-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | publish can take place
| | * | | | | | | | | | | Merge pull request #941 from ks129/reddit-publishGravatar Dennis Pham2020-05-18-1/+7
| | |\ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / / / / / | | |/| | | | | | | | | | Add message publishing to Reddit cog
| | | * | | | | | | | | | Merge branch 'master' into reddit-publishGravatar Dennis Pham2020-05-18-777/+1183
| | | |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | | |/| | | | | | | | | |
| | | * | | | | | | | | | Add message publishing to `Reddit` cogGravatar ks1292020-05-13-1/+7
| | | | | | | | | | | | |
| | | | * | | | | | | | | Change tests to use the new timeout constantGravatar Numerlor2020-05-15-1/+5
| | | | | | | | | | | | |
| | | | * | | | | | | | | Move the re eval timeout to a module constantGravatar Numerlor2020-05-15-1/+2
| | | | | | | | | | | | |
| | | | * | | | | | | | | Increase snekbox re eval timeout.Gravatar Numerlor2020-05-15-1/+1
| | | | | |/ / / / / / / | | | | |/| | | | | | |
| | | | | | | | | | | * Infraction Tests: Small fixesGravatar ks1292020-05-20-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove unnecessary space from placeholder - Rename `has_active_infraction` to `get_active_infraction`
| | | | | | | | | | | * ModLog Tests: Fix truncation tests docstringGravatar ks1292020-05-20-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Leon Sandøy <[email protected]>
| | | | | | | | | | | * (Infractions and ModLog Tests): Replaced `shortening` with `truncation`, ↵Gravatar ks1292020-04-16-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed unnecessary type hint and added comment to kick truncation test about awaiting `kick`.
| | | | | | | | | | | * (ModLog): Removed unused `textwrap` import.Gravatar ks1292020-04-16-1/+0
| | | | | | | | | | | |
| | | | | | | | | | | * (ModLog Tests): Created reason shortening tests for `send_log_message`.Gravatar ks1292020-04-16-0/+29
| | | | | | | | | | | |
| | | | | | | | | | | * (Infraction Tests): Created reason shortening tests for ban and kick.Gravatar ks1292020-04-16-0/+54
| | | | | | | | | | | |
| | | | | | | | | | | * (Test Helpers): Added `__ge__` function to `MockRole` for comparing.Gravatar ks1292020-04-15-0/+4
| | | | | | | | | | | |
| | | | | | | | | | | * (Scheduler): Added removal of infraction in DB, when applying infraction ↵Gravatar ks1292020-04-14-18/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fail. Also don't send DM in this case.
| | | | | | | | | | | * (Scheduler): Removed empty line when expiration not specified in ↵Gravatar ks1292020-04-14-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `apply_infraction`.
| | | | | | | | | | | * (ModLog): Applied force embed description truncating in `send_log_message` ↵Gravatar ks1292020-04-14-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to avoid removing newlines.
| | | | | | | | | | | * (Big Brother): Added truncating reason.Gravatar ks1292020-04-09-2/+3
| | | | | | | | | | | |
| | | | | | | | | | | * (Watchchannel): Added footer shortening.Gravatar ks1292020-04-09-1/+2
| | | | | | | | | | | |
| | | | | | | | | | | * (Talent Pool): Applied reason shortening.Gravatar ks1292020-04-09-5/+5
| | | | | | | | | | | |
| | | | | | | | | | | * (Scheduler): Replaced `infraction['reason']` with `reason` variable using in ↵Gravatar ks1292020-04-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `end_msg`.
| | | | | | | | | | | * (Scheduler): Move reason to end of log text to avoid truncating keys.Gravatar ks1292020-04-09-2/+7
| | | | | | | | | | | |
| | | | | | | | | | | * (Mod Utils): Moved embed description to variable.Gravatar ks1292020-04-09-5/+7
| | | | | | | | | | | |
| | | | | | | | | | | * (Superstarify): Removed unnecessary truncation on `superstarify` command, ↵Gravatar ks1292020-04-08-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reordered ModLog text.
| | | | | | | | | | | * (Mod Utils): Removed truncation of reason itself and added truncation to ↵Gravatar ks1292020-04-08-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | whole embed in `notify_infraction`.
| | | | | | | | | | | * (Scheduler): Removed reason truncation from `apply_infraction`, changed ↵Gravatar ks1292020-04-08-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | order of ModLog embed description item in same function.
| | | | | | | | | | | * (ModLog): Added mod log item embed description truncating when it's too long.Gravatar ks1292020-04-08-1/+2
| | | | | | | | | | | |
| | | | | | | | | | | * (Scheduler): Changed reason truncating in `apply_infraction` from 1900 chars ↵Gravatar ks1292020-04-08-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to 1500, added shortening to end message too.
| | | | | | | | | | | * (Superstarify, Scheduler): Added reason shortening for ModLog.Gravatar ks1292020-04-08-2/+2
| | | | | | | | | | | |
| | | | | | | | | | | * (Infractions): Moved truncated reason to variable instead on ban coroutine ↵Gravatar ks1292020-04-08-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | creating.
| | | | | | | | | | | * (Infractions): Removed unnecessary logging that notify when reason will be ↵Gravatar ks1292020-04-08-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | truncated for Audit Log.
| | | | | | | | | | | * (Mod Utils): Added shortening reason on embed creation in `notify_infraction`.Gravatar ks1292020-04-08-1/+1
| | | | | | | | | | | |
| | | | | | | | | | | * (Ban and Kick): Added space to `textwrap.shorten` `placeholder`.Gravatar ks1292020-04-06-1/+1
| | | | | | | | | | | |
| | | | | | | | | | | * (Ban and Kick): Changed length in `textwrap.shorten` from 309 to 312 because ↵Gravatar ks1292020-04-06-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shorten already include `placeholder` to length.
| | | | | | | | | | | * (Mod Scheduler): Added reason truncations to Scheduler's `apply_infraction`Gravatar ks1292020-04-05-1/+2
| | | | | | | | | | | |
| | | | | | | | | | | * (Ban and Kick): Applied simplification to reason truncating.Gravatar ks1292020-04-05-2/+2
| | | | | | | | | | | |
| | | | | | | | | | | * (Ban and Kick): Replaced force reason truncating with `textwrap.shorten`.Gravatar ks1292020-04-04-2/+3
| | | | | | | | | | | |
| | | | | | | | | | | * (Kick Command): Added logging and truncating to correct length for Discord ↵Gravatar ks1292020-04-04-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Audit Log when kick reason length is more than 512 characters.