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: 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
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: rDrama/rDrama#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: 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
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
Aevann1
27bb38c0d5
Revert "the request is prolly boned anyway, let's help friends help me :)"
...
This reverts commit cfffbc61a0
.
2022-11-27 01:08:27 +02:00
justcool393
cfffbc61a0
the request is prolly boned anyway, let's help friends help me :)
2022-11-25 20:57:24 -06:00
justcool393
992e4a0d1c
don't want to crash on our precious logging code
2022-11-25 20:22:55 -06:00
justcool393
ba6e4721d3
calc users: log so we can find the root of this problem
2022-11-25 20:21:38 -06:00
Aevann1
5523747c3a
fix 500 error
2022-11-26 04:02:41 +02:00
justcool393
0356c589a4
api: don't hit calc_users if this is the API
...
sometimes we render HTML where we probably... shouldn't. in most cases
this is fine, but if API clients hit it it can errenously set
2022-11-25 14:31:07 -06:00
Snakes
af7df7f62d
Ensure all entry points get sessions.
...
Somewhat speculative, but the change in f62a9769fd
, while fixing
certain errors where logged-out users sometimes didn't have sessions
come calc_users, also opened the possibility of certain request
sequences that wouldn't give a user a session.
In the interest of conservatism, we create a session if not exists
in both the new location in calc_users and the previous spot in
before_request.
2022-11-22 18:37:55 -05:00
Aevann1
da34a099a3
fix 500 errors
2022-11-20 21:05:32 +02:00
Aevann1
d354a86cbb
fix 500 errors
2022-11-20 19:00:05 +02:00
Aevann1
f62a9769fd
fix annoying 500 errors
2022-11-20 18:46:15 +02:00