Commit Graph

962 Commits (25312029aa3516f0144eb4f6557fe4ca7d5e5bd8)

Author SHA1 Message Date
Aevann1 4791e7b14b revert icon change 2022-09-08 19:24:00 +02:00
Aevann1 e9445efc22 make bootstrap work on localhost 2022-09-08 19:12:46 +02:00
Aevann1 adf271f8b6 same as last commit 2022-09-08 18:21:43 +02:00
Aevann1 8bdfa6c826 cosmetic change 2022-09-08 18:19:46 +02:00
Aevann1 2038922513 cosmetic shit 2022-09-08 18:02:53 +02:00
Aevann1 f4e4ff3839 comsetic shit 2022-09-08 17:38:27 +02:00
Aevann1 b2d134fa6c update glowing hat 2022-09-06 23:15:35 +02:00
Aevann1 d0cfd8a8c1 change house femboy award 2022-09-06 06:16:41 +02:00
Aevann1 b3a56ca168 more hat shit 2022-09-05 06:33:08 +02:00
Aevann1 34c6842018 make the tooltip be "hat - description" 2022-09-05 05:55:41 +02:00
Aevann1 970cf6dccd update Sparkles and Emo Hair II 2022-09-05 03:58:05 +02:00
Aevann1 71b5367874 cachebust all css and js 2022-09-05 01:50:43 +02:00
Aevann1 0c32d56cd6 casino + style shit 2022-09-05 01:15:37 +02:00
Aevann1 7a3a1a883c update nervous sweating hat 2022-09-04 20:59:50 +02:00
Aevann1 027bad8aeb dudup popover 2022-09-04 01:42:59 +02:00
Aevann1 5feb479cd2 apply slur filter to hat descriptions 2022-09-03 20:55:03 +02:00
Aevann1 28dbe0d6ab fix WPD slowness 2022-09-03 05:34:06 +02:00
Aevann1 0839077838 fix pup mask 2022-09-03 04:48:27 +02:00
Aevann1 8f5e4c3ec6 add .hat class for easier blocking 2022-09-03 03:52:54 +02:00
Aevann1 88a2c69659
Hats (#348)
* hat

* hats

* hats 2

* hats

* hats 4

* hats 5

* hats
2022-09-03 01:58:55 +02:00
Aevann1 a1a84670a0 fix issue with deleted and removed posts 2022-09-02 19:03:00 +02:00
Aevann1 523bfd93c5 show first frame of video 2022-09-01 22:43:11 +02:00
Aevann1 0f11312d24 add house awards 2022-08-27 04:57:19 +02:00
Aevann1 b191f426d0 dumb cosmetic change for myself 2022-08-26 00:36:47 +02:00
Aevann1 b211ce596e dumb cosmetic change for myself 2022-08-26 00:32:58 +02:00
Aevann1 9032e23182 add patron icons for WPD 2022-08-25 22:34:05 +02:00
Aevann1 9be2897eac remove the voting javascript logic I added for myself 2022-08-24 16:30:30 +02:00
Aevann1 9f1e65377d remove sum bullshit 2022-08-23 23:39:44 +02:00
Aevann1 ce80f8e30e make blocks not work through ghost awards 2022-08-21 16:14:30 +02:00
Aevann1 e1e7258e7a add def can_see(v) 2022-08-20 00:36:28 +02:00
Aevann1 a88b9d59c4 rename /h/chudtopia to /h/chudrama 2022-08-20 00:20:25 +02:00
Aevann1 4a8220d687 make chudtopians immune to chud effects 2022-08-20 00:12:53 +02:00
Aevann1 9e5ddcbd92 large commit: stealth mode, SubJoin, chudtopia
dont read if u value ur sanity
2022-08-19 23:31:26 +02:00
Aevann1 d4435a2a27 lazy loading for hats 2022-08-18 22:29:00 +02:00
Snakes 26b12fcbf1
Fix long domains overflowing submission_listing. 2022-08-17 01:33:10 -04:00
Aevann1 16f949e38d pure rage 2022-08-11 15:09:39 +02:00
Snakes 249c593379 Hats: frontend interface, migrate cakeday.
Getting the basic hats frontend changes into master so my branch stops
diverging from the templates. Migrates the existing cakeday partyhat
functionality to the new system also.

Establishes a (hopefully) static interface for PFP hat display:
  - Hat image assets are 100px w x 130px h and anchored to the bottom-
    left corner of pfps.
  - User.hat_active provides either empty string or the internal
    string identifier for active user hat.
  - User.hat_tooltip provides mouseover text. Likely only to be used
    for cakeday hats on one's cakeday.

Additionally, per discussion with Carp, PFPs in comments and posts
increased from 25px diameter to 30px.
2022-08-11 03:30:43 -04:00
Snakes 1411018f8d Add post categories.
Implemented for LGB but can likely be used for WPD and other future
sites. Similar to a reddit post flair. Provides:
  - Admin panel for Category management.
  - Category selection on post submission.
  - 'Recategorize' post action.
2022-08-07 02:57:30 -04:00
Aevann1 192ae72e8d remove border-top from posts on mobile 2022-07-23 08:58:26 +02:00
Snakes f418bf4333
Fix voting when FEATURES['AWARDS'] false.
Apparently we stick the voting javascript in awards_modal.js, which
is included with awards_modal.html. While this makes sense as a proxy
for logged-in post-actions, it unfortunately means disabling inclusion
of the (otherwise unused) modal templates when FEATURES['AWARDS']
is disabled breaks other things.
2022-07-22 23:25:05 -04:00
Snakes b4fdf248ef LGB: disable profile bio, banner, song. 2022-07-19 21:20:52 -04:00
Aevann1 cdfc68cb4b fix previous commit 2022-07-20 02:57:30 +02:00
Aevann1 ec2c1afba1 remove "card" css class 2022-07-20 02:56:32 +02:00
Aevann1 f6a26cef62 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-07-20 02:53:14 +02:00
Aevann1 8f2e2896cd make unread post notifs neater 2022-07-20 02:53:12 +02:00
Snakes 3225a2a3d4
LGB: disable awards, badges. 2022-07-19 19:59:39 -04:00
Snakes 0c43deeee6
FEATURES: pronouns, kys, chat, house, /vote perm. 2022-07-18 02:43:20 -04:00
Aevann1 aacaf50928 change pronoun design 2022-07-15 22:21:42 +02:00
Aevann1 86717e37b2 refactor changelog 2022-07-13 23:03:11 +02:00
Snakes 5005c7ab97 Center voting on submission_listing desktop. 2022-07-13 16:25:05 -04:00
Aevann1 2d21863e19 replace "request.host" with "SITE" 2022-07-13 20:14:37 +02:00
Aevann1 093c83d7c9 tweaking bannedfor column 2022-07-12 22:00:19 +02:00
Aevann1 e82dbd69ef tweak post-preview padding 2022-07-11 22:41:51 +02:00
Aevann1 ee11a28636 fix flag filtering 2022-07-11 20:13:00 +02:00
Aevann1 20a659da73 hide reports made by shadowbanned niggas 2022-07-11 20:04:35 +02:00
Aevann1 6428dd08c5 add pronouns 2022-07-11 18:46:08 +02:00
Aevann1 ad1273995d notifications rework 2022-07-08 20:06:54 +02:00
Aevann1 b617321529 move all env-getting to .const 2022-07-08 18:21:13 +02:00
Snakes 6ad935e12a Permission flags UI visibility; start PERMS dict.
Original work started for WPD and LGB, who wish to restrict flags
visibility in the UI based on admin_level. To support this change and
upcoming changes, `const.PERMS: string -> int` was created.
Potentially targetting a future design where Permissions is a proper
business object integrated with the User model; however, for now just
looking toward getting admin_level magic numbers centralized.

This commit applies PERMS to: create_hole, flags visibility in UI,
flag removal in UI & backend. Flag visibility in Comment & Submission
json_raw methods is unaffected to avoid needing a user object to
build the JSON.
2022-07-06 23:45:33 -04:00
Aevann1 82821a16c2 tweak my autoupvoting shit 2022-07-04 07:42:46 +02:00
Aevann1 57e424af5b revert the "defer" thing 2022-07-03 12:10:04 +02:00
Aevann1 dc675fb23f fix showing new comments 2022-07-03 12:09:00 +02:00
Aevann1 a49325ba14 defer all scripts (this won't change anything for us since we use rocketloader, but it will fix javascript on localhost) 2022-07-03 09:42:33 +02:00
Aevann1 6c5b5a5314 add a "subscribed" tab in ur profile page to show posts u subscribed to 2022-07-03 04:43:49 +02:00
Aevann1 f56be06eb8 add hole pinning 2022-07-02 01:11:48 +02:00
gooseman ca344927c1 works maybe idk i didnt test it lol 2022-07-01 14:38:27 -07:00
Snakes 1b9237ceaf Add assetcache.asset_siteimg, has_logo.
Commit began by changing the duplicated SITE_NAME conditional in the
header to use a `has_logo` param, much like the recent `has_sidebar`.
From there, a need to include site-specific assets in assetcache was
revealed, adding the `asset_siteimg(...)` macro. This was applied
quite broadly, though not comprehensively.
2022-07-01 01:55:53 -04:00
Aevann1 070945d98a cut down on the number of queries 2022-06-29 09:22:18 +02:00
Aevann1 5661cdb271 Revert "try to cut down on number of db queries"
This reverts commit c674c6a056.
2022-06-29 08:43:20 +02:00
Aevann1 c674c6a056 try to cut down on number of db queries 2022-06-29 08:14:25 +02:00
Aevann1 aac17a6daa show the username of the janny who banned 2022-06-28 02:59:08 +02:00
Aevann1 6bd4efa61f Revert "make small text less small"
This reverts commit 42b0f37034.
2022-06-27 04:33:38 +02:00
Aevann1 42b0f37034 make small text less small 2022-06-27 04:18:14 +02:00
Aevann1 b5d993569f embed rework 2022-06-27 03:00:45 +02:00
Snakes 268c23e2f8 WPD: make holes more flair-like in UI. 2022-06-26 03:42:15 -04:00
Aevann1 5aad7e09a6 dont query polls on frontpage 2022-06-26 08:10:02 +02:00
Aevann1 3b8188fd67 fixed version of d83d47e280 2022-06-26 03:22:05 +02:00
Aevann1 bc7185b5af order awards by the time they were awarded 2022-06-25 22:33:51 +02:00
Aevann1 ffd0d9ed31 show duration on ban icon tooltip 2022-06-25 02:11:00 +02:00
Aevann1 d704592bdd cache-bust all previously broken images 2022-06-22 17:59:47 +02:00
Aevann1 20585ca543 add a shortened endpoint for static images and rename loading.webp to l.webp (to save bytes) 2022-06-22 17:51:19 +02:00
Snakes d5d221e773 Fix layout with both card and catalog view. 2022-06-21 16:06:08 -04:00
Snakes 5609a96e05 Fix info leak of removed & deleted via post embeds.
Embedded local posts (posts which link to posts on the same site)
embed the linked post using submission_listing.html via
helpers/jinja2:post_embed. This suffered from much the same issue
recently fixed in submission.html through the addition of
`v_forbid_deleted` in the template before outputting privileged
information. A similar fix has been applied to submission_listing.

Unfortunately, this is not the most elegant fix. Surely this would be
better resolved more centrally in the submission model. However, I am
not clear at present about the precise interaction between deletion,
removal, and realbody & realurl in all of the different places they
are used. This commit fixes the problem, but it also highlights a
potential future refactoring target.
2022-06-21 02:38:18 -04:00
Snakes dee8eb5154 Replace loading.webp with new marseyloading. 2022-06-19 22:15:33 -04:00
Aevann1 8f72407f84 show the party hat in the header too 2022-06-13 19:46:40 +02:00
Snakes cb5f9d05c6 templates: Fix improper plurals, create helpers.
Previously, the three instances of 'Report[s]' and one instance of
'Coin[s]' in the UI templates were always pluralized, even when they
referred to a singular instance. This has been corrected by creating
a `plural` helper macro.

Additionally, this was used as impetus to create `utils/helpers.html`
to eventually move more recurring template logic into macros.
2022-06-07 05:26:22 -04:00
Snakes 6b9a133204 Kitchen sink commit, misc. content updates.
- Increment cache version on popover badges.
- Add comments+submission_listing.js to assetcache to support ^.
- Append new words to wordle list.
- Cache bust assorted assets for recent PRs.
2022-06-02 19:32:13 -04:00
outruncolors c2f598a17f Move lottery to own page (#296) 2022-05-30 22:40:38 -04:00
Snakes 5b6ba1ac82 Merge remote-tracking branch 'mccoxmaul/add-lottershe' into frost 2022-05-29 23:52:04 -04:00
Aevann1 170220e5f4 fds 2022-05-29 20:43:50 +02:00
Outrun Colors, LLC 422ba56b31 Add assets for lottery 2022-05-28 17:24:21 -05:00
Snakes 05fc950004 Add support for distinguishing ghosted. 2022-05-28 00:47:33 -04:00
Aevann1 2595706b49 fsd 2022-05-26 20:36:37 +02:00
Aevann1 02e98b46b0 is_audio 2022-05-24 18:28:12 +02:00
Snakes cc75375c82 Un-deploy Birthgay event.
Removes temporary changes for the Birthgay 2022 event, ending
approximately at 2022-05-23 0600Z. Changes:
 - Double XP disabled.
 - Lootboxes disabled.
 - Three event awards given real descriptions and colors.
 - Partyhats: restored to cakeday-only condition and tooltip.
 - Header UI: balloons removed, text visibility outline removed,
   journoid banner reverted, marseyjam as header icon.
 - Birthgay banners: removed from template, moved to new storage dir.

Confetti, though remaining as a permanent award, has been temporarily
removed pending a less performance-intensive implementation and one
that doesn't require maintaining a third-party package in the codebase.
2022-05-23 01:48:25 -04:00
DrTransmisia 4b6a811e21 Lenewlink (#282)
* allowing the user to click on profile ANCHOR with special keys

* le epic version bump for le cloudfare chaching, has arrived
2022-05-22 19:31:27 +02:00
Aevann1 20cc20d806 fsd 2022-05-21 14:36:22 +02:00
Aevann1 0eb39b987c 2022-05-20 00:24:34 +02:00
Snakes c789f6923e Merge remote-tracking branch 'upstream/frost' into birthgay-staging 2022-05-19 17:59:35 -04:00
Aevann1 9df87dc5c6 sf 2022-05-14 15:18:33 +02:00
Aevann1 edb39d76f8 sfd 2022-05-09 04:15:32 +02:00
Aevann1 cbb76fff0c dgf 2022-05-09 04:15:15 +02:00
geese 02928305ed aaa 2022-05-04 21:29:59 -04:00
Aevann1 2008bc76c1 cakedays 2022-05-05 01:31:11 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 139a01998b ti 2022-04-25 23:41:46 +02:00
Aevann1 ddbafe7d78 vcx 2022-04-25 17:48:36 +02:00
Aevann1 c447af6f50 fdssfd 2022-04-22 22:02:47 +02:00
Aevann1 8d268268f1 fds 2022-04-18 19:20:10 +02:00
Aevann1 6c662e351a fds 2022-04-16 21:14:11 +02:00
Aevann1 99cb01d9fc fdsfds 2022-04-15 18:28:08 +02:00
bAWario 8c25a48d0c Glowiefied Checkmark (#226)
Co-authored-by: Captain <Captain@PC>
2022-04-14 00:23:46 +02:00
Aevann1 4a4591876e gf 2022-04-09 19:32:55 +02:00
Aevann1 4c44c2ce92 fds 2022-04-03 17:47:53 +02:00
Aevann1 ae82ada424 fsd 2022-04-02 18:54:27 +02:00
Aevann1 322e87db72 fds 2022-04-01 15:27:01 +02:00
Aevann1 4851bb896c fds 2022-03-31 19:16:13 +02:00
Aevann1 b538d2a24c gdfg 2022-03-31 18:28:53 +02:00
Aevann1 eec1738d01 what a mess 2022-03-24 21:44:12 +02:00
Aevann1 e4474097ff fds 2022-03-21 23:52:09 +02:00
Aevann1 ffe1964981 fds 2022-03-21 23:31:16 +02:00
Aevann1 f2b37035c9 fg 2022-03-20 23:24:50 +02:00
Aevann1 4f283e0764 fds 2022-03-19 01:21:14 +02:00
Aevann1 830949a209 fsd 2022-03-17 12:28:13 +02:00
Aevann1 de6cebe659 aw 2022-03-17 10:59:44 +02:00
Aevann1 b35bab0672 hole 2022-03-09 04:04:37 +02:00
Aevann1 514d6ec126 right 2022-03-09 03:44:53 +02:00
Aevann1 770643b4a6 no more quadrants y'all cant behave 2022-03-06 00:16:40 +02:00
Aevann1 b6ad0da4b9 carp 2022-03-02 02:05:30 +02:00
Aevann1 7f4b5a104e thread views 2022-02-28 22:50:50 +02:00
Aevann1 1576fcd57d farts on u 2022-02-28 04:06:15 +02:00
Aevann1 f6fd45379b bunch of stuff 2022-02-28 01:28:10 +02:00
Aevann1 ac0932986a fds 2022-02-28 00:42:13 +02:00
Aevann1 bf0a6afc7e vid 2022-02-27 20:18:38 +02:00
Aevann1 739f3451fc amogus 2022-02-26 22:56:11 +02:00
Aevann1 b04739cf45 bitch im a cow 2022-02-26 22:40:08 +02:00
Aevann1 1cdeab6b98 badges 2022-02-26 22:29:56 +02:00
Aevann1 93f3a90213 klenny 2022-02-25 20:19:51 +02:00
Aevann1 db61d95e1c emoji 2022-02-25 14:43:25 +02:00
Aevann1 d38f5e3c63 e 2022-02-24 20:31:28 +02:00
Aevann1 58ad0f5dbc data-bs-original-title 2022-02-24 20:07:53 +02:00
Aevann1 8ae2b23660 fdsf 2022-02-24 14:50:02 +02:00
Aevann1 8ffbac975b fsfd 2022-02-24 14:03:28 +02:00
Aevann1 b6b1a56312 fsd 2022-02-23 08:11:11 +02:00
Aevann1 7c90b95880 fds 2022-02-23 07:32:19 +02:00
Aevann1 8529839d7c cxvfd 2022-02-23 07:19:57 +02:00
Aevann1 5d4b09ef62 fd 2022-02-23 07:02:07 +02:00
Aevann1 84e6c39360 vc 2022-02-22 12:09:34 +02:00
Aevann1 4155b2ca3b xcv 2022-02-22 10:31:27 +02:00
Aevann1 eaa906ec69 vc 2022-02-21 02:49:28 +02:00