Aevann
d2ccce4dba
allow making bets in comments
2023-03-12 19:36:35 +02:00
Aevann
b6b1597748
whenever u import from const, import everything
2023-03-12 15:03:58 +02:00
Aevann
97608ea0a9
test getting rid of ![]( on devrama
2023-03-12 15:02:31 +02:00
Aevann
eb2659aac8
use censored title in post url
2023-03-12 12:19:10 +02:00
Aevann
f79733a36f
include hole in post json
2023-03-12 12:18:48 +02:00
Aevann
ccf6ccd468
same as last commit
2023-03-11 11:50:29 +02:00
Aevann
e1252803aa
decrease DEFAULT_ADMIN_LEVEL
2023-03-11 11:30:24 +02:00
Aevann
dc9a2f6782
fix repr for Notification
2023-03-11 10:18:40 +02:00
Aevann
14a2664534
fix last commit
2023-03-11 09:14:13 +02:00
Aevann
397ab186f6
hide a bunch of user customization on shadowbanned profiles
2023-03-11 09:11:58 +02:00
Aevann
25312029aa
add poster_url for videos
2023-03-11 08:29:52 +02:00
Aevann
9cf396c106
remove leftover print statement
2023-03-10 04:15:14 +02:00
Aevann
a6af121c42
fix sidebar images and marsey images for new holes
2023-03-10 03:22:11 +02:00
Aevann
6d3d15f097
fix 2 year badge
2023-03-10 02:12:29 +02:00
Aevann
ef8b7de749
add logic for 2 year badge
2023-03-10 00:40:42 +02:00
Aevann
9f66e33061
Revert "convert IS_FISTMAS and IS_HOMOWEEN from functions to variables"
...
This reverts commit b45d845630
.
2023-03-08 08:51:40 +02:00
Aevann
292498bdc8
fix thumbnail for videos
2023-03-08 08:49:18 +02:00
Aevann
b45d845630
convert IS_FISTMAS and IS_HOMOWEEN from functions to variables
2023-03-08 08:10:18 +02:00
Aevann
77e7663476
remove leftover shit
2023-03-08 08:01:53 +02:00
Aevann
1d992892d9
remove jc insanity
2023-03-07 17:56:38 +02:00
Aevann
e014d81c67
fix combined charging
2023-03-07 15:20:46 +02:00
Aevann
a1838f3e77
allow betting with mbux
2023-03-07 07:27:21 +02:00
Aevann
1025c32322
allow ppl to make ping groups w/ mbux
2023-03-07 07:06:17 +02:00
Aevann
cb5227fdc4
same as last commits
2023-03-07 03:24:02 +02:00
Aevann
03c5dcc1ec
fix
2023-03-07 03:21:30 +02:00
Aevann
e4c8fab6dc
same as last 2 commits
2023-03-07 03:17:51 +02:00
Aevann
86a2610845
make links from BAN_EVASION_DOMAIN also have site_preview as a thumbnail
2023-03-07 03:11:16 +02:00
Aevann
ddb641f865
fix prev commit
2023-03-06 20:07:55 +02:00
Aevann
f36c5b50bc
make me able to demod ppl from holes
2023-03-06 20:06:01 +02:00
Aevann
0a30a7baef
remove unnecessary check
2023-03-06 19:19:49 +02:00
Aevann
712c649cc8
fix missing self.
2023-03-06 18:53:40 +02:00
Aevann
cb9e9a849a
fix hole banners
2023-03-06 18:45:21 +02:00
Aevann
d814fbbff6
fix wpd videos
2023-03-06 02:02:40 +02:00
Aevann
3ac75b2ac7
fix wpd videos
2023-03-06 01:58:58 +02:00
Aevann
7b0feda471
fix modmail replies
2023-03-06 00:50:36 +02:00
Aevann
0c91650a1d
remove jc insanity
2023-03-06 00:50:06 +02:00
Aevann
2d2a1ca28c
always use charge_account()
2023-03-04 20:32:55 +02:00
Aevann
f299d4c52c
fix tilt>4
2023-03-04 19:59:34 +02:00
Aevann
747af298c2
remove unnecessary g.db.flush()
2023-03-04 17:54:40 +02:00
Aevann
f15e8372b3
fix 500 error
2023-03-04 17:44:59 +02:00
Aevann
36beea8d22
try to fix roulette
2023-03-03 23:43:44 +02:00
Aevann
117624f313
add session["GLOBAL"]
2023-03-02 22:29:22 +02:00
Aevann
d7f42ac50a
dont give shekels to ppl not notified bc of blocks + dont give shekels to ppl ALSO mentioned directly + prevent group double charging on edit + do this https://stupidpol.site/h/countryclub/post/79285/-/3695711#context
2023-03-02 21:56:43 +02:00
Aevann
9eba456031
fix this https://stupidpol.site/post/151194/its-time-for-rdrama-to-designate/3695638#context
2023-03-02 03:15:04 +02:00
Aevann
e7aa739e62
remove extra linefeed
2023-03-01 22:40:41 +02:00
Aevann
712239157f
two-way-blocks for ping groups
2023-03-01 22:28:34 +02:00
Aevann
95d1e69c68
fix wordle
2023-03-01 21:40:25 +02:00
Aevann
b3f75b9beb
always use author_name even if its not needed for consistency
2023-03-01 21:28:10 +02:00
Aevann
96ce985cd6
allow poll options with the same text
2023-03-01 01:46:11 +02:00
Aevann
17330c073b
fix emojis in polls
2023-03-01 00:56:46 +02:00
Aevann
76e2e8e321
decrease poll change timestamp
2023-03-01 00:42:58 +02:00
Aevann
4c38cb24ac
fix 500 error
2023-03-01 00:39:39 +02:00
Aevann
d7f43d4e3a
make it possible to delete poll options
2023-03-01 00:15:05 +02:00
Aevann
55c8a51a1d
make it possible to position poll options
2023-03-01 00:09:16 +02:00
Aevann
ac5b58cdb6
fix shadowbannedcel post count and comment count
2023-02-28 19:54:01 +02:00
Aevann
c505eddd9d
fix polls on walls
2023-02-28 18:53:51 +02:00
Aevann
984aecec9a
destroy the shadow realm ( #135 )
...
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#135
2023-02-27 15:38:12 +00:00
Aevann
94ed49569a
better can_see logic
2023-02-27 14:46:22 +02:00
Aevann
26d1b6bb0a
fix this https://stupidpol.site/h/changelog/post/150341/paypigs-paypigonly-thread-no-poors-allowed/3671353#context
2023-02-26 14:24:07 +02:00
Aevann
490d5765fa
paypig-only threads
2023-02-26 13:22:30 +02:00
Aevann
890fedf1f3
remove redundant condition
2023-02-26 11:14:39 +02:00
Aevann
7a8ec235e0
add tabs to award modal
2023-02-25 21:40:15 +02:00
Aevann
d26cc5a83f
ping groups improvements
2023-02-24 21:29:07 +02:00
Aevann
a90744145a
add ping groups
2023-02-24 08:31:06 +02:00
Aevann
d2bda15383
remove unnecessary f
2023-02-24 04:54:31 +02:00
Aevann
a395c18955
remove unnecessary tabs
2023-02-22 19:27:33 +02:00
Aevann
8cf4b6fda6
reduce default admin level
2023-02-21 17:14:37 +02:00
Aevann
b819fa51d0
make it possible for jannies to stack chuds and bans
2023-02-19 15:23:08 +02:00
Aevann
8158b70c20
apparently cardview toggle got removed from the settings, so might as well remove it from the code
2023-02-19 11:20:16 +02:00
Aevann
a6f57c1bc3
fix the "more comments" link on walls on mobile
2023-02-19 00:58:17 +02:00
Aevann
4dfb21cd0a
fix comment jumping
2023-02-18 23:03:23 +02:00
Aevann
b99f17216e
fix boot error
2023-02-18 22:01:28 +02:00
Aevann
835e1f6155
give gambling badges for roulette too (testing on devrama)
2023-02-18 21:57:34 +02:00
Aevann
d4210c2710
renamed p.embed_url to p.embed
2023-02-18 18:33:19 +02:00
Aevann
57e9cb3428
remove .deleted column for alts
2023-02-18 17:19:14 +02:00
Aevann
4d27bc46d3
wpd awards commit
2023-02-08 05:36:01 +02:00
Aevann
95938ee3ec
make sure all comment links have #context
2023-02-07 04:34:11 +02:00
mummified-corroding-granny
b0797c4493
fix-small-tisms that I had piled up in my todo ( #109 )
...
fix-small-tisms that I had piled up in my todo
Reviewed-on: rDrama/rDrama#109
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-02 16:54:52 +00:00
Aevann
06a70f7fd7
refactor donation code
2023-02-01 21:49:39 +02:00
Aevann
728217c075
remove FORBIDDEN
2023-01-31 23:22:21 +02:00
Aevann
995b5365cc
Revert "give me modaction notifs on WPD"
...
This reverts commit 6105640429
.
2023-01-30 11:39:12 +02:00
Aevann
683b7751bc
show me modaction notifs
2023-01-28 10:09:18 +02:00
Aevann
6105640429
give me modaction notifs on WPD
2023-01-27 15:50:47 +02:00
Aevann
ffa04a3cd5
constantify my log action types
2023-01-27 10:18:05 +02:00
Aevann
d00fef9faf
use transactions table in rdrama ( #99 )
...
Co-authored-by: Aevann <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#99
2023-01-26 11:25:28 +00:00
Aevann
2754abb58e
fix 500 error
2023-01-26 07:39:17 +02:00
Aevann
5eea908e6f
fix 500 error
2023-01-26 07:36:41 +02:00
Aevann
ab580f626f
fix 500 error
2023-01-26 07:31:47 +02:00
Aevann
ceee02fbce
add button to blacklist users from restricted holes
2023-01-25 17:41:46 +02:00
Aevann
90181024cc
fix 1 year badge
2023-01-25 14:36:09 +02:00
Aevann
680135755e
Revert "get rid of get_alt_graph"
...
This reverts commit e2e3da4bda
.
2023-01-25 04:51:48 +02:00
Aevann
e2e3da4bda
get rid of get_alt_graph
2023-01-25 03:07:30 +02:00
SneedBot
625778721e
sneed
2023-01-24 06:42:36 +00:00
Aevann
0f4de38141
exclude merari and permabanned/shadowbanned from chudrama
2023-01-24 07:20:15 +02:00
Aevann
78738589b5
exclude merari from all restricted shit
2023-01-24 07:17:58 +02:00
Aevann
0c5c97a1f8
only allow imginn replacement for posts, since other types of content arent supported by it
2023-01-23 08:28:54 +02:00
Aevann
4f0b771983
increase DEFAULT_ADMIN_LEVEL from 3 to 5 on devrama
2023-01-23 07:40:01 +02:00
Aevann
7f1ddf5c0c
fix delinking alts
2023-01-22 10:20:38 +02:00
Aevann
24edb49f3b
add jl5 (for me)
2023-01-22 10:04:49 +02:00
Aevann
75cb26ccf4
remove platform-specific posts
2023-01-22 09:57:47 +02:00
Aevann
f17fade8a6
purge discord from site code
2023-01-20 07:31:53 +02:00
Aevann
9f0b238370
increase ts gate for masterbaiters from 0 to 100 and ban merari from it
2023-01-20 07:13:53 +02:00
Aevann
18aad5a8c6
try fix
2023-01-02 06:23:44 +02:00
Aevann
daad32d0ce
fix nonces in py files
2023-01-02 06:20:59 +02:00
Aevann
044664a25e
get rid of useless tabs and spaces
2023-01-01 13:36:20 +02:00
Aevann
db6db63836
change event structure
2023-01-01 07:33:09 +02:00
Aevann
2d2a3520b3
hide post title for the 3 restricted holes
2023-01-01 05:50:29 +02:00
Aevann
03fb84e618
fix HOLIDAY_EVENT check
2023-01-01 04:50:11 +02:00
Aevann
78351abc4c
clean up legacy stuff
2023-01-01 03:17:07 +02:00
Aevann
8362a4c497
js fixes
2022-12-30 21:35:23 +02:00
Aevann
f800950d02
fix error on signup
2022-12-30 21:13:45 +02:00
Aevann
f0b20cad55
the worst fucking code you'll ever see
2022-12-30 14:14:18 +02:00
Aevann
1759039f75
remove </input>
2022-12-30 11:45:14 +02:00
Aevann
93e9a42fa3
stop using inline style/script elements
2022-12-29 16:20:27 +02:00
Aevann
21a8e6570b
reduce devrama starter amount by one zero
2022-12-27 11:33:31 +02:00
Aevann
f97be253e7
increase number of coins and mbux on devrama
2022-12-27 06:32:01 +02:00
Aevann
30afd3a5ed
put spaces around ==
2022-12-27 04:51:12 +02:00
Aevann
f4164052cf
give devrama users a shitton of coins and mbux
2022-12-27 04:00:08 +02:00
Aevann
ba13454f9e
give everyone on devrama admin_level
2022-12-27 03:53:47 +02:00
Aevann
2b6698e2dd
make xmas badge graphic site-specific
2022-12-26 21:36:19 +02:00
Aevann
cc5e195228
remove unused property
2022-12-26 04:45:22 +02:00
Aevann
f37e1dc702
disallow jannoids from undoing chud awards
2022-12-26 04:38:32 +02:00
Aevann
3dd1f706a8
rename fistmas to christmas on WPD
2022-12-25 04:25:11 +02:00
Aevann
ecfcbaf3df
make hat_active return a tuple
2022-12-25 00:21:49 +02:00
Aevann
0299a287ed
Revert "remove #context in links"
...
This reverts commit 169dc4ebef
.
2022-12-24 21:19:47 +02:00
Aevann
a63b02470d
use sets with in statements
2022-12-24 00:22:41 +02:00
Aevann
478b176f5e
fix christmas hat descriptions
2022-12-23 04:11:47 +02:00
Aevann
5d09ef1103
fix accidentially deleted @property 🤡
2022-12-22 22:58:27 +02:00
Aevann
284b3ba9ec
delete property that jc forgot to actually define...
2022-12-22 22:46:05 +02:00
Aevann
92cbe64ac0
cache get_alt_graph for 1 hour
2022-12-22 22:44:37 +02:00
Aevann
0e6b144ed7
alt graph
2022-12-22 22:03:40 +02:00
Aevann1
1d3fa2f93f
remove CARD_VIEW env var
2022-12-21 15:04:45 +02:00
Aevann1
3ae5292ce4
remove pcm from code
2022-12-21 14:42:41 +02:00
Aevann1
e80dab6bb9
remove replies from comment json temporarily until i figure it out
2022-12-20 23:12:12 +02:00
Aevann1
d17cfbf323
allow PCM and WPD users to opt into event music
2022-12-20 05:52:00 +02:00
Aevann1
169dc4ebef
remove #context in links
2022-12-20 05:05:13 +02:00
Aevann1
7297fad5fe
allow PCM and WPD users to opt into event music
2022-12-20 03:40:41 +02:00
Aevann1
2183161916
add toggle for event music
2022-12-20 03:38:19 +02:00
Aevann1
373a6cf0db
add grinch
2022-12-20 03:13:34 +02:00
Aevann1
b3d1490418
do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3266878#context
2022-12-20 00:08:13 +02:00
Aevann1
c190fa89b2
give jannoids notifs for deleted and removed comments
2022-12-19 23:28:37 +02:00
Aevann1
e3a4b50c34
fix "more comments" button on mobile
2022-12-19 21:48:39 +02:00
geese_suck
1574b4da63
fistmas ( #79 )
...
Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: Nekobit Bitneko <me@ow.nekobit.net>
Reviewed-on: rDrama/rDrama#79
Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Co-committed-by: geese_suck <deandre.williams@geese-suck.us>
2022-12-19 01:20:14 +00:00
Aevann1
6cde4a040c
make ?context=8 default
2022-12-18 16:48:48 +02:00
Aevann1
ecfba3e3b5
give me notifs for only "ban_user" and "shadowban"
2022-12-16 21:34:01 +02:00
Captain
84cfc21b0b
added original name for user.json
2022-12-15 19:00:53 +00:00
justcool393
d556e72c04
users: let users see (comments on) own posts
2022-12-14 18:33:54 -06:00
Aevann1
e48d133977
rename Casino_Game to CasinoGame for consistency
2022-12-14 21:30:05 +02:00
Aevann1
8bc8546089
fix prev commit
2022-12-14 00:05:34 +02:00
Aevann1
c10c00473a
make is_banned fkey on user id
2022-12-14 00:02:53 +02:00
Aevann1
1ba74ad8fa
fix for last commit
2022-12-13 20:52:28 +02:00
Aevann1
36fca9caab
minor bugfix
2022-12-13 20:50:38 +02:00
Snakes
3459c4c9da
Fix merge of #59 with data-click2 attributes.
...
PR #59 was started prior to 59e0beebb2
and data-click2 -> data-click was not automerged for obvious reasons.
Resolve this to fix the delete banner buttons.
2022-12-11 20:03:22 -05:00
justcool393
ab41db22b7
[DO NOT MERGE] multiple sub banners ( #59 )
...
allows multiple sub banners
Snakes note: By request of Carp, especially for WPD.
Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
Aevann1
59e0beebb2
minor change
2022-12-11 21:19:10 +02:00
Aevann1
235cfb0dfa
do this https://stupidpol.site/h/marsey/post/130585/marsey-lost-and-found-who-made/3224501?context=8#context
2022-12-11 20:52:15 +02:00
Aevann1
3e3d39e432
minor /set_new rework
2022-12-10 16:57:19 +02:00
Aevann1
da4f3937f5
change mod log descriptions of mark +18 and unmark +18
2022-12-10 16:52:25 +02:00
Aevann1
1a1a55712e
cachebust default_thumb_video.webp
2022-12-10 15:19:04 +02:00
Aevann1
1886dd986e
move sort_table.js to core.js
2022-12-10 12:40:34 +02:00
Aevann1
0a915aae08
disable ghost threads in WPD
2022-12-08 07:14:59 +02:00
Snakes
9160a853ec
Remove !YOU!.
...
Security mess and stale joke.
2022-12-05 20:06:04 -05:00
Aevann
18df70caab
allow JL3 to edit rules ( #39 )
...
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#39
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 05:22:08 +00:00
Aevann
f8aa67fb9a
add button on profile to upload profile background ( #48 )
...
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#48
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 04:16:45 +00:00
Aevann1
af3b028ca5
add links to individuals comments in walls + fix awards for wall comments
2022-12-05 05:01:50 +02:00
Aevann1
dbc64dc487
fix profile wall for logged-outcels
2022-12-05 03:53:09 +02:00
Aevann1
cb4d941fd0
add profile wall
2022-12-04 20:05:45 -05:00
Aevann1
814552cdfe
small fix for ppl with progstack=1
2022-12-05 02:45:02 +02:00
Aevann1
892e35b1c3
splash mountain for PCM
2022-12-04 23:28:39 +02:00
justcool393
6e1509f2df
admins: let mops who can mop posts see posts regardless of browser ( #45 )
...
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#45
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-04 20:26:39 +00:00
Aevann1
c56ceaf668
allow me and sneks to see apple posts
2022-12-04 22:11:16 +02:00
Aevann
3eecec0a51
downloadable videos on apple devices ( #42 )
...
![image](/attachments/bd1b3e1e-c0a9-4eee-9b1c-a03e1e8a8cbd)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: Snakes <snakes@noreply.fsdfsd.net>
Reviewed-on: rDrama/rDrama#42
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 19:02:22 +00:00
Aevann
e105035272
remove country club system and replace it with a 3 tier thing: ( #41 )
...
- /h/masterbaiters: 1 TS - for gayops
- /h/countryclub: 1000 TS - for anything requiring secrecy and doesnt need critical mass - have to make it a rule that u cant post gayops in /h/countryclub
- /h/chudrama: 5000 TS - for chad+stud posts
EDIT: i removed the /h/masterbaiters gate, but u can bring it back if u want
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#41
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 18:39:06 +00:00
Aevann1
aad1d72f43
add code so i can make a post that only legacy android app users can see
2022-12-03 01:58:16 +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
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
4ab8825d35
fix 500 error
2022-12-01 15:19:09 +02:00
Aevann1
8bbc107137
dont give me reddit notifs again
2022-12-01 14:46:58 +02:00
Aevann1
e0bcc71727
fix notifs
2022-12-01 00:59:56 +02:00
Aevann1
cbd04b3c38
remove my special case so i can test
2022-12-01 00:44:16 +02:00
Aevann1
e1ed46fa36
rework reddit notifs - testing on pcm lol
2022-12-01 00:29:13 +02:00
justcool393
69a44baea7
settings: convert all to snek_case
2022-11-30 12:26:07 -06:00
Aevann1
b6eea4191c
make me able to see reddit mentions again
2022-11-30 02:40:38 +02:00
Aevann1
b6efc27551
use "i" instead of "assets/images"
2022-11-30 00:52:19 +02:00
justcool393
e9887059d1
use `self.__class__.__name__` for `__repr__`
2022-11-29 15:02:38 -06:00
justcool393
67bfe5a5bd
remove unnecessary `str()`
2022-11-29 14:29:27 -06:00
Snakes
2304876348
Fix emoji search after Marsey caching revert.
2022-11-28 22:18:16 -05:00
geese_suck
030710e5db
add fallback award so I dont get fucked by aevann asking me to change something for a site that has 3 active users
2022-11-27 21:24:05 -08:00
Aevann1
c9f44b5777
rename data-click to data-click2
2022-11-28 06:35:33 +02:00
Aevann1
d0047dcc5a
include users who have more than 30 days to be unbanned/unchhuded in /banned and /chuds for accountability
2022-11-28 03:32:01 +02:00
justcool393
5381074617
sigs: limit to 250px (configurable by variable)
2022-11-27 12:15:33 -06:00
justcool393
767cc467bb
marseys: cache marseys and emojis and fun stuff ( #15 )
...
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#15
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-27 16:59:36 +00:00
Aevann1
1f4fc16d44
add !YOU! to post bodies and to comments
2022-11-27 03:31:46 +02:00
Aevann1
575a5080bd
unpaywall profile views
2022-11-27 02:20:54 +02:00
justcool393
ae50cc2772
const: rename constants from LIMIT to MINIMUM
...
the new name is much much clearer
2022-11-26 14:20:44 -06:00
Marco
af74c7c1fc
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: rDrama/rDrama#10
Co-authored-by: Marco <marco@noreply.fsdfsd.net>
Co-committed-by: Marco <marco@noreply.fsdfsd.net>
2022-11-26 20:14:31 +00:00
Aevann1
b93bf4daae
dont convert username to lowercase for !YOU!
2022-11-26 22:11:07 +02:00
Aevann1
39bb04bdb8
remove TS limit for !YOU!
2022-11-26 22:10:40 +02:00
Aevann1
bb153e541d
Revert "you posts: constantify truescore requirement"
...
This reverts commit 1b721126a2
.
2022-11-26 22:09:07 +02:00
Aevann1
98a0f37e59
Revert "user and"
...
This reverts commit 0b146d0b7b
.
2022-11-26 22:08:54 +02:00
justcool393
0b146d0b7b
user and
2022-11-26 13:40:34 -06:00
justcool393
1b721126a2
you posts: constantify truescore requirement
2022-11-26 13:39:31 -06:00
float trip
df4eb02c0e
Allow API clients to view !YOU! submissions.
2022-11-26 18:06:04 +00:00
Aevann1
7cb4740426
snned
2022-11-26 07:02:34 +02:00
Aevann1
9c773b02a5
sneed
2022-11-26 06:59:07 +02:00
Aevann1
a641acaf8f
use sets instead of lists in some statements
2022-11-26 06:52:47 +02:00
Aevann1
6dd4f2492d
fix api app link
2022-11-26 06:41:56 +02:00
Aevann1
bcbf524fbe
make sure stickied child comments are always at the top place they can be
2022-11-26 06:01:20 +02:00
justcool393
f86d351ac4
fix saved subscribers stuff
2022-11-25 16:06:18 -06:00
Snakes
0254ff6567
Restrict New User hat to rDrama.
2022-11-23 20:28:39 -05:00
Snakes
9eab252e5b
Fix reply/mention notifications from muted users.
...
Consider the case of the current /notifications filter condition:
WHERE ... NOT ((comments.sentto = 2) AND (users.is_muted))
SELECT 1 WHERE NOT ((null = 2) AND (true)); ⇒ 0 rows
SELECT 1 WHERE NOT ((1 = 2) AND (true)); ⇒ 1 row
SELECT 1 WHERE NOT ((2 = 2) AND (true)); ⇒ 0 rows
We want the first expression, where comments.sentto = null, to evaluate
to false, not to null, so it negates to true. Behavior as written is:
SELECT 1 WHERE NOT ((null = 2) AND (true)); →
SELECT 1 WHERE NOT (null AND true); →
SELECT 1 WHERE NOT null; →
SELECT 1 WHERE null;
Which guarantees a null return set. If we check first for non-nullity:
SELECT 1 WHERE NOT ((null IS NOT null) AND (null = 2) AND (true)); ⇒ 1
SELECT 1 WHERE NOT ((1 IS NOT null) AND (1 = 2) AND (true)); ⇒ 1
SELECT 1 WHERE NOT ((2 IS NOT null) AND (2 = 2) AND (true)); ⇒ 0
2022-11-21 23:08:31 -05:00
justcool393
272e2ee936
sneed (rename procoins to marseybux) ( #472 )
...
* sneed (rename procoins to marseybux)
* literally unusable
Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-21 18:08:29 -05:00
Aevann1
2f31fdfdd7
Revert "remove User.newtab and see if anyone complains"
...
This reverts commit 787c89961f
.
2022-11-21 18:55:13 +02:00
Aevann1
787c89961f
remove User.newtab and see if anyone complains
2022-11-21 16:36:17 +02:00
Aevann1
62ffe2d628
use postToast in betting so the js deducting coins only execute if responde code is < 300
2022-11-21 03:00:16 +02:00
Aevann1
caabaf0c6f
expand IS_LOCALHOST
2022-11-21 00:16:49 +02:00
Aevann1
ddf2a3cf51
make new-user hat be 7 days
2022-11-20 00:48:24 +02:00
gooseman
dcbacc6d04
newfriend hat :))
2022-11-19 14:18:13 -08:00
Aevann1
5288d7a7dc
remove android app and replace with instructions on how to install PWA
2022-11-20 00:04:08 +02:00
Aevann1
37104be217
add exclusive android app posts
2022-11-19 23:22:03 +02:00
Aevann1
9e457165fa
make me and sneks mod all holes
2022-11-19 20:24:02 +02:00
Snakes
2c81db79ef
Fix API for /comment/<cid>, /search/comments.
2022-11-18 15:33:07 -05:00
justcool393
255d5b2453
security: fix mute bypass
...
modmail: constantify user ID
2022-11-17 16:50:06 -06:00
justcool393
12881388d6
notifications: ignore notifications
2022-11-17 16:35:08 -06:00
justcool393
2c27b75b7a
remove unnecessary imports
2022-11-17 15:44:29 -06:00
justcool393
83963470e8
user can_view functions ( #460 )
...
* user: move can_see_to user class
* stub out can_see in comments and posts
* make can_see a classmethod so it's usable for loggedoutfriends
* test
* kill me now
* threelargeclassesmating
* dfdfdfdfdfdfd
* sdsdsdsd
* classmethod should be above i think
* Revert "classmethod should be above i think"
This reverts commit df1772eb9e7e71bf7b89123f6277b648de2b1af3.
* Revert "Revert "classmethod should be above i think""
This reverts commit 32883406c2e2916fc6c436611376a1817c16cb84.
* test rewritnig thing
* go home python
* what the fuck python
* fix AttributeError
* sdsdsdsdsdsd
* lazy and user and stuff
* test
* Revert "test"
This reverts commit 45af5bb3d45f3ec17126ab117d494ec978062a38.
* merge
* newline
* test
* test 2
* Revert "test"
This reverts commit 196dae677e2ee8cd29261c93dcb747087cb399b6.
* revert test
* fix merge error
* fix import error ciruclation i think
* sdsd
* add type annotations back
* deleted_utc
* isinstance
* user_can_see in jinja and remove unnecessary things
* a bunch of stuff
remove can_see from comment and post
expand can_see to messages
* antiannoyingamountsofwhitespace
* fix for chudrama
* improve prev
2022-11-17 16:02:08 -05:00
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
Aevann1
07a76e0ffd
exclude me from offsitementions
2022-11-16 10:34:48 +02:00
justcool393
adf22b494a
sub relationship class ( #456 )
...
* sub relationships
* abstract = True
* fix
* fix spelling mistake
2022-11-15 11:05:42 -05:00
justcool393
3df53c63c9
alts: don't count deleted alts
2022-11-15 09:21:12 -06:00
Aevann1
b130139f3d
sneed
2022-11-15 16:55:21 +02:00
Aevann1
1f16140367
use cloudflare icon
2022-11-15 15:54:24 +02:00
Snakes
1e931b4d05
Fix clear_cloudflare_cache modlog icon.
2022-11-15 06:30:20 -05:00
justcool393
4b9c702877
fix listing bugs
2022-11-15 03:28:39 -06:00
justcool393
8f2f48d6d1
[DO NOT MERGE] import detanglation ( #442 )
...
* move Base definition to files.classes.__init__.py
* fix ImportError
* move userpage listing to users.py
* don't import the app from classes
* consts: set default values to avoid crashes
consts: warn if the secret key is the default config value
* card view: sneed (user db schema)
* cloudflare: use DEFAULT_CONFIG_VALUE
* const: set default values
* decouple media.py from __main__
* pass database to avoid imports
* import cleanup and import request not in const, but in the requests mega import
* move asset_submissions site check to __init__
* asset submissions feature flag
* flag
* g.is_tor
* don't import request where it's not needed
* i think this is fine
* mail: move to own routes and helper
* wrappers
* required wrappers move
* unfuck wrappers a bit
* move snappy quotes and marseys to stateful consts
* marsify
* :pepodrool:
* fix missing import
* import cache
* ...and settings.py
* and static.py
* static needs cache
* route
* lmao all of the jinja shit was in feeds.py amazing
* classes should only import what they need from flask
* import Response
* hdjbjdhbhjf
* ...
* dfdfdfdf
* make get a non-required import
* isort imports (mostly)
* but actually
* configs
* reload config on import
* fgfgfgfg
* config
* config
* initialize snappy and test
* cookie of doom debug
* edfjnkf
* xikscdfd
* debug config
* set session cookie domain, i think this fixes the can't login bug
* sdfbgnhvfdsghbnjfbdvvfghnn
* hrsfxgf
* dump the entire config on a request
* kyskyskyskyskyskyskyskyskys
* duifhdskfjdfd
* dfdfdfdfdfdfdfdfdfdfdfdf
* dfdfdfdf
* imoprt all of the consts beacuse fuck it
* ðŸ˜
* dfdfdfdfdfdfsdasdf
* print the entire session
* rffdfdfjkfksj
* fgbhffh
* not the secret keys
* minor bug fixes
* be helpful in the warning
* gfgfgfg
* move warning lower
* isort main imports (i hope this doesn't fuck something up)
* test
* session cookie domain redux
* dfdfdfd
* try only importing Flask
* formkeys fix
* y
* :pepodrool:
* route helper
* remove before flight
* dfdfdfdfdf
* isort classes
* isort helpers
* move check_for_alts to routehelpers and also sort imports and get rid of unused ones
* that previous commit but actkally
* readd the cache in a dozen places they were implicitly imported
* use g.is_tor instead of request.headers. bla bla bla
* upgrade streamers to their own route file
* get rid of unused imports in __main__
* fgfgf
* don't pull in the entire ORM where we don't need it
* features
* explicit imports for the get helper
* explicit imports for the get helper redux
* testing allroutes
* remove unused import
* decouple flask from classes
* syntax fix also remember these have side fx for some reason (why?)
* move side effects out of the class
* posts
* testing on devrama
* settings
* reloading
* settingssdsdsds
* streamer features
* site settings
* testing settings on devrama
* import
* fix modlog
* remove debug stuff
* revert commit 67275b21ab6e2f2520819e84d10bfc1c746a15b6
* archiveorg to _archiveorg
* skhudkfkjfd
* fix cron for PCM
* fix bugs that snekky wants me to
* Fix call to realbody passing db, standardize kwarg
* test
* import check_for_alts from the right place
* cloudflare
* testing on devrama
* fix cron i think
* shadow properly
* tasks
* Remove print which will surely be annoying in prod.
* v and create new session
* use files.classes
* make errors import little and fix rare 500 in /allow_nsfw
* Revert "use files.classes"
This reverts commit 98c10b876cf86ce058b7fb955cf1ec0bfb9996c6.
* pass v to media functions rather than using g
* fix
* dfdfdfdfd
* cleanup, py type checking is dumb so don't use it where it causes issues
* Fix some merge bugs, add DEFAULT_RATELIMIT to main.
* Fix imports on sqlalchemy expressions.
* `from random import random` is an error.
* Fix replies db param.
* errors: fix missing import
* fix rare 500: only send to GIFT_NOTIF_ID if it exists, and send them the right text
* Fix signup formkey.
* fix 2 500s
* propagate db to submissions
* fix replies
* dfdfdfdf
* Fix verifiedcolor.
* is_manual
* can't use getters outside of an app context
* don't attempt to do gumroad on sites where it's not enabled
* don't attempt to do gumraod on sites's where it's unnecessary
* Revert "don't attempt to do gumroad on sites where it's not enabled"
This reverts commit 6f8a6331878655492dfaf1907b27f8be513c14d3.
* fix 500
* validate media type
Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-15 03:19:08 -06:00
justcool393
c9ecb5d535
account linking improvements ( #448 )
...
currently account delinking is very messy and can sometimes just not work
we do codey stuff so it's not as bad
also we create a pretty page for mops to mop up borked account links
* alts: allow proper delinking
* fix prev commit
* url fix
* fix 500
* fixes
* :pepodrool:
* flag
* :pepodrool: redux
* sdsdsdsds
* correct endpoint
* fix html page
* alts: only adjust session history if flag is set
* fix 500
* allow relinking
* fsdsds
* :pepodrool: redux
* alts: don't fail if an alt isn't history
* use postToastSwitch + some API changes
* remove unnecessary variables
* d-none
* delink accounts mod action
* fa-link-slash
* alts: add form to create alt
* remove copied and pasted template
* rounded section
* UI improvement + fix
* \n
* fix status
* admin: remove duplicate route
admin: do a permissions check on 2 pages that need it
admin: set the manual flag for manually flagged alts
* variable change
* fix 500
* alts
* add shadowban icon to alt link tool
* shadowbanned tooltip
* add user info section
* fix 500, remove unnecessary form, and add alt votes button
* trans and also link to page
* margin
* sdsdsd
* stop the count
* fix prev commit
* with ctx
* plural
* alts
* don't show shadowbanned users to those who can't see them
this is... extremely rare and won't ever be seen in production however if perms were ever rearranged in the future, this keeps permissions correct
* shadowban check in alt list
* let shadow realm enthusiasts see shadowban alts
* sdsdsds
* test
* be graceful where needed
* sdsdsdsds
* alts: don't allow adding the same account
alts: clarify wording
* rename and reorder on admin panel
* EOL
* remove frankly unnecessary check
* try with a set
* test
* Revert "try with a set"
This reverts commit 72be353fba5ffa39b37590cc5d3bf584c94ee06e.
* Revert "Revert "try with a set""
This reverts commit 81e41890a192e8b46d0463477998e905fddf56ba.
* Revert "Revert "Revert "try with a set"""
This reverts commit be51592135a3c09848f993f0154bd2ac862ae505.
* clean up test
2022-11-14 12:32:13 -05:00
justcool393
000b4f4c37
can post in ghost threads
2022-11-14 11:20:34 -06:00
justcool393
1ae4613d6d
remove bug
2022-11-13 22:03:51 -06:00
justcool393
79e6d237c1
fix shadow API leak
2022-11-13 20:52:46 -06:00
Snakes
6169c02c89
Fix f6dea300b
for logged-out users.
2022-11-13 21:12:08 -05:00
justcool393
c5bf7b33c5
add created_utc
2022-11-13 18:21:19 -06:00
Snakes
f6dea300b0
Adjust shadowed comment visibility.
...
- Don't show shadowed comments to non-jannies in notifications.
- Auto-collapse for jannies in notifs/threads.
2022-11-13 17:13:14 -05:00
Snakes
e027909357
Fix notification count with muted modmails.
2022-11-12 16:56:40 -05:00
Aevann1
6b3c4048b5
add a space between 2 functions
2022-11-12 14:11:44 +02:00
Aevann1
4df96767ba
count patron votes as real always
2022-11-12 14:11:28 +02:00
Aevann1
f81205a427
hide poll scores until the user votes
2022-11-11 21:02:57 +02:00
Aevann1
80d240a45b
show join date on popover
2022-11-11 17:22:10 +02:00
Aevann1
fc19b1a23e
make the block number accurate for holes with stealth mode
2022-11-11 17:00:56 +02:00
Aevann1
8a8c55ed09
Revert "remove badges from popovers"
...
This reverts commit 39297b7c22
.
2022-11-11 16:25:28 +02:00
Aevann1
9bfbe44bf0
fix bug that made jannies not able to see removed posts in profiles
2022-11-11 16:22:20 +02:00
Aevann1
05b7e79b76
remove the code i added for rdrama.com
2022-11-11 15:52:18 +02:00
Snakes
8e2f76729e
Amend 4f849c2: remove forgotten print debug.
2022-11-09 10:37:54 -05:00
Snakes
4f849c2c36
Fix userpage hat counter showing equipped.
...
Essentially, just needed to not reuse owned_hats.
2022-11-09 10:32:14 -05:00
Snakes
e0f43c3668
Remove is_nofollow from backend.
2022-11-09 10:05:36 -05:00
Snakes
c9aee3ebb8
Eager load badge_def with badge.
...
Removes N guaranteed queries when rendering a userpage for a user with
N badges. We need the badge_def to provide nearly all properties of a
Badge, and it's nearly free with a one-to-one on indexed columns.
2022-11-09 09:25:47 -05:00
Snakes
ebb3957f41
Eager load submission listing relationships.
2022-11-09 09:16:22 -05:00
justcool393
26549a6e66
remove logged out routes ( #433 )
...
* remove /logged_out/ routes
* update sitemap, remove users route, and update header
* cloudflare cookie
* only mess with the cookie whenever we desire auth
* sitemap: (small) improvements
sitemap: fix little bug i introduced
sitemap: fix login redirects for /id/ routes
* sitemap: remove duplicate entry
* contact is auth desired
* imports: don't import what we don't need and bind late to the db
* praying to god this works
* keep yourself safe
* oh i actually need to commit and push lol
* import Sub
* t
* refix cache purger
2022-11-09 00:35:24 -05:00
Aevann1
39297b7c22
remove badges from popovers
2022-11-08 15:58:34 +02:00
Aevann1
8b1f76f727
add hole actions notifs for hole mods
2022-11-08 15:49:43 +02:00
justcool393
0fffa7efc0
rename truecoins to truescore
2022-11-06 23:04:34 -08:00
justcool393
2c532af1ce
set defaults in user class and schema.sql
2022-11-06 20:06:37 -08:00
Aevann1
a664d19c37
rename 2 modlog actions
2022-11-07 03:47:27 +02:00
Aevann1
bbfb18da9a
change clearing cache terminology
2022-11-06 07:28:47 +02:00
Aevann1
87d5a0de46
improve ban modal and add chud modal
2022-11-05 04:12:22 +02:00
Aevann1
47b89df619
change the chud theme terminology to a verb instead
2022-11-05 04:12:21 +02:00
Aevann1
995d3cbc98
add postToastReload
2022-11-04 23:44:44 +02:00
Snakes
b121d39c17
Handle mod_date case when User not mod.
2022-11-03 20:10:25 -04:00
justcool393
339d5fe8f1
users: add profanity filter to censor our gosh darned potty mouthes
2022-11-03 17:59:18 -05:00
Aevann1
6b068de522
remove insane bloat
2022-11-03 21:23:37 +02:00
Aevann1
d4a99c05e9
rename postToast -> postToastSwitch and postToastCallback -> postToast for clarity
2022-11-03 21:08:22 +02:00
Aevann1
07a12380de
accomodate alt domain
2022-11-03 17:29:14 +02:00
justcool393
753178a186
subs: fix exile behavior
2022-11-02 19:47:07 -05:00
Aevann1
f73c6d46df
accomodate rdrama.com users
2022-11-02 08:31:04 +02:00
justcool393
d5812096af
voting: allow voting to cause a user's DC balance to go negative
2022-11-01 12:50:01 -05:00
justcool393
8bd637df57
leaderboards: use len
2022-11-01 03:04:56 -05:00
justcool393
08700a65b0
fix prev commit
2022-11-01 02:59:36 -05:00
justcool393
5c32713469
leaderboards: workaround jinja can't do this by setting a value for if v appears in ranking
2022-11-01 02:57:10 -05:00
justcool393
72f9c1c877
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-11-01 02:21:58 -05:00
justcool393
e90edce28a
leaderboard: fix bug with hat leaderboard
...
in my defense, there was a lot of stuff
2022-11-01 02:21:14 -05:00
justcool393
9048f5127d
leaderboards: fix usernames in tables i think
...
i'm not *happy* about this, something seems inelegant about this solution...
2022-11-01 02:17:33 -05:00
Snakes
0ea738f1bc
Exclude limited-edition hats from profile counter.
2022-11-01 03:17:15 -04:00
justcool393
55c8ce6e9d
leaderboard: set value func in all cases
2022-11-01 01:36:41 -05:00
justcool393
02dde2a96f
leaderboard: check for None explicitly instead of implicitly
...
nonetype is used in only one case, if the value is implicitly falsey (like a 0) it can *potentially* cause issues
i have no idea how to repro this, apparently @Aevann1 was able to and it's a issue on rdrama.net, but not devrama or my own testing environment
2022-11-01 01:28:18 -05:00
justcool393
d53c714bb7
users: use with_for_update() in charge_account
2022-11-01 01:14:18 -05:00
Snakes
d7aaa33c7f
Formalize unpurchasable hats.
2022-10-31 23:38:10 -04:00
Aevann1
2ba1a1e86e
remove postToast compatability function
2022-10-30 17:10:07 +02:00
Aevann1
b9c482712a
constantify file extensions
2022-10-30 16:55:43 +02:00
justcool393
5af772c1f9
users: is_visible_to is False if v doesn't exist
...
this lets us use this function even with a logged out user
2022-10-30 03:04:46 -05:00
justcool393
5d2f4d203b
users: add is_visible_to function for checking user visibility to a certain other user
2022-10-30 02:31:21 -05:00
justcool393
68deff8f60
users: is_following adjustments
...
users: move is_following check to part of the user model itself
users: also don't query followers if the username is wrong and we're redirecting anyway
2022-10-30 02:19:49 -05:00
Aevann1
d52216beda
restore historical blackjack games
2022-10-30 02:40:35 +02:00
Aevann1
f09ec0ca17
restore slot gambling in comments
2022-10-30 02:36:23 +02:00
Aevann1
85abc39632
dedup converting game state to json
2022-10-30 02:32:40 +02:00
justcool393
3a6dfdf2de
listings: constantify PAGE_SIZE as 25
...
magic numbers are bad, do better next time
2022-10-28 22:20:48 -05:00
justcool393
61cc1ddcb7
inline is_image
2022-10-28 20:52:19 -05:00
Aevann1
5719688178
use tabs, not spaces
2022-10-29 01:39:31 +02:00
Aevann1
f41b09cc07
small change to /admin/app
2022-10-28 22:13:58 +02:00
justcool393
efd63b8666
leaderboards: show user as last row if not in lb
2022-10-28 12:36:18 -07:00
justcool393
fb727ac40c
lambda fns
2022-10-28 12:36:18 -07:00
justcool393
cfeafea0d4
leaderboards: annotate the db param, fix posts and comments, and move const to const file, etc
2022-10-28 12:36:18 -07:00
justcool393
89e10db2e0
leaderboards: fix prev commit i think
2022-10-28 12:36:18 -07:00
justcool393
8873171f5c
leaderboards: refactor leaderboards to their own class
...
right now, leaderboards are complex enough that they ought to be upgraded to at least a second class thing.
this commit provides an *okay* implementation of a per-request leaderboard
there are many things to be done, including caching, persistence, etc
i don't like this like 80 parameter __init__ but it's what i've got without overengineering it imo
this is potentially already overdoing it
2022-10-28 12:36:18 -07:00
Aevann1
8e2c869c84
fix last commit
2022-10-27 19:56:11 +02:00
Aevann1
ad358650e1
remove retarded bullshit I wasn't consulted about
2022-10-27 19:53:08 +02:00
Aevann1
033738342a
add tooltip to jigsaw tier [WPD]
2022-10-25 22:03:07 +02:00
Aevann1
fbeac461ca
refactor poorcel mode
2022-10-25 18:07:44 +02:00
gooseman
67826a52e0
remove hw
2022-10-24 15:28:43 -07:00
gooseman
8b98eabbb9
simultaneous hosts
2022-10-24 15:28:43 -07:00
Aevann1
4b37bd721b
prevent carp from undoing award pins
2022-10-24 19:36:35 +02:00
Snakes
d869353fdf
Track coins awarded with votes.
...
Supports more complicated double XP shenanigans without creating
any cycles of user actions that create positive DC.
2022-10-23 18:23:51 -04:00
Snakes
75a1a9c6c8
Fix profile viewers last visit timestamp.
2022-10-20 14:29:58 -04:00
justcool393
05ba34973f
log: update_marsey actions aren't always updating the image itself
2022-10-20 11:45:25 -05:00
Aevann1
44fca7f086
ripbozo
2022-10-17 21:13:33 +02:00
justcool393
aa508fc076
remove discord
2022-10-16 05:42:52 -07:00
justcool393
32a4693da9
fix a couple of potentially rare 500s
2022-10-15 14:35:24 -07:00
justcool393
60284daa8e
replace all of the duplicated age strings with make_age_string
2022-10-15 11:11:43 -07:00
Aevann1
c29b7e0871
remove chud rotating pfps
2022-10-15 08:57:28 +02:00
Aevann1
77312317f3
get rid of Boolean columns for permenant awards
2022-10-14 18:59:49 +02:00
Aevann1
89a0ff4a4b
remove username reservation system
2022-10-14 14:01:06 +02:00
Aevann1
a5eaeb809d
fix 500 error
2022-10-13 16:26:35 +02:00
Aevann1
86d5da7de6
fix this https://rdrama.net/post/112582/chudded-award-now-destroys-hours-of
2022-10-13 13:55:29 +02:00
Snakes
e5af46c4ae
Fix shadow visibility logic.
2022-10-13 00:10:34 -04:00
Aevann1
31a3b987d6
fix 500 error
2022-10-12 17:23:15 +02:00
Snakes
166e33dc38
Clarify architecture of sort_objects.
2022-10-12 04:05:26 -04:00
Aevann1
d18e247513
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-12 09:03:30 +02:00
Aevann1
2aa281e8c8
refactor sorting again (untested)
2022-10-12 09:03:28 +02:00
Aevann1
925ec12141
more shadowban refactor
2022-10-12 08:53:32 +02:00
justcool393
941b5fa82d
vote realness is in user model
2022-10-11 23:47:47 -07:00
Aevann1
e1ee9a69e4
refactor seeing shadowbanned shit (untested)
2022-10-12 08:24:30 +02:00
Aevann1
b1abd33835
refactor sorting
2022-10-12 08:10:11 +02:00
Aevann1
e3a3cbd358
add "hot" comment sorting
2022-10-11 18:41:09 +02:00
Aevann1
0ba14cb771
same as last commit
2022-10-11 16:44:43 +02:00
Aevann1
d9253ddd67
change default for "Controversial" value in user class
2022-10-11 16:43:50 +02:00
Aevann1
a20f5723bf
make sure all external urls have rel="nofollow noopener noreferrer"
2022-10-10 07:22:18 +02:00
Snakes
10921331fa
Move user hat properties for userpage to model.
2022-10-08 16:30:27 -04:00
Aevann1
acbfbb07ce
rework "are you sure?" and make it work on subscribing to posts and reverting admin actions
2022-10-08 08:06:46 +02:00
Aevann1
b515b8bd15
change DOMAIN env var to SITE (for consistency)
2022-10-08 04:06:55 +02:00
Aevann1
aa8e7055fb
rework env vars a bit
2022-10-08 02:43:04 +02:00
justcool393
48384ba8e5
convert a couple of the old constantified permissions to the new system
...
i don't want to break something so i'm keeping one of them for now but it just links
2022-10-07 01:50:20 -07:00
Snakes
e3bed60169
WPD: temporarily rewrite /videos/ post URLs.
2022-10-07 01:43:04 -04:00
justcool393
d9cc95dd71
fix global hole mod and template error
2022-10-06 20:06:22 -07:00
justcool393
c4c3d6cf49
Merge branch 'frost' into permissions-refactor
2022-10-06 19:55:36 -07:00
Aevann1
3ecb1b4f9a
generate a mod log for CCing or unCCing posts and notify OP
2022-10-07 04:48:31 +02:00
justcool393
e372158729
Merge branch 'frost' into permissions-refactor
2022-10-06 19:05:42 -07:00
justcool393
dd7e0abd6a
fix some conflicts
2022-10-06 19:04:27 -07:00
Aevann1
4d15d76dfa
show the earlylife parantheses in more places
2022-10-07 01:31:09 +02:00
Aevann1
9d6dcca07a
remove duplicate function
2022-10-07 00:59:50 +02:00
Aevann1
3ffac6f0f6
fix tranny slur replacement in plainbody and plaintitle
2022-10-07 00:34:25 +02:00
Aevann1
8b1cf50965
fix misplaced ")" resulting in 500 error
2022-10-06 23:17:35 +02:00
justcool393
a30edea43d
resolve conflict
2022-10-06 03:37:00 -07:00
justcool393
8bed8c64e8
rearrange and rename a couple of permissions
2022-10-06 00:55:54 -07:00
justcool393
f1275b90eb
filter properly per poll: https://rdrama.net/post/79285/-/2845495
2022-10-06 00:04:46 -07:00
Aevann1
fea0ce115f
do the result of this poll https://rdrama.org/post/79285/-/2845495?context=8#context
2022-10-06 08:41:48 +02:00
Aevann1
d73990d5b2
delete granted_by column
2022-10-06 08:35:42 +02:00
Aevann1
3a4aa3f3af
fix bugs
2022-10-06 08:00:41 +02:00
justcool393
6911101e29
post bet distributions
2022-10-05 22:59:27 -07:00
Aevann1
42344cb76f
add media table
2022-10-06 07:54:04 +02:00
Aevann1
e77a117339
add created_utc column to streamers
2022-10-06 07:37:50 +02:00
justcool393
dc5a132583
mop visibility, WPD notifications, and a fix with shadowbans
2022-10-05 22:25:45 -07:00
justcool393
68851ed986
profile views and modmail/hole creation notifications
2022-10-05 22:07:38 -07:00
justcool393
5739f128cf
club and chudrama permissions
2022-10-05 21:52:15 -07:00
justcool393
35c294b421
shadowban perms and some more fixes
2022-10-05 19:24:27 -07:00
justcool393
d5a48871f8
user ban and also fix global hole mod a bit i hope i didn't screw up the templates
2022-10-05 18:58:43 -07:00
justcool393
4b78ed176a
global moderation perm and add some more checks for const perm
2022-10-05 18:16:52 -07:00
justcool393
04f24cd8fd
content moderation permission level
...
holy crap there's a lot
2022-10-05 17:57:08 -07:00
justcool393
651355afdf
should be no semicolon there
2022-10-05 16:37:16 -07:00
Aevann1
2f979b859b
generate modlogs when a hole janny toggles nsfw
2022-10-06 01:24:54 +02:00
Aevann1
55b08c3c47
remove "grant_awards" mod action
2022-10-06 01:15:26 +02:00
justcool393
4037eed228
use constant instead of literal 200 for poll bets
2022-10-04 23:07:53 -07:00
justcool393
635e35204e
i'm an idiot
2022-10-04 17:08:15 -07:00
justcool393
93fb4f40d6
security: don't leak comment contents for removed/deleted comments
2022-10-04 16:51:42 -07:00
justcool393
31725a0684
security: don't leak post contents to embeds and other stuff for removed/deleted posts
2022-10-04 16:48:01 -07:00
Aevann1
947e362c00
fix 3e58cf64ce
2022-10-05 00:28:48 +02:00
Aevann1
3e58cf64ce
let ppl see the replies if they participated in the thread before it got CC'd
2022-10-04 22:36:16 +02:00
Snakes
247318d67b
Sanitize /casino/<game> parameter input.
2022-10-03 16:40:33 -04:00
Aevann1
dda49fdd70
the @Wieoaka question
2022-10-02 13:22:18 +02:00
Snakes
d28281bf8f
Fix ORM trying to INSERT/UPDATE into body_ts.
2022-10-02 05:12:04 -04:00
Snakes
701f64c91b
Change comment search to use tsvector.
2022-10-02 04:55:39 -04:00
Aevann1
186616728b
allow tempbanned nibbas to mod holes
2022-10-01 19:23:09 +02:00
Aevann1
2a316301e2
fix prev commit (im retarded)
2022-09-29 14:43:14 +02:00
Aevann1
f073e2e167
fix this https://rdrama.org/h/changelog/post/108741/added-hole-mod-logs-marseyjanny2/2809340?context=8#context
2022-09-29 14:41:39 +02:00
Aevann1
51d7cd6d7e
fix shit with hole logs
2022-09-29 12:18:27 +02:00
Aevann1
2f5ae40574
delete legacy modactions
2022-09-29 12:05:14 +02:00
Aevann1
09cc43060d
add hole mod logs ( #380 )
2022-09-29 11:39:37 +02:00
Aevann1
7201d55f69
Revert "prem version"
...
This reverts commit 858715b496
.
2022-09-29 07:58:11 +02:00
Aevann1
858715b496
prem version
2022-09-29 07:53:37 +02:00
Aevann1
b9d3336a9e
nitter shit
2022-09-29 07:53:37 +02:00
Snakes
4a54c6219a
Add trailing final newlines to source files.
...
Touched a ton of files to finally standardize on having trailing
final newlines, as best practice recommends and so our devs stop
accidentally fighting each other over it.
This was performed automatically with the following:
git ls-files -z '*.py' | while IFS= read -rd '' f; \
do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
git ls-files -z '*.css' | while IFS= read -rd '' f; \
do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2022-09-29 01:43:29 -04:00
Snakes
f05ec93b95
Add gambling wager badge logic.
...
This commit touches more files than it ought to because this change
required untangling some circular imports, notably a lingering import
of files.helpers.slots in helpers.actions (presumably from old Snappy
gambling logic) and the User.active_blackjack_game accessor. Otherwise,
the logic is fairly straightforward.
2022-09-29 00:26:50 -04:00
Aevann1
4212cfa0b2
testing on pcm
2022-09-25 06:11:06 +02:00
Aevann1
9eeb77073f
fix prev commit
2022-09-25 05:10:32 +02:00
Aevann1
ba19830075
fix last commit
2022-09-25 04:47:05 +02:00
Aevann1
c0c45d9e9a
same as last commit
2022-09-25 04:45:22 +02:00
Aevann1
08f9045818
remove linefeed at the end
2022-09-23 17:02:09 +02:00
Aevann1
5740ed3f00
fix capitalization
2022-09-23 16:56:01 +02:00
Aevann1
340f9e31fe
limit asset perms and generate modlog for updating
2022-09-23 14:51:57 +02:00
Aevann1
d1bc2f3468
integrate check_ban_evade into check_for_alts
2022-09-23 14:33:58 +02:00
Snakes
3efaedbbec
Temporarily fix permas propagating as shadows.
2022-09-22 20:45:59 -04:00