aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge pull request #629 from python-discord/static-docsGravatar Matteo Bertucci2021-11-26-7/+9
|\ | | | | Clean Up Static Deployment Docs
| * Clean Up Static Deploys ReadmeGravatar Hassan Abouelela2021-11-26-6/+8
| | | | | | Reorganize the static deploy readme, and clarify the content.
| * Fix Typo In Static TaskGravatar Hassan Abouelela2021-11-26-1/+1
|/
* Merge pull request #572 from D0rs4n/pr/deleterolesignalGravatar Johannes Christ2021-11-26-4/+45
|\ | | | | Create a signal to unassign roles from user when the role is deleted
| * Patch signals to use post_delete, instead of pre_deleteGravatar D0rs4n2021-11-26-5/+4
| | | | | | | | | | From now on the signal will only get executed after the Role has been deleted The commit also introduces minor changes in the tests of roles
| * Patch roles test to use fresh instance from the DBGravatar D0rs4n2021-11-26-0/+1
| |
| * Add test to check role unassignmentGravatar D0rs4n2021-11-26-1/+21
| | | | | | | | Create a test that checks if a role gets deleted it will also get unassigned from the user
| * Create a signal to unassign roles from user when deletedGravatar D0rs4n2021-11-26-1/+22
|/ | | | | Add a signal to the api app that automatically unassigns deleted roles from users that have them
* Merge pull request #619 from hedyhli/patch-1Gravatar Johannes Christ2021-11-26-2/+7
|\ | | | | Improve Gitpod section in Sir Lancebot contributing guide
| * Merge branch 'main' into patch-1Gravatar Johannes Christ2021-11-26-41/+259
| |\ | |/ |/|
* | Merge pull request #612 from python-discord/redirectsGravatar Johannes Christ2021-11-26-20/+112
|\ \ | | | | | | Adds Redirects To Static Builds
| * \ Merge branch 'main' into redirectsGravatar Johannes Christ2021-11-26-179/+854
| |\ \ | |/ / |/| |
* | | Merge pull request #621 from python-discord/add-dm_sent-fieldGravatar Joe Banks2021-11-25-4/+52
|\ \ \
| * | | Merge migrations with upstreamGravatar Johannes Christ2021-11-25-0/+14
| | | |
| * | | Fix lintingGravatar Izan2021-11-25-1/+10
| | | |
| * | | Update documentation to include `dm_sent` fieldGravatar Izan2021-11-25-3/+6
| | | |
| * | | Add `dm_sent` field to infractions model & serializerGravatar Izan2021-11-25-1/+23
|/ / /
* | | Merge pull request #628 from python-discord/alter-query-to-leverage-indexGravatar Johannes Christ2021-11-24-7/+7
|\ \ \ | | | | | | | | Alter message query to leverage index
| * | | Alter message query to leverage indexGravatar Chris Lovering2021-11-23-7/+7
|/ / / | | | | | | | | | | | | | | | Previously this query would convert each row to an array just to check if it matched or not. By changing EXCLUDE_CHANNELS to a tuple instead of a list, it doesn't get passed as an array, so we can do a simple NOT IN check. This will also allow us to add an index with this condition to speed it up further.
* | | Merge pull request #627 from python-discord/don't-always-calc-activity-blocksGravatar Johannes Christ2021-11-23-3/+28
|\ \ \ | | | | | | | | Don't always calc activity blocks
| * | | Add metricity test for users >1k messagesGravatar Chris Lovering2021-11-22-0/+19
| | | |
| * | | Make metricity test order insensitiveGravatar Chris Lovering2021-11-22-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | We only actually care that thee key:value pairs are equal, the order of them isn't actually important. The naming of `assertCountEqual` is a little misleading, since it actually tests that the first sequence contains the same elements as second, regardless of their order. See https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertCountEqual
| * | | Only calc activity blocks when <1k messagesGravatar Chris Lovering2021-11-22-1/+7
|/ / / | | | | | | | | | | | | | | | We only truly care about how many activity blocks a user has when they have a small number of messages, as we only use this for the voice gate. If a user has more than say 1k messages, then we really don't need to calculate their activity blocks, as it's quite an expensive query with many messages.
* | | Merge pull request #625 from python-discord/filter-redirectsGravatar Johannes Christ2021-11-20-1/+21
|\ \ \ | | | | | | | | Adds Redirect Filter List
| * | | Adds Redirect Filter ListGravatar Hassan Abouelela2021-11-17-1/+21
|/ / / | | | | | | | | | | | | | | | | | | Adds a new filter list for URLs which should be treated as redirects and unfurled. Signed-off-by: Hassan Abouelela <[email protected]>
* | | Merge pull request #618 from python-discord/save-remindersGravatar ChrisJL2021-11-07-6/+39
|\ \ \ | | | | | | | | Adds Failures Field To Reminders
| * | | Adds Failures Field To RemindersGravatar Hassan Abouelela2021-10-29-6/+39
|/ / / | | | | | | | | | | | | | | | | | | | | | Adds an integer field to reminders, to keep track of how many failed attempts at delivering the reminder were made. Updates documentation and serialization. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Adds Redirects To Static BuildsGravatar Hassan Abouelela2021-10-10-20/+112
| | | | | | | | | | | | | | | | | | Dynamically adds static HTML redirects for static builds. Signed-off-by: Hassan Abouelela <[email protected]>
| | * Fix gitpod link in Sir Lancebot contributing guideGravatar Hedy Li2021-11-04-1/+1
| | |
| | * Improve Gitpod section in Sir Lancebot contributing guideGravatar Hedy Li2021-11-04-2/+7
| |/ |/| | | | | | | | | | | - Add newlines so it's not a big unfriendly paragraph - Fix gitpod workspace link - Clarification on terminal commands - Clarification on test server and bot - Add links for that ^ and for environment variables
* | Merge pull request #617 from python-discord/mbaruh-patch-1Gravatar ChrisJL2021-10-23-1/+1
|\ \ | | | | | | Correct redis config instructions in bot guide
| * | Correct redis config instructions in bot guideGravatar Boris Muratov2021-10-23-1/+1
|/ /
* | Merge pull request #616 from hedyhli/typosGravatar Matteo Bertucci2021-10-18-12/+12
|\ \ | | | | | | Fix typos across codebase
| * \ Merge branch 'main' into typosGravatar Matteo Bertucci2021-10-18-4/+9
| |\ \ | |/ / |/| |
* | | Fixes Test Paths For Windows (#596)Gravatar Hassan Abouelela2021-10-17-3/+8
| | | | | | | | | | | | | | | | | | Fixes a test that fails on Windows due to differing path separators. This is currently the only failing test. Signed-off-by: Hassan Abouelela <[email protected]>
* | | Merge pull request #615 from hedyhli/mainGravatar Matteo Bertucci2021-10-17-1/+1
|\ \ \ | | | | | | | | FAQ: Update reference to `#dev-branding`
| * | | FAQ: Update reference to #dev-brandingGravatar Hedy Li2021-10-17-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | Ref: https://discord.com/channels/267624335836053506/429409067623251969/896753201645232169 I think it should be updated so newer members won't get confused when they don't see a #media-branding.
| * | Fix typos in contributing guidesGravatar Hedy Li2021-10-18-4/+4
| | | | | | | | | | | | | | | - succint -> succinct - seperated -> separated
| * | Fix typo 'fied' in apps/api/tests/test_offensive_message.pyGravatar Hedy Li2021-10-18-1/+1
| | |
| * | Fix typos across codebaseGravatar Hedy Li2021-10-17-8/+8
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ./pydis_site/apps/resources/resources/tools/ides/thonny.yaml:1: specifically ./pydis_site/apps/content/resources/guides/pydis-guides/helping-others.md:115: considered ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/issues.md:59 labels ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot.md:99: recommend ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/site.md:111: particularly ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot/env-var-reference.md:29: Integer ./pydis_site/apps/content/resources/guides/pydis-guides/contributing/sir-lancebot/env-var-reference.md:67: calculating ./pydis_site/apps/api/tests/test_off_topic_channel_names.py:157: response I didn't touch the code jam and game jam typos because I'm not sure if they should be preserved as is. There were a few 'seperated' typos which I didn't change because I *think* it's just another way of spelling it? In the offensive words test there was a keyword argument named `fied` which I didn't touch because I wasn't sure where that was from.
* | Merge pull request #614 from python-discord/mbaruh-patch-1Gravatar Matteo Bertucci2021-10-17-1/+1
|\ \ | | | | | | Remove stray `#` in bot guide
| * | Remove stray `#` in bot guideGravatar Boris Muratov2021-10-17-1/+1
|/ /
* | Merge pull request #593 from python-discord/new-ban-appeals-processGravatar Matteo Bertucci2021-10-17-2/+5
|\ \ | | | | | | Direct appeals to the appeals server
| * \ Merge branch 'main' into new-ban-appeals-processGravatar ChrisJL2021-10-17-653/+1634
| |\ \ | |/ / |/| |
* | | Merge pull request #613 from python-discord/mbaruh-patch-1Gravatar Matteo Bertucci2021-10-17-1/+1
|\ \ \ | | | | | | | | Fix typo in bot guide
| * | | Fix typo in bot guideGravatar Boris Muratov2021-10-17-1/+1
|/ / /
* | / Restructure bot contributing guide (#591)Gravatar Boris Muratov2021-10-17-140/+681
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | * Restructure bot contributing guide Restructures the bot guide to focus on getting users "through the door" first, and slowly adding additional information and options. The guide is built in terms of showing ways to run the bot and how to achieve it, rather than listing all of the information for each configuration and environment variable right away. That said, the attempt was to still present the reader with the full information they need, and to still be able to use as a quick reference for contributors who are already familiar with the project. As a style choice, this guide incorporates collapsible elements, which required some CSS and JS additions. This could be resolved with the bulma-collapsible extension, but it doesn't seem to function well inside django templates. The guide includes an optional config.yml to use with the test server template. This is a temporary measure until we get the bootstrapping application going. This guide additionally splits the bot account creation and obtaining Discord ID's guides and they didn't seem related. The original file is kept for now as it is used by other guides at the moment.
* | Merge pull request #609 from python-discord/static-previewsGravatar Joe Banks2021-10-10-27/+445
|\ \ | | | | | | Static Previews
| * | Uses Nightly To Download ArtifactsGravatar Hassan Abouelela2021-10-10-15/+15
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| * | Move Static Build Into Separate VariableGravatar Hassan Abouelela2021-10-10-1/+3
| | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>