rDrama/files/routes
DrTransmisia 856f155b41
Errorcodejihad (#323)
* formatmaxxing brained formatting

* formatmaxxing brained formatting: EPISODE 2

* Start implementing a .json interface for all logged users reddit-like

PROs:
- easier to debugmaxx applications
- good faith actors can scrap the site more easly :gigachadglow:
CONs:
- bad faith actors can scrap the site more easly :gigachadglow:
- jannitors lose a little of their power of allowlisting applications (they do it for free though)

anyways. I make this commit a separate commit so that Snakes can esclude it from the PR if he doesn't like it (cringe)

* /<username>/comments route now returns appropriate [citation needed] HTTP codes when called in JSON mode so that stupid JSON clients can crashmaxx

* More error codes (sorry I don't know how to squash)

* json endpoint. see other commit. I don't know how to squash
2022-07-24 11:03:19 -04:00
..
__init__.py notifications rework 2022-07-08 20:06:54 +02:00
admin.py LGB: disable awards, badges. 2022-07-19 19:59:39 -04:00
awards.py LGB: disable awards, badges. 2022-07-19 19:59:39 -04:00
chat.py replace "request.host" with "SITE" 2022-07-13 20:14:37 +02:00
comments.py fixing infinite redirections 2022-07-23 09:22:17 +02:00
discord.py add a discord server for api users to help eachother 2022-07-18 02:46:46 +02:00
errors.py minor logic tweaks 2022-07-10 16:21:16 +02:00
feeds.py uncomment rss feed 2022-07-08 18:21:20 +02:00
front.py fix frontpage redirecting 2022-07-23 09:23:55 +02:00
giphy.py move all env-getting to .const 2022-07-08 18:21:13 +02:00
login.py modify new user message a little 2022-07-16 01:31:40 +02:00
lottery.py catch invalid ticket quantity 500 error 2022-06-13 20:34:57 +02:00
notifications.py hide blocked users from post notifs 2022-07-18 01:00:51 +02:00
oauth.py add a discord server for api users to help eachother 2022-07-18 02:46:46 +02:00
polls.py dont reveal votes on polls in ghost threads 2022-07-15 01:21:52 +02:00
posts.py fixing infinite redirections 2022-07-23 09:22:17 +02:00
reporting.py replace "request.host" with "SITE" 2022-07-13 20:14:37 +02:00
search.py refactor sorting and time filter 2022-07-09 12:32:49 +02:00
settings.py allow uppercase on pronouns 2022-07-23 14:41:49 +02:00
static.py fixing infinite redirections 2022-07-23 09:22:17 +02:00
subs.py increase max sidebar character count from 500 to 10k 2022-07-17 19:26:16 +02:00
users.py Errorcodejihad (#323) 2022-07-24 11:03:19 -04:00
votes.py FEATURES: pronouns, kys, chat, house, /vote perm. 2022-07-18 02:43:20 -04:00