From f4e4ff3839aa621ccf86254fde0832172dac5f47 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 8 Sep 2022 17:38:27 +0200 Subject: [PATCH] comsetic shit --- files/helpers/const.py | 7 ++---- files/routes/users.py | 5 ---- files/templates/admin/awards.html | 4 ++-- files/templates/admin/badge_grant.html | 4 ++-- files/templates/admin/badge_remove.html | 4 ++-- files/templates/authforms.html | 4 ++-- files/templates/award_modal.html | 2 +- files/templates/ban_modal.html | 2 +- files/templates/category_modal.html | 2 +- files/templates/chat.html | 2 +- files/templates/comments.html | 18 +++++++------- files/templates/contact.html | 2 +- files/templates/delete_post_modal.html | 2 +- files/templates/header.html | 24 ++++++++++--------- files/templates/log.html | 4 ++-- files/templates/notifications.html | 4 ++-- files/templates/post_actions_mobile.html | 12 +++++----- .../templates/post_admin_actions_mobile.html | 16 ++++++------- files/templates/report_post_modal.html | 2 +- files/templates/settings.html | 6 ++--- files/templates/settings_blocks.html | 4 ++-- files/templates/settings_profile.html | 2 +- files/templates/settings_security.html | 2 +- files/templates/sub/settings.html | 4 ++-- files/templates/submission.html | 4 ++-- files/templates/submission_listing.html | 2 +- files/templates/userpage.html | 4 ++-- 27 files changed, 71 insertions(+), 77 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index 5235c8454..0f4b13412 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -201,7 +201,6 @@ MOM_ID = 0 DONGER_ID = 0 GEESE_ID = 0 -BUG_THREAD = 0 POLL_THREAD = 0 WELCOME_MSG = f"Welcome to {SITE_NAME}!" ROLES={} @@ -257,7 +256,6 @@ if SITE == 'rdrama.net': DONGER_ID = 541 GEESE_ID = 1710 - BUG_THREAD = 18459 POLL_THREAD = 79285 WELCOME_MSG = "Hi there! It's me, your soon-to-be favorite rDrama user @carpathianflorist here to give you a brief rundown on some of the sick features we have here. ~You'll probably want to start by following me, though. So go ahead and click my name and then smash that Follow button. This is actually really important, so go on. Hurry.~ Actually, not enough of you were able to follow even the simplest of instructions, so now everyone is following me by default! If you'd like, you can still get some clicking practice in by hitting the unfollow button. But I'll be notified of that, and you're new, and you wouldn't want to get off on the wrong foot here, would you?\nThanks!\nNext up: If you're a member of the media, similarly just shoot me a DM and I'll set about verifying you and then we can take care of your sad journalism stuff.\n**FOR EVERYONE ELSE**\n Begin by navigating to [the settings page](/settings/profile) (we'll be prettying this up so it's less convoluted soon, don't worry) and getting some basic customization done.\n### Themes\nDefinitely change your theme right away, the default one (Midnight) is pretty enough, but why not use something *exotic* like Win98, or *flashy* like Tron? Even Coffee is super tasteful and way more fun than the default. More themes to come when we get around to it!\n### Avatar/pfp\nYou'll want to set this pretty soon. Set the banner too while you're at it. Your profile is important!\n### Flairs\nSince you're already on the settings page, you may as well set a flair, too. As with your username, you can - obviously - choose the color of this, either with a hex value or just from the preset colors. And also like your username, you can change this at any time. [Paypigs](https://marsey1.gumroad.com/l/rdrama) can even further relive the glory days of 90s-00s internet and set obnoxious signatures.\n### PROFILE ANTHEMS\nSpeaking of profiles, hey, remember MySpace? Do you miss autoplaying music assaulting your ears every time you visited a friend's page? Yeah, we brought that back. Enter a YouTube URL, wait a few seconds for it to process, and then BAM! you've got a profile anthem which people cannot mute. Unless they spend 20,000 dramacoin in the shop for a mute button. Which you can then remove from your profile by spending 40,000 dramacoin on an unmuteable anthem. Get fucked poors!\n### Dramacoin?\nDramacoin is basically our take on the karma system. Except unlike the karma system, it's not gay and boring and stupid and useless. Dramacoin can be spent at [Marsey's Dramacoin Emporium](/shop) on upgrades to your user experience (many more coming than what's already listed there), and best of all on tremendously annoying awards to fuck with your fellow dramautists. We're always adding more, so check back regularly in case you happen to miss one of the announcement posts.\nLike karma, dramacoin is obtained by getting upvotes on your threads and comments. *Unlike* karma, it's also obtained by getting downvotes on your threads and comments. Downvotes don't really do anything here - they pay the same amount of dramacoin and they increase thread/comment ranking just the same as an upvote. You just use them to express petty disapproval and hopefully start a fight. Because all votes are visible here. To hell with your anonymity.\nDramacoin can also be traded amongst users from their profiles. Note that there is a 3% transaction fee.\n### Badges\nRemember all those neat little metallic icons you saw on my profile when you were following me? If not, scroll back up and go have a look. And doublecheck to make sure you pressed the Follow button. Anyway, those are badges. You earn them by doing a variety of things. Some of them even offer benefits, like discounts at the shop. A [complete list of badges and their requirements can be found here](/badges), though I add more pretty regularly, so keep an eye on the [changelog](/h/changelog).\n### Other stuff\nWe're always adding new features, and we take a fun-first approach to development. If you have a suggestion for something that would be fun, funny, annoying - or best of all, some combination of all three - definitely make a thread about it. Or just DM me if you're shy. Weirdo. Anyway there's also the [leaderboards](/leaderboard), boring stuff like two-factor authentication you can toggle on somewhere in the settings page (psycho), the ability to save posts and comments, more than a thousand emojis already (most of which are rDrama originals), and on and on and on and on. This is just the basics, mostly to help you get acquainted with some of the things you can do here to make it more easy on the eyes, customizable, and enjoyable. If you don't enjoy it, just go away! We're not changing things to suit you! Get out of here loser! And no, you can't delete your account :na:\nI love you.
*xoxo Carp* 💋" @@ -291,7 +289,6 @@ elif SITE == 'pcmemes.net': AEVANN_ID = 1 SNAKES_ID = 2279 - BUG_THREAD = 4103 WELCOME_MSG = "Welcome to pcmemes.net! Don't forget to turn off the slur filter [here](/settings/content#slurreplacer)" LOTTERY_TICKET_COST = 12 @@ -596,7 +593,7 @@ AWARDS = { "kind": "bird", "title": "Bird Site", "description": "Forces the recipient to make all posts/comments < 140 characters for 24 hours.", - "icon": "fab fa-twitter", + "icon": "fas fa-twitter", "color": "text-blue", "price": 1500 }, @@ -676,7 +673,7 @@ AWARDS = { "kind": "unblockable", "title": "Unblockable", "description": "Makes the recipient unblockable and removes all blocks on them.", - "icon": "far fa-laugh-squint", + "icon": "fas fa-laugh-squint", "color": "text-lightgreen", "price": 20000 }, diff --git a/files/routes/users.py b/files/routes/users.py index ac62a161e..04ed66399 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -681,11 +681,6 @@ def unsubscribe(v, post_id): g.db.delete(sub) return {"message": "Post unsubscribed!"} -@app.get("/report_bugs") -@auth_required -def reportbugs(v): - return redirect(f'/post/{BUG_THREAD}') - @app.post("/@/message") @limiter.limit("1/second;10/minute;20/hour;50/day") @limiter.limit("1/second;10/minute;20/hour;50/day", key_func=lambda:f'{SITE}-{session.get("lo_user")}') diff --git a/files/templates/admin/awards.html b/files/templates/admin/awards.html index fe9c4bc2f..47868e62f 100644 --- a/files/templates/admin/awards.html +++ b/files/templates/admin/awards.html @@ -15,7 +15,7 @@ {{error}} {% endif %} @@ -26,7 +26,7 @@ {{msg}} {% endif %} diff --git a/files/templates/admin/badge_grant.html b/files/templates/admin/badge_grant.html index a6b2f8e13..b90e1268d 100644 --- a/files/templates/admin/badge_grant.html +++ b/files/templates/admin/badge_grant.html @@ -15,7 +15,7 @@ {{error}} {% endif %} @@ -26,7 +26,7 @@ {{msg}} {% endif %} diff --git a/files/templates/admin/badge_remove.html b/files/templates/admin/badge_remove.html index 98556ee4e..7101ec415 100644 --- a/files/templates/admin/badge_remove.html +++ b/files/templates/admin/badge_remove.html @@ -15,7 +15,7 @@ {{error}} {% endif %} @@ -26,7 +26,7 @@ {{msg}} {% endif %} diff --git a/files/templates/authforms.html b/files/templates/authforms.html index c774ad8ae..7cde21e41 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -76,7 +76,7 @@ {{error}} {% endif %} @@ -87,7 +87,7 @@ {{msg}} {% endif %} diff --git a/files/templates/award_modal.html b/files/templates/award_modal.html index 7d384e7dd..017dfd61f 100644 --- a/files/templates/award_modal.html +++ b/files/templates/award_modal.html @@ -4,7 +4,7 @@