forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

9891 Commits (8dcd3852189291e3a20cb7def743f2d60dd10f4f)

Author SHA1 Message Date
justcool393 77663e2cf6 fix prev commit 2022-11-06 20:06:37 -08:00
justcool393 72da55fd61 settings: implement front end for perma-filters 2022-11-06 20:06:37 -08:00
justcool393 3a989356dd sorts and stuff 2022-11-06 20:06:37 -08:00
justcool393 32607ad058 settings: some changes and additions
settings: add theme
settings: move common controls to common
settings: add some consts
2022-11-06 20:06:37 -08:00
justcool393 867fdf1e58 settings: more fixes
settings: fix line section and text area section
2022-11-06 20:06:37 -08:00
justcool393 d8102f8677 settings: some fixes
settings: personal: fix banner and pfp not having a title
settings: advanced: fix custom filters not having a title
2022-11-06 20:06:37 -08:00
justcool393 d98b22df98 settings: advanced: fixes
settings: advacned: rename from Advanced Settings to Advanced
settings: advanced: fix spelling error
settings: advanced: fix hide voted on
settings: advanced: rename Default Sorting and Time Filter to Sorting and Filtering
settings: advanced: move frontpage size to sorting and filtering
2022-11-06 20:06:37 -08:00
justcool393 eef45e5ae6 settings: fix referral section
settings: fix bug with song
2022-11-06 20:06:37 -08:00
justcool393 85e1d271b7 settings: personal: wrap colors in required tags
settings: personal: put website backgrounds custom CSS
2022-11-06 20:06:37 -08:00
justcool393 5fbe680fe5 wrap color sections in a body so we have a well formed body 2022-11-06 20:06:37 -08:00
justcool393 52eb5e2b10 settings: personal: lg-8 -> lg-11
settings: personal: add body class where needful
settings: personal: make rounded where needful
2022-11-06 20:06:37 -08:00
justcool393 9c9ff873e6 fix 500 and logic error 2022-11-06 20:06:37 -08:00
justcool393 511ed26574 settings: add new settings pages to API
settings: remove old settings pages from API
settings: delete unused settings template
2022-11-06 20:06:37 -08:00
justcool393 6e0fd23ba3 settings: rework settings frontend 2022-11-06 20:06:37 -08:00
Aevann1 1de8e07280 margin change 2022-11-07 04:38:24 +02:00
Aevann1 a4440a6d82 small change to rules 2022-11-07 04:33:14 +02:00
Aevann1 ae607a8522 add 2 extra rdrama rules 2022-11-07 04:11:21 +02:00
Snakes c86cd823bb
Remove tooltips from home sorting & filtering.
The design elements seem obvious enough that tooltips with e.g.
"Toggle" on a toggle button were somewhat redundant, and them
popping up during routine interaction felt distracting in practice.
2022-11-06 21:01:13 -05:00
Aevann1 2fe10e9644 replace cc toggle with holes toggle 2022-11-07 02:44:31 +02:00
Aevann1 8bd89b042d make the tooltips i just added on the top and not bottom 2022-11-07 02:28:42 +02:00
Aevann1 14d0bd1173 add tooltips to sort and time filter 2022-11-07 02:27:15 +02:00
Aevann1 d5bb687288 small refactor to "pins" button 2022-11-07 02:26:41 +02:00
Aevann1 87cf4d13ff add cc post search parameter 2022-11-07 02:22:06 +02:00
Snakes 920947d3c8
Fix post actions staggered vertically uneven. 2022-11-06 01:17:18 -05:00
Aevann1 bbfb18da9a change clearing cache terminology 2022-11-06 07:28:47 +02:00
justcool393 0e7a7307e4 stats: add time
this is useful for knowing what anchor point stats is bound to
2022-11-05 19:15:13 -05:00
Aevann1 d3f67faa50 same as last commit 2022-11-05 23:51:09 +02:00
Aevann1 37c4062839 fix margin 2022-11-05 23:50:35 +02:00
Aevann1 158321483b fix sorting vote tables being broken due to dff5bcefcf 2022-11-05 23:49:39 +02:00
Aevann1 2f5d3adda0 small margin fix 2022-11-05 23:41:18 +02:00
Aevann1 1a1b3bbba9 cosmetic fix 2022-11-05 23:08:41 +02:00
Aevann1 d76fe63c7f constantify image extensions and fix imgur .gif bug 2022-11-05 23:01:23 +02:00
Aevann1 5efdc43be5 fix 500 errors JC caused with a completely unnecessary refactor 2022-11-05 16:14:52 +02:00
justcool393 260091eaee assets: fix issue noted in 77e5da55ef
as it is, this is a backend issue. unforunately, there's no way in the UI that shows the name, image, or current tags, so that's why we insert it into the page

this change brings two ways to keep the current tag

as a sanity check: this also makes it so that you can't tag stuff as the string None
2022-11-05 03:37:03 -05:00
justcool393 9f8250cec1 fix prev commit 2022-11-05 01:05:01 -05:00
justcool393 c6675ff037 houses: make price a constant
houses: warn founders that switching houses will delete their founder status
2022-11-05 01:00:02 -05:00
Aevann1 6648e619ec same as last commit 2022-11-05 05:38:32 +02:00
Aevann1 c870198188 cosmetic change to expanded images 2022-11-05 05:30:33 +02:00
Aevann1 f924f88821 make "unshadowban" button work instantly 2022-11-05 04:16:43 +02:00
Aevann1 87d5a0de46 improve ban modal and add chud modal 2022-11-05 04:12:22 +02:00
Aevann1 7b60190b0d adjust margins 2022-11-05 04:12:22 +02:00
Aevann1 a733056124 remove a bunch of double spaces 2022-11-05 04:12:22 +02:00
Aevann1 c5c6db70e4 rename "submitFormAjax()" to "sendMessage()" 2022-11-05 04:12:22 +02:00
Aevann1 ab9c0288fb make "unban user" button in userpage work instantly 2022-11-05 04:12:22 +02:00
Aevann1 10b40fbfd8 more margin fixes 2022-11-05 04:12:21 +02:00
Aevann1 47b89df619 change the chud theme terminology to a verb instead 2022-11-05 04:12:21 +02:00
Aevann1 76d29e4899 small margin fix 2022-11-05 03:05:46 +02:00
justcool393 7c385c222f fix previous commit 2022-11-04 18:51:42 -05:00
justcool393 ebc6bf9958 mod log: fix bug where it links to 'admin' even on sub log pages 2022-11-04 18:48:16 -05:00
Aevann1 995d3cbc98 add postToastReload 2022-11-04 23:44:44 +02:00
Aevann1 40a6ed5155 add the subsidiary to the random blurbs 2022-11-04 20:30:56 +02:00
justcool393 3f457333b5 profanity: per fish request disable profanity filter everywhere but rdrama
feel free to revert this or whatever if discussed
2022-11-04 08:43:59 -05:00
justcool393 217e401979 css. -> CSS (fix spelling) 2022-11-03 20:05:04 -05:00
justcool393 5235f592f0 use correct checkbox 2022-11-03 18:20:06 -05:00
justcool393 339d5fe8f1 users: add profanity filter to censor our gosh darned potty mouthes 2022-11-03 17:59:18 -05:00
Aevann1 d4a99c05e9 rename postToast -> postToastSwitch and postToastCallback -> postToast for clarity 2022-11-03 21:08:22 +02:00
Aevann1 20fc3e29b2 use postToastCallback in postToast 2022-11-03 21:07:08 +02:00
Aevann1 c2c5e61e60 camelCase 2022-11-03 18:11:11 +02:00
Aevann1 721d223399 fix stray "\" 2022-11-03 17:44:26 +02:00
Aevann1 07a12380de accomodate alt domain 2022-11-03 17:29:14 +02:00
Snakes 6f8d8b8ed9
Fix b79560247: chudrama sidebar art logic inverted. 2022-11-03 00:18:28 -04:00
justcool393 2ac1719131 hats: goldenify if owned all hats + unpurchasable ones 2022-11-02 22:56:35 -05:00
justcool393 4a252e9699 security: fix CSRF on internal cache dump route
move dumping internal cache to admin tools
2022-11-02 20:35:46 -05:00
justcool393 b795602475 subs: fix weird sidebar 500 2022-11-02 19:50:28 -05:00
Aevann1 eb76067253 small cosmetic fix 2022-11-02 17:11:31 +02:00
Aevann1 f73c6d46df accomodate rdrama.com users 2022-11-02 08:31:04 +02:00
justcool393 86e2767ac4 admin: device -> deviceType 2022-11-02 01:06:43 -05:00
Aevann1 c0b44d8dd1 cosmetic change 2022-11-02 01:50:26 +02:00
Aevann1 c013463047 small cosmetic fix for expand-text button 2022-11-02 00:46:46 +02:00
Aevann1 405786f8dc fix wrong positioning for gift boxes and message box in user profiles 2022-11-02 00:43:56 +02:00
justcool393 1bf3d3abc3 fix prev commit 2022-11-01 16:35:24 -05:00
justcool393 15460fb6e7 twentyone: set xhr header so we get errors back as JSON 2022-11-01 16:34:19 -05:00
justcool393 0dd956ae0e twentyone: show ratelimit error when ratelimited 2022-11-01 16:23:51 -05:00
Aevann1 410575a02f make the subsidary blurp occur 100% of the time instead of 50% 2022-11-01 22:18:16 +02:00
Aevann1 284002d7a4 dont allow admins to not select a badge 2022-11-01 22:12:05 +02:00
Aevann1 30144c46a4 cosmetic fix to !slots 2022-11-01 20:57:29 +02:00
Aevann1 eb98740f97 fix users being unclickable in user_listing.html 2022-11-01 20:24:18 +02:00
Aevann1 eed9ea6fb8 fix user search being broken 2022-11-01 20:21:46 +02:00
justcool393 f326b9d5d7 port self removal from spooky-22 2022-11-01 04:01:51 -05:00
justcool393 5c32713469 leaderboards: workaround jinja can't do this by setting a value for if v appears in ranking 2022-11-01 02:57:10 -05:00
justcool393 40a34ea26a leaderboards: don't show users if they're in the ranking more than once 2022-11-01 02:49:20 -05:00
justcool393 444b3d36f1 leaderboard: fix bug in table 2022-11-01 02:43:08 -05:00
justcool393 d7c7026792 leaderboards: fix missing </div> that was never present
seriously someone copied and pasted the open div
2022-11-01 02:36:18 -05:00
justcool393 9048f5127d leaderboards: fix usernames in tables i think
i'm not *happy* about this, something seems inelegant about this solution...
2022-11-01 02:17:33 -05:00
Snakes be2664b284
Revert "set astolfo background to everyone in drama"
This reverts commit be1ff23d4d.
2022-11-01 00:21:32 -04:00
Snakes d7aaa33c7f
Formalize unpurchasable hats. 2022-10-31 23:38:10 -04:00
justcool393 bfb13e9fec add a newline because posix users can't sneed 2022-10-31 19:14:24 -05:00
Aevann1 f4542db86f fix first comment on a post being centered with huge padding 2022-11-01 01:12:31 +02:00
Aevann1 5d9ff04ad3 fix last commit 2022-11-01 01:07:42 +02:00
Aevann1 3bfe3be800 fix /create_hole 2022-11-01 01:07:24 +02:00
Aevann1 ce2d90a212 small refactor to buttons on userpages 2022-11-01 00:43:18 +02:00
Snakes fa43317ee2
Revert "Merge pull request #396 from nekobbbbbbit/debooterstrap"
This reverts commit ae1e6b01a4, reversing
changes made to 7e5c1b0ad8.
2022-10-31 18:35:47 -04:00
Aevann1 cda0b3592c make journoid blurb acquisition announcement temporarily 2022-10-31 22:54:56 +02:00
Aevann1 7f82a0c371 add "Official site of /r/SubredditDrama" to the journoid blurbs 2022-10-31 22:53:11 +02:00
Aevann1 a447fb83ae remove carp's "everything legal is welcome' blurp in the sidebar 2022-10-31 22:46:52 +02:00
Aevann1 6ea05cdb18 add 4 extra meme rules to hopefully act as an extra barrier to retards 2022-10-31 22:35:23 +02:00
Aevann1 33d33a6468 fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2995576?context=8#context 2022-10-31 16:26:03 +02:00
Aevann1 024005cc17 small margin change 2022-10-30 21:44:02 +02:00
Aevann1 83b2511380 add a couple of margins to formatting.html 2022-10-30 21:43:35 +02:00
Aevann1 62d3738e46 rename ADMIGGER variable to ADMIGGER_THREADS for clarity 2022-10-30 20:45:53 +02:00
Aevann1 aec5f96a7b changes to donation flow 2022-10-30 20:43:06 +02:00
Aevann1 915967ddd0 constantify BAN_EVASION_DOMAIN 2022-10-30 20:01:01 +02:00
Aevann1 8b95a02ae4 when u unpin a post that's temporarily pinned, both the unpin and pin buttons are hidden, this fixes that 2022-10-30 17:20:11 +02:00
Aevann1 2ba1a1e86e remove postToast compatability function 2022-10-30 17:10:07 +02:00
Aevann1 13b184ee53 remove unnecssary space 2022-10-30 17:09:32 +02:00
Aevann1 b8f4d36f92 add confirmation dialog to "remove follow" 2022-10-30 17:07:10 +02:00
Aevann1 4e6633baa6 remove <blockquote> from formatting guide (cuz its padding is fucked up) 2022-10-30 16:56:20 +02:00
Aevann1 23883c530b constantify TRUESCORE_DONATE_LIMIT 2022-10-30 16:18:42 +02:00
Nekobit 7b22f345f5
Remove temp code 2022-10-30 00:12:48 -04:00
Nekobit 302f35cca0
login: Fix scroll overlay page
Login and scroll page were overflowing. This workaround is a bit funky due to the overflow placement, but it'll do
2022-10-30 00:12:06 -04:00
justcool393 958e083904
don't include signup.js in the login page 2022-10-29 22:47:20 -05:00
justcool393 540cc99e25
add correct flag to sign up 2022-10-29 22:40:35 -05:00
justcool393 64bf0eda1f
add correct flag 2022-10-29 22:40:11 -05:00
justcool393 912dc80ae1
sign up page header 2022-10-29 22:19:30 -05:00
justcool393 417413dc29
fix prev commit
we need to exclude main.css if neko bootstrap mode is enabled
2022-10-29 22:15:54 -05:00
justcool393 85464fbb2e
update login page 2022-10-29 22:13:54 -05:00
justcool393 016e9b66a4
add neko debootstrap flag to html_head.html
this is awful but i made this a macro for some reason i have no idea why
2022-10-29 22:11:05 -05:00
justcool393 74d3c325d4
Merge branch 'frost' into debooterstrap 2022-10-29 20:07:18 -07:00
Aevann1 7e5c1b0ad8 don't redirect PCM and WPD to trans charity in 502.html 2022-10-30 03:04:08 +02:00
Aevann1 d52216beda restore historical blackjack games 2022-10-30 02:40:35 +02:00
Aevann1 f09ec0ca17 restore slot gambling in comments 2022-10-30 02:36:23 +02:00
Snakes bf25937b54
Make rDrama sidebar markup semantic. 2022-10-29 19:08:35 -04:00
Aevann1 77dc8a990c remove some unnecessary <br>s 2022-10-30 00:42:40 +02:00
Aevann1 3bc248fe07 fix small bug in /live 2022-10-30 00:19:01 +02:00
Aevann1 227d074da7 remove redundant "noreferrer" 2022-10-29 23:46:35 +02:00
justcool393 ef4fc4dd99 remove redundant noreferrer tags
note: skipping on 502.html file as those are served by nginx
2022-10-29 16:46:22 -05:00
Aevann1 06314f92b1 remove referrer from html tags 2022-10-29 23:42:30 +02:00
Aevann1 6451572139 remove refererrs from profile images 2022-10-29 23:16:43 +02:00
Aevann1 be1ff23d4d set astolfo background to everyone in drama 2022-10-29 22:23:16 +02:00
Nekobit 7e1681e34e
Bump, Responsive login page, use new stylesheet helpers 2022-10-29 14:30:20 -04:00
Aevann1 1b56fc22bb hide reply buttons on deleted comments and posts for consistency 2022-10-29 19:24:22 +02:00
justcool393 26b469c361 fix minor typographical error 2022-10-29 01:11:05 -05:00
justcool393 e6ce4edbd8 templates: remove redundant badge_remove template
templates: fix badge admin template when removing a badge
2022-10-29 01:08:29 -05:00
Aevann1 f0c8af3ec7 remove all chained non-breaking spaces 2022-10-29 04:27:09 +02:00
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
Aevann1 3490f3d74d cosmetic change 2022-10-18 12:20:33 +02:00
justcool393 39545e556f WPD: disable /logged_out on .co, fixing infinite loop
WPD: fix bad asset link
WPD: redirect on migration login and failed migration login
2022-10-17 19:11:50 -05:00
justcool393 be6fa59e13 fix host bug, do a absolute redirect instead of a relative one, and make wpdco page essentially static 2022-10-17 18:40:09 -05:00
justcool393 96d63ed5de banner text and also rename variable 2022-10-17 18:40:09 -05:00
justcool393 6d538e2cd3 WPD migration code 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 bf859b0e3a sneed 2022-10-17 18:58:15 +02:00
Aevann1 cbbc0ea2e5 limit size of images in preview 2022-10-17 10:51:22 +02:00
Aevann1 3ee85d524b limit height of bio in popover to 50vh 2022-10-17 10:51:16 +02:00
Aevann1 3150714c2e only calc_users when we need to show them 2022-10-16 19:08:38 +02:00
justcool393 aa508fc076 remove discord 2022-10-16 05:42:52 -07:00
Aevann1 da49350b2b increase margin for "forgot password?" 2022-10-16 10:26:19 +02:00
Aevann1 c24851dbb3 only calculate users when we actually need them 2022-10-15 09:31:24 +02:00
Aevann1 5b1e3b7aff Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-15 08:55:56 +02:00
Aevann1 b1efa072e6 rename /agendaposters to /chuds 2022-10-15 08:55:54 +02:00
Snakes b6703595da
Revert "make 819.webp the only sidebar image for a couple of days to hopefully piss off someone"
This reverts commit d244124d47.

It's been a few days, reverted upon Carp request.
2022-10-14 15:34:20 -04:00
Aevann1 0753d73f32 fix wrong js func name 2022-10-14 20:43:01 +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
Aevann1 661bf3af67 remove unnecessary margin in /transfers 2022-10-14 17:31:35 +02:00
Aevann1 4cbe5c41eb even higher margins 2022-10-14 17:31:02 +02:00
Aevann1 efe0ff091a increase margins in log 2022-10-14 17:28:07 +02:00
Aevann1 89a0ff4a4b remove username reservation system 2022-10-14 14:01:06 +02:00
Aevann1 6c2f2c5404 fix expanded images 2022-10-14 13:44:03 +02:00
justcool393 2559794135 Move stuff we put in bootstrap.js to a new core.js file 2022-10-14 02:50:39 -07:00
Aevann1 caf5034608 same last commit 2022-10-13 21:43:48 +02:00
Aevann1 de6de0acae fix security policy in chat.html 2022-10-13 20:42:46 +02:00
Aevann1 3888b29983 potential solution to the chat docker problem 2022-10-13 20:21:02 +02:00
Aevann1 e0559301d5 restore horizontal margin for expanded images 2022-10-13 19:34:31 +02:00
Aevann1 73bd39835b fix cursor on comment and post scores 2022-10-13 16:44:05 +02:00
Aevann1 86d5da7de6 fix this https://rdrama.net/post/112582/chudded-award-now-destroys-hours-of 2022-10-13 13:55:29 +02:00
Aevann1 5849def6c1 dont show vote creation times if they're under 1599343262 2022-10-12 11:04:26 +02:00
Aevann1 2aa281e8c8 refactor sorting again (untested) 2022-10-12 09:03:28 +02:00
Aevann1 e1ee9a69e4 refactor seeing shadowbanned shit (untested) 2022-10-12 08:24:30 +02:00
Aevann1 87578283d2 show the time a hole was created on 2022-10-12 07:40:59 +02:00
Aevann1 466867afd1 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-11 18:41:12 +02:00
Aevann1 e3a3cbd358 add "hot" comment sorting 2022-10-11 18:41:09 +02: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 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 998b966f2b remove unnecessary shit in wrappers 2022-10-11 15:19:55 +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 5451b126a6 better system for 502.html 2022-10-10 07:32:08 +02: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
Nekobit 02d377307a
use theme 2022-10-09 19:38:10 -04:00
Nekobit 75a605195b
Fix default css 2022-10-09 19:33:28 -04:00
Nekobit abef674662
Main dev, Login, signup 2022-10-09 19:19:48 -04: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 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 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