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]>
| * | | | | | 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
| | | * | | | Remove get_queryset() and add new class variable .Gravatar RohanJnr2021-11-06-7/+7
| | | | | | |
| | | * | | | Use framework defination of method.Gravatar RohanJnr2021-11-05-2/+2
| | | | | | |
| | | * | | | Eliminate usage of typing module and update docstrings.Gravatar RohanJnr2021-11-05-6/+4
| | | | | | |
| | | * | | | Update test cases to adhere to recent changes made that removed hosts.Gravatar RohanJnr2021-11-05-2/+2
| | | | | | |
| | | * | | | Fix: Conflicting migrations.Gravatar RohanJnr2021-11-05-0/+14
| | | | | | |
| | | * | | | Pull from upstream/main and resolve conflicts.Gravatar RohanJnr2021-11-05-828/+1921
| | | |\ \ \ \ | | | |/ / / / | | |/| | | |
| | | * | | | Merge branch 'main' into otn_softdelGravatar Rohan Reddy Alleti2021-08-20-35/+522
| | | |\ \ \ \
| | | * | | | | fix CommandError: Conflicting migrations detected.Gravatar RohanJnr2021-07-24-0/+14
| | | | | | | |
| | | * | | | | Merge branch 'main' into otn_softdelGravatar Rohan Reddy Alleti2021-07-24-202/+829
| | | |\ \ \ \ \
| | | * | | | | | Update docstring.Gravatar RohanJnr2021-07-22-1/+1
| | | | | | | | |
| | | * | | | | | Use sets to compare 2 un-ordered lists.Gravatar RohanJnr2021-06-10-9/+10
| | | | | | | | |
| | | * | | | | | Merge branch 'main' into otn_softdelGravatar Rohan Reddy Alleti2021-06-10-83/+363
| | | |\ \ \ \ \ \
| | | * | | | | | | Use assertListEqual where applicable instead of assertEqual.Gravatar RohanJnr2021-06-10-8/+10
| | | | | | | | | |
| | | * | | | | | | fix conflicts?.Gravatar RohanJnr2021-06-10-0/+0
| | | |\ \ \ \ \ \ \
| | | | * | | | | | | Return a list of ot-names only for GET request only to ↵Gravatar RohanJnr2021-05-31-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bot/off-topic-channel-names
| | | * | | | | | | | Add tests for active params.Gravatar RohanJnr2021-06-10-4/+34
| | | | | | | | | | |
| | | * | | | | | | | Fix bug: Do not force active param.Gravatar RohanJnr2021-06-10-6/+9
| | | | | | | | | | |
| | | * | | | | | | | Lint file and remove update() method declaration from ↵Gravatar RohanJnr2021-06-10-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OffTopicChannelNameListSerializer.
| | | * | | | | | | | Query off topic names based on Active attribute.Gravatar RohanJnr2021-06-04-6/+10
| | | | | | | | | | |
| | | * | | | | | | | Return a list of ot-names only for GET request only to ↵Gravatar RohanJnr2021-06-04-2/+19
| | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bot/off-topic-channel-names
| | | * | | | | | | Use ModelViewSet to add support for PUT and PATCH request.Gravatar RohanJnr2021-05-19-8/+5
| | | | | | | | | |
| | | * | | | | | | Serialize name and active attribute.Gravatar RohanJnr2021-05-19-12/+1
| | | | | | | | | |