justcool393
c0acb1722b
abort a bunch of stuff where we manually returned JSON
2022-10-11 08:40:19 -07:00
justcool393
64cd11377e
fix 500 werkzeug description, add note, and remove unused import
2022-10-11 08:40:19 -07:00
justcool393
665e6e4b21
handle 500 and 401 (when using API) with our handlers
...
* 401 had sign up and login buttons on their page, but the page was never visible, we only show this when the API is being used
2022-10-11 08:40:19 -07:00
justcool393
e364ce8043
add 417 and fix 414
2022-10-11 08:40:19 -07:00
justcool393
ec610e99c5
add details and tell jinja that variables have kept themselves safe
2022-10-11 08:40:19 -07:00
justcool393
ac011a77b9
remove unneeded templates, use custom handler for 500, and 401 is "Unauthorized," not "Not Authorized"
2022-10-11 08:40:19 -07:00
justcool393
fd25809cac
rework errors
2022-10-11 08:40:19 -07: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
d244124d47
make 819.webp the only sidebar image for a couple of days to hopefully piss off someone
2022-10-11 15:54:11 +02:00
Aevann1
8032b9d5a4
allow me to ban ((( 🐟 )))
2022-10-11 15:48:49 +02:00
Aevann1
490debb293
Merge branches 'frost' and 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-11 15:47:02 +02:00
Aevann1
06c858b6cf
fix 500 error
2022-10-11 15:43:57 +02:00
justcool393
9ec3fb3b51
use proper get function
2022-10-11 06:37:40 -07:00
Aevann1
998b966f2b
remove unnecessary shit in wrappers
2022-10-11 15:19:55 +02:00
Aevann1
523d1c9dab
sneed
2022-10-11 09:57:46 +00:00
Snakes
b9f4c9c58b
Add emoji: past 3mo of assorted non-Marseys.
2022-10-11 05:51:08 -04:00
Snakes
091f5b0399
Add emoji: asianjaks.
2022-10-11 05:16:45 -04:00
Snakes
b0244a2a09
Add emoji: party parrots.
2022-10-11 05:13:04 -04:00
justcool393
01138ab592
bypass read only mode perm
2022-10-11 00:54:02 -07:00
justcool393
b398420246
i'm gonna hit sneks with a giant foam s
2022-10-11 00:52:01 -07:00
justcool393
456dd43bba
replace "if not FEATURES" with wrapper
2022-10-11 00:33:23 -07:00
justcool393
ab2ab2ddf9
improve wrappers so they can be used with others
2022-10-11 00:33:23 -07:00
justcool393
940f815f84
loudly tell users they can't do this while suspended
2022-10-10 23:15:09 -07:00
Aevann1
00ee6d508d
sneed
2022-10-11 04:00:09 +00:00
Snakes
33d99f86e6
Temporary deletion special case by Carp request.
2022-10-10 23:48:16 -04:00
Snakes
69f1b09a76
Restrict editing old posts (harmonize comments).
2022-10-10 23:40:08 -04:00
Aevann1
c381466389
tweak asset notifs
2022-10-10 14:13:43 +02:00
justcool393
75e593da00
Revert "feature required wrapper"
...
This reverts commit 8700bcc5ee
.
2022-10-10 02:54:47 -07:00
Aevann1
30813fc719
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-10 11:06:32 +02:00
Aevann1
00b045c464
tweak env again
2022-10-10 11:06:27 +02:00
justcool393
f872f734ec
constantify a bunch of things
...
* sign up follow id is now a thing (if not specified will just msg carp instead)
* notification thread id is also a constant now
* blackjackbtz id is a constant, used for i think special PM handling
2022-10-09 23:37:42 -07:00
justcool393
8700bcc5ee
feature required wrapper
2022-10-09 23:16:05 -07:00
Aevann1
356c9f1219
add "(Admin)" to messages sent to users due to admin actions (for clarity to new users)
2022-10-10 08:11:17 +02:00
Aevann1
592c144454
make the button for removing streamers have a constant width
2022-10-10 07:42:04 +02:00
Aevann1
c2a5231ab5
remove trailing slashes in html files (I dont like them)
2022-10-10 07:40:33 +02:00
Aevann1
453f63c0e5
Merge branches 'frost' and 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-10 07:32:33 +02:00
Aevann1
5451b126a6
better system for 502.html
2022-10-10 07:32:08 +02:00
Aevann1
1e8ed876b3
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-10 05:27:37 +00:00
Aevann1
0fcb7a66ed
PCM sneed
2022-10-10 05:26:40 +00:00
Aevann1
1b61d523fa
minor cosmetic change
2022-10-10 07:25:32 +02:00
Aevann1
83aa914865
more consistency in templates
2022-10-10 07:23:02 +02:00
Aevann1
a20f5723bf
make sure all external urls have rel="nofollow noopener noreferrer"
2022-10-10 07:22:18 +02:00
Aevann1
db929c7615
simplify 3 js functions
2022-10-10 06:56:39 +02:00
Aevann1
472aedb14e
remove log items generated by awards for JL3 (since they cant print anymore)
2022-10-10 06:40:48 +02:00
Aevann1
df44613686
make it so when u ban someone for 3 days for example, it appears as "3 days" instead of "3.0 days"
2022-10-10 06:16:43 +02:00
Aevann1
da3593d4af
sneed
2022-10-10 00:00:05 +00:00
justcool393
1111932b8c
remove weird random check if it's an issue we can readd it
2022-10-09 13:13:55 -07:00
justcool393
6d5dcaec9a
fix long post bot lol
2022-10-09 09:40:20 -07:00
Aevann1
e930b5f357
sneed
2022-10-09 16:20:15 +00:00
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