Commit Graph

21291 Commits (5f628d7c41671777d96a8e5749d4e8f68c684ffa)

Author SHA1 Message Date
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
Aevann1 aeb10e1ec6 exclude /r/SubSimGPT2Interactive 2022-11-15 16:44:08 +02:00
Aevann1 6d607a6f59 give ppl a message when they change their settings sucessfully 2022-11-15 16:33:21 +02:00
Aevann1 8c849bef65 add 2 more boosted sites 2022-11-15 16:33:20 +02:00
justcool393 9b734a8e3a fix ghost 2022-11-15 08:21:37 -06:00
Aevann1 1f16140367 use cloudflare icon 2022-11-15 15:54:24 +02:00
Aevann1 ab6ecc36b4
fix: upgrade @types/react-dom from 18.0.6 to 18.0.7 (#453)
Snyk has created this PR to upgrade @types/react-dom from 18.0.6 to 18.0.7.

See this package in npm:


See this project in Snyk:
https://app.snyk.io/org/m.neumann0003/project/4be92c68-8bfb-4ce3-a0e9-53fb63d428c2?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2022-11-15 15:33:19 +02:00
justcool393 a9ebe37e61 sddsdsd 2022-11-15 06:52:17 -06:00
justcool393 3fba55b4ae fix unread 500 2022-11-15 06:51:48 -06:00
justcool393 08b88ef89b we don't need requests 2022-11-15 05:38:37 -06:00
justcool393 022a81a4b9 remove unnecessary feature_required flags, moving them to the routes import 2022-11-15 05:37:53 -06:00
Snakes 1e931b4d05
Fix clear_cloudflare_cache modlog icon. 2022-11-15 06:30:20 -05:00