aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/resources/urls.py (follow)
Commit message (Collapse)AuthorAgeLines
* Add endpoint to fetch filters in JSON formatGravatar Johannes Christ2024-08-02-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While this is an API endpoint consumed by the bot, keep it in the `resources` app instead of the `api` app, as all the logic and data for resources is contained within the `resources` app and we don't want to start messing around with that. The response format from the endpoint is as follows: { "topics": [ "algorithms-and-data-structures", "data-science", "databases", "discord-bots", "game-development", "general", "microcontrollers", "security", "software-design", "testing", "tooling", "user-interface", "web-development", "other" ], "payment_tiers": [ "free", "paid", "subscription" ], "type": [ "book", "community", "course", "interactive", "podcast", "project-ideas", "tool", "tutorial", "video" ], "difficulty": [ "beginner", "intermediate" ] } Closes #710.
* Add README to the resources app (#934)Gravatar Johannes Christ2023-04-14-3/+5
|
* Revert ugly deploy preview redirect hack.Gravatar Leon Sandøy2022-01-30-40/+1
|
* Refactor: collapsibles as a stand-alone componentGravatar Leon Sandøy2022-01-30-0/+1
|
* Fix resource redirects for deploy previews.Gravatar Leon Sandøy2022-01-30-1/+39
| | | | | | | | | This could probably be improved by making it less hardcoded, but since there's a bunch of special cases, and since it only affects deploy previews, I'm choosing to solve this with a simple solution. I don't think realistically that we're gonna be adding a ton of resource types down the line anyway.
* Redirects from old endpoints now filter correctly.Gravatar Leon Sandøy2022-01-30-0/+1
| | | | | For example, navigating to pydis.com/resources/communities will now correctly redirect to pydis.com/resources/?type=community.
* Distill the resources page.Gravatar Leon Sandøy2022-01-29-2/+2
| | | | This should allow Netlify Deploy Previews.
* Greatly simplify the backend.Gravatar Leon Sandøy2022-01-27-2/+1
| | | | | 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.
* change resources to prepare for smart resource searchGravatar fisher602021-07-23-1/+1
|
* Dramatically simplify resources.Gravatar Leon Sandøy2021-05-19-1/+1
| | | | | | | We don't need _category_info, we don't need subcategories, we this will be much simpler now. Also, rglob is nice.
* Rename resource type -> resource category in routeGravatar ks1292021-03-30-1/+1
|
* Rename ResourcesList -> ResourcesListViewGravatar ks1292021-03-30-1/+1
|
* Add URLs for resources listsGravatar ks1292020-11-14-0/+1
|
* Change resources home name from resources -> indexGravatar ks1292020-10-28-1/+1
|
* Create resources app URLsGravatar ks1292020-09-22-0/+8