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
justcool393
45f40f32b7
admin user page fix
2022-10-05 23:33:39 -07:00
justcool393
98397e7d3f
admin home and user last active viewing
2022-10-05 23:27:34 -07:00
Aevann1
baa447ba19
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-06 08:26:13 +02:00
Aevann1
fbd815f54e
fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2847925?context=8#context
2022-10-06 08:26:10 +02:00
justcool393
039fa606d6
streamer permissions
2022-10-05 23:22:42 -07:00
justcool393
8d51980dca
rename cache purge things to include prefix
2022-10-05 23:21:04 -07:00
justcool393
22af7f3bfc
admin home page modifications
2022-10-05 23:18:08 -07:00
official-techsupport
4e23161f11
Re-enable showmore_regex for Snappy ( #389 )
...
* Re-enable showmore_regex for Snappy
* showmore a bit more aggressively
2022-10-06 02:17:28 -04:00
justcool393
4fdccc331a
view last active in template
2022-10-05 23:02:27 -07: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
justcool393
6401f9e9c2
shadowban log
2022-10-05 22:56:19 -07:00
justcool393
53a5343a55
use ban permission for muting and also add a user home permission (wonder if should be the same as mop perm)
2022-10-05 22:54:48 -07:00
Aevann1
42344cb76f
add media table
2022-10-06 07:54:04 +02:00
justcool393
f2f954e0dd
add note about marseybux printing disabled on rDrama
2022-10-05 22:50:42 -07:00
justcool393
047013f92b
patron perm and also move them around
2022-10-05 22:48:55 -07:00
justcool393
0c0fa68cb4
title change permission
2022-10-05 22:45:44 -07:00
Aevann1
e77a117339
add created_utc column to streamers
2022-10-06 07:37:50 +02:00
justcool393
1220d06eab
some admin perms and also fix search
2022-10-05 22:37:50 -07:00
justcool393
20bd38b5d3
add oauth permissions
2022-10-05 22:33:55 -07:00
justcool393
dc5a132583
mop visibility, WPD notifications, and a fix with shadowbans
2022-10-05 22:25:45 -07:00
Aevann1
1d666b3569
fix prev commit
2022-10-06 07:23:05 +02:00
Aevann1
4563a2b18a
fix prev commit
2022-10-06 07:16:24 +02:00
justcool393
38f3c7ed55
view sorted admin list and message blocked users
2022-10-05 22:16:09 -07:00
Aevann1
168f18893f
change wording of an error msg
2022-10-06 07:08:48 +02:00
justcool393
68851ed986
profile views and modmail/hole creation notifications
2022-10-05 22:07:38 -07:00
Aevann1
f52d6258ae
fix prev commit
2022-10-06 07:07:24 +02:00
Aevann1
d832e195a7
same as last commit
2022-10-06 07:05:03 +02:00
justcool393
f531b12727
alt seeing eye
2022-10-05 22:01:02 -07:00
justcool393
d78d57ec79
all seeing eye permission
2022-10-05 21:59:06 -07:00
Aevann1
304c65d303
convert webm to mp4
2022-10-06 06:54:05 +02:00
justcool393
5739f128cf
club and chudrama permissions
2022-10-05 21:52:15 -07:00
justcool393
06f88e8a4a
post based permissions mostly
2022-10-05 21:45:54 -07:00
justcool393
57b08043a4
notification settings and admin setting
2022-10-05 21:40:02 -07:00
Aevann1
0c8ead2e7d
stop using lain.la
2022-10-06 06:31:08 +02:00
justcool393
3f1cc45a2b
settings, cache, and domain ban permissions
2022-10-05 21:26:15 -07:00
justcool393
9bb7b3758f
distinguish stuff
2022-10-05 21:19:11 -07:00
justcool393
44bf01151f
apparently this thing likes to commit without committing half of it ok
2022-10-05 21:03:40 -07:00
justcool393
976f1808c3
templates for admins...
...
we REALLY should do something about that gigantic code duplication
2022-10-05 21:03:24 -07:00
Snakes
3c261f19cd
Add JC to NOTIFIED_USERS.
2022-10-05 23:59:33 -04:00
justcool393
a3b9d71e70
user badge permissions
2022-10-05 20:50:02 -07:00
justcool393
65c75ba5da
club permissions
2022-10-05 20:47:42 -07:00
justcool393
a22c426310
fix unblocking (type error)
2022-10-05 20:45:03 -07:00
Aevann1
dd950c96f6
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-06 05:37:54 +02:00
Aevann1
140db5052c
remove shit i accidentially committed :marseybrainlet:
2022-10-06 05:37:52 +02:00
justcool393
4aef026594
add and remove admin permissions
2022-10-05 20:37:18 -07:00
justcool393
3cf972ef9a
merge permission
2022-10-05 20:33:23 -07:00
justcool393
c813f52c1a
view active users perm
2022-10-05 20:29:14 -07:00
justcool393
1a0785d497
add perm for kippy's marseybux printer
2022-10-05 20:26:39 -07:00
Snakes
7f81f62bb3
Amend ebf83687948: that was r-slurred.
2022-10-05 23:17:09 -04:00
justcool393
c0f753e101
asset submissions permissions
2022-10-05 20:15:10 -07:00
Snakes
ebf8368794
WPD: fix mobile header logo sizing.
2022-10-05 23:11:59 -04:00
justcool393
c2109fd611
modmail viewing perm
2022-10-05 20:10:57 -07:00
justcool393
d709334180
lottery permissions
2022-10-05 20:09:20 -07:00
justcool393
f5996afc5a
add some perm requirements and add agendaposter thing
2022-10-05 20:04:38 -07:00
justcool393
970a7adfbd
buy ghost award permission
2022-10-05 19:57:31 -07:00
justcool393
0349862531
view pending submitted marseys and hats perms
2022-10-05 19:55:54 -07:00
justcool393
ae0c215af3
...
2022-10-05 19:51:44 -07:00
justcool393
43f137208a
bypass pin limit perm and also fix a shadowban perm
2022-10-05 19:51:30 -07:00
justcool393
d8610b34b6
changelog permission and don't query db for badges if admin with perm level
2022-10-05 19:45:05 -07:00
justcool393
2fc3044d5b
shadowban perms and stuff
2022-10-05 19:24:37 -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
591e6342bb
editing permissions
2022-10-05 18:24:37 -07:00
justcool393
4b78ed176a
global moderation perm and add some more checks for const perm
2022-10-05 18:16:52 -07:00
justcool393
0dfff1f4f6
editing posts to JL3 (will be constantified soon)
2022-10-05 18:03:23 -07:00
Aevann1
e92da1cacc
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-06 03:02:00 +02:00
Aevann1
94e441a23b
decrrease max-width for a bunch of modals from 90% to 85%
2022-10-06 03:01:52 +02: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
justcool393
2a66104d8b
improve body for edit_post
2022-10-05 16:35:44 -07:00
justcool393
d58351637c
use constants
2022-10-05 16:35:44 -07:00
justcool393
093ced7b20
introduce constant for post and title length
2022-10-05 16:35:44 -07:00
justcool393
2a53df20ff
consistency in return error and returned status code
2022-10-05 16:35:44 -07:00
justcool393
88ae00deef
sanitize raw bodies
2022-10-05 16:35:44 -07:00
justcool393
19b2f71c3b
improve raw title sanitization and don't check the same thing like 5 times
2022-10-05 16:35:44 -07:00
Aevann1
af33f6ae0b
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-06 01:29:33 +02:00
Aevann1
045dac01a5
reduce NOTIFICATION_SPAM_AGE_THRESHOLD from 3 days to 0.5 days
2022-10-06 01:29:30 +02:00
Snakes
bfc6ff3122
Make WPD login text typography improper for Carp.
2022-10-05 19:26:49 -04:00
Aevann1
25707af72a
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-06 01:24:57 +02:00
Aevann1
2f979b859b
generate modlogs when a hole janny toggles nsfw
2022-10-06 01:24:54 +02:00
Snakes
3f338fc3f2
WPD: add login required explanatory text.
2022-10-05 19:17:42 -04:00
Aevann1
55b08c3c47
remove "grant_awards" mod action
2022-10-06 01:15:26 +02:00
Aevann1
9134a91481
add jigsaw tier
2022-10-06 00:47:12 +02:00
Aevann1
f5f0f7d528
give carp notifs for new users on rdrama again + make new users follow kippy on PCM
2022-10-06 00:22:57 +02:00
Aevann1
67d6d7e2de
[PCM] allow all jannies to add streamers
2022-10-06 00:20:09 +02:00
Aevann1
d57d4c9864
swap banner for PCM
2022-10-06 00:19:06 +02:00
Aevann1
3cd21e8899
got rid of printi awards
2022-10-05 23:23:00 +02:00
Aevann1
f77bab96eb
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-05 23:11:54 +02:00
Aevann1
4e7510ef64
increase notif count from 10 to 50
2022-10-05 23:11:52 +02:00
Aevann1
c7033559ab
sneed
2022-10-05 21:00:03 +00:00
Aevann1
283afd3578
sneed
2022-10-05 20:16:26 +00:00
Snakes
ed269b0ccf
WPD: add logo.
2022-10-05 16:14:53 -04:00
justcool393
9a1efe8aec
add some more chudrama checks (ideally this would be a can_see function or something)
2022-10-05 04:16:03 -07:00
justcool393
9575e11b8b
add get_sub_by_name function
2022-10-05 03:37:29 -07:00
justcool393
4037eed228
use constant instead of literal 200 for poll bets
2022-10-04 23:07:53 -07:00
justcool393
b0da0ac604
fix regex capturing groups
2022-10-04 17:58:51 -07:00
justcool393
d564592276
revert per aevann. (why are we replacing www.reddit.com)
2022-10-04 17:32:08 -07:00
justcool393
0a82ca0c30
don't reply to deleted posts/comments
2022-10-04 17:18:19 -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
justcool393
775686028b
use reddit regex from snapshillbot
...
reference: https://github.com/justcool393/SnapshillBot/blob/master/snapshill.py#L30
2022-10-04 16:05:14 -07:00
justcool393
f901d5af05
show raw unicode codes instead of the actual characters
2022-10-04 15:29:00 -07:00
Aevann1
947e362c00
fix 3e58cf64ce
2022-10-05 00:28:48 +02:00
Aevann1
243cf4eaf8
Revert "improve fishylinks_regex"
...
This reverts commit 88c1f1b233
.
2022-10-05 00:19:50 +02:00
justcool393
4c71bd6b5c
fake colon
2022-10-04 14:33:23 -07:00
Aevann1
b41a394c46
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-04 23:31:25 +02:00
Aevann1
88c1f1b233
improve fishylinks_regex
2022-10-04 23:31:23 +02:00
justcool393
d5bd3463e8
disallow permanently banned users from untoggling NSFW
...
can help i guess prevent abuse and creating a situation where dueling NSFW toggles have to be set
2022-10-04 14:09:25 -07:00
Aevann1
43a33b1359
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-04 20:36:35 +00: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
Aevann1
d203b22461
fix "iibertarianphile" for real this time
2022-10-04 22:12:18 +02:00
Aevann1
fabbc7a1a3
allow hole jannies to mark posts and comments in their holes as +18
2022-10-04 22:10:59 +02:00
Aevann1
ed6b7f1a10
fix "iibertarianphile"
2022-10-04 21:54:45 +02:00
Aevann1
bf9a2398da
add nginx to docker
2022-10-04 21:48:52 +02:00
Aevann1
08d6a9c901
Revert "add nginx to docker"
...
This reverts commit 7c1eb4c6e3
.
2022-10-04 21:35:02 +02:00
Aevann1
de154c1e6e
sneed
2022-10-04 19:00:04 +00:00
Aevann1
d98e4c9c1c
convert repo from CRLF to LF
2022-10-04 17:24:58 +02:00
Aevann1
337e5d59c5
Revert "make house holes immune from deletion"
...
This reverts commit 7defcd07cf
.
2022-10-04 15:48:08 +02:00
Snakes
6757831e0f
Sanitize more special characters in search.
2022-10-04 01:31:27 -04:00
justcool393
7defcd07cf
make house holes immune from deletion
2022-10-03 20:22:16 -07:00
Aevann1
7c1eb4c6e3
add nginx to docker
2022-10-04 03:06:57 +02:00
Snakes
247318d67b
Sanitize /casino/<game> parameter input.
2022-10-03 16:40:33 -04:00
justcool393
591fe9721f
don't let shadowbanned users create holes
2022-10-03 01:18:06 -07:00
Aevann1
c13acca044
sneed
2022-10-03 08:00:02 +00:00
Aevann1
12f7aa7fe9
sneed
2022-10-03 07:00:02 +00:00
Aevann1
abc7d8107d
sneed
2022-10-02 20:00:06 +00:00
Snakes
99b6b356f0
Add comment search "quoted phrase" behavior.
2022-10-02 15:50:05 -04:00
Snakes
e05b1197c6
Identify benefactors in listing.
2022-10-02 15:37:22 -04:00
Aevann1
4a3866bd7c
WPD: banners sneed.
2022-10-02 19:29:09 +00:00
Snakes
81dda4f6cc
Serve static user content with nginx.
2022-10-02 14:27:18 -04:00
Snakes
0dfa4525fa
Remove special characters from search query.
2022-10-02 07:42:42 -04:00
Aevann1
3bf62c6ff0
add missing ban_reason when shadowbanning
2022-10-02 13:31:02 +02:00
Aevann1
dda49fdd70
the @Wieoaka question
2022-10-02 13:22:18 +02:00
Aevann1
2c989d5c28
remove dramaphobic holier-than-thou sidebar img
2022-10-02 12:57:36 +02:00
Aevann1
da4ade067d
make pizza's vote on himself be the first
2022-10-02 12:35:04 +02:00
Aevann1
325187e8bb
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-02 12:33:05 +02:00
Aevann1
13f5ab7c07
remove long slur filters
2022-10-02 12:33:01 +02:00
Snakes
216022a5a0
Comments search: utilize lexeme config.
2022-10-02 06:24:03 -04: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
justcool393
b79a89560f
add requested kind to set if not present
...
fixes issue where the kind wouldn't show up on the list and cause a error in template rendering
2022-10-02 00:50:59 -07:00
Aevann1
f1e49b11c9
sneed
2022-10-02 04:00:05 +00:00
Snakes
aeb40f60b9
emojis.json: marseyflagperu.
...
Was previously submitted through the /submit/marseys tool. It properly
belongs in emojis.json, however.
2022-10-01 23:10:10 -04:00
Aevann1
a59de67055
sneed
2022-10-02 03:00:02 +00:00
Aevann1
36bea53692
sneed
2022-10-02 02:00:03 +00:00
Snakes
cd0b564401
Add 'added' column to /marseys.
2022-10-01 18:27:51 -04:00
Aevann1
dee46a9306
revert an earlier change for video and audio files in sanitize()
2022-10-01 19:42:34 +02:00
Aevann1
fbaa3984a0
small adjustment to prev commit, making it an "elif"
2022-10-01 19:37:59 +02:00
Aevann1
15e0447826
ban ppl for 14 minutes if snappy comments ":marseyban:" on their post
2022-10-01 19:37:25 +02:00
Aevann1
186616728b
allow tempbanned nibbas to mod holes
2022-10-01 19:23:09 +02:00
Aevann1
7bee647218
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-01 17:18:19 +00:00
Aevann1
04895e1fac
remove my effortpost algo (cant have shit in detroit)
2022-10-01 19:17:58 +02:00
Aevann1
2cf9c7560f
remove unused legacy function
2022-10-01 18:29:16 +02:00
Aevann1
b485cc0c8b
sneed
2022-10-01 15:00:03 +00:00
Aevann1
a7acbe9831
show our email to loggedout visitors in /contact
2022-10-01 12:14:46 +02:00
Aevann1
e9ffc02fb9
tweak slur filter to stop repititive bug reports
2022-10-01 11:56:31 +02:00
Aevann1
9b64b49175
make suggested emojis bigger on desktop
2022-10-01 11:45:52 +02:00
Aevann1
7e7c14fe22
fix bug in /live
2022-10-01 11:43:16 +02:00
Aevann1
7212fa44ef
give ppl an explanation when searching comments
2022-10-01 11:38:14 +02:00
justcool393
fc623b7201
get id fix for sbs
2022-09-30 22:16:15 -07:00
justcool393
f9d6976202
include shadowbanned users here
2022-09-30 22:08:18 -07:00
Aevann1
739624c5d3
sneed
2022-10-01 04:00:04 +00:00
Aevann1
e01ce5e929
sneed
2022-10-01 02:00:03 +00:00
Aevann1
6a0fd03548
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-01 01:38:09 +02:00
Aevann1
d9a57cf201
debug /live
2022-10-01 01:38:07 +02:00
justcool393
50689c9298
remove early life badge if status expired
2022-09-30 16:20:53 -07:00
justcool393
78b668a870
don't duplicate checks for users
2022-09-30 15:51:17 -07:00
justcool393
40c2360d00
don't duplicate checks for comments
2022-09-30 15:51:17 -07:00
justcool393
057bc360bf
don't duplicate get checks for posts
2022-09-30 15:51:17 -07:00
Snakes
fab2359256
Fix userpage template logic for mobile ban display.
2022-09-30 17:49:47 -04:00
Aevann1
08fc034973
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-09-30 23:07:56 +02:00
Aevann1
30d4f5e902
allow carp and snakes to see /patrons
2022-09-30 23:07:53 +02:00
justcool393
7e3f43c9ab
unperson shadowbanned users ( #373 )
...
* unperson shadowbanned users
if a shadowbanned user copes, does anyone hear them seethe?
* unperson shadowbanned users (by id)
* don't import that
* Add include_blocks.
We don't always want to request blocks from the db when we have a user set
* block shadowbanned users from hole mod tools
* don't allow awarding shadowbanned things
* fix conflict
* gracefully use get_account when specified and also add include_blocks flag to get_account as well
2022-09-30 14:00:58 -07:00
Aevann1
4a3670cdc9
remove 2 bad banners
2022-09-30 21:14:37 +02:00
Aevann1
c127e95f16
sneed
2022-09-30 19:00:03 +00:00
Aevann1
c7f96fdd7a
WPD: banners sneed.
2022-09-30 16:11:09 +00:00
Aevann1
9e98494b65
fix betting rewards
2022-09-30 17:38:47 +02:00
Aevann1
52c5dd6028
disable /search/comments for now
2022-09-30 14:20:53 +02:00
Aevann1
0136a4a37f
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-09-30 14:19:54 +02:00
Aevann1
4a1865742a
fix bad code in /live
2022-09-30 14:19:48 +02:00
justcool393
c1ca1a02ac
only attempt to parse HTML content types for titles ( #382 )
...
* only attempt to parse HTML content types for titles
also don't try to get submission titles for .gifv, .tif, .tiff
* ratelimit to 3 per minute instead of 6 minutes
no one will ever need more than 3 requests to this endpoint per minute - justcool393
6 per minute is already kinda a lot for this endpoint, i think aggressively ratelimiting this one is fine, especially since it's a minute ratelimit
2022-09-30 14:13:06 +02:00
justcool393
0617bb154c
use get_post to handle getting a post ( #381 )
...
why did we ever catch an exception throw it away, then catch an exception (something get_post already does) and then finally get the post
2022-09-30 01:44:32 -04:00
Snakes
feb5d25e83
Add "banned by" to userpage ban string.
2022-09-29 23:38:26 -04:00
Aevann1
7b7092b5f5
better syntax in /live
2022-09-29 20:29:44 +02:00
Aevann1
b111852d44
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-09-29 20:25:04 +02:00
Aevann1
5b1e873e54
fix /live
2022-09-29 20:25:01 +02:00
Aevann1
548fe73fb3
sneed
2022-09-29 18:10:30 +00:00
Snakes
60d6f8b20d
WPD: add revolving banner selection.
2022-09-29 14:09:26 -04:00
Snakes
e52fc4eb9e
cron: commit roulette txn early for long tasks.
2022-09-29 14:09:26 -04:00
Aevann1
6b0c734254
Revert "make the default for notify True"
...
This reverts commit c192019a22
.
2022-09-29 20:05:35 +02:00
Aevann1
c192019a22
make the default for notify True
2022-09-29 19:58:19 +02:00
Aevann1
d418cfaef5
fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2811191?context=8#context
2022-09-29 19:53:40 +02:00
Aevann1
912d83d3fc
remove sidebar img
2022-09-29 19:53:37 +02:00
Aevann1
1641f40c1f
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-09-29 17:58:51 +02:00
Aevann1
8017c03e97
limit seeing carp's followers only on WPD
2022-09-29 17:58:49 +02:00
Aevann1
9ce83c405f
sneed
2022-09-29 15:00:04 +00:00