| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | | | | | | | | | * | Infr Tests: Make `get_active_infraction` return `None` | 2020-05-20 | -1/+1 | ||
| | | | | | | | | | | | |||||
| | | | | | | | | | * | Infr. Test: Replace `get_active_mock` return value | 2020-05-20 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace `{"foo": "bar"}` with `{"id": 1}` | ||||
| | | | | | | | | | * | Infr. Tests: Replace `str` with `dict` | 2020-05-20 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow `.get`, I had to replace `str` return value with `dict` | ||||
| | | | | | | | | | * | Infr. Tests: Add more content to await comment | 2020-05-20 | -2/+2 | ||
| | | | | | | | | | | | |||||
| | | | | | | | | | * | ModLog Tests: Fix embed description truncate test | 2020-05-20 | -1/+1 | ||
| | | | | | | | | | | | |||||
| | | | | | | | | | * | ModLog: Fix embed description truncation | 2020-05-20 | -1/+1 | ||
| | | | | | | | | | | | |||||
| | | | | | | | | | * | Infractions: Remove space from placeholder | 2020-05-20 | -1/+1 | ||
| | | | | | | | | | | | |||||
| | | | | | | | | | * | Merge branch 'master' into ban-kick-reason-length | 2020-05-20 | -870/+2369 | ||
| | | | | | | | | | |\ | |||||
| | | | | | | | | | * | | Infraction Tests: Small fixes | 2020-05-20 | -4/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove unnecessary space from placeholder - Rename `has_active_infraction` to `get_active_infraction` | ||||
| | | | | | | | | | * | | ModLog Tests: Fix truncation tests docstring | 2020-05-20 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Leon Sandøy <[email protected]> | ||||
| | | | | | | | | | * | | (Infractions and ModLog Tests): Replaced `shortening` with `truncation`, ↵ | 2020-04-16 | -5/+6 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed unnecessary type hint and added comment to kick truncation test about awaiting `kick`. | ||||
| | | | | | | | | | * | | (ModLog): Removed unused `textwrap` import. | 2020-04-16 | -1/+0 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (ModLog Tests): Created reason shortening tests for `send_log_message`. | 2020-04-16 | -0/+29 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Infraction Tests): Created reason shortening tests for ban and kick. | 2020-04-16 | -0/+54 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Test Helpers): Added `__ge__` function to `MockRole` for comparing. | 2020-04-15 | -0/+4 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Scheduler): Added removal of infraction in DB, when applying infraction ↵ | 2020-04-14 | -18/+28 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fail. Also don't send DM in this case. | ||||
| | | | | | | | | | * | | (Scheduler): Removed empty line when expiration not specified in ↵ | 2020-04-14 | -3/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `apply_infraction`. | ||||
| | | | | | | | | | * | | (ModLog): Applied force embed description truncating in `send_log_message` ↵ | 2020-04-14 | -1/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to avoid removing newlines. | ||||
| | | | | | | | | | * | | (Big Brother): Added truncating reason. | 2020-04-09 | -2/+3 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Watchchannel): Added footer shortening. | 2020-04-09 | -1/+2 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Talent Pool): Applied reason shortening. | 2020-04-09 | -5/+5 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Scheduler): Replaced `infraction['reason']` with `reason` variable using in ↵ | 2020-04-09 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `end_msg`. | ||||
| | | | | | | | | | * | | (Scheduler): Move reason to end of log text to avoid truncating keys. | 2020-04-09 | -2/+7 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Mod Utils): Moved embed description to variable. | 2020-04-09 | -5/+7 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Superstarify): Removed unnecessary truncation on `superstarify` command, ↵ | 2020-04-08 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reordered ModLog text. | ||||
| | | | | | | | | | * | | (Mod Utils): Removed truncation of reason itself and added truncation to ↵ | 2020-04-08 | -3/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | whole embed in `notify_infraction`. | ||||
| | | | | | | | | | * | | (Scheduler): Removed reason truncation from `apply_infraction`, changed ↵ | 2020-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. | 2020-04-08 | -1/+2 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Scheduler): Changed reason truncating in `apply_infraction` from 1900 chars ↵ | 2020-04-08 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to 1500, added shortening to end message too. | ||||
| | | | | | | | | | * | | (Superstarify, Scheduler): Added reason shortening for ModLog. | 2020-04-08 | -2/+2 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Infractions): Moved truncated reason to variable instead on ban coroutine ↵ | 2020-04-08 | -5/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | creating. | ||||
| | | | | | | | | | * | | (Infractions): Removed unnecessary logging that notify when reason will be ↵ | 2020-04-08 | -6/+0 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | truncated for Audit Log. | ||||
| | | | | | | | | | * | | (Mod Utils): Added shortening reason on embed creation in `notify_infraction`. | 2020-04-08 | -1/+1 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Ban and Kick): Added space to `textwrap.shorten` `placeholder`. | 2020-04-06 | -1/+1 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Ban and Kick): Changed length in `textwrap.shorten` from 309 to 312 because ↵ | 2020-04-06 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shorten already include `placeholder` to length. | ||||
| | | | | | | | | | * | | (Mod Scheduler): Added reason truncations to Scheduler's `apply_infraction` | 2020-04-05 | -1/+2 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Ban and Kick): Applied simplification to reason truncating. | 2020-04-05 | -2/+2 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Ban and Kick): Replaced force reason truncating with `textwrap.shorten`. | 2020-04-04 | -2/+3 | ||
| | | | | | | | | | | | | |||||
| | | | | | | | | | * | | (Kick Command): Added logging and truncating to correct length for Discord ↵ | 2020-04-04 | -1/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Audit Log when kick reason length is more than 512 characters. | ||||
| | | | | | | | | | * | | (Banning): Added logging and truncating to correct length for Discord Audit ↵ | 2020-04-04 | -1/+8 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Log when ban reason length is more than 512 characters. | ||||
| * | | | | | | | | | | | Fix failing tests related to avatar_hash | 2020-05-27 | -5/+0 | ||
| | | | | | | | | | | | | |||||
| * | | | | | | | | | | | Remove all sending of avatar_hash. | 2020-05-27 | -6/+2 | ||
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a companion commit to this PR: https://github.com/python-discord/site/pull/356 This PR must be merged before this commit. | ||||
| * / / / / / / / / / | Add /r/FlutterDev to the guild invite whitelist | 2020-05-26 | -0/+1 | ||
| |/ / / / / / / / / | |||||
| * | | | | | | | | | Merge pull request #866 from python-discord/restricted_tags | 2020-05-26 | -17/+42 | ||
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | feature to restrict tags to specific role(s) | ||||
| | * \ \ \ \ \ \ \ \ | Merge branch 'master' into restricted_tags | 2020-05-26 | -955/+2577 | ||
| | |\ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | |||||
| * | | | | | | | | | | [stats] Do not report modmail channels to stats | 2020-05-26 | -1/+11 | ||
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Merge pull request #936 from python-discord/bug/filters/929/invalid-invites | 2020-05-25 | -1/+3 | ||
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | Filtering: don't attempt to send additional embeds for invalid invites | ||||
| | * \ \ \ \ \ \ \ \ \ | Merge branch 'master' into bug/filters/929/invalid-invites | 2020-05-25 | -594/+833 | ||
| | |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | | |||||
| * | | | | | | | | | | | Add discord.gift to URL blacklist, closes #958 | 2020-05-24 | -0/+1 | ||
| | | | | | | | | | | | | |||||
| * | | | | | | | | | | | Merge pull request #956 from ks129/help-channels-delete | 2020-05-24 | -5/+40 | ||
| |\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | Help System: Move dormant faster if help channel is empty | ||||