| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | If message content more than 500 characters shorten it done to 300 characters | 2021-10-11 | -24/+34 | |
| | | ||||
| * | Rollback to changes which aren't required | 2021-10-11 | -6/+6 | |
| | | ||||
| * | Fix tests according to the changes done to incidents.py | 2021-10-11 | -3/+19 | |
| | | ||||
| * | Use str() when checking for message.content | 2021-10-11 | -1/+1 | |
| | | ||||
| * | Use MessageConverter to find messages | 2021-10-11 | -25/+35 | |
| | | ||||
| * | Send multiple webhook messages in case of more than 10 message links | 2021-10-11 | -9/+22 | |
| | | ||||
| * | Add incidents webhook to default config template | 2021-10-11 | -0/+1 | |
| | | ||||
| * | Send webhook embed containing information about the message if there is a ↵ | 2021-10-11 | -4/+70 | |
| | | | | | message link in the incident report | |||
| * | Merge pull request #1865 from python-discord/fix-bot-1858 | 2021-10-10 | -1/+9 | |
| |\ | | | | | Handle 400 when setting pre-existing doc package | |||
| | * | Fix typo in bot/exts/info/doc/_cog.py | 2021-10-10 | -1/+1 | |
| | | | | | | | | | | | it only took 5 people looking through the diff ... Co-authored-by: Bluenix <[email protected]> | |||
| | * | Handle 400 when setting pre-existing doc package | 2021-10-10 | -1/+9 | |
| |/ | | | | | | | | | | If you run, for example: !doc setdoc black https://black.readthedocs/en/stable/objects.inv twice over. You'll get an unhelpful "According to the API, your request is malformed." error message back. This commit adds an error handler to catch the HTTP 400 and tell the user the package already exists. | |||
| * | Merge pull request #1630 from python-discord/kill-subdomains | 2021-10-06 | -3/+3 | |
| |\ | ||||
| | * | Merge branch 'main' into kill-subdomains | 2021-10-06 | -0/+4 | |
| | |\ | |/ |/| | ||||
| * | | Merge pull request #1862 from python-discord/add-appeals-categories | 2021-10-06 | -0/+4 | |
| |\ \ | | | | | | | Add appeal categories to mod categories | |||
| | * | | Add appeal categories to mod categories | 2021-10-06 | -0/+4 | |
| |/ / | | | | | | | This allows us to run moderation commands in the appeal categories | |||
| | * | Kill subdomains from configuration file. | 2021-10-06 | -3/+3 | |
| |/ | | | | | This will need a coordinated rollout with @jb3, in order to make the appropriate changes in Kubernetes beforehand. | |||
| * | Merge pull request #1859 from python-discord/revert-1806-infract-then-dm | 2021-10-06 | -10/+8 | |
| |\ | | | | | Revert "Apply infractions before DMing" | |||
| | * | Revert "Apply infractions before DMing" | 2021-10-06 | -10/+8 | |
| |/ | ||||
| * | Merge pull request #1798 from python-discord/ignore-infra-mods-errors | 2021-10-05 | -7/+22 | |
| |\ | | | | | Prevent role hierarchy issues with infractions | |||
| | * | Merge branch 'main' into ignore-infra-mods-errors | 2021-10-05 | -8/+10 | |
| | |\ | |/ |/| | ||||
| * | | Merge pull request #1806 from python-discord/infract-then-dm | 2021-10-05 | -8/+10 | |
| |\ \ | | | | | | | Apply infractions before DMing | |||
| | * \ | Merge branch 'main' into infract-then-dm | 2021-10-05 | -190/+420 | |
| | |\ \ | |/ / |/| | | ||||
| | * | | Apply infractions before DMing | 2021-09-11 | -8/+10 | |
| | | | | | | | | | | | | | Bot now attempts to infract before DMing, with the exception of kicks/bans, in order to prevent the user getting sent a message stating they were infracted when the infraction failed (and so they aren't). | |||
| | | * | Merge branch 'main' into ignore-infra-mods-errors | 2021-10-05 | -323/+653 | |
| | | |\ | |_|/ |/| | | ||||
| * | | | Merge pull request #1854 from python-discord/minor-changes-to-typing-patch | 2021-10-05 | -3/+3 | |
| |\ \ \ | | | | | | | | | Use utcnow() and lower a logging level in patch_typing | |||
| | * \ \ | Merge branch 'main' into minor-changes-to-typing-patch | 2021-10-05 | -20/+48 | |
| | |\ \ \ | |/ / / |/| | | | ||||
| * | | | | Merge pull request #1855 from python-discord/antispam-log-improvements | 2021-10-05 | -8/+14 | |
| |\ \ \ \ | | | | | | | | | | | Improve anti-spam logs | |||
| | * \ \ \ | Merge branch 'main' into antispam-log-improvements | 2021-10-05 | -12/+34 | |
| | |\ \ \ \ | |/ / / / |/| | | | | ||||
| * | | | | | Merge pull request #1824 from Numerlor/doc-fetch_inventory-error-badarg | 2021-10-05 | -12/+34 | |
| |\ \ \ \ \ | | | | | | | | | | | | | Gracefully handle invalid inventory content when adding a new doc package | |||
| | * \ \ \ \ | Merge branch 'main' into doc-fetch_inventory-error-badarg | 2021-10-05 | -170/+372 | |
| | |\ \ \ \ \ | |/ / / / / |/| | | | | | ||||
| | * | | | | | Display BadArgument to user when invalid header is raised in converter | 2021-09-11 | -5/+10 | |
| | | | | | | | ||||
| | * | | | | | Raise InvalidHeaderError if inventory has invalid header | 2021-09-11 | -7/+24 | |
| | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the requested inventory file has an invalid header, the resource has most likely moved or the url was invalid. In case of adding a new inventory, this error can be handled and displayed to the user. For automatic fetching it'll stop the rescheduling as the request succeeded but returned invalid content. | |||
| | | * | | | Fix linting | 2021-10-05 | -0/+1 | |
| | | | | | | | | | | | | | | | | Reverted accidental line deletion | |||
| | | * | | | Fix if statement error | 2021-10-05 | -10/+9 | |
| | | | | | | | | | | | | | | | | | | | | | Adds `messages_as_list` for easy indexing of `self.messages.values()` Also updated the comment above if statement and tidied some code | |||
| | | * | | | Make attachments check explicit | 2021-10-05 | -1/+1 | |
| | | | | | | | | | | | | | | | | Co-authored-by: Matteo Bertucci <[email protected]> | |||
| | | * | | | Improvements to anti-spam log message | 2021-10-05 | -3/+9 | |
| | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | - Removed redundant f-string - Made it so that messages with attachments will *always* upload to the log site. - Made it so that truncates messages will also upload to the paste site, for full viewing. - Fixed a previously unnoticed bug where truncating didn't account for extra characters of the ellipses. | |||
| | | * | | Use utcnow() and lower a logging level in patch_typing | 2021-10-04 | -3/+3 | |
| | |/ / |/| | | ||||
| * | | | Merge pull request #1853 from python-discord/catch-403-from-Typing-calls | 2021-10-04 | -22/+55 | |
| |\ \ \ | | | | | | | | | Monkey patch http.send_typing to catch 403s | |||
| | * | | | Move all monkey patches to their own file | 2021-10-04 | -23/+22 | |
| | | | | | ||||
| | * | | | Monkey patch http.send_typing to catch 403s | 2021-10-04 | -1/+35 | |
| |/ / / | | | | | | | | | | Sometimes discord turns off typing events by throwing 403's, so we should catch those | |||
| * | | | Merge pull request #1841 from ↵ | 2021-10-04 | -9/+66 | |
| |\ \ \ | | | | | | | | | | | | | | | | | python-discord/allow-helpers-to-edit-their-own-nomination-reason Allow helpers to edit their own nomination reason | |||
| | * \ \ | Merge branch 'main' into allow-helpers-to-edit-their-own-nomination-reason | 2021-10-04 | -61/+102 | |
| | |\ \ \ | |/ / / |/| | | | ||||
| * | | | | Merge pull request #1851 from python-discord/fix-hasattr-check | 2021-10-03 | -2/+2 | |
| |\ \ \ \ | | | | | | | | | | | Handle channel category being None in antispam/malware checks | |||
| | * | | | | Handle channel category being None in antispam/malware checks | 2021-10-03 | -2/+2 | |
| |/ / / / | | | | | | | | | | | | | The code already handled the attribute not existing (e.g from a DM channel), but didn't handle TextChannels not in a category | |||
| * | | | | Merge pull request #1837 from python-discord/add-get-or-fetch-util | 2021-10-03 | -59/+100 | |
| |\ \ \ \ | | | | | | | | | | | Add get or fetch util | |||
| | * \ \ \ | Merge branch 'main' into add-get-or-fetch-util | 2021-10-03 | -5/+16 | |
| | |\ \ \ \ | |/ / / / |/| | | | | ||||
| | * | | | | Add new poetry tasks for pytest | 2021-09-29 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the test task to now run with --ff which runs failed tests from the last run first Added retest, which runs pytest with --lf this only runs the failed tests from the last test run | |||
| | * | | | | Rename channel helper to be consistent with other helpers | 2021-09-29 | -6/+6 | |
| | | | | | | ||||
| | * | | | | Mock fetch_member in tests that user get_or_fetch now | 2021-09-29 | -6/+15 | |
| | | | | | | ||||
| | * | | | | Migrate all Guild.get_member calls to get_or_fetch_member | 2021-09-29 | -46/+53 | |
| | | | | | | | | | | | | | | | | | | | | | This protects us against the guild cache not being fully populated with members. | |||