justcool393
d80fa23409
kofi: decide whether to load in __init__
...
this unifies some of the logic with how we load classes
2022-11-17 14:00:19 -06:00
justcool393
5b03c2535a
kofi: fix rare 500. don't attempt to activate via kofi on sites where it's not enabled
...
this can cause a weird 500
2022-11-17 13:55:07 -06:00
justcool393
8414cec5d5
kofi: don't let "blahblahblah" be considered a valid token
2022-11-17 11:12:32 -06:00
justcool393
ac0b1d8482
show url and method again
2022-11-17 10:41:56 -06:00
justcool393
8d46295d49
workers: simplify error handler
...
this prevents a relatively rare query to db
still it makes me feel better, especially when we have only a little bit of time anyway
2022-11-17 10:34:30 -06:00
justcool393
f4ad331d23
readme: SneedBot sneeds
2022-11-17 10:07:49 -06:00
justcool393
caf3a81748
remove unnecessary fstrings
...
(or actually use the feature)
2022-11-17 10:01:03 -06:00
gooseman
fa9290a794
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-11-16 23:19:17 -08:00
gooseman
a345f7c128
restore non-nuked banners
2022-11-16 23:19:14 -08:00
SneedBot
c6144afc9b
sneed
2022-11-17 02:10:28 +00:00
justcool393
be58d2f849
emojis: add opperblink
2022-11-16 13:36:02 -06:00
Aevann1
62ef32c9c5
Update votes.py
2022-11-16 21:00:18 +02:00
Snakes
0c0cad0723
banners: use a class, only style correct elements.
...
Selecting on the alt attribute is unstable and creates a non-obvious
coupling to maintain. Also it inadvertently affected the shop banners
and some elements in settings.
2022-11-16 12:07:23 -05:00
Snakes
7feddc42f0
Unify template helpers and macros, fix header.
...
The need for sidebars to have access to macros.random_image means
all templates that include header.html (most templates) need to have
access to `macros`, because header.html includes sidebar_{SITE_NAME}.
Because of how sparse helpers was, we instead unify the two and
replace it since I know we had helpers in every top-level template.
2022-11-16 12:07:23 -05:00
Snakes
d7d8220a3f
Ensure PCM BANNER_THREAD works.
2022-11-16 12:07:23 -05:00
gooseman
2b4634f857
fix link opening lol
2022-11-16 12:07:23 -05:00
gooseman
16e23e6f54
make banners not retarded + increase future scalability
2022-11-16 12:07:20 -05:00
justcool393
eba6625b81
casino: procoins -> mbux
2022-11-16 10:14:46 -06:00
justcool393
366f5d14c1
chat: prevent vertical spam
2022-11-16 08:56:50 -06:00
justcool393
86459cdf24
chat: show mop tools to those with proper perms
2022-11-16 08:38:20 -06:00
justcool393
d1197bac82
chat: sanitize raw body
2022-11-16 08:00:04 -06:00
justcool393
f1bfb87243
chat: permission for mute bypass
2022-11-16 07:00:03 -06:00
justcool393
5b313dd13d
hats: only load routes if feature flag enabled
2022-11-16 06:52:16 -06:00
justcool393
ee8df1e3f1
chat: mops are unmutable
2022-11-16 06:38:24 -06:00
justcool393
86ddde2d88
css: fix zalgo text bleeding all over the chat
2022-11-16 06:33:59 -06:00
Aevann1
b8ceccd78f
fix weird tabs
2022-11-16 12:52:11 +02:00
Aevann1
07a76e0ffd
exclude me from offsitementions
2022-11-16 10:34:48 +02:00
SneedBot
93fdc3212e
sneed
2022-11-16 06:20:48 +00:00
justcool393
1559de125c
add error handler
2022-11-15 23:36:56 -06:00
justcool393
1565d9ca26
use abort(410) instead of the old message.html template
2022-11-15 23:32:57 -06:00
SneedBot
219029f8a3
sneed
2022-11-16 00:29:13 +00:00
Snakes
a9eb7bcd57
Fix submission repost link escaping.
2022-11-15 19:28:21 -05:00
SneedBot
0706dc633a
sneed
2022-11-15 23:52:46 +00:00
justcool393
57b4d586ad
don't explicitly set cookies for localhost
2022-11-15 16:22:50 -06:00
justcool393
e1634d0940
modals: move all modals to a modals dir
2022-11-15 17:15:53 -05:00
justcool393
5dedde4691
admin: move admin pages to admin dir
2022-11-15 17:15:53 -05:00
justcool393
ee8ad10fac
fix 500 on IntegrityError
2022-11-15 15:12:36 -06:00
justcool393
519a9f91f8
signup: don't accidentally leak *what* validation error it was
2022-11-15 12:59:38 -06:00
justcool393
711518d942
don't redirect to /signup page if registrations are closed
2022-11-15 12:56:57 -06:00
justcool393
01e18dc28b
remove unnecessary checks
...
* in post_reset even if get_account could return a None, it'd 500 anyway
* lmao even in get reset (why is this done twice anyway?)
2022-11-15 11:11:22 -06:00
justcool393
b2f5cf92d0
change msg to be more clear
2022-11-15 10:56:40 -06:00
justcool393
b95ee0864e
fix 2fa bug
2022-11-15 10:56:04 -06:00
justcool393
3d7737387c
use default config vlaue const everywhere
2022-11-15 10:55:00 -06:00
justcool393
adf22b494a
sub relationship class ( #456 )
...
* sub relationships
* abstract = True
* fix
* fix spelling mistake
2022-11-15 11:05:42 -05:00
Aevann1
532ebd3ac8
standardize g.db behavior
2022-11-15 17:39:00 +02:00
Aevann1
f1288ba991
fix https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3080531?context=8#context
2022-11-15 17:29:45 +02:00
justcool393
3df53c63c9
alts: don't count deleted alts
2022-11-15 09:21:12 -06:00
Aevann1
7ace77b2a7
minor css change
2022-11-15 17:17:58 +02:00
Aevann1
b130139f3d
sneed
2022-11-15 16:55:21 +02:00
Aevann1
4dbc4096d3
remove weird variable
2022-11-15 16:45:18 +02:00