rework awards #25

Closed
justcool393 wants to merge 130 commits from <deleted>:rework-awards into master

130 Commits (master)

Author SHA1 Message Date
geese_suck b48203a927
restore changes 2022-11-26 20:49:36 -08:00
Aevann 1bdafa6c16
Revert "make awards significantly less retarded (#12)"
This reverts commit 04dbda7f03.
2022-11-26 20:42:31 -08:00
Aevann 3c1c4c7cdc
clean up .gitignore 2022-11-26 20:42:30 -08:00
Aevann 9f75c19abd
fix designed hats being duplicated 2022-11-26 20:42:30 -08:00
Aevann 652e3ff96b
remove loop.index on stuff thats ordered by most recent (cuz confusing) 2022-11-26 20:42:30 -08:00
Aevann1 1c12cbe21d
add !YOU! to post bodies and to comments 2022-11-26 20:42:30 -08:00
Aevann1 f4fcc4bd09
make "unmark +18" green 2022-11-26 20:42:30 -08:00
Aevann1 44e2044ac6
remove carp exception in /followers since we have pages now 2022-11-26 20:42:30 -08:00
Aevann1 5621c4b38d
Revert "Revert "Revert "fix session bug" - pls for the love of god visit localhost after making a commit""
This reverts commit e6a328fc3a.
2022-11-26 20:42:30 -08:00
Aevann1 5f15560150
Revert "fix missing loggedin_counter and loggedout_counter"
This reverts commit 14828bd9f4.
2022-11-26 20:42:29 -08:00
Aevann1 0a364939bb
add pages to /followers /following /blockers and order them all by most recent first 2022-11-26 20:42:29 -08:00
justcool393 45c232d3b2
fix missing loggedin_counter and loggedout_counter 2022-11-26 20:42:29 -08:00
justcool393 b0e0be86a1
Revert "Revert "fix session bug" - pls for the love of god visit localhost after making a commit"
This reverts commit b7efa6ddd3.
2022-11-26 20:42:29 -08:00
Aevann1 ed1bb78ba9
Revert "fix session bug" - pls for the love of god visit localhost after making a commit
This reverts commit fcdad601fb.
2022-11-26 20:42:29 -08:00
Aevann1 e8c1cb954d
order user blocks by most recent first 2022-11-26 20:42:29 -08:00
justcool393 69ede62184
literally one line lmao 2022-11-26 20:42:28 -08:00
justcool393 6f698f3f9c
fix session bug 2022-11-26 20:42:28 -08:00
Aevann1 68335d562c
limited designed hats loserboard to rdrama.net 2022-11-26 20:42:28 -08:00
Aevann1 9b0736ec20
unpaywall profile views 2022-11-26 20:42:28 -08:00
Aevann1 0b71523874
fix missing "+ 1" 2022-11-26 20:42:28 -08:00
Aevann1 39709cc325
restore diff messages to debug an issue 2022-11-26 20:42:28 -08:00
Aevann1 d827050974
remove accidentially-committed shit 2022-11-26 20:42:28 -08:00
Aevann1 303890fdc3
increase margni 2022-11-26 20:42:27 -08:00
SneedBot 03c9572d19
sneed 2022-11-26 20:42:27 -08:00
Aevann1 c0ebeb05fc
Revert "calc users: log so we can find the root of this problem"
This reverts commit ba6e4721d3.
2022-11-26 20:42:27 -08:00
Aevann1 c63a3c116f
Revert "don't want to crash on our precious logging code"
This reverts commit 992e4a0d1c.
2022-11-26 20:42:27 -08:00
Aevann1 804472e6b2
Revert "the request is prolly boned anyway, let's help friends help me :)"
This reverts commit cfffbc61a0.
2022-11-26 20:42:27 -08:00
Aevann1 0f37667b4c
limit log size on docker to 100KB 2022-11-26 20:42:27 -08:00
Aevann1 706bebb126
add r/theElon 2022-11-26 20:42:26 -08:00
Aevann1 381c6a9995
add margin to sidebar disclaimer 2022-11-26 20:42:26 -08:00
Aevann1 0fd4225ec2
remove stray dot in brookscringe.webp 2022-11-26 20:42:26 -08:00
Aevann1 e8993e3340
make hole pinning button use primary color on mobile 2022-11-26 20:42:26 -08:00
Aevann1 7e24e84ebd
increase dismiss-beg padding-right 2022-11-26 20:42:26 -08:00
Aevann1 c41fc89b0b
reduce tooltip border radius 2022-11-26 20:42:26 -08:00
Aevann1 3c38181b29
fix logout bug 2022-11-26 20:42:26 -08:00
justcool393 62048af3e5
api: manual revert of e1f785c370 (by @Aevann1's request) 2022-11-26 20:42:25 -08:00
justcool393 43c759b04a
fix 155a5b40c9 2022-11-26 20:42:25 -08:00
Aevann1 47233db7c6
excise niggabit's solution for now 2022-11-26 20:42:25 -08:00
justcool393 9b28cba6a9
add typing to a bunch of routes 2022-11-26 20:42:25 -08:00
Aevann1 2559b2d556
remove deadnaming 2022-11-26 20:42:25 -08:00
Aevann1 a2cebee644
fix bug 2022-11-26 20:42:25 -08:00
justcool393 23ff1a9775
api: fix some missing imports 2022-11-26 20:42:24 -08:00
Nekobit f578cc8d1a
docs: Remove unneccesary imports; @auth_desired 2022-11-26 20:42:24 -08:00
Nekobit 7e78292827
Documentation page 2022-11-26 20:42:24 -08:00
Nekobit ab7e5e5524
Docs: initial 2022-11-26 20:39:14 -08:00
justcool393 cfef9bd857
const: use dict.update instead of... what I did initially 2022-11-26 20:39:14 -08:00
justcool393 182c16f8a3
const: rename constants from LIMIT to MINIMUM
the new name is much much clearer
2022-11-26 20:39:14 -08:00
geese_suck 37874b2e7d
fix publish button alignment 2022-11-26 20:39:14 -08:00
Marco 0bcebc1700
Update chud award to include forced trans/pride flag hats (#10)
Disclaimer: I made these changes in Notepad and didn't bother to test this change locally.
Co-authored-by: Marco <bussylmao@gmail.com>
Reviewed-on: #10
Co-authored-by: Marco <marco@noreply.fsdfsd.net>
Co-committed-by: Marco <marco@noreply.fsdfsd.net>
2022-11-26 20:39:13 -08:00
Aevann1 fdff6eac0a
dont convert username to lowercase for !YOU! 2022-11-26 20:39:13 -08:00
Aevann1 f59d3e6b12
remove TS limit for !YOU! 2022-11-26 20:39:13 -08:00
Aevann1 efa8751786
Revert "you posts: constantify truescore requirement"
This reverts commit 1b721126a2.
2022-11-26 20:39:13 -08:00
Aevann1 54cf53f1f5
Revert "user and"
This reverts commit 0b146d0b7b.
2022-11-26 20:39:13 -08:00
justcool393 fa7904abfd
settings2: remove unused blocks 2022-11-26 20:39:13 -08:00
justcool393 a60e23b333
user and 2022-11-26 20:39:12 -08:00
justcool393 1c636f1d27
you posts: constantify truescore requirement 2022-11-26 20:39:12 -08:00
justcool393 036afaecf8
log: fix word wrap bug
log: remove network bloat by abt 10x
2022-11-26 20:39:12 -08:00
float trip d8204e3a00
Allow API clients to view !YOU! submissions. 2022-11-26 20:39:12 -08:00
Aevann1 0c405e6b86
fix this https://rdrama.net/post/125682 2022-11-26 20:39:12 -08:00
Aevann1 234fef2ba1
insanely ghetto solution to long back-and-forth chains in notifs 2022-11-26 20:39:12 -08:00
Aevann1 a262702a7e
fix login redir bug 2022-11-26 20:39:11 -08:00
Aevann1 fac7753800
silence db spam in docker 2022-11-26 20:39:11 -08:00
Aevann1 929b619dba
fix console error 2022-11-26 20:39:11 -08:00
Aevann1 ada4f8c953
"my brother in christ" becomes "my brother in Allah" 2022-11-26 20:39:11 -08:00
Aevann1 6e81a94f55
snned 2022-11-26 20:39:11 -08:00
Aevann1 892e80b5aa
sneed 2022-11-26 20:39:11 -08:00
Aevann1 0aaa210e1c
use sets instead of lists in some statements 2022-11-26 20:39:11 -08:00
Aevann1 93058079eb
fix api app link 2022-11-26 20:39:10 -08:00
Aevann1 cfe112e67d
fix "Posts" tab in /app 2022-11-26 20:39:10 -08:00
Aevann1 a4e0f0d624
tweak API App button 2022-11-26 20:39:10 -08:00
Aevann1 d820db69c4
tell ppl how much Truescore they need to see /h/chudrama 2022-11-26 20:39:10 -08:00
Aevann1 a05fb6190b
fix offline.html 2022-11-26 20:39:10 -08:00
Aevann1 df358dd8c4
minor css fix 2022-11-26 20:39:10 -08:00
geese_suck 39b578bba2
fix offline page scaling (#16)
Co-authored-by: geese_suck <16601315+geese-suck@users.noreply.github.com>
Reviewed-on: #16
Co-authored-by: geese_suck <geese_suck@noreply.fsdfsd.net>
Co-committed-by: geese_suck <geese_suck@noreply.fsdfsd.net>
2022-11-26 20:39:09 -08:00
Aevann1 645470f12a
make sure stickied child comments are always at the top place they can be 2022-11-26 20:39:09 -08:00
Aevann1 cd7d48f78d
remove kf 2022-11-26 20:39:09 -08:00
SneedBot 5e33fcab32
sneed 2022-11-26 20:39:09 -08:00
Aevann1 b94b3864a5
include AHS and restore miners rule 2022-11-26 20:39:09 -08:00
Aevann1 b3fe568fec
restore classic /r/drama sidebar 2022-11-26 20:39:09 -08:00
Aevann1 6a98b8dcc2
rDrama.net -> rdrama.net 2022-11-26 20:39:08 -08:00
justcool393 908e6d693e
the request is prolly boned anyway, let's help friends help me :) 2022-11-26 20:39:08 -08:00
SneedBot 2b25d10d1c
sneed 2022-11-26 20:39:08 -08:00
SneedBot 9cbeee1aed
sneed 2022-11-26 20:39:08 -08:00
Aevann1 eec4089a0a
do this https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3137192?context=8#context 2022-11-26 20:39:08 -08:00
Aevann1 79d26e130b
make offline.html use tabs instead of spaces 2022-11-26 20:39:08 -08:00
justcool393 3e53295516
don't want to crash on our precious logging code 2022-11-26 20:39:08 -08:00
justcool393 eb338fd00d
calc users: log so we can find the root of this problem 2022-11-26 20:39:07 -08:00
justcool393 47df4e6c80
ranking: be site specific when boosting users or excluding users from boosts
otherwise we may unintentionally rank for the wrong users (since we're using literal IDs)
2022-11-26 20:39:07 -08:00
Aevann1 5d995a933f
fix 500 error 2022-11-26 20:39:07 -08:00
Aevann1 eafa7688f1
dont hide hats overflow in chat 2022-11-26 20:39:07 -08:00
Aevann1 34c82853a4
since lawlz got demopped, make his automatic mod actions be executed by autojanny instead 2022-11-26 20:39:07 -08:00
Aevann1 f0896d7ecd
stop centering media in submission_listing.html and make it consistent with submission.html 2022-11-26 20:39:07 -08:00
Aevann1 9f77cf0c91
remove SITE url from badge urls to make them relative in the event of a future domain change 2022-11-26 20:39:06 -08:00
Aevann1 775cbf94c5
compliment aeb1916b01 2022-11-26 20:39:06 -08:00
Aevann1 ea054e926e
sneed 2022-11-26 20:39:06 -08:00
Aevann1 700e91986e
add "negroid" to slur filter 2022-11-26 20:39:06 -08:00
justcool393 8ce673686c
admin: remove meme admin vestige 2022-11-26 20:39:06 -08:00
Aevann1 8e94cf869d
fix prev commit lol 2022-11-26 20:39:06 -08:00
Aevann1 32dc989ebb
make shit award not give DC 2022-11-26 20:39:06 -08:00
Aevann1 e18fdbf5f7
add joan to BOOSTED_USERS 2022-11-26 20:39:05 -08:00
Aevann1 2d77b1af69
add quad to BOOSTED_USERS 2022-11-26 20:39:05 -08:00
Aevann1 88248b7a12
add dailystormer.in to BOOSTED_SITES 2022-11-26 20:39:05 -08:00
Aevann1 191cee7293
move ratelimit_user after auth 2022-11-26 20:39:05 -08:00
Aevann1 e728ec922b
dude consistency lmao 2022-11-26 20:39:05 -08:00
Aevann1 5aac54f0dc
remove annoying excalmation sign in notifs 2022-11-26 20:39:05 -08:00
justcool393 e5f54243ea
polls: constantify max poll options 2022-11-26 20:39:04 -08:00
justcool393 7e8674db6e
fix saved subscribers stuff 2022-11-26 20:39:04 -08:00
Aevann1 cc9e007581
limit polls to 10 options to prevent spam 2022-11-26 20:39:04 -08:00
Aevann1 80d91a60d8
do this https://rdrama.life/post/125878/colorado-shooter-proves-his-idpol-credentials/3129042?context=8#context 2022-11-26 20:39:04 -08:00
Aevann1 b2210c6833
make me not see modmail, if its important the other jannies will tell me 2022-11-26 20:39:04 -08:00
Aevann1 2718ab6b05
fix github url in bard snappy quote 2022-11-26 20:39:04 -08:00
justcool393 98d53f217f
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-26 20:39:04 -08:00
justcool393 3cbaf7f69f
tests: it never worked anyway 2022-11-26 20:39:03 -08:00
Aevann1 7f72504f9a
make "snekchad" ping sneks 2022-11-26 20:39:03 -08:00
Aevann1 e3e0bb8bea
remove lmbo profanity filter 2022-11-26 20:39:03 -08:00
Aevann1 196964b163
fix 61a4ab4f39 2022-11-26 20:39:03 -08:00
Aevann1 4422ef7900
remove sitemap.xml 2022-11-26 20:39:03 -08:00
justcool393 8e04975144
submit: don't disable submit button by default
this doesn't create an issue because HTML form validation does work here
2022-11-26 20:39:02 -08:00
justcool393 c3e86bcbe1
errors: use abort for sign up errors 2022-11-26 20:39:02 -08:00
justcool393 269a2c71fa
css: fix alignment on ghost posts 2022-11-26 20:39:02 -08:00
justcool393 4e59dc5b55
security: fix DoS on title getter
the `timeout` parameter only applies to seconds per *byte* received (and time to first
byte), not the entire request

this means an attacker could theoretically send a very... slow...
stream... of... bytes... and... crash... the... worker... when... the...
timeout... is... reached...
2022-11-26 20:39:02 -08:00
SneedBot be3d4b7ebc
sneed 2022-11-26 20:39:02 -08:00
Snakes b1398d2ed6
Restrict New User hat to rDrama. 2022-11-26 20:39:02 -08:00
AverageBen10Enjoyer 2800e5dfe6
Removing references to old repo 2022-11-26 20:39:02 -08:00
justcool393 e44bd13550
make antispam a bit less :marseyshook: 2022-11-26 20:39:01 -08:00
geese_suck 4631c72c2c
bro 2022-11-24 21:18:44 -08:00
geese_suck f75958144a
add that back in idk how it got deleted 2022-11-24 21:16:35 -08:00
geese_suck 218a571b2c
make ricardo less retardo 2022-11-24 21:12:59 -08:00
gooseman 187251eb01 oops forgot lol 2022-11-23 10:53:41 -08:00
gooseman b131e51278 rework awards 2022-11-23 10:33:27 -08:00