forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

119 Commits (d464aceecc935cd1d84918630c4f4b614deda16e)

Author SHA1 Message Date
Aevann d464aceecc get_ID ratelimiter should use session_id 2023-08-15 15:51:44 +03:00
Aevann aff15f2de4 fix logged-out users getting ratelimited when trying to access logged-in endpoints 2023-08-13 18:30:54 +03:00
Aevann 92fa475acd remove nig=a 2023-08-11 16:22:25 +03:00
Aevann 9e16fcac3e move code to reduce lock duration 2023-08-10 21:47:57 +03:00
Aevann ef66c52aed last_active should change on voting and u know it 2023-08-10 19:05:19 +03:00
Aevann 93d89218b1 remove login_required from ddos_detected 2023-08-10 00:46:12 +03:00
Aevann 9a28e36265 remove login_required from ddos_detected effects 2023-08-10 00:41:51 +03:00
Aevann 73bb8f6153 Revert "increase wpd threshold to 5k"
This reverts commit 2e3bdc4b8e.
2023-08-10 00:07:43 +03:00
Aevann 2e3bdc4b8e increase wpd threshold to 5k 2023-08-09 21:40:38 +03:00
Aevann 9d3fd84418 exempt me, part deux 2023-08-04 19:51:22 +03:00
Aevann 87a2c6be17 excempt me 2023-08-04 19:47:36 +03:00
Aevann 443615e14f better v.poor code 2023-08-03 23:40:22 +03:00
Aevann b1f4290703 fix missing import 2023-08-02 11:25:40 +03:00
Aevann f77476fc3e fix 500 error 2023-08-02 10:47:49 +03:00
Aevann 53e96f9b43 dont do last_active in voting 2023-08-02 03:28:33 +03:00
Aevann 3fc64da0e2 reduce ddos_threshold for rdrama from 3k to 1k 2023-07-28 18:23:53 +03:00
Aevann a3e88d99f7 Revert "try only loading id in get_logged_in_user"
This reverts commit 56997bc06c.
2023-07-27 22:55:04 +03:00
Aevann 56997bc06c try only loading id in get_logged_in_user 2023-07-27 22:49:37 +03:00
Aevann a57ff00e09 make the site faster by not having GET endpoints waiting for UPDATE statements to finish (they can take really long bc of locks) 2023-07-26 00:26:34 +03:00
Aevann e5808c8ee2 tab consistency 2023-07-24 14:06:59 +03:00
Aevann dee71a74a6 add error details in wrappers 2023-07-24 14:06:42 +03:00
Aevann a2106d191a disasllow ppl from publishing drafts while banned 2023-07-22 17:40:23 +03:00
Aevann d2ee5be219 mute annoying error 2023-07-18 16:02:31 +03:00
Aevann 955aaf48e5 revert 2 commits 2023-07-14 12:20:33 +03:00
Aevann 63fa768883 fix 500 error 2023-07-14 06:00:12 +03:00
Aevann 1d726ebd77 fix user counts being 0 in error pages 2023-07-13 17:02:58 +03:00
Aevann 21c69eebec use uuid for session_ids 2023-07-08 00:50:26 +03:00
Aevann a2cadc3815 fix None 2023-07-07 23:46:49 +03:00
Aevann f1856a6ec2 only call calc_users when its necessary 2023-07-07 23:40:16 +03:00
Aevann 29876efcca increase ddos_detected limit to 3000 2023-07-07 01:23:06 +03:00
Aevann bc13b908c8 increase loggedout_counter limit to 2000 2023-07-06 00:52:04 +03:00
Aevann ed322add97 use more secure token_urlsafe 2023-06-30 19:51:14 +03:00
Aevann 778f4f045e rename variable 2023-06-29 23:10:31 +03:00
Aevann 0a8b2b23cc same as last commit 2023-06-29 19:14:24 +03:00
Aevann e5bf894bf6 fix internal server error 2023-06-29 19:13:25 +03:00
Aevann 3a07bd1d25 remove print statement 2023-06-29 18:56:54 +03:00
Aevann 034cc436f1 delete unnecessary space 2023-06-29 18:56:40 +03:00
Aevann 512fe8d710 fix loggedout_counter 2023-06-29 18:56:16 +03:00
Aevann 60b5b33a79 Revert "remove poor mode"
This reverts commit 33d281cc2e.
2023-06-27 15:01:40 +03:00
Aevann 33d281cc2e remove poor mode 2023-06-26 13:55:38 +03:00
Aevann 2457fddc0c reblock rdrama in egypt 2023-06-01 16:05:07 +03:00
Aevann f4f283fb70 remove EG logging 2023-05-27 02:17:42 +03:00
Aevann 9c64b891e5 revise my exceptions 2023-05-04 19:24:40 +03:00
Aevann 3349218c06 replace , with : 2023-05-04 01:03:12 +03:00
Aevann 7e387aa404 stop using eg.log 2023-05-04 01:01:17 +03:00
Aevann 02427b6da0 same as last commit 2023-04-09 00:38:26 +02:00
Aevann 33464589aa add "offline mode" 2023-03-25 23:35:13 +02:00
Aevann 5b80166bed 2fa -> two-factor authentication 2023-03-16 17:17:53 +02:00
Aevann 57765f0776 revert sqlalchemy changes 2023-03-16 08:27:58 +02:00
Aevann f31256e10c fix 2023-03-15 07:33:55 +02:00