Commit Graph

360 Commits (8d84748c4204c0258609520be230bd7c0adca0b6)

Author SHA1 Message Date
Aevann 8d84748c42 add spaces for consistency 2023-08-24 00:57:39 +03:00
Aevann 18ef2cc0bc more performant syntax 2023-08-23 03:31:07 +03:00
Aevann a9a68ae79d fix additional error due to flask patch 2023-08-23 00:43:36 +03:00
Aevann f760574e3a fix 500 error 2023-08-23 00:36:19 +03:00
Aevann 7c6fb8715e remove notif spam for fish 2023-08-18 21:28:45 +03:00
Aevann 39098fe323 kitchen sink commit 2023-08-12 00:50:23 +03:00
Aevann 4277bac960 same as 4602e374ee 2023-08-10 15:45:45 +03:00
Aevann 93d89218b1 remove login_required from ddos_detected 2023-08-10 00:46:12 +03:00
Aevann 6bf8f67d0f disable signups when ddos detected 2023-08-10 00:09:15 +03:00
Aevann 542e96585e remove unused imports 2023-08-05 22:03:48 +03:00
Aevann 022440aa7f fix 500 error on some ancient browsers or smth 2023-08-01 09:53:30 +03:00
Aevann 8beb2d7e8e remove typing (useless code bloat) 2023-07-30 03:42:06 +03:00
Aevann 2f8fec6fff partially revert a94dda90dd. restore some commits that turned out to be necessary 2023-07-26 00:42:47 +03:00
Aevann a94dda90dd remove unnecessary flushes 2023-07-25 23:35:54 +03:00
Aevann 1a9e442331 change wrong response codes 2023-07-23 03:36:28 +03:00
Aevann 4dfaced994 remove wrong response code that results in console error 2023-07-23 03:34:37 +03:00
Aevann d613bca1c9 increase /login limit from 10/day to 20/day 2023-07-18 20:31:05 +03:00
Aevann ff67e30949 dont count failed requests towards ratelimit 2023-07-13 16:50:46 +03:00
Aevann 8b07f314e8 fix redirect getting wiped on login fail 2023-07-08 16:22:02 +03:00
Aevann fdf9e68801 remove unnecessay padding 2023-07-07 02:30:53 +03:00
Aevann ed322add97 use more secure token_urlsafe 2023-06-30 19:51:14 +03:00
Aevann 33575e545e remove pizzashilling new users 2023-05-19 17:37:44 +03:00
Aevann c08fffd048 fuck u carp 2023-05-17 21:57:25 +03:00
Aevann b302fd8fab fix last commit 2023-05-03 23:45:41 +03:00
Aevann abb62aefcd fix last commit 2023-05-03 23:43:56 +03:00
Aevann a606d9ed67 implement cloudflare caching instead of redis caching 2023-05-03 23:41:41 +03: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 96330210e8 use SITE as a prefix for flask_cache 2023-03-25 22:57:27 +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 c6a7051200 flush instead of committing inside requests 2023-03-15 07:19:35 +02:00
Aevann f768d81103 keep db sessions open 2023-03-15 05:58:00 +02:00
Aevann 117624f313 add session["GLOBAL"] 2023-03-02 22:29:22 +02:00
Aevann c6af523b5d handle turnstile outages 2023-02-28 19:02:03 +02:00
Aevann 17bb6dad48 blackjack fix exploit 2023-02-27 07:33:45 +02:00
Aevann fe0b8887bc change 1/second ratelimit to 1/2 second 2023-02-26 12:26:26 +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 4c35f0b07f remove unnecessary line 2023-02-26 08:35:59 +02:00
Aevann 7aaeedea36 better ratelimiting 2023-02-26 03:42:39 +02:00
Aevann 8cf4b6fda6 reduce default admin level 2023-02-21 17:14:37 +02:00
Aevann 349fa17836 use exlamation marks instead of dots in responses to users 2023-01-27 13:57:29 +02:00
Aevann d01d6e183a change endpoint path to be the same as GET version 2023-01-27 11:53:04 +02:00
Aevann 75a9a20bc2 fix 500 error 2023-01-27 09:11:06 +02:00
Aevann b23dc76d78 fix muting linking alts 2023-01-25 04:53:52 +02:00
Aevann 24edb49f3b add jl5 (for me) 2023-01-22 10:04:49 +02:00
Aevann e96f121f3f tell ppl to check their spam folder just in case 2023-01-21 07:36:27 +02:00
Aevann a40dee5bd8 improve user ratelimiting 2023-01-21 06:39:46 +02:00
Aevann ae1eced819 minor syntax change 2023-01-03 13:34:21 +02:00