forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

9557 Commits (905b07043709f12f26b95b14f014d2268ec5cf3c)

Author SHA1 Message Date
Aevann1 eb1af8a69f remove some chained non-breaking spaces 2022-10-29 04:21:06 +02:00
justcool393 6c6a578439 stickies: use permission constant on submission.html 2022-10-28 20:54:39 -05:00
Aevann1 6b0fe97a85 remove using invisible character as spacing 2022-10-29 03:31:25 +02:00
Aevann1 7915d9f0aa fix bugs resulting from fdd608532b 2022-10-29 03:26:46 +02:00
Aevann1 d1f01d2dd7 remove some spacing insanity in login/signup pages 2022-10-29 03:01:59 +02:00
Aevann1 aec78a3b05 get rid of all header classes 2022-10-29 02:55:49 +02:00
Aevann1 efc390e0c0 get rid of some header classes 2022-10-29 02:52:11 +02:00
Aevann1 de8be8dd0e get rid of <pre> being used as vertical spacing 2022-10-29 02:47:48 +02:00
Aevann1 edbbc5b672 convert the last remaining 2 <a> tags without href 2022-10-29 02:00:27 +02:00
Aevann1 5719688178 use tabs, not spaces 2022-10-29 01:39:31 +02:00
Aevann1 fdd608532b add type="button" to all <button> tags 2022-10-29 01:35:14 +02:00
Aevann1 5eb2eb5035 remove role="button" from all <a> tags 2022-10-29 01:32:31 +02:00
Aevann1 2019f68217 same as last commit 2022-10-29 01:31:39 +02:00
Aevann1 11ad9a4a0a remove role="button" from button tags 2022-10-29 01:28:17 +02:00
Aevann1 582a29232b convert all <a> tags without a href, except 2 in award_modal.html 2022-10-29 01:27:38 +02:00
Aevann1 a33680dc22 convert more <a> tags to <button> tags 2022-10-29 01:09:06 +02:00
Aevann1 6c32916f1a convert more <a> tags to <button> tags 2022-10-29 00:51:10 +02:00
Aevann1 b66f9fdb0a convert 1 a tag to a button, and change native button css 2022-10-29 00:30:28 +02:00
Aevann1 86beaad37c remove unused shit in profile template 2022-10-29 00:26:06 +02:00
Aevann1 649fc2414d disable adding admins on WPD 2022-10-29 00:14:59 +02:00
Aevann1 067a83b1b1 remove 2 weird role="button" 2022-10-28 22:19:05 +02:00
Aevann1 f41b09cc07 small change to /admin/app 2022-10-28 22:13:58 +02:00
Aevann1 062e2523b5 change some <a> tags to <button> 2022-10-28 22:08:37 +02:00
justcool393 f5b40ebbbc leaderboard: qol: link to relevant user pages for posts and comments 2022-10-28 12:36:18 -07:00
justcool393 b9b084ca1e fix more templating errors 2022-10-28 12:36:18 -07:00
justcool393 efd63b8666 leaderboards: show user as last row if not in lb 2022-10-28 12:36:18 -07:00
justcool393 3aac8f1f24 leaderboard: fix some templating bugs i introduced 2022-10-28 12:36:18 -07:00
justcool393 8873171f5c leaderboards: refactor leaderboards to their own class
right now, leaderboards are complex enough that they ought to be upgraded to at least a second class thing.
this commit provides an *okay* implementation of a per-request leaderboard
there are many things to be done, including caching, persistence, etc
i don't like this like 80 parameter __init__ but it's what i've got without overengineering it imo
this is potentially already overdoing it
2022-10-28 12:36:18 -07:00
justcool393 0258bfb356 i've done it... i've really done it 🥲
i've made the leaderboard code less crap all around
to those who wrote this old code
i forgive you
2022-10-28 12:36:18 -07:00
justcool393 09c3ac2b65 jinja2 doesn't has getattr but we can subscript apparently
weird but ok
2022-10-28 12:36:18 -07:00
justcool393 ad58490dd0 call the leaderboard, not LEADERBOARDS and also do it correctly 2022-10-28 12:36:18 -07:00
justcool393 db587a2501 i forgot a bloody comma ok 2022-10-28 12:36:18 -07:00
justcool393 0b61a83270 this leaderboard code is affecting my mental sanity
idk maybe this'll fix it it's 1 am who knows anything about coding anymore
2022-10-28 12:36:18 -07:00
justcool393 67768bf44d fix prev commit 2022-10-28 12:36:18 -07:00
justcool393 b2cfabf244 i don't think the person who worked on either this template or the leaderboard python function has ever thought about the idea of code reuse
(make this template smaller by 3/4ths)
2022-10-28 12:36:18 -07:00
Aevann1 aadd054bc3 remove role="button" from button HTML tags 2022-10-28 21:30:08 +02:00
Aevann1 4a43bc239d remove formatting buttons (useless bloat) 2022-10-28 21:09:56 +02:00
Aevann1 6271588056 small cosmetic change 2022-10-28 19:59:56 +02:00
Aevann1 5d9ddcc0f4 fix quoting on selection 2022-10-28 01:19:44 +02:00
Aevann1 1a35e2ec6a refactor banned domains 2022-10-28 00:37:29 +02:00
Aevann1 2937872035 minor grammar change 2022-10-27 17:43:48 +02:00
Aevann1 98bae12134 show the time on which ppl blocked/followed the hole 2022-10-27 17:38:54 +02:00
Aevann1 8e84e3893e same as last commit 2022-10-27 17:38:39 +02:00
Aevann1 28cf9b66f9 minor grammer change + delete unused template 2022-10-27 17:37:40 +02:00
Aevann1 35ea423f35 cosmetic change 2022-10-27 10:38:11 +02:00
Snakes d626ae7f6b
Add login required signup blurb for rDrama. 2022-10-26 20:10:21 -04:00
Aevann1 b9d7b4e027 sneed 2022-10-26 16:33:50 +02:00
Snakes f42d861cae
Add entry to journoid banner. 2022-10-26 01:33:58 -04:00
Snakes 9bfb121d2f
WPD: update sidebar rule #1. 2022-10-26 00:35:20 -04:00
Aevann1 a25169cbea remove makeQuote() from reply buttons 2022-10-25 23:16:34 +02:00
Aevann1 e4c7a588ca add hat preview in /submit/hats 2022-10-25 23:12:52 +02:00
justcool393 f9343d3db1 full_name -> fullname 2022-10-25 15:05:37 -05:00
justcool393 56c1b64ec2 via @Aevann1: add selection quoting feature to mobile 2022-10-25 14:57:43 -05:00
Aevann1 883ab31cc9 Describe what Poor Mode does 2022-10-25 20:20:43 +02:00
Aevann1 fbeac461ca refactor poorcel mode 2022-10-25 18:07:44 +02:00
justcool393 ac43522570 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-25 11:05:42 -05:00
justcool393 ff81af326e fix issue where unable to self remove posts 2022-10-25 11:05:34 -05:00
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 b2317a4563 pause background music when a video or audio is played 2022-10-24 23:16:41 +02:00
Aevann1 03cd4246ff switch the position of "reply" and "mute" 2022-10-24 22:39:48 +02:00
Aevann1 2d0879ec3e allow admins to unmute users from modmail 2022-10-24 22:38:54 +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 25e50be552 same as last commit 2022-10-23 18:24:22 +02:00
Aevann1 eafbebbdf1 same as last commit 2022-10-23 18:24:22 +02:00
Aevann1 e99aa6fd0e same as last commit 2022-10-23 18:24:22 +02:00
Aevann1 a040b6779b same as last commit 2022-10-23 18:24:21 +02:00
Aevann1 9b47ad166b small refactor to approving psots and comments 2022-10-23 17:51:49 +02:00
Aevann1 096828dc1c add some padding to admin tools 2022-10-23 17:24:41 +02:00
Aevann1 77e5da55ef fix behavior that would replace marsey tags with "none" if we didn't specify them on update 2022-10-23 11:27:20 +02:00
justcool393 cc3fb59ccd html head: fix default theme 2022-10-22 19:11:07 -05:00
Aevann1 fb6825ab58 add the redbubble megathread to the index 2022-10-22 23:12:23 +02:00
justcool393 db95ff7f43 head: temporarily use userpage's head tags instead of overwriting our own 2022-10-22 12:25:44 -05:00
Snakes 333c36f6b7
Update homoween badges, cachebust badges. 2022-10-21 19:57:59 -04:00
justcool393 a96bf4f81e favicon: add back to all pages properly 2022-10-21 17:46:17 -05:00
justcool393 b6ad3555b2 chat: add favicon to HTML 2022-10-21 17:42:28 -05:00
justcool393 2792a06c21 CSP: content security policies are safe 2022-10-21 17:31:31 -05:00
justcool393 0495d00629 chat fix i think? 2022-10-21 17:24:17 -05:00
justcool393 347a751481 WPD: redirect unlogged users to new site 2022-10-21 16:10:06 -05: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 c78579ec5a refactor banned domains a little bit 2022-10-21 00:14:28 +02:00
Aevann1 25c5c8fb7d better js for follower pages 2022-10-21 00:14:28 +02:00
Aevann1 3c3950adb0 change video tags 2022-10-20 22:26:43 +02:00
Snakes 496d7ba6c6
WPD: update sidebar post flairs. 2022-10-20 14:25:53 -04:00
justcool393 6fca874acf only show tags field on marsey update page 2022-10-19 18:45:44 -05:00
justcool393 99f66c8d31 Add UI for updating marsey tags and also allow me to do it 2022-10-19 18:38:25 -05:00
Aevann1 e4fb158125 update the WPD app 2022-10-19 23:42:27 +02:00
Aevann1 9efc0f0a68 unify email regex 2022-10-19 12:39:03 +02:00
Aevann1 d91827028b fix hcaptcha in localhost 2022-10-19 12:11:27 +02:00
Aevann1 b81eceead5 fix prev commit 2022-10-18 19:25:28 +02:00
Aevann1 8c2a41b868 put telegram link in WPD 2022-10-18 19:16:49 +02:00
Aevann1 b7ef01d4fc revert the voting thing i did for myself 2022-10-18 17:16:16 +02:00
Aevann1 3e45e9da67 add a bigger margin between "reply" and "mute" 2022-10-18 15:57:56 +02:00
Aevann1 d7012e141a replace telegram link with preview version 2022-10-18 13:38:56 +02:00
Snakes 3b185a3844
Fix incorrect site-specific award modal procoins. 2022-10-18 07:34:26 -04:00
Aevann1 d32341e7b9 add a bottom margin to post embeds 2022-10-18 13:18:06 +02:00
Aevann1 f9841bf049 remove 2 vestigal if statements 2022-10-18 13:17:54 +02:00
Aevann1 eff2d35a00 remove telegram chat link 2022-10-18 12:23:22 +02:00
Aevann1 6e65a0c198 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-18 12:20:35 +02:00