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
Aevann
b2dc965846
more fixes
2023-03-15 07:29:59 +02:00
Aevann
f768d81103
keep db sessions open
2023-03-15 05:58:00 +02:00
Aevann
eb5f2723c2
ddos mitigation tweak for WPD
2023-03-12 01:11:46 +02:00
Aevann
7f90ad45a0
fix chat
2023-03-11 11:56:32 +02:00
Aevann
83550c33bd
fix last commit
2023-03-11 09:36:41 +02:00
Aevann
52b7161938
fix last commit
2023-03-11 09:34:54 +02:00
Aevann
8476ded483
fix last commit
2023-03-11 09:34:32 +02:00
Aevann
7550f5ff99
restore eg.log
2023-03-10 04:05:00 +02:00
Aevann
24101995af
same as last commit
2023-03-10 01:43:52 +02:00
Aevann
82a73392a9
fix errors
2023-02-26 10:49:09 +02:00
Aevann
7aaeedea36
better ratelimiting
2023-02-26 03:42:39 +02:00
Aevann
a395c18955
remove unnecessary tabs
2023-02-22 19:27:33 +02:00
Aevann
28dddf4a8b
minor change
2023-02-10 07:51:17 +02:00
Aevann
d217b3e843
fix ratelimiting in wpd
2023-02-09 10:11:34 +02:00
Aevann
6250a75f00
same as last commit
2023-02-09 10:00:01 +02:00
Aevann
d9ef24d399
minor fix
2023-02-07 04:07:40 +02:00
Aevann
1529e70abd
remove /admin/chat for being unused and redundant to /contact
2023-01-30 11:57:00 +02:00
Aevann
a40dee5bd8
improve user ratelimiting
2023-01-21 06:39:46 +02:00
Aevann
acc71d4cae
add /admin/chat and dont store profile_url in chat dict
2023-01-20 06:10:25 +02:00
Aevann
044664a25e
get rid of useless tabs and spaces
2023-01-01 13:36:20 +02:00
Aevann
db6db63836
change event structure
2023-01-01 07:33:09 +02:00
Aevann
03fb84e618
fix HOLIDAY_EVENT check
2023-01-01 04:50:11 +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
93e9a42fa3
stop using inline style/script elements
2022-12-29 16:20:27 +02:00
Aevann
0060d5e293
open devrama again
2022-12-27 06:35:25 +02:00
Aevann
937443560c
limit devrama access to meself
2022-12-27 06:17:16 +02:00
Aevann
1715dc938d
dont generate nonce for xhr and increase nonce elngth
2022-12-27 05:00:15 +02:00
Aevann
0336e87619
exclude devrama from 2fa requirement
2022-12-27 03:54:19 +02:00
Aevann
6114111654
tighten CSP
2022-12-27 03:22:39 +02:00
Aevann
d30d6b8314
limit chat on rdrama to jannoids
2022-12-25 22:13:29 +02:00
Aevann
853e986624
fix https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3291123
2022-12-23 03:36:20 +02:00
Aevann1
4997ba561a
disable 2fa requirement in localhost
2022-12-19 23:27:56 +02:00
Aevann1
ecb3ee52b4
disable admin features unless 2FA configured
2022-12-19 20:57:20 +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: #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
7f1de57ffe
minor log fix
2022-12-05 16:06:11 +02:00
Snakes
15dc9c4cf7
Ensure eg log created if not exists.
2022-12-02 15:35:15 -05:00
justcool393
69a44baea7
settings: convert all to snek_case
2022-11-30 12:26:07 -06:00
justcool393
d395bcab69
logging: create somewhat sane logging
2022-11-30 12:09:31 -06:00
justcool393
11059d1665
move calc users to context processor ( #31 )
...
jinja more like i can't think of anything witty
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #31
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-29 23:50:32 +00:00
justcool393
65236df78a
don't read multiple times etc
2022-11-29 16:11:07 -06:00
justcool393
80466f3150
chat: fix cache commit and stuff idk
2022-11-29 16:02:43 -06:00
justcool393
5056f09380
chat: fix 500 on some... weird... state... i think?
...
cache: get out of jinja templates
chat: threshold is now a const
2022-11-29 15:49:23 -06:00
justcool393
03e7b4c6a2
events: initialize event_v properly
2022-11-29 14:35:28 -06:00
justcool393
67bfe5a5bd
remove unnecessary `str()`
2022-11-29 14:29:27 -06:00
justcool393
fbcd089852
fix rare 401-302-401-302-429 loop
2022-11-28 13:41:08 -06:00
Aevann1
89816775aa
fix 500 error ????
2022-11-28 03:48:53 +02:00
justcool393
767cc467bb
marseys: cache marseys and emojis and fun stuff ( #15 )
...
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #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
Aevann1
c42a0e6a20
Revert "Revert "Revert "fix session bug" - pls for the love of god visit localhost after making a commit""
...
This reverts commit e6a328fc3a
.
2022-11-27 03:01:02 +02:00
Aevann1
84b6f43cf6
Revert "fix missing loggedin_counter and loggedout_counter"
...
This reverts commit 14828bd9f4
.
2022-11-27 03:00:32 +02:00
justcool393
14828bd9f4
fix missing loggedin_counter and loggedout_counter
2022-11-26 18:55:26 -06:00
justcool393
e6a328fc3a
Revert "Revert "fix session bug" - pls for the love of god visit localhost after making a commit"
...
This reverts commit b7efa6ddd3
.
2022-11-26 18:45:12 -06:00
Aevann1
b7efa6ddd3
Revert "fix session bug" - pls for the love of god visit localhost after making a commit
...
This reverts commit fcdad601fb
.
2022-11-27 02:43:10 +02:00
justcool393
fcdad601fb
fix session bug
2022-11-26 18:33:04 -06:00
Aevann1
daa9d9c80b
Revert "calc users: log so we can find the root of this problem"
...
This reverts commit ba6e4721d3
.
2022-11-27 01:10:38 +02:00
Aevann1
14b2b9328a
Revert "don't want to crash on our precious logging code"
...
This reverts commit 992e4a0d1c
.
2022-11-27 01:08:44 +02:00