rDrama/files
TLSM 7a6f95a3b1 Fix #241: admin action rate limits too low.
Explicitly exempts admin action routes from rate limiting because
the limits were being hit during normal user behavior.

While verbose, alternatives like grouping admin routes into e.g. a
Flask blueprint to modify their behavior as a collective would have
been a larger refactor than seemed wise at the moment.

Also, some routes that were limited at 1/second were originally set
as such as a makeshift debounce for people double-clicking buttons.
This was discussed and deemed an acceptable risk compared to making
the mod queue more frustrating to go through.
2022-09-06 12:35:22 -05:00
..
assets Remove coins from popovers, disable coin routes. 2022-09-05 23:44:18 -05:00
classes Fix #260: sort replies to comments by new. 2022-09-05 23:44:18 -05:00
commands [#72] Add seed_db command 2022-06-09 01:33:58 -07:00
helpers Remove obfuscated auto-shadowban on keyword. 2022-09-05 23:44:18 -05:00
mail Split SITE_NAME into computer-readable SITE_ID and human-readable SITE_TITLE. 2022-07-31 18:53:18 -05:00
routes Fix #241: admin action rate limits too low. 2022-09-06 12:35:22 -05:00
templates Fix #265: show sidebar on post/comment pages. 2022-09-06 12:35:22 -05:00
tests Add basic posting to the e2e test. 2022-05-21 21:39:54 -05:00
__init__.py Initial e2e testing 2022-05-13 02:55:29 -05:00
__main__.py Add Flask profiler. 2022-09-06 00:44:15 -05:00
cli.py [#72] Ensure seed_db command is actually imported when calling into flask 2022-06-09 01:34:46 -07:00