rDrama/files/routes
float-trip 041481f2b6 Fix /comment JSON response (#167)
Since `replies` is no longer added to the response, returning the JSON for the top level comment makes it impossible to get the JSON for a reply.

Btw - you might want to remove the `author` field [here](60b5b33a79/files/classes/comment.py (L308)). It attaches the full user bio and badge list to every comment, which turns something like `GET https://rdrama.net/post/18459` into a 21MB response. `author_name` is pretty much all anyone needs anyway

Co-authored-by: float-trip <float-trip@fsdfsd.net>
Reviewed-on: rDrama/rDrama#167
Co-authored-by: float-trip <float-trip@noreply.fsdfsd.net>
Co-committed-by: float-trip <float-trip@noreply.fsdfsd.net>
2023-07-07 18:53:14 +00:00
..
__init__.py add BOTS feature 2023-03-16 06:07:39 +02:00
admin.py cleanup in aisle 4 2023-07-03 03:26:20 +03:00
allroutes.py disable cookie clearing on wpd in case thats what caused the issue 2023-07-07 21:44:12 +03:00
asset_submissions.py convert /marseys into /emojis 2023-07-05 00:40:00 +03:00
awards.py do this https://rdrama.net/h/countryclub/post/79285/-/4493631#context 2023-07-05 23:45:57 +03:00
casino.py dont pass db session as an argument unless necessary 2023-06-08 03:49:37 +03:00
chat.py Bring back orgies (watchparties), now controllable by admins, and generally better in all ways (#165) 2023-07-02 23:55:37 +00:00
comments.py Fix /comment JSON response (#167) 2023-07-07 18:53:14 +00:00
errors.py use error()instead of abort() in sanitize 2023-06-30 23:34:29 +03:00
feeds.py use new pagination system everywhere it isnt used 2023-05-06 00:47:07 +03:00
front.py fix forgotten subdomain 2023-07-01 22:37:32 +03:00
giphy.py default ratelimit doesnt apply implicitly if theres other @limiter.limit before the function, so add it explicity before all functions 2023-02-26 10:41:04 +02:00
groups.py fix 500 error when all members leave group 2023-07-07 03:37:17 +03:00
hats.py remove useless tabs 2023-05-06 00:47:07 +03:00
jinja2.py fix 500 error 2023-07-02 02:14:57 +03:00
login.py remove unnecessay padding 2023-07-07 02:30:53 +03:00
lottery.py stop the infamous terrorist known as carpathian ibn al-florist from breaking the site everytime he wants a fat lottery payout 2023-04-03 19:58:17 +02:00
mail.py add 1/1 second ratelimiter for user ids to fix blackjack exploit 2023-04-02 08:52:26 +02:00
notifications.py improve GLOBAL 2023-07-05 21:44:57 +03:00
oauth.py complement 32fa466e6a 2023-06-23 16:46:42 +03:00
polls.py Add House Edgy 2023-06-26 18:05:27 +03:00
posts.py dont autopin ghost threads 2023-07-06 04:44:05 +03:00
push_notifs.py add 1/1 second ratelimiter for user ids to fix blackjack exploit 2023-04-02 08:52:26 +02:00
reporting.py disable ghost-posting in holes to prevent hole jannies from unmaking ppl who participate in them 2023-07-01 03:39:24 +03:00
routehelpers.py fix improperly typed func 2023-06-24 21:02:16 +03:00
search.py allow ppl to search their own ghost comments 2023-06-24 16:37:08 +03:00
settings.py remove edgy founder line 2023-07-05 19:17:04 +03:00
special.py rename submissions to posts 2023-06-08 02:26:32 +03:00
static.py redirect /marseys to /emojis 2023-07-07 04:52:19 +03:00
subs.py Add House Edgy 2023-06-26 18:05:27 +03:00
users.py fix this https://rdrama.net/post/185672/the-best-advice-i-ever-received/4524955#context 2023-07-07 08:41:57 +03:00
votes.py boost all stealth holes by x2 2023-07-05 23:39:15 +03:00
wrappers.py increase ddos_detected limit to 3000 2023-07-07 01:23:06 +03:00