Commit Graph

15732 Commits (c0acb1722b97cd1f52547035e216b0c958cf084d)

Author SHA1 Message Date
justcool393 d6f4e20f7d use constant for BBBB_ID instead of 12125 2022-10-09 07:03:21 -07:00
justcool393 a9064e7828 newline at eof 2022-10-09 06:52:41 -07:00
justcool393 56e800fd9d move basedbot to actions as well 2022-10-09 06:49:08 -07:00
justcool393 64cd774390 ree 2022-10-09 06:29:58 -07:00
justcool393 63c7fe0c29 move zozbot and longpostbot into the actions helpers 2022-10-09 06:28:18 -07:00
justcool393 87fd8ee57a comment sanity checks and constantization
* make HTML body length a constant and use it
* abort before uploads and other tasks if comment level is too deep
* what a nightmare of two functions, please do better next time
2022-10-09 05:54:46 -07:00
justcool393 c9ab2c515b remove some more vestiges
get_post and get_comment both handle this
2022-10-09 01:25:21 -07:00
justcool393 52472b838d don't allow banned users to join 2022-10-09 00:34:22 -07:00
justcool393 d8927294f4 fix 500 when no state is passed in to discord redirect function 2022-10-09 00:31:56 -07:00
justcool393 8ea52ba95c constantify comment body length limit and transfer limit 2022-10-09 00:20:28 -07:00
justcool393 b96d6a1ccb scope variables properly 🤤 2022-10-08 23:44:09 -07:00
justcool393 1ad12e0524 deduplicate more of this page's code 2022-10-08 23:44:09 -07:00
justcool393 13446a4708 remove duplicate code in the template 2022-10-08 21:26:41 -07:00
Snakes cf1844d6a4
Fix hat counter logic breaking Simps listing. 2022-10-08 23:55:40 -04:00
Snakes 10921331fa
Move user hat properties for userpage to model. 2022-10-08 16:30:27 -04:00
Snakes 8bb145d23c
Fix userpage hats owned display. 2022-10-08 16:12:03 -04:00
justcool393 360723f761 num hats fix (and pct fix too?) 2022-10-08 10:53:54 -07:00
justcool393 4baf7cfa42 make text gold when owned all hats 2022-10-08 10:44:39 -07:00
justcool393 d05cb09040 fix some minor formatting 2022-10-08 10:39:36 -07:00
justcool393 491d71a9b5 add owned hats to user page per fish request 2022-10-08 10:37:44 -07:00
justcool393 7025cbe983 don't include sbed users in songs 2022-10-08 10:14:17 -07:00
justcool393 8292ef8e7e fix clubbing posts 2022-10-08 08:59:31 -07:00
justcool393 fb3dc1706e one missing </div> seriously
okay and some formatting
2022-10-08 08:53:34 -07:00
justcool393 57a917339d gonna try and make it not broken
i think whitespace is the issue here
also fix grant- and bar- classes
2022-10-08 02:31:18 -07:00
Aevann1 1236d7bcd5 fix "remove" button in /live 2022-10-08 08:13:35 +02:00
Aevann1 55c62b820f fix grammar 2022-10-08 08:08:45 +02:00
Aevann1 745184acc6 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-08 08:08:35 +02: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
justcool393 1f996662d4 end if 2022-10-07 23:02:21 -07:00
justcool393 a910cede78 userBanBlock block was incorrect on mobile 2022-10-07 22:43:36 -07:00
justcool393 437f7e63d7 upper admin tools macro
also we change the remove admin and revert admin actions button to be red
2022-10-07 22:43:36 -07:00
justcool393 45a52e96f4 some small whitespace changes 2022-10-07 22:43:36 -07:00
justcool393 8f2d656bb3 rename page and also add macro for ban area 2022-10-07 22:43:36 -07:00
Snakes 3949670088
WPD: sidebar update for flair & rule changes. 2022-10-08 01:10:39 -04:00
Snakes d1e065460e
Fix hole modlog pagination. 2022-10-08 00:32:03 -04:00
justcool393 558ee805ec re-add revert admin actions function and also fix a bug with it 2022-10-07 21:07:44 -07:00
justcool393 6df6054938 remove revert admin actions function 2022-10-07 20:48:37 -07:00
Snakes f7a52ddb8c
PCM live: stop infinite recursion on invalid input. 2022-10-07 22:32:33 -04:00
Aevann1 b515b8bd15 change DOMAIN env var to SITE (for consistency) 2022-10-08 04:06:55 +02:00
Aevann1 137fa7c6d6 remove unused blocks + allow banners to be expandable everywhere 2022-10-08 04:04:46 +02:00
Snakes 1966ccec6c
Fix incorrect identifier in create_hole.
Looks to have been accidentally introduced in 9575e11b8b, because
for some reason this is the only route that uses `name` instead of
`sub`. Weird. Perhaps worth changing to sub for consistency, but
surely there's some reason it's like this.
2022-10-07 21:28:13 -04:00
Aevann1 398c841632 fix the ruckus image on dark theme 2022-10-08 03:26:50 +02:00
Aevann1 df977228ae Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-08 03:19:19 +02:00
Aevann1 cbbcbd570a Revert "fix WPD"
This reverts commit 6750a156fd.
2022-10-08 03:19:16 +02:00
Snakes 556b3e3c4e
PCM: don't rescale uploaded banners. 2022-10-07 21:16:56 -04:00
Aevann1 6750a156fd fix WPD 2022-10-08 03:14:54 +02:00
Aevann1 897885316f disable asset submissions in WPD and PCM 2022-10-08 03:00:27 +02:00
Aevann1 2a638f71c3 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-08 02:44:06 +02:00
Aevann1 cfd4b6399f use mailgun again 2022-10-08 02:44:02 +02:00
Aevann1 aa8e7055fb rework env vars a bit 2022-10-08 02:43:04 +02:00
Snakes 7ea61f423d
PCM: disable gambling; extend FEATURES['GAMBLING']. 2022-10-07 20:31:46 -04:00
Aevann1 e89eae1ec4 same as last commit 2022-10-08 01:01:26 +02:00
Aevann1 d85c3d8797 make WPD banners clickable 2022-10-08 01:01:04 +02:00
Aevann1 074f46d900 sneed 2022-10-07 21:02:06 +00:00
Snakes f4a722d151
Fix lootbox purchasing identifier conflict. 2022-10-07 17:01:29 -04:00
justcool393 0627a12bc5 don't let users comment on things they can't see 2022-10-07 03:22:07 -07: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
justcool393 91cb50db38 import with context 2022-10-07 01:18:20 -07:00
justcool393 7a0692b16a minor whitespace change 2022-10-07 01:11:59 -07:00
justcool393 96bd7d65b4 correct form name 2022-10-07 01:11:59 -07:00
justcool393 6b037f26e0 spaces -> tabs here
idk if that's the "accepted" code style but i'm using it here for consistency
2022-10-07 01:11:59 -07:00
justcool393 d3712f0378 correct class names in javascript 2022-10-07 01:11:59 -07:00
justcool393 9874470065 lower userpage admin tools as a macro 2022-10-07 01:11:59 -07:00
justcool393 26fbf726a4 remove unused permission 2022-10-06 23:24:00 -07:00
Snakes e3bed60169
WPD: temporarily rewrite /videos/ post URLs. 2022-10-07 01:43:04 -04:00
justcool393 1e585c07fa
p author id 2022-10-06 21:36:31 -07:00
Aevann1 b608a514e4 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-07 05:25:37 +02:00
Aevann1 2d2a35d7ca make giving awards not refresh the page 2022-10-07 05:25:34 +02:00
justcool393 c5fa8a9e0c sb fix 2022-10-06 20:20:51 -07:00
justcool393 2d66363fed fix mobile template 2022-10-06 20:19:39 -07:00
justcool393 d9cc95dd71 fix global hole mod and template error 2022-10-06 20:06:22 -07:00
Aevann1 182784f097 sneed 2022-10-07 02:57:38 +00:00
justcool393 c4c3d6cf49
Merge branch 'frost' into permissions-refactor 2022-10-06 19:55:36 -07:00
Aevann1 a2600767d1 notify ppl when admins add them into CC or disallow them from it 2022-10-07 04:51:56 +02: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
justcool393 35162a4899 submission: change ADMIN_HOME_VISIBLE permissions to can view post mod tools perm
user: make so user can't moderate themselves at least in the UI
2022-10-06 18:44:33 -07:00
Aevann1 e0b1d7968a fix prev commit 2022-10-07 03:35:21 +02:00
Aevann1 01071a20e8 add banner_thread to PCM 2022-10-07 03:32:08 +02:00
justcool393 9b705fc23e check proper permissions 2022-10-06 18:31:40 -07:00
Aevann1 d1f52447b1 remove old earlylife css code 2022-10-07 01:45:23 +02:00
Aevann1 c89df37af8 make emoji-modal and award-modal 90% width on desktop insttead of 80% 2022-10-07 01:41:18 +02: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 4ed67a6bef same ast last commit 2022-10-07 00:50:36 +02:00
Aevann1 c20b0c795b put the "??? ago" streamers last 2022-10-07 00:49:43 +02:00
Aevann1 3ffac6f0f6 fix tranny slur replacement in plainbody and plaintitle 2022-10-07 00:34:25 +02:00
Aevann1 dc93b5b7d2 get rid of the downvote table 2022-10-07 00:21:24 +02:00
Aevann1 0848008c8d fix prev leaderboard commit 2022-10-07 00:10:10 +02:00
Aevann1 ec58f10733 make capitalization consistent in leaderboard template 2022-10-06 23:59:49 +02:00
Aevann1 ea30e3f3e7 convert snakes leaderboard downvote code to ORM 2022-10-06 23:57:46 +02:00
Aevann1 3b441d8ca7 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-06 23:17:38 +02:00
Aevann1 8b1cf50965 fix misplaced ")" resulting in 500 error 2022-10-06 23:17:35 +02:00
Aevann1 598de07b95 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-06 21:16:23 +00:00
Aevann1 9bff6a682e fix margins for award_modal and emoji_modal and popover 2022-10-06 23:16:16 +02:00
Aevann1 34cb2e0ccb sneed 2022-10-06 20:00:06 +00:00
Aevann1 6bdb0d792b fix my mentions 2022-10-06 21:52:57 +02:00
Snakes 60e4e92e90
Suppress ffmpeg progress output, fix trailing flag. 2022-10-06 15:17:36 -04:00
Aevann1 3cf838af29 fix thumbnails and add opera-proxy to docker 2022-10-06 21:07:45 +02:00