Commit Graph

750 Commits (6aabc98f62f472bf09fcaddde8dd17c2a8c24cda)

Author SHA1 Message Date
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