Commit Graph

4674 Commits (4b78ed176a7b45abf6c15174a6d0008d55c360ea)

Author SHA1 Message Date
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
justcool393 04f24cd8fd content moderation permission level
holy crap there's a lot
2022-10-05 17:57:08 -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 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 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 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
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 0a82ca0c30
don't reply to deleted posts/comments 2022-10-04 17:18:19 -07: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 fabbc7a1a3 allow hole jannies to mark posts and comments in their holes as +18 2022-10-04 22:10:59 +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 d98e4c9c1c convert repo from CRLF to LF 2022-10-04 17:24:58 +02:00
Snakes 6757831e0f
Sanitize more special characters in search. 2022-10-04 01:31:27 -04: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
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
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 da4ade067d make pizza's vote on himself be the first 2022-10-02 12:35:04 +02:00
Snakes 216022a5a0
Comments search: utilize lexeme config. 2022-10-02 06:24:03 -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
Snakes cd0b564401
Add 'added' column to /marseys. 2022-10-01 18:27:51 -04:00
Aevann1 04895e1fac remove my effortpost algo (cant have shit in detroit) 2022-10-01 19:17:58 +02:00
Aevann1 a7acbe9831 show our email to loggedout visitors in /contact 2022-10-01 12:14:46 +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 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 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