rDrama/files/routes
Snakes 27506b36c2
Fix unbound ORM object erroring during 500 handler.
The 500 fixed in 71738b05fc revealed that attempting to access g.v at
all during an error handler can potentially cause its own error.
In particular, html_head L111 accessing v.themecolor errored because
we roll back the database session during 500 handling. There's no good
solution other than specifically not passing v to 500 error pages.

However, in the interest of failing fast and ensuring error handlers
always complete, we instead go back to the previous behavior of not
treating users as logged in for error pages.
2022-12-01 17:24:41 -05:00
..
__init__.py Rename events.py and related to 'special'. 2022-11-28 22:36:20 -05:00
admin.py badge perm shit 2022-11-30 23:15:10 +02:00
allroutes.py add logged-out chromium instructions for installing PWA 2022-12-01 01:14:29 +02:00
asset_submissions.py marseys: cache marseys and emojis and fun stuff (#15) 2022-11-27 16:59:36 +00:00
awards.py holiday event manager (actually works now edition) (#22) 2022-11-29 20:20:26 +00:00
casino.py add typing to a bunch of routes 2022-11-26 15:00:16 -06:00
chat.py chat: ratelimit chat lol 2022-11-29 19:36:09 -06:00
comments.py antispam: under siege mode 2022-11-30 11:37:35 -06:00
errors.py Fix unbound ORM object erroring during 500 handler. 2022-12-01 17:24:41 -05:00
feeds.py use https whenever u can 2022-11-28 00:53:37 +02:00
front.py use abort instead of sending raw text lol 2022-11-29 01:38:41 +02:00
giphy.py [DO NOT MERGE] import detanglation (#442) 2022-11-15 03:19:08 -06:00
hats.py add typing to a bunch of routes 2022-11-26 15:00:16 -06:00
jinja2.py fix missing required context variables on 429 and remove flex tape 2022-11-29 19:12:43 -06:00
login.py settings: convert all to snek_case 2022-11-30 12:26:07 -06:00
lottery.py add typing to a bunch of routes 2022-11-26 15:00:16 -06:00
mail.py remove ruckus.webp 2022-11-29 07:25:17 +02:00
notifications.py fix prev commit 2022-12-01 00:33:41 +02:00
oauth.py add typing to a bunch of routes 2022-11-26 15:00:16 -06:00
polls.py default response code is 200, dont need to specify it 2022-11-21 03:13:31 +02:00
posts.py Fix 500 on all non-holed post submissions. 2022-12-01 17:12:57 -05:00
reporting.py antispam: under siege mode 2022-11-30 11:37:35 -06:00
routehelpers.py fix 500 error 2022-11-21 01:20:57 +02:00
search.py add typing to a bunch of routes 2022-11-26 15:00:16 -06:00
settings.py minor background dedup 2022-11-29 05:37:56 +02:00
special.py worldcup2022: retain backwards compat on URL. 2022-11-28 22:39:51 -05:00
static.py antispam: under siege mode 2022-11-30 11:37:35 -06:00
streamers.py [DO NOT MERGE] import detanglation (#442) 2022-11-15 03:19:08 -06:00
subs.py use abort instead of sending raw text lol 2022-11-29 01:38:41 +02:00
users.py kofi - order_by not needed anymore 2022-12-01 03:26:47 +02:00
votes.py Fix /votes/ downvote listing display. 2022-12-01 10:15:52 -05:00
wrappers.py settings: convert all to snek_case 2022-11-30 12:26:07 -06:00