Commit Graph

21664 Commits (c9a1f7d5f743de616d9ceb96beeb4256a3c45803)

Author SHA1 Message Date
Aevann1 c9a1f7d5f7 fix snappy quote 2022-12-02 00:43:11 +02:00
Aevann1 ecc32382b2 Revert "https://www.youtube.com/watch?v=_904EvOUQ_M"
This reverts commit 6d0277adc8.
2022-12-02 00:37:50 +02:00
Snakes 27506b36c2
Fix unbound ORM object erroring during 500 handler.
The 500 fixed in 71738b05fc revealed that attempting to access g.v at
all during an error handler can potentially cause its own error.
In particular, html_head L111 accessing v.themecolor errored because
we roll back the database session during 500 handling. There's no good
solution other than specifically not passing v to 500 error pages.

However, in the interest of failing fast and ensuring error handlers
always complete, we instead go back to the previous behavior of not
treating users as logged in for error pages.
2022-12-01 17:24:41 -05:00
Snakes 71738b05fc
Fix 500 on all non-holed post submissions. 2022-12-01 17:12:57 -05:00
justcool393 0f2f72f2c3 sort by new button (#34)
also get rid of megathread logic

do the needful and do
```sql
UPDATE submissions SET new=true WHERE title LIKE 'Thread' OR title ILIKE 'megathread';
```
or whatever the proper equivalent is

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #34
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-01 22:04:10 +00:00
Aevann1 68563ec8ff make collapse icon bigger 2022-12-01 20:31:34 +02:00
Aevann1 286f1848ca fix snappy rickroll 2022-12-01 19:50:25 +02:00
Aevann1 e125443d50 make Thread (upper case) sort comments by new, around 20% false positive rate but worth it 2022-12-01 19:49:26 +02:00
Aevann1 6d0277adc8 https://www.youtube.com/watch?v=_904EvOUQ_M 2022-12-01 19:07:14 +02:00
Aevann1 3308734dc7 dont auto-pin if post sub is stealthed 2022-12-01 18:22:33 +02:00
Aevann1 acd4a61232 add dramarama to boosted users 2022-12-01 18:22:00 +02:00
justcool393 fe55c2383c fix 500 on 500 2022-12-01 10:10:05 -06:00
justcool393 c05a9f335b Revert "Revert "errors: don't do anything with the user""
This reverts commit 3e2ca53f2a.
2022-12-01 10:07:59 -06:00
Snakes b04b7e9269
Fix /votes/ downvote listing display. 2022-12-01 10:15:52 -05:00
SneedBot 4847227639 sneed 2022-12-01 15:06:41 +00:00
Snakes ebc3e9a3f2
Exclude sb'd from vote counts, retain in tables.
Addressing the downvote spamming on WPD. Correctly shows jannies which
users are SB'd, shows all voters (sans SB icons) to SB'd users, and
only shows real voters to normies. SB'd users votes are still tracked
so the icons look to them like they're doing something.
2022-12-01 10:06:16 -05:00
Aevann1 4ab8825d35 fix 500 error 2022-12-01 15:19:09 +02:00
SneedBot e6fc667de1 sneed 2022-12-01 13:12:42 +00:00
Aevann1 12325aaf20 remove signup login-required messages until someone fixes scrolling 2022-12-01 15:12:23 +02:00
Aevann1 12eb23aa6b midnight - make modal border more subtle 2022-12-01 15:06:54 +02:00
Aevann1 3e2ca53f2a Revert "errors: don't do anything with the user"
This reverts commit b7a24f6fa1.
2022-12-01 14:58:32 +02:00
Aevann1 8bbc107137 dont give me reddit notifs again 2022-12-01 14:46:58 +02:00
Aevann1 48ba0bfa98 fix hole names in header 2022-12-01 14:28:35 +02:00
Aevann1 238c92b703 make PAGE_SIZES ordered 2022-12-01 14:28:00 +02:00
Aevann1 845e13b4ae minor bug fix 2022-12-01 14:27:15 +02:00
Snakes 1bc086ad1b
PCM: adjust perms, add christmas banner. 2022-11-30 23:38:25 -05:00
Snakes 4585323275
Fix monthly jannie patron badge granting. 2022-11-30 23:38:25 -05:00
Aevann1 45a36ed726 kofi - order_by not needed anymore 2022-12-01 03:26:47 +02:00
Aevann1 6e6bd81872 better kofi claiming 2022-12-01 03:24:41 +02:00
SneedBot e4e9d613e4 sneed 2022-12-01 00:57:29 +00:00
Snakes 885601e0ab
Fix offsitementions on localhost testing. 2022-11-30 19:24:45 -05:00
Aevann1 f5f660efa9 add logged-out chromium instructions for installing PWA 2022-12-01 01:14:29 +02:00
Aevann1 e0bcc71727 fix notifs 2022-12-01 00:59:56 +02:00
Aevann1 46e0dfb752 make app tooltip easier to dismiss 2022-12-01 00:55:53 +02:00
Aevann1 cbd04b3c38 remove my special case so i can test 2022-12-01 00:44:16 +02:00
Aevann1 7f4691c79d fix prev commit 2022-12-01 00:33:41 +02:00
Aevann1 e1ed46fa36 rework reddit notifs - testing on pcm lol 2022-12-01 00:29:13 +02:00
Aevann1 d160a1686f transparent fix 2022-11-30 23:56:33 +02:00
Snakes d03f3092fa
Adjust badge black/whitelists more. 2022-11-30 16:55:48 -05:00
Aevann1 87ae34966b badge perm shit 2022-11-30 23:15:10 +02:00
Snakes 5b7572af64
Revert "blizzard submodule"
This reverts commit eae0715c10.

Sorry @geese_suck, looks like more of a pain to deploy than I thought
it'd be. Was a good idea though.
2022-11-30 16:10:20 -05:00
geese_suck eae0715c10
blizzard submodule 2022-11-30 13:00:28 -08:00
Snakes 312abcbed7
offsitementions: use proper cache key in setter. 2022-11-30 15:44:01 -05:00
justcool393 5e47c70fdb setup: don't chown log dir on docker
env: fix misspelling
2022-11-30 13:39:05 -06:00
justcool393 34f10321fa antispam: adjust siege threshold 2022-11-30 13:25:32 -06:00
justcool393 e36bd8611a remove unclosed {{brackets}} 2022-11-30 13:15:06 -06:00
justcool393 d55455d51c settings: make filename an env var 2022-11-30 13:13:52 -06:00
justcool393 b7a24f6fa1 errors: don't do anything with the user
this is an evil context to have a user in do not change this
or i will find you whatever country you're from
2022-11-30 13:07:29 -06:00
justcool393 46f2b805ef config: fix _SETTINGS dict and stray signups 2022-11-30 13:03:46 -06:00
justcool393 497c9bcff1 logging: don't use \n in f-string 2022-11-30 12:49:22 -06:00