Commit Graph

732 Commits (6af8e606926dffa70727b53b84fd76b5b8836477)

Author SHA1 Message Date
Aevann b53b0e6ac7 paginate /marseys 2023-05-05 06:30:04 +03:00
Aevann eff429223b use new pagination system in /transfers 2023-05-05 04:06:25 +03:00
Aevann 0df074c974 use new pagination system in mod log 2023-05-05 03:54:55 +03:00
Aevann 514fb320cf show truescore in admin.patrons and order by it 2023-05-03 17:47:06 +03:00
Aevann 90127ffa27 rename path 2023-05-03 17:45:14 +03:00
Aevann 0626622ce9 delete floattrip.csv 2023-04-26 08:57:18 +02:00
Aevann 3958dd069a give floattrip the comment dump so he can train his AI 2023-04-25 14:47:27 +02:00
Aevann 25b0a694d3 same as last commit 2023-04-15 04:42:39 +02:00
Aevann 5e56bfdc03 sort jannies by level 2023-04-15 04:40:50 +02:00
Aevann c4263c9439 fix prev commit 2023-04-02 10:04:32 +02:00
Aevann 5bc6597188 add 1/1 second ratelimiter for user ids to fix blackjack exploit 2023-04-02 08:52:26 +02:00
Aevann c33cd734dd minor fix 2023-03-26 01:30:21 +02:00
Aevann d068464136 remove unnecessary v check 2023-03-26 01:29:55 +02:00
Aevann 96330210e8 use SITE as a prefix for flask_cache 2023-03-25 22:57:27 +02:00
Aevann bdc5d8bd12 allow jannies to change the kind of emojis 2023-03-21 18:50:26 +02:00
Aevann 4b352a9625 asset_submissions/marseys -> asset_submissions/emojis 2023-03-21 16:16:18 +02:00
Aevann 2a9dfab16a fix /emojis getting cached on browser end 2023-03-19 17:15:20 +02:00
Aevann df0184b728 marsey -> emoji 2023-03-19 15:46:38 +02:00
Aevann dd54413cf3 convert marsey submission form to include all emojis 2023-03-18 15:34:04 +02:00
Aevann a83dc8bba9 make CF cache emojis without an extra page rule 2023-03-17 11:44:05 +02:00
Aevann 57765f0776 revert sqlalchemy changes 2023-03-16 08:27:58 +02:00
Aevann f768d81103 keep db sessions open 2023-03-15 05:58:00 +02:00
Aevann 873292d60d make remove_media() to fix 500 error 2023-03-06 21:32:08 +02:00
Aevann 2fb93834f9 disallow perma-punished users from /donate 2023-03-05 18:25:13 +02:00
Aevann d3b189ad83 combine donate templates 2023-03-05 12:17:05 +02:00
Aevann 984aecec9a destroy the shadow realm (#135)
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#135
2023-02-27 15:38:12 +00:00
Aevann 9559c6e93a hide ghosts in push notifs 2023-02-27 15:35:53 +02:00
Aevann 17bb6dad48 blackjack fix exploit 2023-02-27 07:33:45 +02:00
Aevann 2c279a8369 remove unnecessary modmail preamble 2023-02-27 02:41:25 +02:00
Aevann 6ac9b32834 allow positioning of files 2023-02-26 14:08:37 +02:00
Aevann fe0b8887bc change 1/second ratelimit to 1/2 second 2023-02-26 12:26:26 +02:00
Aevann 588c133e67 decrease unnecessary 1/2 minutes ratelimit 2023-02-26 12:24:38 +02:00
Aevann 82a73392a9 fix errors 2023-02-26 10:49:09 +02:00
Aevann 8c495c914a 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
Aevann 7aaeedea36 better ratelimiting 2023-02-26 03:42:39 +02:00
Aevann 00c70a23fb show number of emojis and the zip size 2023-02-25 21:18:40 +02:00
Aevann 61d256eaaa adds an easy link to download all emojis 2023-02-25 01:14:18 +02:00
Aevann 7f2d6a29a5 fix 500 error in /contact 2023-02-24 08:53:40 +02:00
Aevann e37031c4dd make sure g.db.flush() is always above _push_notif_thread 2023-02-24 04:36:25 +02:00
Aevann 5a511c00a8 include username in push notifs 2023-02-24 04:22:47 +02:00
Aevann 5d6cb1ba46 add push notifs for modmail 2023-02-24 04:04:11 +02:00
Aevann 52a63fbba3 restore modmail notifs for myself 2023-02-24 01:25:47 +02:00
Aevann e2206278a1 Revert "Revert "routes: added various per-app exclusions (#128)""
This reverts commit f4a4b5f7be.
2023-02-21 16:51:22 +02:00
Aevann f4a4b5f7be Revert "routes: added various per-app exclusions (#128)"
This reverts commit 4e52488b35.
2023-02-20 18:06:51 +02:00
mummified-corroding-granny 4e52488b35 routes: added various per-app exclusions (#128)
Kindly,

Why (at least on WPD):
* /marseys results in a 500 (balls-deep)
* /worldcup... and /directory are empty pages
* /toggle_holes results in almost all posts getting removed from the front page in the perspective of the logged-in user

Thanks,
granny

Reviewed-on: rDrama/rDrama#128
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-20 14:40:21 +00:00
Aevann 911f183de6 remove csp report code 2023-02-09 06:58:41 +02:00
Aevann df1f2792a1 comment /csp_violations again 2023-02-02 22:47:22 +02:00
Aevann 28dbece47e restore /csp_violations 2023-02-02 22:15:03 +02:00
Aevann 9d244af7f5 increase ratelimit on /csp_violations 2023-02-02 21:33:52 +02:00
Aevann 38fe32703e modify /csp_violations 2023-02-02 21:33:22 +02:00
Aevann c7e565214e comment /csp_violations for now 2023-02-02 21:24:51 +02:00
Aevann ae83aa15ed fix /csp_violations 2023-02-02 19:33:47 +02:00
Aevann 1529e70abd remove /admin/chat for being unused and redundant to /contact 2023-01-30 11:57:00 +02:00
Aevann 17a7430193 fix 500 error 2023-01-29 15:58:11 +02:00
Aevann 477fc73632 rename /send_admin to /contact 2023-01-29 11:23:15 +02:00
Aevann 3b4211e8e1 stop using nullslast rDrama/rDrama#102 2023-01-28 10:25:19 +02:00
Aevann 2c332c5fa7 avoid duplicating err and msg code 2023-01-27 11:41:32 +02:00
Aevann 4c9f27aa1f make /send_admin redirect to /contact 2023-01-27 11:26:59 +02:00
Aevann 6b5f87a638 icons 2023-01-26 07:45:38 +02:00
Aevann e8a61b133f im genuinely stupid 2023-01-25 18:52:16 +02:00
Aevann 5c3eb6989f fix 500 error 2023-01-25 18:06:27 +02:00
Aevann 24edb49f3b add jl5 (for me) 2023-01-22 10:04:49 +02:00
Aevann a40dee5bd8 improve user ratelimiting 2023-01-21 06:39:46 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann 78351abc4c clean up legacy stuff 2023-01-01 03:17:07 +02:00
Aevann 8ee189022b seething hatred 2022-12-30 21:01:47 +02:00
Aevann c4872ecb07 Revert "attempt to fix ratelimiting user"
This reverts commit 99597fc36c.
2022-12-30 20:43:13 +02:00
Aevann 99597fc36c attempt to fix ratelimiting user 2022-12-30 20:40:58 +02:00
Aevann 9a8c986f93 attempt to fix ratelimiting user 2022-12-30 20:33:07 +02:00
Aevann 56b80d447d remove unnecessary ruqqus holdover 2022-12-29 12:42:08 +02:00
Aevann 909e3f5f29 use a cool flask feature i didnt know about 2022-12-29 12:39:10 +02:00
Aevann c326c999f2 fix csp violation 2022-12-28 12:25:52 +02:00
Aevann 84874ab3ff fix 500 error 2022-12-27 07:40:54 +02:00
Aevann 844c58fe90 dont print /csp_violations when bc of extension 2022-12-27 07:20:32 +02:00
Aevann 6114111654 tighten CSP 2022-12-27 03:22:39 +02:00
Aevann a63b02470d use sets with in statements 2022-12-24 00:22:41 +02:00
Aevann1 1b7eb7cb87 Revert "add print statements for debugging /stats"
This reverts commit a7ec033698.
2022-12-21 01:00:26 +02:00
Aevann1 a7ec033698 add print statements for debugging /stats 2022-12-21 00:50:51 +02:00
Aevann1 74457e5468 rework stats a bit 2022-12-20 04:26:27 +02:00
Aevann1 bee14957a7 increase cache timeout for stats by x10 2022-12-20 02:43:51 +02:00
Aevann1 eee0dfce6a restore /stats 2022-12-20 02:42:39 +02:00
Aevann1 2256fecee6 /stats crashes workers - disable until someone else fixes it (not me) 2022-12-17 20:55:24 +02:00
justcool393 ab41db22b7 [DO NOT MERGE] multiple sub banners (#59)
allows multiple sub banners

Snakes note: By request of Carp, especially for WPD.

Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
Aevann1 52f5b2a347 serve almost all files from nginx 2022-12-10 14:21:52 +02:00
Snakes 39a0832223
Sort banned, chudded, etc listings by activity.
The listings of users affected by jannied states are long. To make
them more useful, sort by recent user activity (when v is allowed to
view last_active) to know which accounts are still in use.
2022-12-09 23:47:31 -05:00
Aevann1 c01d757dc7 delete legacy route 2022-12-03 00:37:31 +02:00
justcool393 0106a4e340 antispam: under siege mode 2022-11-30 11:37:35 -06:00
Aevann1 de8a45412b fix /icon.webp 2022-11-30 01:56:11 +02:00
Aevann 9893ede920 fix browserconfig.xml (#30)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#30
2022-11-29 23:19:03 +00:00
Aevann1 bf1da34dae Revert "marseys table is way way too large to use javascript for sorting, you would've known that if u had tested"
This reverts commit fe0da05415.
2022-11-29 05:22:59 +02:00
Snakes 2304876348
Fix emoji search after Marsey caching revert. 2022-11-28 22:18:16 -05:00
Aevann1 261abe3161 archives - add additional route for ease of use 2022-11-29 05:08:26 +02:00
Aevann1 8182be4730 minor syntax change for no reason 2022-11-29 03:53:30 +02:00
Aevann1 c0d91c9e71 fix last commit (i cant do this without coffee help me) 2022-11-29 01:48:16 +02:00
Aevann1 b6c45c4208 make going to the reddit version of archived posts easier 2022-11-29 01:45:52 +02:00
Aevann1 f15350b2a8 fix subreddit links in archives 2022-11-29 00:12:39 +02:00
Aevann1 fe0da05415 marseys table is way way too large to use javascript for sorting, you would've known that if u had tested 2022-11-28 06:59:35 +02:00
Aevann1 d0047dcc5a include users who have more than 30 days to be unbanned/unchhuded in /banned and /chuds for accountability 2022-11-28 03:32:01 +02:00
justcool393 5a1224ddc7 fix shadowbanned and nonexistent users in marseys table 2022-11-27 11:13:23 -06:00
justcool393 767cc467bb marseys: cache marseys and emojis and fun stuff (#15)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#15
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-27 16:59:36 +00:00