aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Fix broken icon for Paid resources.Gravatar Leon Sandøy2022-01-28-1/+1
|
* Reflect and retain filter state in URL params.Gravatar Leon Sandøy2022-01-27-65/+66
| | | | | | | | | | | | | This commits makes two important changes: - Whenever we click on filter checkboxes, the URL is immediately updated to include parameters that represent the chosen options. For example, if you select Beginner complexity, the url is updated with ?complexity=beginner. - Whenever the page is loaded, we deserialize any parameters that exist in the URL and change the filter state to match it. In other words, refreshing the page at any time retains the current state, and you can now link people to exactly the filter results that you want to share.
* Resource filtering on the client, pt 1.Gravatar Leon Sandøy2022-01-27-207/+336
| | | | | | | Here's the initial version of this system. We've got filtering, but only by clicking checkboxes. The overall look and style are pretty close to where we want them, but it's missing tons of polish to be complete. The following commits will contain that polish.
* Clean up dependency file and bump simple-bulma.Gravatar Leon Sandøy2022-01-27-205/+224
|
* Add a FontAwesome token that we actually control.Gravatar Leon Sandøy2022-01-27-8/+2
| | | | | | Previously we were using some sort of borrowed token, but it seems to not be working anymore for local sessions, so let's just get rid of it.
* Add a template tag for css-classifying things.Gravatar Leon Sandøy2022-01-27-3/+22
|
* Greatly simplify the backend.Gravatar Leon Sandøy2022-01-27-147/+3
| | | | | Here we're getting rid of all filtering and search functionality on the backend. We'll be handling this on the client-side from now on.
* Fix broken yaml in kivy.yaml.Gravatar Leon Sandøy2022-01-27-2/+2
|
* Merge branch 'main' into swfarnsworth/smarter-resources/merge-with-mainGravatar Leon Sandøy2022-01-23-909/+2155
|\
| * Merge pull request #640 from Krish-bhardwaj/mainGravatar Johannes Christ2022-01-16-3/+1
| |\ | | | | | | Resource Suggestion: #639 solved
| | * Merge branch 'main' into mainGravatar wookie1842022-01-16-6/+31
| | |\ | | |/ | |/|
| * | Merge pull request #642 from python-discord/jb3/django-discordGravatar ChrisJL2022-01-14-2/+15
| |\ \
| | * | Renumber communities after DjangoGravatar Joe Banks2022-01-14-2/+2
| | | |
| | * | Add Django Discord communityGravatar Joe Banks2022-01-14-0/+13
| |/ /
| * | Merge pull request #641 from python-discord/netcup-sponserGravatar Hassan Abouelela2022-01-10-4/+16
| |\ \ | | | | | | | | Add netcup logo to page footer
| | * | Add netcup logo to sponsor block on homeapgeGravatar Chris Lovering2022-01-10-0/+3
| | | |
| | * | Shift footer images slightly to be better in lineGravatar Chris Lovering2022-01-05-1/+2
| | | |
| | * | Use an svg for django footer logoGravatar Chris Lovering2022-01-05-2/+2
| | | |
| | * | Add netcup logo to page footerGravatar Chris Lovering2022-01-05-1/+9
| |/ /
| | * Resource Suggestion: #639 solvedGravatar Krish2022-01-07-3/+1
| |/
| * Merge pull request #637 from python-discord/mbaruh-patch-1Gravatar ChrisJL2021-12-30-29/+29
| |\ | | | | | | Fix faulty regex filters in migration 59
| | * Fix faulty regex filters in migration 59Gravatar Boris Muratov2021-12-31-29/+29
| |/ | | | | Migration 59 populated the filters table with regex filters, some of which were faulty because the `\b` character wasn't escaped. This is fixed in this PR by making all patterns raw strings.
| * Merge pull request #508 from RohanJnr/otn_softdelGravatar Johannes Christ2021-12-28-37/+149
| |\ | | | | | | offtopicnames active attribute and support for PUT and PATCH request
| | * Merge branch 'main' into otn_softdelGravatar Xithrius2021-12-28-110/+126
| | |\ | | |/ | |/|
| * | Merge pull request #636 from python-discord/revert-metricity-changeGravatar Joe Banks2021-12-20-25/+2
| |\ \
| | * | Always include metricity message blocksGravatar Chris Lovering2021-12-16-25/+2
| |/ / | | | | | | | | | Thanks to a recent database maintenance (https://pythondiscord.freshstatus.io/incident/139811) querying out metricity message data is far cheaper. So there is no longer a reason to only fetch blocks if the member has a low message count.
| * | Merge pull request #635 from python-discord/revert-metricity-changeGravatar Joe Banks2021-12-14-3/+5
| |\ \
| | * | Query message count directly from messagesGravatar Chris Lovering2021-12-14-3/+5
| |/ / | | | | | | | | | | | | | | | This was changed due to performance reasons, but after some tweaking in the database, such as increasing work memory and adding an index, this query runs much faster now. To test this, I want to revert this change, so that we can stop the materialised view from refreshing, to see if the act of refreshing is what's causing this query to seem faster when runing against the database.
| * | Merge pull request #634 from python-discord/bump-drfGravatar Hassan Abouelela2021-12-14-82/+119
| |\ \ | | | | | | | | Bump drf up to 3.12.0
| | * | Bump drf up to 3.12.0Gravatar Chris Lovering2021-12-13-82/+119
| |/ / | | | | | | | | | This is to add support for Django 3.1's database-agnositic JSONField.
| | * Merge migrations to avoid conflicts.Gravatar RohanJnr2021-12-13-0/+14
| | |
| | * Merge branch 'main' into otn_softdelGravatar Rohan Reddy Alleti2021-12-13-82/+365
| | |\ | | |/ | |/|
| * | Merge pull request #633 from python-discord/dependabot/pip/django-3.1.14Gravatar ChrisJL2021-12-12-5/+5
| |\ \ | | | | | | | | Bump django from 3.1.13 to 3.1.14
| | * \ Merge branch 'main' into dependabot/pip/django-3.1.14Gravatar ChrisJL2021-12-12-5/+3
| | |\ \ | | |/ / | |/| |
| * | | Merge pull request #632 from python-discord/use-new-message-viewGravatar Johannes Christ2021-12-11-5/+3
| |\ \ \ | | | | | | | | | | Use new approx message count view
| | * \ \ Merge branch 'main' into use-new-message-viewGravatar ChrisJL2021-12-11-17/+41
| | |\ \ \ | | |/ / / | |/| | |
| | * | | Use new approx message count viewGravatar Chris Lovering2021-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.
| | | * | Bump django from 3.1.13 to 3.1.14Gravatar dependabot[bot]2021-12-11-5/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [django](https://github.com/django/django) from 3.1.13 to 3.1.14. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.1.13...3.1.14) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
| * | | Merge pull request #630 from python-discord/dependabot/pip/django-3.1.13Gravatar Johannes Christ2021-12-11-17/+41
| |\ \ \ | | |/ / | |/| | Bump django from 3.0.14 to 3.1.13
| | * | Merge branch 'main' into dependabot/pip/django-3.1.13Gravatar ChrisJL2021-12-11-9/+4
| | |\ \ | | |/ / | |/| |
| * | | Merge pull request #631 from Akarys42/patch-1Gravatar Joe Banks2021-12-10-9/+4
| |\ \ \
| | * | | Remove myself from the codeownersGravatar Matteo Bertucci2021-12-10-9/+4
| |/ / /
| | * | Update `django-filter` for new Django versionGravatar Johannes Christ2021-11-27-7/+7
| | | |
| | * | Migrate to generic `JSONField`Gravatar Johannes Christ2021-11-27-5/+28
| | | |
| | * | Bump django from 3.0.14 to 3.1.13Gravatar dependabot[bot]2021-11-26-6/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [django](https://github.com/django/django) from 3.0.14 to 3.1.13. - [Release notes](https://github.com/django/django/releases) - [Commits](https://github.com/django/django/compare/3.0.14...3.1.13) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
| * | 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