Commit Graph

761 Commits (9b03eb83b5faa8e81f3050a0303aaeb026d93770)

Author SHA1 Message Date
Aevann 3cbea18327 make emoji search work on original usernames 2023-07-01 03:25:12 +03:00
Aevann 812a637180 fix 500 error 2023-06-29 23:19:15 +03:00
Aevann 8b3388cb29 fix d98f8afde8 2023-06-29 23:15:12 +03:00
Aevann d98f8afde8 unlock /donate to loggedoutcels 2023-06-29 23:10:31 +03:00
Aevann ed65f92500 do this https://rdrama.net/h/countryclub/post/79285/-/4412224#context 2023-06-24 21:48:13 +03:00
Aevann c62eec7203 fix new emojis not appearing in WPD 2023-06-24 19:05:19 +03:00
Aevann d9bed378a9 complement 32fa466e6a 2023-06-23 16:46:42 +03:00
Aevann a15d5eabef rename "agendaposter" to "chud" 2023-06-23 14:07:47 +03:00
Aevann 8b5176d0e7 make /marseys not login-required 2023-06-14 01:28:11 +03:00
Aevann d8bfc0a0a9 dont pass db session as an argument unless necessary 2023-06-08 03:49:37 +03:00
Aevann f1de6cbe58 rename tooltip dismissal to hopefully fix this https://rdrama.net/post/172725/no-decline-no-no-no-no 2023-05-24 13:45:59 +03:00
Aevann 0f6b36f40b fix 500 error 2023-05-20 03:16:45 +03:00
Aevann 75cb768bed fix wrong modmail if statement 2023-05-17 19:23:16 +03:00
Aevann cd88e4a4d6 fix wrong logic for modmail notifs 2023-05-15 12:36:52 +03:00
Aevann a374c3dc36 allow jannies with proper perms to view patron badges 2023-05-13 03:05:08 +03:00
Aevann dd669aa7be hide lifetime_donated badges in /badges 2023-05-13 01:11:37 +03:00
Aevann 1d1f3d1a3b dont give me modmail notifs on WPD (if its important they'll tell me) 2023-05-12 22:37:26 +03:00
Aevann d726a0fbd7 try something 2023-05-11 17:22:00 +03:00
Aevann 2ad1ff2263 pick the highest truescore one 2023-05-11 17:13:25 +03:00
Aevann 0fd8afae0e remove duplicate emails from /admin/patrons 2023-05-11 17:11:44 +03:00
Aevann c358590e44 remove unnecessary route now 2023-05-07 21:56:40 +03:00
Aevann bfde0d7ff3 Revert "paginate /marseys"
This reverts commit b53b0e6ac7.
2023-05-07 21:47:17 +03:00
Aevann d40446075d clearer if statement 2023-05-06 11:39:56 +03:00
Aevann 92f0154e67 use new pagination system everywhere it isnt used 2023-05-06 00:47:07 +03:00
Aevann d9aeb1f111 dedup page defining 2023-05-05 08:23:59 +03:00
Aevann d25ad95795 make sure "usage" is highlighted when u go to /marseys 2023-05-05 07:17:41 +03:00
Aevann c854b65e8b add name sort to marseys and disable clicking on "marsey" and "original file" 2023-05-05 07:16:05 +03:00
Aevann 4613bfe0c2 fix import error 2023-05-05 06:44:07 +03:00
Aevann 172fa6ab6f add /marseys/all for carp 2023-05-05 06:42:06 +03:00
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