Aevann1
c01d757dc7
delete legacy route
2022-12-03 00:37:31 +02:00
Aevann
5c2dab73c7
stop using pusher ( #37 )
...
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#37
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-02 22:21:18 +00:00
Aevann1
3542703ced
Revert "make it so only the post author can declare winner and not all admins"
...
This reverts commit 9e1425d93e
.
2022-12-03 00:08:46 +02:00
Aevann1
9e1425d93e
make it so only the post author can declare winner and not all admins
2022-12-03 00:06:57 +02:00
Snakes
15dc9c4cf7
Ensure eg log created if not exists.
2022-12-02 15:35:15 -05: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: rDrama/rDrama#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
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
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
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
3e2ca53f2a
Revert "errors: don't do anything with the user"
...
This reverts commit b7a24f6fa1
.
2022-12-01 14:58:32 +02:00
Aevann1
845e13b4ae
minor bug fix
2022-12-01 14:27:15 +02: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
Aevann1
f5f660efa9
add logged-out chromium instructions for installing PWA
2022-12-01 01:14:29 +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
87ae34966b
badge perm shit
2022-11-30 23:15:10 +02: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
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
0106a4e340
antispam: under siege mode
2022-11-30 11:37:35 -06:00
justcool393
b59e4cadaa
login: don't allow logged in users to attempt to login
2022-11-30 10:49:15 -06:00
Aevann1
836d3bfd98
include v in errors if possible
2022-11-30 15:21:12 +02:00
Aevann1
abe07e7754
this is retarded
2022-11-30 13:35:57 +02:00
justcool393
c0f1b875d0
chat: ratelimit chat lol
...
apparently we haven't done that xdd
2022-11-29 19:36:09 -06:00
justcool393
c315a2a259
amend previous
2022-11-29 19:31:28 -06:00
justcool393
883be4019c
kofi: fix kofi 500
2022-11-29 19:30:33 -06:00
justcool393
db31fc17de
ratelimits: turn off autocheck so we can init
...
required app context globals
2022-11-29 19:29:06 -06:00
justcool393
f2411415dd
fix missing required context variables on 429 and remove flex tape
2022-11-29 19:12:43 -06:00
justcool393
20459a59dd
flex tape patch
2022-11-29 18:06:16 -06:00
Aevann1
de8a45412b
fix /icon.webp
2022-11-30 01:56:11 +02: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
Aevann
9893ede920
fix browserconfig.xml ( #30 )
...
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#30
2022-11-29 23:19:03 +00:00
Snakes
9fcdd65d38
PCM: improve Kippy's inflationary ergonomics.
2022-11-29 17:18:33 -05: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
Snakes
0dd7809b49
Sort banned_domains deterministically.
2022-11-29 16:24:13 -05: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
geese_suck
a3fa96242c
holiday event manager (actually works now edition) ( #22 )
...
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#22
Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Co-committed-by: geese_suck <deandre.williams@geese-suck.us>
2022-11-29 20:20:26 +00:00
Aevann1
ed5b3dc4bb
remove ruckus.webp
2022-11-29 07:25:17 +02:00