aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site (follow)
Commit message (Collapse)AuthorAgeLines
* Ensure "Other" is always the bottom topic.Gravatar Leon Sandøy2022-01-30-6/+12
|
* Add plural redirects, like /books.Gravatar Leon Sandøy2022-01-30-0/+10
| | | | This is an intuitive thing to link to, so let's support it for better UX
* Replace is-goodreads-cream with is-black.Gravatar Leon Sandøy2022-01-30-17/+15
| | | | | The goodreads cream, while nice, has poor readability on a light background. So I'm ditching it and just going black with those icons.
* Support dashful redirects.Gravatar Leon Sandøy2022-01-30-9/+10
| | | | | | | Previously, trying to go to `resources/project%20ideas` would crash the filtering JS. This has now been sorted out, so that these types of redirects have their spaces replaced by dashes, which makes them valid again.
* Clean up hover effects.Gravatar Leon Sandøy2022-01-30-59/+50
| | | | | | | | | | - We now have a hover effect for all icons. - We also now support hover effects for all tags. - However, we don't have any hover effect for icons in titles. That just looks weird. Additionally, we're getting rid of some bloat and consolidating the CSS into one place.
* Don't redirect if the resource_type is None!Gravatar Leon Sandøy2022-01-30-2/+1
|
* Redirects from old endpoints now filter correctly.Gravatar Leon Sandøy2022-01-30-21/+24
| | | | | For example, navigating to pydis.com/resources/communities will now correctly redirect to pydis.com/resources/?type=community.
* Add redirects for all old resource endpoints.Gravatar Leon Sandøy2022-01-29-0/+28
| | | | This will maintain backwards compatibility once this is merged.
* Sort all the resources alphabetically.Gravatar Leon Sandøy2022-01-29-2/+4
|
* Complexity -> Difficulty.Gravatar Leon Sandøy2022-01-29-81/+81
|
* Add Guides to the More menu.Gravatar Leon Sandøy2022-01-29-0/+3
| | | | | | Since we've removed the resources landing page, there's no easy way to get to Guides anymore. For that reason, I'm adding it to the More menu so that it'll still be discoverable.
* Use fullwidth icons so everything is aligned.Gravatar Leon Sandøy2022-01-29-3/+3
|
* Don't round edges of the filter category headers.Gravatar Leon Sandøy2022-01-29-13/+18
|
* Distill the resources page.Gravatar Leon Sandøy2022-01-29-2/+2
| | | | This should allow Netlify Deploy Previews.
* Let the user know when there are no matches.Gravatar Leon Sandøy2022-01-29-88/+91
|
* Make all tags interactive.Gravatar Leon Sandøy2022-01-28-74/+300
| | | | | | | | Adds a bunch of tag-related quality of life improvements: - You can now see which filters you've added at the top left. - You can click on tags to start filtering to that tag. - You can click on tags in the filter box to remove the filter. - Tags will now show an outline when they are active.
* 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.
* 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-759/+1799
|\
| * Merge branch 'main' into mainGravatar wookie1842022-01-16-6/+31
| |\
| | * Renumber communities after DjangoGravatar Joe Banks2022-01-14-2/+2
| | |
| | * Add Django Discord communityGravatar Joe Banks2022-01-14-0/+13
| | |
| | * 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
| |/
| * 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 branch 'main' into otn_softdelGravatar Xithrius2021-12-28-28/+7
| |\
| | * 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.
| | * 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 migrations to avoid conflicts.Gravatar RohanJnr2021-12-13-0/+14
| | |
| * | Merge branch 'main' into otn_softdelGravatar Rohan Reddy Alleti2021-12-13-54/+339
| |\|
| | * Merge branch 'main' into use-new-message-viewGravatar ChrisJL2021-12-11-5/+28
| | |\
| | | * Migrate to generic `JSONField`Gravatar Johannes Christ2021-11-27-5/+28
| | | |
| | * | 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.
| | * 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 branch 'main' into patch-1Gravatar Johannes Christ2021-11-26-41/+259
| | |\
| | | * Merge branch 'main' into redirectsGravatar Johannes Christ2021-11-26-179/+854
| | | |\
| | | | * 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
| | | | |