forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

863 Commits (aa272729f1b8bc0f135484d38596f815af7f244e)

Author SHA1 Message Date
Aevann1 8e257d2376 fix removing posts 2022-10-25 15:41:49 +02:00
Aevann1 a390f3d917 refactor my prev commit 2022-10-25 00:36:54 +02:00
Aevann1 ae3831efb5 another small js fix 2022-10-25 00:02:44 +02:00
Aevann1 9dd9329c32 small js fix 2022-10-25 00:00:19 +02:00
Aevann1 b2317a4563 pause background music when a video or audio is played 2022-10-24 23:16:41 +02:00
Aevann1 2d0879ec3e allow admins to unmute users from modmail 2022-10-24 22:38:54 +02:00
Aevann1 10ba986957 update 2 capys 2022-10-24 22:33:54 +02:00
Aevann1 baba11676a convert all webp to be actually webp 2022-10-24 19:16:51 +02:00
Aevann1 745f0200dd fix marseycapymerchant 2022-10-24 19:16:40 +02:00
Aevann1 b563b7af30 stop using "d-none d-md-block" 2022-10-23 19:57:38 +02:00
Aevann1 80eedbd58d more approval/removal refactors 2022-10-23 18:24:23 +02:00
Aevann1 5d846e64c7 same as last commit 2022-10-23 18:24:22 +02:00
Aevann1 25e50be552 same as last commit 2022-10-23 18:24:22 +02:00
Snakes ab194a6ad2
Add more shit emoji. 2022-10-23 12:14:24 -04:00
Aevann1 9b47ad166b small refactor to approving psots and comments 2022-10-23 17:51:49 +02:00
Aevann1 b83f9bcfb1 fix prev commit 2022-10-23 00:12:46 +02:00
Aevann1 78e1bf9784 clear message field after submitting it 2022-10-23 00:10:36 +02:00
Aevann1 c2bb3303e1 fix prev commit 2022-10-22 23:13:37 +02:00
Aevann1 1b00b172e4 reduce frames on 3 hats 2022-10-22 18:32:19 +02:00
Aevann1 411a92f8f4 sneed 2022-10-21 23:58:32 +00:00
Snakes 333c36f6b7
Update homoween badges, cachebust badges. 2022-10-21 19:57:59 -04:00
justcool393 347a751481 WPD: redirect unlogged users to new site 2022-10-21 16:10:06 -05:00
Aevann1 570f72563f sneed 2022-10-21 19:01:16 +00:00
justcool393 c4b2c6f3f5
html head refactor (#412)
* start html head refactor
this is a bit of a doozy tbh and will probably take a while. the templates are very highly duplicated but not duplicated enough to be an easy little thing

oh well, so it goes.

* some easier html head ones

* add chat, html_head, sign_up_failed_ref, sign_up, submit

* CSP: put it in const.py instead of this weird thing we did before

* fix syntax error

* better call the actual macros

* fix prev commit

* import into settings2

* fix prev commit

* set CSP properly if localhost

* some title fixes i think

* login page

* fix prev commit

* hacky thing to get titles to work i think

* {{stylesheets()}}

* fix prev commit

* title stuff

* cries uncontrollably

* submission fixes i think

* fix prev commit i think

* submission fixes ekfjdhfkdjf

* submission fixes 4

* this may fix submissions idk tbh

* default template: make it a little better on post pages

* default template: some efficiency
2022-10-21 13:39:45 -05:00
Aevann1 5ba33396d5 add tags 2022-10-21 16:51:39 +02:00
Aevann1 824cc1ba81 sneed 2022-10-21 12:00:05 +00:00
Aevann1 2a2141a41f sneed 2022-10-21 11:32:29 +00:00
Aevann1 25c5c8fb7d better js for follower pages 2022-10-21 00:14:28 +02:00
justcool393 5f16356d7a use showToast in some areas where we weren't before 2022-10-20 15:45:56 -05:00
Aevann1 2d41118f39 sneed 2022-10-20 20:00:05 +00:00
Aevann1 5efb51ca57 sneed 2022-10-20 12:00:03 +00:00
Aevann1 c6daf73054 sneed 2022-10-20 08:00:03 +00:00
Aevann1 df1ae154bf sneed 2022-10-20 04:00:06 +00:00
Aevann1 cbfb2c2c99 sneed 2022-10-20 00:00:05 +00:00
Aevann1 e4fb158125 update the WPD app 2022-10-19 23:42:27 +02:00
justcool393 2386a2e04b fix ban and delete modals 2022-10-19 13:00:33 -05:00
Aevann1 457acd43cb decrease the number of owned awards when u give one 2022-10-19 19:54:18 +02:00
Aevann1 8daa066622 remove duplicate sidebar image 2022-10-19 19:13:26 +02:00
Aevann1 2c2128fc60 sneed 2022-10-19 16:00:02 +00:00
Snakes 3209ccc67e
Fix brooksannoyed emoji format.
A tacit assumption in many parts of the emoji code is that valid
emoji end with .webp. This has led to some absurdities like GIFs with
.webp extensions. However, here we run `gif2webp` over the GIF, which
also reduces its size substantially.
2022-10-19 10:49:32 -04:00
justcool393 68e1a51869 add brooksannoyed emoji 2022-10-19 09:39:38 -05:00
Aevann1 df4540d367 sneed 2022-10-18 16:00:03 +00:00
Snakes 7443ea04e4
WPD: add image-only migration asset. 2022-10-18 08:53:07 -04:00
Aevann1 408cb72baa small css change for patting 2022-10-18 14:51:58 +02:00
Aevann1 7d6f7c9a5e re-add 2 sidebar images (with less frames) 2022-10-18 13:57:00 +02:00
Aevann1 9e6fe3063f sneed 2022-10-18 08:00:02 +00:00
justcool393 96d63ed5de banner text and also rename variable 2022-10-17 18:40:09 -05:00
Aevann1 44fca7f086 ripbozo 2022-10-17 21:13:33 +02:00
Aevann1 9358b75027 fix prev commit 2022-10-17 20:22:29 +02:00
Aevann1 4a2c5e3392 cosmetic change 2022-10-17 20:20:42 +02:00
Aevann1 3ee85d524b limit height of bio in popover to 50vh 2022-10-17 10:51:16 +02:00
Aevann1 ba3348c92a fix animated sidebar images 2022-10-17 10:33:38 +02:00
Aevann1 24f68bc02f sneed 2022-10-17 00:00:06 +00:00
Snakes 340ffdff76
Fix error toast on award modal success. 2022-10-16 18:22:00 -04:00
Snakes 1114590cc7
Suppress log on first award modal selection. 2022-10-16 18:14:50 -04:00
Aevann1 00bfa7bbea sneed 2022-10-16 20:20:08 +00:00
Aevann1 da49350b2b increase margin for "forgot password?" 2022-10-16 10:26:19 +02:00
Aevann1 78fffccef4 sneed 2022-10-16 01:06:03 +00:00
Aevann1 35655659e2 remove broken sidebar image 2022-10-15 19:21:32 +02:00
Aevann1 9b91862cab compress all existing banners/sidebar/badges into lower than 500KB 2022-10-15 12:38:12 +02:00
Aevann1 ab1f9b1351 sneed 2022-10-15 08:00:05 +00:00
Aevann1 c29b7e0871 remove chud rotating pfps 2022-10-15 08:57:28 +02:00
Aevann1 c49ae42205 fix for joan 2022-10-14 20:41:03 +02:00
justcool393 85d2994cce pin_post -> pinPost 2022-10-14 11:34:31 -07:00
Aevann1 2411053d55 add tiered pins 2022-10-14 20:28:20 +02:00
justcool393 df1eedc8d9
button1 button2 2022-10-14 11:20:23 -07:00
Aevann1 f9840d5c71 sneed 2022-10-14 16:00:08 +00:00
justcool393 09027e51d7 reply to edit 2022-10-14 08:43:58 -07:00
justcool393 6efb9b41b4 use createXhrWithFormKey in the lottery 2022-10-14 06:07:47 -07:00
justcool393 bb9ab04a90 spaces -> tabs 2022-10-14 06:07:47 -07:00
justcool393 0eaed637be use createXhrWithFormKey in more places 2022-10-14 06:07:47 -07:00
justcool393 f22ef3a7e5 refactor post_toast_callback a bit and create createXhrWithFormKey function 2022-10-14 06:07:47 -07:00
justcool393 6884774906 showToast adjusments so we can use toast 2 and adjust them for ALMOST all of them 2022-10-14 06:07:47 -07:00
justcool393 c12f5ae43a use showToast in most places that we can 2022-10-14 06:07:47 -07:00
Aevann1 6c2f2c5404 fix expanded images 2022-10-14 13:44:03 +02:00
justcool393 2dd74d3acd don't constantly check for reposts when it's obvious there can't be one
we currently spam the /is_repost api on every single character change in the URL box even though there is no way these URLs would ever be submitted to the site

introducing a frankly conservative limit to where we start actually pinging both the api and (on the backend) the database for reposts may help in some cases

the current constant was chosen by taking the length of "http://" and adding 2 to it
2022-10-14 03:27:45 -07:00
justcool393 e4cbe4178a tabify 2022-10-14 02:50:39 -07:00
justcool393 29af9dbbf4 move fn 2022-10-14 02:50:39 -07:00
justcool393 7620d8d8cd show the error toast on errors, not the success toast 2022-10-14 02:50:39 -07:00
justcool393 3a11cfd603 rename classname to className 2022-10-14 02:50:39 -07:00
justcool393 b06ee9ac9b refactor of post_toast 2022-10-14 02:50:39 -07:00
justcool393 2559794135 Move stuff we put in bootstrap.js to a new core.js file 2022-10-14 02:50:39 -07:00
justcool393 e511fec4aa i don't know why this committed 2022-10-13 08:15:33 -07:00
justcool393 f7ca9aa248 fix the weird text scrolling bug (hopefully)
* this seemed like an odd floating point bug with scrollTo(), maybe? i think this should fix it
2022-10-13 08:11:47 -07:00
Aevann1 caccb2307d fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2887592?context=8#context 2022-10-13 16:25:10 +02:00
Aevann1 944eab9985 sneed 2022-10-12 12:00:04 +00:00
justcool393 ad52c49782 put details EVERYWHERE
why are there 25 of these...
2022-10-12 01:25:32 -07:00
Aevann1 db0fd8a0e9 sneed 2022-10-12 08:09:03 +00:00
Aevann1 07043873b9 WPD: banner sneed. 2022-10-12 05:57:58 +00:00
Aevann1 4ccbc5a6b5 upscale ripbozo emoji 2022-10-12 07:12:34 +02:00
Aevann1 dac9fabccd dont disable the button in the shop (to make buying en masse either) 2022-10-11 20:22:14 +02:00
Aevann1 96cdda57f7 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-11 19:13:53 +02:00
Aevann1 55eabc0871 give user an error in the UI if they try to submit more than 4 files 2022-10-11 19:13:50 +02:00
Aevann1 ac8db50450 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-11 16:41:21 +00:00
Aevann1 e003571368 sneed 2022-10-11 16:00:07 +00:00
justcool393 c0acb1722b abort a bunch of stuff where we manually returned JSON 2022-10-11 08:40:19 -07: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
Aevann1 00ee6d508d sneed 2022-10-11 04:00:09 +00: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 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 da3593d4af sneed 2022-10-10 00:00:05 +00:00
Nekobit abef674662
Main dev, Login, signup 2022-10-09 19:19:48 -04:00
Aevann1 e930b5f357 sneed 2022-10-09 16:20:15 +00:00
justcool393 4baf7cfa42 make text gold when owned all hats 2022-10-08 10:44:39 -07:00
Aevann1 1236d7bcd5 fix "remove" button in /live 2022-10-08 08:13:35 +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
Snakes 3949670088
WPD: sidebar update for flair & rule changes. 2022-10-08 01:10:39 -04:00
Aevann1 398c841632 fix the ruckus image on dark theme 2022-10-08 03:26:50 +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
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
Aevann1 182784f097 sneed 2022-10-07 02:57:38 +00:00
Aevann1 3ecb1b4f9a generate a mod log for CCing or unCCing posts and notify OP 2022-10-07 04:48:31 +02:00
Aevann1 01071a20e8 add banner_thread to PCM 2022-10-07 03:32:08 +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 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 a2b0d2f824 sneed 2022-10-06 12:00:08 +00: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
Aevann1 94e441a23b decrrease max-width for a bunch of modals from 90% to 85% 2022-10-06 03:01:52 +02:00
Snakes 3f338fc3f2 WPD: add login required explanatory text. 2022-10-05 19:17:42 -04:00
Aevann1 9134a91481 add jigsaw tier 2022-10-06 00:47:12 +02:00
Aevann1 d57d4c9864 swap banner for PCM 2022-10-06 00:19:06 +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
Aevann1 43a33b1359 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-04 20:36:35 +00: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 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
Aevann1 4a3866bd7c WPD: banners sneed. 2022-10-02 19:29:09 +00:00
Aevann1 2c989d5c28 remove dramaphobic holier-than-thou sidebar img 2022-10-02 12:57:36 +02: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
Aevann1 b485cc0c8b sneed 2022-10-01 15:00:03 +00:00
Aevann1 9b64b49175 make suggested emojis bigger on desktop 2022-10-01 11:45:52 +02:00
Aevann1 739624c5d3 sneed 2022-10-01 04:00:04 +00:00
Aevann1 e01ce5e929 sneed 2022-10-01 02:00:03 +00: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 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
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 9ce83c405f sneed 2022-09-29 15:00:04 +00:00
Aevann1 950f5b818e sneed 2022-09-29 12:00:05 +00:00
Aevann1 76921ac740 limit expanded image width on desktop to 80% 2022-09-29 12:27:11 +02:00
Aevann1 09cc43060d
add hole mod logs (#380) 2022-09-29 11:39: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
Aevann1 5416cd09e2 sneed 2022-09-29 03:00:02 +00:00
Aevann1 01c9b09ccb sneed 2022-09-28 23:00:03 +00:00
Aevann1 d8aa64e9ad sneed 2022-09-28 18:00:03 +00:00
Outrun Colors aff0bde0a8 Merge branch 'frost' of github.com:Aevann1/rDrama into frost 2022-09-26 21:19:52 -05:00
Outrun Colors c0d8567013
Add to draft when selecting an emoji 2022-09-26 21:19:48 -05:00
Aevann1 dbbb5aa7d5 sneed 2022-09-27 02:00:05 +00:00
Aevann1 15a9641d35 sneed 2022-09-27 01:30:04 +00:00
Aevann1 32893a68dc sneed 2022-09-26 09:00:02 +00:00
Aevann1 4364381c0b sneed 2022-09-26 07:00:04 +00:00
Aevann1 c9898b2431 WPD: add more sidebars. 2022-09-26 05:47:19 +00:00
Snakes 742093aeae
Revert "Revert "WPD: enable rotating sidebar art & admin thread.""
This reverts commit 74db58e54b.
2022-09-26 01:19:37 -04:00
Aevann1 f9edd5dfce sneed 2022-09-26 04:00:05 +00:00
Aevann1 c547f10498 make it possible to click on the spider 2022-09-26 04:52:16 +02:00
Aevann1 338726f225 convert 1 image to webp 2022-09-26 03:53:30 +02:00
Aevann1 c424a8180f convert 2 images to webp 2022-09-26 03:51:39 +02:00
Aevann1 7bdaefe654 convert 4 images to webp 2022-09-26 03:47:53 +02:00
Aevann1 0a667a0f8d convert an emoji to webp 2022-09-26 03:46:37 +02:00
Aevann1 05079a40f4 limit banners to 1MB 2022-09-26 03:41:03 +02:00
Aevann1 4c26a7cd02 limit sidebar and badge images to 1MB 2022-09-26 03:27:31 +02:00
Snakes 1e6908417e
More compact datetime format in table timestamps. 2022-09-25 17:53:42 -04:00
Aevann1 5def3f662a sneed 2022-09-25 17:00:03 +00:00
Aevann1 334705fae1 sneed 2022-09-25 07:00:02 +00:00
Aevann1 a04b4473d4 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-25 03:47:11 +02:00
Outrun Colors 695159052b
Add typing debounce/enable quoting 2022-09-24 17:05:50 -05:00
Aevann1 ee204817ae sneed 2022-09-24 21:00:05 +00:00
Aevann1 3e2012e43a sneed 2022-09-24 19:00:04 +00:00
Aevann1 ee20324eff remove bad banner 2022-09-24 20:30:48 +02:00
Snakes aa4cbc173f
Remove yarn build artefacts from index. 2022-09-24 00:45:10 -04:00
Outrun Colors 2282412327
Fix issue for iphone 2022-09-23 23:43:36 -05:00
Outrun Colors 29034785f8
Minor styling changes 2022-09-23 23:34:56 -05:00
Outrun Colors 9242269bac
Tick version 2022-09-23 23:15:30 -05:00
Outrun Colors 6dae286e19 Minor chat styling issue 2022-09-23 23:08:35 -05:00
outruncolors 484de39566
[DO NOT MERGE] Chat restructure (#360)
* Create new subdirectory for chat-related stuff

* Gitignore

* Have new code show up on chat

* Have new code show up on chat

* Fix config issue

* More script stuff

* Create UserInput components

* More chat changes

* More updates to chat

* Add chat:watch script

* Move up state and pass down

* Match up existing functionality entirely

* Match up existing functionality entirely

* Send a message when hitting Enter

* feature based directories

* First crack at emoji drawer

* Leave everything in a fucked up state ugh

* Leave it in a better state

* Stop for the night

* Decouple by abstract chat functionality to provider

* Wait a minute...

* Small chat restructure

* Prepare for notifications

* Add root context

* Flash number of messages

* Read this and u die

* Add quote functionality

* Couple tweaks

* Shallowenize the features dir/

* Add activity list

* Ch-ch-ch-ch-ch-changes

* Enable moving drawer

* Hover style on activities

* UserList changes

* Add emoji processing logic

* Duhhhh

* Scroll to top when changing query

* Put the emoji in the drawer

* Improve emoji drawer

* Add emoji genres

* Do not show activities

* Add feature flag technology

* Fix issue where own messages were triggering notifications

* Adjust startup scripts

* Responsive part 1

* Styling changes for emoji genres

* More emoji drawer styling

* Add QuickEmojis

* Re-add classnames

* Set version

* Modify build script

* Modify build script

* Mild renaming

* Lots of styling changes

* Leggo.
2022-09-23 22:49:40 -05:00
Aevann1 1e97de3669 sneed 2022-09-23 23:00:05 +00:00
Snakes 7b9ac8e13b
Fix Thin badge popover sizing; expand assetcache. 2022-09-23 18:38:53 -04:00
Aevann1 97dcffcd76 sneed 2022-09-23 15:00:04 +00:00
Aevann1 dc892cb208 sneed 2022-09-23 14:00:06 +00:00
Aevann1 284abaf9e8 sneed 2022-09-23 03:00:04 +00:00