Commit Graph

15465 Commits (55b08c3c47e11189151c2b1432f753ba3a0f4eeb)

Author SHA1 Message Date
justcool393 e5de8cc66c
add mod action if JL3 kicks post from hole (#377)
* add mod action if JL3 kicks from hole

* don't be dumb
2022-09-27 18:09:08 -04:00
Aevann1 0b5293d8e7 test stagger again 2022-09-27 12:56:57 +02:00
Aevann1 85653b0438 testing worker reloading 2022-09-27 12:55:20 +02:00
Aevann1 0686cdbcf6 remove testing print statement 2022-09-27 12:52:48 +02:00
Aevann1 c882b366a1 testing smth 2022-09-27 08:41:23 +02:00
Snakes 9914fd215c
Fix leaderboard_thread dispatched as blocking. 2022-09-27 02:32:42 -04:00
Snakes d0d67085e3
Rebuild assetcache on inotify events. 2022-09-27 02:07:32 -04:00
Outrun Colors 430cbe676c
Nest if condition in chat 2022-09-27 00:31:23 -05:00
Outrun Colors 300a5164f6
Add DMing to chat 2022-09-27 00:15:22 -05:00
Snakes 77ed5728c4
Restore mistakenly removed commenting logic. 2022-09-26 22:44:06 -04: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
Snakes 528d26b094
Fix /marseys missing listdir import.
Apparently the /marseys route was getting its listdir from one of
the `from os import listdir` removed in fa4dee419d. static.py
already has an import os, so we just use the fully qualified
os.listdir.
2022-09-26 21:44:34 -04:00
Aevann1 15a9641d35 sneed 2022-09-27 01:30:04 +00:00
Outrun Colors c6fe563dfc Merge branch 'frost' of github.com:Aevann1/rDrama into frost 2022-09-26 20:28:44 -05:00
Outrun Colors 2e9c774a5d
Re-add expanded image and emojimodal 2022-09-26 20:28:39 -05:00
Aevann1 77c68554d0 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-27 03:24:23 +02:00
Aevann1 faf4403e26 check for duplicate images when admigger threads for banners/sidebar/badges are used 2022-09-27 03:24:20 +02:00
Aevann1 cc85cab01d make badges 300px instead 2022-09-27 02:48:03 +02:00
Aevann1 fa4dee419d remove unnecessary imports 2022-09-27 02:47:52 +02:00
Aevann1 6687e89e1c Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-27 00:27:05 +00:00
Aevann1 9a6dda2e1c fix syntax error in last commit 2022-09-27 02:22:06 +02:00
Aevann1 6b01467102 check for existing subscription 2022-09-27 02:19:52 +02:00
Aevann1 574040c3f5 add furry and pony image hosts 2022-09-26 11:02:39 +02:00
Aevann1 32893a68dc sneed 2022-09-26 09:00:02 +00:00
Aevann1 72e605eabb Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-26 10:58:46 +02:00
Aevann1 ffa83ad3e7 disallow permabanned hole mods from pinning or unpinning 2022-09-26 10:58:43 +02:00
Aevann1 4364381c0b sneed 2022-09-26 07:00:04 +00:00
Snakes 0b416dcf2c
Revise marsify logic. 2022-09-26 02:09:26 -04:00
Aevann1 c9898b2431 WPD: add more sidebars. 2022-09-26 05:47:19 +00:00
Snakes dcf689527b
WPD: restrict rotating sidebars to logged-in. 2022-09-26 01:43:57 -04: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 e474a5f42d go from dutch to greek in /live 2022-09-26 07:08:29 +02:00
Aevann1 0ee100895a fix prev commit 2022-09-26 06:24:52 +02:00
Aevann1 305f17a8aa test yarn 2022-09-26 06:20:27 +02:00
Aevann1 69ec89375f fix tall emojis in emoji modal 2022-09-26 06:17:52 +02:00
Aevann1 50794022f6 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-26 06:01:29 +02:00
Aevann1 37e1f25624 make using proxies only happen in 3 circumstances again 2022-09-26 06:01:25 +02:00
Aevann1 f9edd5dfce sneed 2022-09-26 04:00:05 +00:00
Aevann1 9d3c337eb3 500 -> 502 2022-09-26 05:03:01 +02:00
Aevann1 a33c06f9e0 reduce margin 2022-09-26 05:02:29 +02:00
Aevann1 38a829f1e4 make description better 2022-09-26 05:01:53 +02:00
Aevann1 ba0ca7649f stop misleading ppl in 502.htmo 2022-09-26 05:00:59 +02:00
Aevann1 c547f10498 make it possible to click on the spider 2022-09-26 04:52:16 +02:00
Aevann1 fea1f276d9 log /live errors 2022-09-26 04:46:56 +02:00
Aevann1 f2af76c905 add proxies on hcaptcha requests 2022-09-26 04:40:58 +02:00
Aevann1 968c55f8fc add proxies on discord requests 2022-09-26 04:40:46 +02:00
Aevann1 517e62e61b add proxies on pushshift requests 2022-09-26 04:40:31 +02:00
Aevann1 0a83feb966 add proxies on lain.la requests 2022-09-26 04:40:21 +02:00
Aevann1 6158cf632a add proxies on discord requests 2022-09-26 04:40:08 +02:00
Aevann1 7e4e98887b remove proxies from cloudflare 2022-09-26 04:39:03 +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
Snakes b0529716bc Remove voluntary marsify toggle. 2022-09-25 21:32:36 -04:00
Aevann1 4c26a7cd02 limit sidebar and badge images to 1MB 2022-09-26 03:27:31 +02:00
Aevann1 2dc7805df8 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-26 03:15:41 +02:00
Aevann1 8fcc91a43e reduce resize values 2022-09-26 03:15:36 +02:00
Snakes 1e6908417e
More compact datetime format in table timestamps. 2022-09-25 17:53:42 -04:00
justcool393 a8e74d3355
delete the spider badge if unspidering, not the marsify one (#374) 2022-09-25 16:17:11 -04:00
Aevann1 5def3f662a sneed 2022-09-25 17:00:03 +00:00
Aevann1 fca9cae3d8 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-25 13:34:36 +02:00
Aevann1 e4f14c57de make holes cost 50k again 2022-09-25 13:34:34 +02:00
Aevann1 3435389807 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-25 11:30:58 +00:00
Aevann1 a2f578c7b7 fix exploit 2022-09-25 13:30:22 +02:00
Aevann1 3339baee54 fixing /live 2022-09-25 13:28:53 +02:00
Aevann1 8269b0dc0f make it look better 2022-09-25 09:09:48 +02:00
Aevann1 334705fae1 sneed 2022-09-25 07:00:02 +00:00
Aevann1 5a97a6f6e6 allow pcm /live to enter channel link 2022-09-25 08:45:19 +02:00
Aevann1 8a85c2413c add consent 2022-09-25 08:31:46 +02:00
Aevann1 a28a4664c2 huh? 2022-09-25 08:30:49 +02:00
Aevann1 9d9783fe0e fix 2022-09-25 08:27:58 +02:00
Aevann1 10d09f076c fix 2022-09-25 08:18:03 +02:00
Aevann1 03f9a69a0d same as last commit 2022-09-25 08:15:30 +02:00
Aevann1 10d06b7ba9 same as last commit 2022-09-25 08:15:17 +02:00
Aevann1 c79067f7f1 make it possible to add channels by name 2022-09-25 08:14:21 +02:00
Aevann1 164b583e7c added "watching" in /live 2022-09-25 08:00:02 +02:00
Aevann1 8d6937e237 add obese 2022-09-25 07:46:02 +02:00
Aevann1 13a3d5c27e fix 2022-09-25 07:45:02 +02:00
Aevann1 f8fccd34db allow me to add channels 2022-09-25 07:43:44 +02:00
Aevann1 4ebd8fb552 limit adding channels to kip 2022-09-25 07:42:29 +02:00
Aevann1 92bdd67884 debug 2022-09-25 07:31:55 +02:00
Aevann1 fc2758df50 fix 2022-09-25 07:24:59 +02:00
Aevann1 63a7183f7e fix /live regex 2022-09-25 06:53:53 +02:00
Aevann1 e9e8b5cc5a fix grammar (i think) 2022-09-25 06:45:22 +02:00
Aevann1 2b0a798fec fix 2022-09-25 06:40:19 +02:00
Aevann1 5d30c3a632 fix 2022-09-25 06:38:43 +02:00
Aevann1 78f0721bb0 fix 2022-09-25 06:37:16 +02:00
Aevann1 695fca5d35 fix 2022-09-25 06:35:56 +02:00
Aevann1 015074c4ca the fuck 2022-09-25 06:33:55 +02:00
Aevann1 97b2e09b65 fix 2022-09-25 06:31:59 +02:00
Aevann1 351a7ca17b fix 2022-09-25 06:27:28 +02:00
Aevann1 230b71c19b same as last commit 2022-09-25 06:22:33 +02:00
Aevann1 4212cfa0b2 testing on pcm 2022-09-25 06:11:06 +02:00
Aevann1 705d3d9e4b Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-25 05:44:00 +02:00
Aevann1 ea7803ef44 testing 2022-09-25 05:43:57 +02:00
Outrun Colors 5e180fc856 Merge branch 'frost' of github.com:Aevann1/rDrama into frost 2022-09-24 22:42:00 -05:00
Outrun Colors ba19d3aaa7
Censor quoted text 2022-09-24 22:41:57 -05:00
Aevann1 9ebea2c6e9 fix 2022-09-25 05:36:54 +02:00
Aevann1 a83821ebdb testin on devrama 2022-09-25 05:36:11 +02:00
Aevann1 8ce942dcc0 testing on devrama 2022-09-25 05:34:28 +02:00
Aevann1 8319aefe1c get it ready for pcm 2022-09-25 05:29:38 +02:00
Aevann1 dd0f8fbed7 proxy all requests we make 2022-09-25 05:23:50 +02:00
Aevann1 c2a189012b redirect instead of rendering 2022-09-25 05:21:41 +02:00
Aevann1 962cf66bcd flush printed shit 2022-09-25 05:17:15 +02:00
Outrun Colors 0620081497 Merge branch 'frost' of github.com:Aevann1/rDrama into frost 2022-09-24 22:13:46 -05:00
Outrun Colors c8b574906b
Fix button borders in dark theme 2022-09-24 22:13:42 -05:00
Aevann1 ae3b81bb82 fix 2022-09-25 05:11:18 +02:00
Aevann1 9eeb77073f fix prev commit 2022-09-25 05:10:32 +02:00
Aevann1 f4b41f0049 make addition and removal of channels happen instantly (testing in devrama) 2022-09-25 05:08:44 +02:00
Aevann1 ba19830075 fix last commit 2022-09-25 04:47:05 +02:00
Aevann1 c0c45d9e9a same as last commit 2022-09-25 04:45:22 +02:00
Aevann1 dd7145410f add spider toggle 2022-09-25 04:44:19 +02:00
Aevann1 a3a7ec6296 improve JC's previous cc PR 2022-09-25 04:32:51 +02:00
Aevann1 a04b4473d4 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-25 03:47:11 +02:00
Snakes aea590dda1
Fix syntax error in 8b722f2075. 2022-09-24 19:39:30 -04:00
justcool393 8b722f2075
don't leak usernames with deflectors (#372)
cope marsey xd
2022-09-24 19:34:33 -04:00
Outrun Colors 4bcebf1e24 Merge branch 'frost' of github.com:Aevann1/rDrama into frost 2022-09-24 17:09:59 -05:00
Outrun Colors b2d185ada0
Fix that 2022-09-24 17:09:54 -05:00
official-techsupport bd8b96c1f5
fix the TLD matching to exclude numbers (#371) 2022-09-24 18:06:53 -04: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
Outrun Colors 6b117decb8
Tick version 2022-09-24 15:36:56 -05: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 6fceaf0e6f
Add exile time to sub exiles listing. 2022-09-24 14:18:00 -04:00
Snakes 0a05562f8c
Order sub exile/etc listings reverse chronological. 2022-09-24 14:11:48 -04:00
Snakes a3664e252c
assetcache: change asset_siteimg macro to filter. 2022-09-24 03:14:20 -04:00
Snakes 98936efe60
assetcache: apply to all CSS and JS assets. 2022-09-24 03:04:06 -04:00
Snakes ac66eb07e9
Implement hash-based cachebusting module.
Adds the files.helpers.assetcache module, which runs on worker startup
to compute CRC digests of files in given asset directories and provides
a Jinja filter to create cachebusted URLs based on those hashes.
This alleviates the need to increment cachebusting counters in query
strings entirely for files it is applied to.
2022-09-24 02:40:26 -04:00
Aevann1 a8c9851b94 sneed 2022-09-24 05:31:49 +00:00
Outrun Colors 34a515ca1f
Always scroll to the bottom for now 2022-09-24 00:00:20 -05:00
Outrun Colors 693457a393
Scroll to the bottom a single time 2022-09-23 23:50:21 -05: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
Snakes 1fe02b7743
Chat rework deployment infra fixes. 2022-09-24 00:26:44 -04: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 c12be1e028 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-24 03:41:38 +02:00
Aevann1 0c182585c1 save ragnar on WPD 2022-09-24 03:41:35 +02:00
justcool393 a51bfa3d4c
country club leak fix (#370) 2022-09-24 02:37:32 +02:00
Aevann1 550e5636e9 same as last commit 2022-09-24 02:24:35 +02:00
Aevann1 1e1aca0fb5 fix width 2022-09-24 02:24:27 +02:00
Aevann1 677a31f80d strip input [/live] 2022-09-24 02:21:32 +02:00
Aevann1 33c715b89e fix /live 2022-09-24 02:20:02 +02:00
Aevann1 2baae488d1 fix /live 2022-09-24 02:18:24 +02:00
Aevann1 337e27ef84 fix 2022-09-24 02:16:21 +02:00
Aevann1 b32a399925 fix 2022-09-24 02:11:40 +02:00
Aevann1 d2021c3b94 add "are you sure?" to /live 2022-09-24 02:07:43 +02:00
official-techsupport 0ff839d396
Accept any TLDS (#369) 2022-09-24 02:04:09 +02:00
justcool393 a1868750ee
show if user is shadowbanned for admins (#368)
there's really no other indication in the UI except the unshadowban button
2022-09-24 02:03:57 +02:00
Aevann1 d1a8aeb3db allow some ppl to have spider permenantly 2022-09-24 02:02:27 +02:00
Aevann1 95438cf9fd Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-24 02:00:47 +02:00
Aevann1 13f84a778e change wording 2022-09-24 02:00:43 +02: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
Snakes 74da6e602d Revert "PCM /live: fix hover border resizing table rows."
This reverts commit baf93e4854.

Apparently the resizing was desired behavior.
2022-09-23 17:49:51 -04:00
Snakes 2e464e307d
Make forced banned hat respect unban_utc. 2022-09-23 17:47:32 -04:00
Snakes baf93e4854
PCM /live: fix hover border resizing table rows. 2022-09-23 17:42:21 -04:00
Snakes fc8c8b08a0
Add "Upvoted" post/comment lists on profile. 2022-09-23 17:33:46 -04:00
Aevann1 b0d1b1f157 fix /live ordering 2022-09-23 23:09:19 +02:00
Aevann1 84f4256c81 fix last commit 2022-09-23 23:01:38 +02:00
Aevann1 1b3fa8a63e same as last commit 2022-09-23 22:59:45 +02:00
Aevann1 a63d4940ae fix PCM /live list 2022-09-23 22:58:10 +02:00
Snakes 1cf5ec9e0d Revert "PCM: update live list in background."
This reverts commit 3acdb44a98.
2022-09-23 15:41:04 -04:00
Aevann1 618ae1122f Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-23 20:30:19 +02:00
Aevann1 1af335c9b3 i accidentially removed the /followers route lol 2022-09-23 20:30:17 +02:00
Aevann1 cca5ec8b1a Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-23 17:04:35 +00:00
Aevann1 08f9045818 remove linefeed at the end 2022-09-23 17:02:09 +02:00
Aevann1 97dcffcd76 sneed 2022-09-23 15:00:04 +00:00
Aevann1 5740ed3f00 fix capitalization 2022-09-23 16:56:01 +02:00
Aevann1 c7b41f3b57 update pin/unpin award description 2022-09-23 16:43:45 +02:00
Aevann1 186dc7a054 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-23 16:41:59 +02:00
Aevann1 f9d1df54bf make pin and unpin award work on a basic of 6 hours (unlike posts which is 1 hour) 2022-09-23 16:41:56 +02:00
Aevann1 dc892cb208 sneed 2022-09-23 14:00:06 +00:00
Aevann1 bb4e21b2f0 fix utm regex 2022-09-23 15:23:11 +02:00
Aevann1 0db9bf14b9 add the expiry code for spider award lol 2022-09-23 15:15:56 +02:00
Aevann1 ea34a00571 fix collapsing happening in main notif page 2022-09-23 15:12:20 +02:00
Aevann1 ebf83048be add /blockers (thx JC <3) 2022-09-23 14:58:33 +02:00
Aevann1 340f9e31fe limit asset perms and generate modlog for updating 2022-09-23 14:51:57 +02:00
Aevann1 67dcc87599 n-word 2022-09-23 14:39:59 +02:00
Aevann1 ce4d2ada9e fix the @tax situation 2022-09-23 14:36:10 +02:00
Aevann1 d1bc2f3468 integrate check_ban_evade into check_for_alts 2022-09-23 14:33:58 +02:00
Aevann1 ba32ac8f3a cosmetic change 2022-09-23 14:18:24 +02:00
Aevann1 7392b37d86 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-23 14:09:35 +02:00
Aevann1 80f661f7fb remove unnecessary check 2022-09-23 14:09:33 +02:00
justcool393 376566e723
return 404 if oauth app doesn't exist (#366)
fixes an AttributeError if the oauth app doesn't exist
2022-09-23 14:08:54 +02:00
Aevann1 4f637d9538 fix 500 error 2022-09-23 14:08:31 +02:00
Aevann1 1de6ec7dc7 minor cosmetic changes in /live 2022-09-23 14:06:17 +02:00
Aevann1 182b851e58 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-23 14:01:46 +02:00
Aevann1 08e4d04c92 minor change to silence warnings 2022-09-23 14:01:42 +02:00
Aevann1 284abaf9e8 sneed 2022-09-23 03:00:04 +00:00
Snakes 3efaedbbec
Temporarily fix permas propagating as shadows. 2022-09-22 20:45:59 -04:00
Snakes 3acdb44a98
PCM: update live list in background. 2022-09-22 19:39:26 -04:00
Aevann1 af2235dc8e remove bad banners 2022-09-23 01:02:00 +02:00