aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/urls.py (follow)
Commit message (Collapse)AuthorAgeLines
* Give different basenames to duplicate FilterListViewSetGravatar Johannes Christ2025-05-01-2/+4
|
* Revert "Bump djangorestframework from 3.14.0 to 3.15.1"Gravatar jchristgit2024-03-31-2/+1
|
* Implement adjustments for DRF 3.15Gravatar Johannes Christ2024-03-29-1/+2
|
* Migrate mailing lists to their own API endpointsGravatar Johannes Christ2023-12-17-0/+5
| | | | | | Add a new model for the bot to store its mailing list state in, as opposed to the current JSON blob in the BotSetting table. Migrate the existing settings from the BotSetting table into the new model.
* Implement the github-filter worker in the APIGravatar Johannes Christ2023-12-11-1/+11
| | | | | | | | | | | | The current github-filter worker, found at https://github.com/python-discord/workers/blob/main/github-filter/src/index.ts, fails to work at present because Discord's webhook endpoints block Cloudflare's IP ranges from accessing this endpoint. Whilst they use Cloudflare to guard themselves, it seems they do not wish others to use it. Implement it on the site to circumvent IP restrictions and allow to modify the code in Python.
* Merge branch 'main' into new-filter-schemaGravatar mbaruh2022-10-07-2/+7
|\
| * Add GitHub Artifact API ViewGravatar Hassan Abouelela2022-07-12-2/+7
| | | | | | | | | | | | Adds an API route to fetch GitHub build artifacts through a GitHub app. Signed-off-by: Hassan Abouelela <[email protected]>
* | Merge branch 'main' into new-filter-schemaGravatar mbaruh2022-07-15-1/+20
|\|
| * Add support for BumpedThreads to be stored in siteGravatar Chris Lovering2022-03-16-0/+5
| | | | | | | | | | | | Following our move to use Redis as just a cache, this PR allows the site to store a list of threads that need to be bumped. The bot will interact with this within the ThreadBumper cog.
| * Move FilterList imports down so they're sortedGravatar Chris Lovering2022-03-16-8/+8
| |
| * Add support for storing AoC related data in siteGravatar D0rs4n2022-03-07-0/+10
| |
* | Remove old one-to-one filters relationships serializers, views and URLsGravatar ks1292021-12-18-20/+0
| |
* | Filters: hook the new models into the REST APIGravatar Matteo Bertucci2021-12-18-2/+27
|/
* Switches HTTP Links To HTTPSGravatar Hassan Abouelela2021-10-06-1/+1
| | | | | | | Switches the protocol for external sites where possible. Some sites don't have secure versions, and were skipped. Signed-off-by: Hassan Abouelela <[email protected]>
* Logs Cleanup: Remove logs URLGravatar ks1292020-10-03-2/+0
|
* (Tag Cleanup): Removed Tags URLGravatar ks1232020-08-27-5/+0
|
* Rename AllowDenyList to FilterListGravatar Leon Sandøy2020-07-27-4/+3
|
* Rename AllowList to AllowDenyList.Gravatar Leon Sandøy2020-07-16-3/+3
| | | | https://github.com/python-discord/site/issues/305
* Set up url forwarding for the viewset.Gravatar Leon Sandøy2020-07-15-5/+16
| | | | https://github.com/python-discord/site/issues/305
* Use basename instead of base_name with DRF routerGravatar MarkKoz2020-03-21-1/+1
| | | | base_name was deprecated in 3.9 and finally removed in 3.11.
* Rename route /bot/offensive-message to /bot/offensive-messagesGravatar Akarys422019-12-14-1/+1
|
* Create an OffensiveMessage modelGravatar Akarys422019-10-24-1/+6
| | | | This model will be used to store message that triggered a filter and that will be deleted one week after it was sent.
* Removing all the snake-related stuff. The snakes cog is now handled by ↵Gravatar Leon Sandøy2019-07-10-22/+1
| | | | SeasonalBot, and no longer relies on any API endpoints.
* Add the `/logs` API route.Gravatar Johannes Christ2019-04-07-5/+7
|
* pysite -> pydis_siteGravatar Gareth Coles2019-04-05-0/+86