| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | | * | | | Merge migrations to avoid conflicts. | 2021-12-13 | -0/+14 | ||
| | | | | | | |||||
| | | * | | | Merge branch 'main' into otn_softdel | 2021-12-13 | -54/+339 | ||
| | | |\| | | |||||
| | | | * | | Merge branch 'main' into use-new-message-view | 2021-12-11 | -5/+28 | ||
| | | | |\ \ | |||||
| | | | | * | | Migrate to generic `JSONField` | 2021-11-27 | -5/+28 | ||
| | | | | | | | |||||
| | | | * | | | Use new approx message count view | 2021-12-11 | -5/+3 | ||
| | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | We have added a new view to metricity that will keep track of an approximate message count, updating every 10 seconds. By doing this, we avoid running a query against the whole message table every time we want to get a user's messages. | ||||
| | | | * | | Patch signals to use post_delete, instead of pre_delete | 2021-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 DB | 2021-11-26 | -0/+1 | ||
| | | | | | | |||||
| | | | * | | Add test to check role unassignment | 2021-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 deleted | 2021-11-26 | -1/+22 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a signal to the api app that automatically unassigns deleted roles from users that have them | ||||
| | | | * | | Merge branch 'main' into patch-1 | 2021-11-26 | -41/+259 | ||
| | | | |\ \ | |||||
| | | | | * \ | Merge branch 'main' into redirects | 2021-11-26 | -179/+854 | ||
| | | | | |\ \ | |||||
| | | | | | * | | Merge migrations with upstream | 2021-11-25 | -0/+14 | ||
| | | | | | | | | |||||
| | | | | | * | | Fix linting | 2021-11-25 | -1/+10 | ||
| | | | | | | | | |||||
| | | | | | * | | Update documentation to include `dm_sent` field | 2021-11-25 | -3/+6 | ||
| | | | | | | | | |||||
| | | | | | * | | Add `dm_sent` field to infractions model & serializer | 2021-11-25 | -1/+23 | ||
| | | | | | | | | |||||
| | | | | | * | | Alter message query to leverage index | 2021-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. | ||||
| | | | | | * | | Add metricity test for users >1k messages | 2021-11-22 | -0/+19 | ||
| | | | | | | | | |||||
| | | | | | * | | Make metricity test order insensitive | 2021-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 messages | 2021-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. | ||||
| | | | | | * | | Adds Redirect Filter List | 2021-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 Builds | 2021-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 guide | 2021-11-04 | -1/+1 | ||
| | | | | | | | | |||||
| | | | * | | | | Improve Gitpod section in Sir Lancebot contributing guide | 2021-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 . | 2021-11-06 | -7/+7 | ||
| | | | | | | | | |||||
| | | * | | | | | Use framework defination of method. | 2021-11-05 | -2/+2 | ||
| | | | | | | | | |||||
| | | * | | | | | Eliminate usage of typing module and update docstrings. | 2021-11-05 | -6/+4 | ||
| | | | | | | | | |||||
| | | * | | | | | Update test cases to adhere to recent changes made that removed hosts. | 2021-11-05 | -2/+2 | ||
| | | | | | | | | |||||
| | | * | | | | | Fix: Conflicting migrations. | 2021-11-05 | -0/+14 | ||
| | | | | | | | | |||||
| | | * | | | | | Pull from upstream/main and resolve conflicts. | 2021-11-05 | -662/+1373 | ||
| | | |\| | | | | |||||
| | | * | | | | | Merge branch 'main' into otn_softdel | 2021-08-20 | -35/+522 | ||
| | | |\ \ \ \ \ | |||||
| | | * | | | | | | fix CommandError: Conflicting migrations detected. | 2021-07-24 | -0/+14 | ||
| | | | | | | | | | |||||
| | | * | | | | | | Merge branch 'main' into otn_softdel | 2021-07-24 | -68/+819 | ||
| | | |\ \ \ \ \ \ | |||||
| | | * | | | | | | | Update docstring. | 2021-07-22 | -1/+1 | ||
| | | | | | | | | | | |||||
| | | * | | | | | | | Use sets to compare 2 un-ordered lists. | 2021-06-10 | -9/+10 | ||
| | | | | | | | | | | |||||
| | | * | | | | | | | Merge branch 'main' into otn_softdel | 2021-06-10 | -81/+340 | ||
| | | |\ \ \ \ \ \ \ | |||||
| | | * | | | | | | | | Use assertListEqual where applicable instead of assertEqual. | 2021-06-10 | -8/+10 | ||
| | | | | | | | | | | | |||||
| | | * | | | | | | | | Add tests for active params. | 2021-06-10 | -4/+34 | ||
| | | | | | | | | | | | |||||
| | | * | | | | | | | | Fix bug: Do not force active param. | 2021-06-10 | -6/+9 | ||
| | | | | | | | | | | | |||||
| | | * | | | | | | | | Lint file and remove update() method declaration from ↵ | 2021-06-10 | -2/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OffTopicChannelNameListSerializer. | ||||
| | | * | | | | | | | | Query off topic names based on Active attribute. | 2021-06-04 | -6/+10 | ||
| | | | | | | | | | | | |||||
| | | * | | | | | | | | Return a list of ot-names only for GET request only to ↵ | 2021-06-04 | -2/+19 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bot/off-topic-channel-names | ||||
| | | * | | | | | | | | Use ModelViewSet to add support for PUT and PATCH request. | 2021-05-19 | -8/+5 | ||
| | | | | | | | | | | | |||||
| | | * | | | | | | | | Serialize name and active attribute. | 2021-05-19 | -12/+1 | ||
| | | | | | | | | | | | |||||
| | | * | | | | | | | | Add active field to OffTopicChannelName model. | 2021-05-19 | -1/+29 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Link icons belong close together. | 2022-01-23 | -12/+12 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Make GoodReads icons readable. | 2022-01-23 | -11/+5 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Move evil <script> tag into a .js file. | 2022-01-23 | -52/+48 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Always add a link icon for the primary URL. | 2022-01-23 | -2/+12 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Kaizen: Refactor some code to be more beautiful. | 2022-01-23 | -16/+16 | ||
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-main | 2021-09-13 | -4/+4 | ||
| | |\ \ \ \ \ \ \ \ \ | |||||