Commit Graph

431 Commits (a3fa96242cecc298e3f3a303ab68cfe8bce9c0c5)

Author SHA1 Message Date
Aevann1 c3430ee6ea make dark theme better 2022-08-06 01:52:27 +02:00
Aevann1 5f40941c55 I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme I hate classic theme 2022-08-06 01:08:06 +02:00
Aevann1 fa173f805e fix mobile action dropdown in classic themes 2022-08-06 00:54:13 +02:00
Aevann1 0429da4493 mod action notifs rework 2022-08-05 23:50:30 +02:00
Aevann1 8951d08d1c make rainbow button visible on all themes and decrease its text-shadow 2022-08-04 17:19:28 +02:00
Snakes 3bbed007b7
PCM: update sidebar content. 2022-08-03 22:56:35 -04:00
Aevann1 5aff344efe fix bad quality 2022-08-02 23:54:33 +02:00
Aevann1 bd1cf2c6bf cachebust 2022-08-02 23:53:32 +02:00
Aevann1 9f22c63264 thanks geese for wpd banner 2022-08-02 23:51:15 +02:00
Snakes b75d504d91
rDrama: swap header icon for Carp's juggalo event. 2022-07-31 23:50:19 -04:00
Aevann1 3ef4970e38 make "clear all notifications" more prominent 2022-07-28 20:19:17 +02:00
Aevann1 46bc54cd2a change deux cover 2022-07-28 19:23:02 +02:00
gooseman 4dfa7206b6
le cachebust 2022-07-26 16:02:30 -07:00
Snakes 1c14722f06
Restyle glow award links for visibility.
At present, we typically distinguish links from other text by coloring
them, underlining on hover, and changing cursor to pointer on hover.
However, when a post is glow-awarded, both color and underline-on-hover
are suppressed, making links very hard to find in text. Given chiobu's
tendency to glow award effortposts, this can make posts hard to read.

My solution is to always show links as underlined in glow-awarded posts
and comments. Not terribly attached to this particular approach, but
it seems to undermine the award effect the least while largely
restoring accessibility of links.
2022-07-24 16:23:21 -04:00
Aevann1 4fe005c4af lazy fix for giant hand 2022-07-22 07:56:33 +02:00
Snakes f23b93fbe9
LGB: add sidebar rDrama shoutout. 2022-07-19 22:20:57 -04:00
Snakes b4fdf248ef LGB: disable profile bio, banner, song. 2022-07-19 21:20:52 -04:00
Snakes 3225a2a3d4
LGB: disable awards, badges. 2022-07-19 19:59:39 -04:00
Aevann1 acaa41756d "its too large"
thats what she said
2022-07-18 01:20:00 +02:00
Aevann1 255e8b88d2 make user counter better 2022-07-18 00:56:34 +02:00
Aevann1 cdc4e5b660 comprimise with neko 2022-07-18 00:37:52 +02:00
Aevann1 fe6e268cd5 improve inline emoji modal 2022-07-17 22:18:27 +02:00
Aevann1 eab0bd35d5 restore max-height for inline emojis but increase it from 300px to 500px 2022-07-17 22:12:56 +02:00
Aevann1 c9f98dd017 readjust inline emoji thing 2022-07-17 22:09:42 +02:00
Aevann1 9b425e444b make emojis 60px when selecting 2022-07-17 21:57:20 +02:00
Aevann1 dd8f58ed65 Revert "make comments more compact on mobile - will revert if ppl complain"
This reverts commit 3f4d28301b.
2022-07-17 20:58:07 +02:00
Aevann1 3f4d28301b make comments more compact on mobile - will revert if ppl complain 2022-07-17 20:49:57 +02:00
Aevann1 d011055421 fix ghostdiv 2022-07-17 19:35:29 +02:00
Aevann1 b9ce8b31bd cache bust 2022-07-17 19:14:31 +02:00
Nekobit aaabd0cc79
Fix (#319)
* Sneed

* Bust cache

* Fix widescreens emoji picker
2022-07-17 19:05:11 +02:00
Aevann1 f07e47327e cachebust 2022-07-17 07:43:08 +02:00
Nekobit bde47271d7
Allow Inline Emoji modal in more areas (#318)
* Sneed

* Bust cache
2022-07-17 07:42:03 +02:00
Aevann1 544f1b6ee6 make the emoji thing neater 2022-07-17 07:41:35 +02:00
Aevann1 8b10d02b1c add rainbow-text + cachebusting (thx neko my love) 2022-07-17 07:39:51 +02:00
Aevann1 ef3d13481a make emoji modal bigger 2022-07-16 22:19:42 +02:00
Aevann1 aacaf50928 change pronoun design 2022-07-15 22:21:42 +02:00
Aevann1 2092c1aee1 fix previous commit 2022-07-15 15:55:43 +02:00
Aevann1 d00c71a847 make comments more compact on mobile, will revert if someone complains 2022-07-15 15:54:30 +02:00
Aevann1 54c2ddfffe increase the margin of the "show more" button 2022-07-15 15:42:07 +02:00
Aevann1 a6a6cb925d more prominent effect on button click 2022-07-14 18:58:08 +02:00
Aevann1 a87283428d make emoji modal neater 2022-07-14 15:22:44 +02:00
Aevann1 48752681e8 make "show more" button look slightly better 2022-07-13 23:49:12 +02:00
Aevann1 86717e37b2 refactor changelog 2022-07-13 23:03:11 +02:00
Aevann1 b061b5eae1 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-13 22:39:18 +02:00
Aevann1 ff5054cc7a fixing buttons on win98 2022-07-13 22:39:15 +02:00
Snakes 5005c7ab97 Center voting on submission_listing desktop. 2022-07-13 16:25:05 -04:00
Aevann1 1555a1061a fixing primary buttons on win98 theme 2022-07-13 22:21:45 +02:00
Aevann1 b2de11cb1a add "pins" toggle to the frontpage 2022-07-13 19:31:35 +02:00
Aevann1 e3d2d24d94 fix this https://chapotraphouse.club/post/85005/chadblack2-soymad-soycry-soymad-black-man/2294928?context=8#context 2022-07-13 18:48:53 +02:00
Snakes 221a177790 Deduplicate userpage IDs desktop vs mobile. 2022-07-13 05:19:36 -04:00
Aevann1 75b2b62597 increase award columns number from 7 to 9 on desktop 2022-07-12 22:09:43 +02:00
Aevann1 334c5d449b change deux assets 2022-07-12 02:35:40 +02:00
Aevann1 e82dbd69ef tweak post-preview padding 2022-07-11 22:41:51 +02:00
Aevann1 fe4a37ceab increase pronoun padding 2022-07-11 22:22:26 +02:00
Aevann1 74cceb248b make pronouns bolder 2022-07-11 20:24:45 +02:00
Aevann1 b1db5a008b make small emojis 40px instead of 30px 2022-07-11 18:56:40 +02:00
Aevann1 6428dd08c5 add pronouns 2022-07-11 18:46:08 +02:00
Aevann1 4c2cb82f48 change deux' assets 2022-07-10 22:27:56 +02:00
Aevann1 ef2d0b9a5b make deleted comment background take presedence 2022-07-09 17:20:47 +02:00
Snakes 85d59d5656 LGB: Populate sidebar. 2022-07-09 08:51:08 -04:00
Snakes bf386fa9fe LGB: Add directory. 2022-07-09 07:11:05 -04:00
Aevann1 382df30e1f show ALL timestamps in user's timezone + move scripts to the bottom of HTML templates to mimic rocketloader's behavior on localhost (for testing) 2022-07-09 10:35:47 +02:00
Snakes 13dfa370b1 PCM: swap banner to Summer 2022 v2. 2022-07-08 16:46:35 -04:00
Aevann1 1549508e49 make :marseyunpettable: unpettable 2022-07-08 17:39:54 +02:00
Aevann1 c01a1ea08b cache bust badges 2022-07-08 17:11:59 +02:00
Aevann1 461e822314 change style of tables in midnight theme 2022-07-08 13:20:55 +02:00
Aevann1 278ec3dab4 Revert "make "text-danger" less hostile on the eyes"
This reverts commit 0371ee6c7c.
2022-07-07 07:29:18 +02:00
Snakes bf1a983f5e PCM: swap banner asset. 2022-07-05 15:23:42 -04:00
Snakes fa850ba69a PCM: swap banner; fix asset_siteimg logic. 2022-07-04 18:40:04 -04:00
Aevann1 63ae3c8ad7 fix emoji preview 2022-07-04 05:13:53 +02:00
Aevann1 2f2d858f24 fix first part of this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2242248?context=8#context 2022-07-04 05:03:10 +02:00
Snakes 35ff2d1f25 Fix preview of user pats with -_ in name. 2022-07-03 20:12:22 -04:00
Aevann1 b1bfa255bb make flairs on WPD actually readable 2022-07-03 12:23:12 +02:00
Aevann1 45437997c8 show log timestamp in local timezone 2022-07-03 10:38:19 +02:00
Aevann1 6c8bcc0bda fix long emojis 2022-07-03 10:00:42 +02:00
Aevann1 3245656787 show timestamps in the user timezone 2022-07-03 09:41:25 +02:00
Aevann1 47cf14c741 decrease the font on "saved posts" "saved comments" etc 2022-07-03 08:36:49 +02:00
Snakes cd43f314ba Fix profile nav wrapping mobile. 2022-07-02 23:40:45 -04:00
Aevann1 7d6e66b6f6 disallow glowie and golden marseys from being faked (again) 2022-07-02 12:47:14 +02:00
Aevann1 d0d15c319a Poll rework (#312)
* poll rework

* forgot to do joinedload on comments

* Fix logic errors with voting, SQL syntax.

Kitchen sink commit from review of poll-rework changes:
  1. Fix seed-db.sql syntax error.
  2. Fix SQL patch file duplication of *submissions* tables rather
     than one set of submissions and one for comments.
  3. Start makeshift SQL patch folder, since this is a large change
     that contributors may wish to apply to their local instances.
  4. Fix checkbox (non-`exclusive`) polls being unable to be
     unchecked. For consistency with `exclusive` polls, they should.
  5. Fix changing the option of an `exclusive` poll when both
     exclusive and non-exclusive options are present in one comment/
     post causing the non-exclusive options to become unchecked.
     (which, by my reading of SQLAlchemy `Query.one_or_none()`
     really could break quite badly in some cases).

* link relationships with their counterparts

* small modification to poll unchecking

Co-authored-by: TLSM <duolsm@outlook.com>
2022-07-02 08:48:04 +02:00
gooseman 671588d41c (((cachebust))) 2022-07-01 21:20:11 -07:00
Snakes fd73684329 Fix ext-link icon positioning on iOS. 2022-07-01 19:09:49 -04:00
Snakes f3b71f604e Fix ext-link positioning. 2022-07-01 18:43:50 -04:00
Aevann1 9e2c307838 making the icon look whiter 2022-07-02 00:36:27 +02:00
geese-suck a8a6b8e774 aevann change his mind like woman changing clothes 2022-07-01 15:30:08 -07:00
gooseman 650ba96f61 forgot 2 cachebust 2022-07-01 14:40:48 -07:00
Aevann1 503494f4af make glowmarsey and goldmarsey outline a little smaller 2022-07-01 12:42:55 +02: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 051f3261ed make glowmarsey and goldmarsey have the same size in animation 2022-07-01 02:52:14 +02:00
Aevann1 374d87f5eb cashebust maxxxing 2022-06-30 22:40:31 +02:00
Aevann1 08a4e7fa6f cachebust-maxxxing badges 2022-06-30 14:33:15 +02:00
Aevann1 1dd3353db2 increase navbar bottom padding on desktip by 0.1rem 2022-06-30 14:33:03 +02:00
Aevann1 790a814b36 make "show more" button look nicer 2022-06-29 04:35:52 +02:00
Aevann1 bee182530d restore clicking on navbar to scroll to top 2022-06-29 03:49:47 +02:00
Aevann1 0371ee6c7c make "text-danger" less hostile on the eyes 2022-06-29 03:37:00 +02:00
Aevann1 5c597d4990 fix b3ca7ce8ac 2022-06-29 03:31:59 +02:00
Aevann1 b3ca7ce8ac check for repost when the page loads 2022-06-29 03:29:01 +02:00
Aevann1 0e46e46ce3 make "show more" switch to "show less" when clicked 2022-06-29 03:16:38 +02:00
Aevann1 b6a5d010ca add "show more..." button 2022-06-29 02:55:44 +02:00
Snakes b7a85fe9f3 Fix beforeunload prompt posting on /h/foo/submit.
The /submit frontend has special behavior to prevent the confirmation
prompt before navigation away onbeforeunload. This is to suppress the
prompt when navigating away via submitting the form as part of the
intended workflow. (otherwise pressing 'Post' looks like you're about
to lose your input.)

This has been extended to the /h/<sub>/submit pages also by correcting
the condition in the frontend logic.
2022-06-27 18:38:18 -04:00
Snakes 8af70c9aab Fix emoji modifiers not rendering in preview.
Root cause 3aa6a838cb
2022-06-27 04:39:40 -04:00
Snakes a3e05a86d3 Enforce minimum width on header dropdown.
The header dropdown menu's horizontal positioning depends on the
width of the user pfp/username/currency region to not overflow off
the right side of the page. Therefore, we enforce a minimum width.

There is presumably some way to fix this by right-aligning the right
side of the dropdown menu to the right side of the dropdown header.
I didn't want to risk it given the strange interplay of all of the
Bootstrap styling and the media queries. Also, it does visually
look better to be left-aligned.
2022-06-27 03:45:46 -04:00
Aevann1 197637b872 expand CTRL+ENTER 2022-06-27 08:01:30 +02:00
Snakes 8d71dd751d Make spoilers hide emoji. 2022-06-27 01:01:19 -04:00
Snakes 1d500917ad Improve header currency display style. 2022-06-27 00:09:32 -04:00
Aevann1 3aa6a838cb fixed markdown preview rendering emojis that arent actually emojis 2022-06-27 06:01:43 +02:00
Aevann1 b1ef8e4c62 add poorcel mode 2022-06-27 04:14:53 +02:00
Aevann1 b5d993569f embed rework 2022-06-27 03:00:45 +02:00
Aevann1 baa105958e dirty hack to make stacked emojis work in markdown preview 2022-06-27 00:17:39 +02:00
Aevann1 8e73d7aaad remove checking for device RAM 2022-06-26 23:48:39 +02:00
Snakes 8185340e15 WPD: rearrange & style sidebar flairs. 2022-06-26 06:39:53 -04:00
Snakes 7b92db114a WPD: preliminary sidebar flair list. 2022-06-26 03:42:32 -04:00
Snakes 268c23e2f8 WPD: make holes more flair-like in UI. 2022-06-26 03:42:15 -04:00
Aevann1 f184351d5d make glowie marsey not clip 2022-06-25 22:48:41 +02:00
Aevann1 2b86a8fee0 minor tweak to modal behavior 2022-06-25 19:14:57 +02:00
Aevann1 5d777a07b0 cache bust 2022-06-25 17:36:35 +02:00
Aevann1 1abcbecf19 fix RAM shit 2022-06-25 17:33:46 +02:00
Aevann1 e4c50939e6 Revert "make threshold for RAM 3GB instead of 2.99GB"
This reverts commit 37b8fc5666.
2022-06-25 05:06:25 +02:00
Aevann1 37b8fc5666 make threshold for RAM 3GB instead of 2.99GB 2022-06-25 05:01:19 +02:00
Aevann1 a990e6cf6e small adjustment to emoji search 2022-06-25 04:44:06 +02:00
Aevann1 6dc824b29e make emoji search work on "enter" only for 3GB RAM and lower 2022-06-25 04:22:04 +02:00
Aevann1 51c91de1dd fix bug with confirmation dialog 2022-06-25 02:25:08 +02:00
Aevann1 149db9ebe3 cachebust marked.js 2022-06-25 02:17:16 +02:00
Aevann1 55ebd98f40 add confirmation dialog when u close tab while text is in commentbox/messagebox 2022-06-25 00:58:15 +02:00
Aevann1 1d29aaa00f make the disable function do 2 seconds instead of 1 second 2022-06-24 16:12:04 +02:00
Aevann1 53fe1ffc60 fix modal behavior 2022-06-24 07:22:04 +02:00
Aevann1 4e067579d5 fix disable() function not working 2022-06-24 05:00:35 +02:00
Aevann1 895f08e34e put disable() in a more general js file 2022-06-24 04:56:14 +02:00
Aevann1 ef3843f628 add timer to re-enable form buttons after 1 second 2022-06-24 04:53:31 +02:00
Aevann1 ff49bf52ac better modal behavior 2022-06-24 04:48:07 +02:00
Aevann1 6eabd99067 hide modals on back button (instead of going back 1 page) 2022-06-24 03:05:49 +02:00
Aevann1 e909f4e6fc forgot to cache-bust header.js 2022-06-24 01:11:00 +02:00
Aevann1 8d839b3e06 fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2131562?context=8#context 2022-06-23 23:04:16 +02:00
Aevann1 a3b4707b89 fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2135530?context=8#context 2022-06-23 22:08:22 +02:00
Aevann1 6029e5b4fc try fixing golden marseys 2022-06-23 18:48:44 +02:00
Aevann1 ec9cdf1f23 try fixing golden marseys 2022-06-23 18:45:41 +02:00
Snakes 3d2e7e415a Focus emoji search input on modal open. 2022-06-23 01:53:29 -04:00
Aevann1 78b31df5c2 disallow ppl from faking golden and glowing marseys 2022-06-23 02:50:02 +02:00
Aevann1 9aa5443ad0 improve glowie marseys 2022-06-23 02:45:51 +02:00
Aevann1 e42227ab67 add glowie marseys 2022-06-23 02:34:37 +02:00
Aevann1 fe2ad1ae87 show poll options in markdown preview when editing 2022-06-22 23:02:37 +02:00
Snakes 7f8405ad35 CSS: hard wrap fa rules, remove fa anims. 2022-06-22 16:34:11 -04: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 b561ca413c Hide names on reports in ghost threads. 2022-06-22 03:37:09 -04:00
Snakes 70c87140a3 WPD sidebar: update rules, improve styling. 2022-06-22 00:49:10 -04:00
Snakes d5d221e773 Fix layout with both card and catalog view. 2022-06-21 16:06:08 -04:00
Snakes 6c00330042 Fix markdown ordered lists breaking after index.
Previously, Markdown ordered lists in user content (in posts,
comments, previews, etc) would display like this:

    1.
    Foo bar baz.

This is because sanitize populates them as <li><p>Foo bar baz.</p></li>
Rather than mess with the Markdown engine and still not have backwards
compatibility, this has been solved in the frontend using CSS to force
the <p> to display inline.
2022-06-20 20:45:05 -04:00
Aevann1 ef3fbbf520 adjusting greentext regex 2022-06-19 22:22:36 +02:00
Aevann1 3f96a1c310 increase assetcache 2022-06-19 21:10:19 +02:00
Aevann1 0744a91a2f fix greentexting on 4chan theme 2022-06-19 21:06:54 +02:00
Aevann1 f77a7b7cfc fixed double quoting and triple quoting, etc 2022-06-19 20:21:25 +02:00
Aevann1 5ddde69ac9 greentext fix 2022-06-19 17:22:06 +02:00
Aevann1 c02f835708 add greentext to preview 2022-06-19 17:10:38 +02:00
Aevann1 45b1b61760 added greentext 2022-06-19 17:05:50 +02:00
Aevann1 b4b411e52a Revert "update admin panel with snakes template thing"
This reverts commit cde860da55.
2022-06-19 14:34:10 +02:00
Aevann1 13a6fc8871 Revert "Finish adding admin home cards."
This reverts commit 26686a65ec.
2022-06-19 14:33:51 +02:00
Snakes 26686a65ec Finish adding admin home cards. 2022-06-19 04:55:44 -04:00
gooseman cde860da55 update admin panel with snakes template thing 2022-06-19 00:18:14 -07:00
Aevann1 b017dedd24 fix bug in image preview in /submit 2022-06-18 18:20:36 +02:00
Aevann1 82cede6e1a more gif modal bullshit 2022-06-18 01:57:02 +02:00
Aevann1 0b0e3454f8 Fix replacement of link with itself (stolen from themotte) 2022-06-18 00:10:19 +02:00
Aevann1 17144cd98e Added mentions to the markdown preview (stolen from themotte) 2022-06-17 22:42:31 +02:00
Aevann1 65d9209568 increment css in assetcache.html 2022-06-16 17:57:25 +02:00
Aevann1 99910591c5 fix this https://i.imgur.com/rBomhtq.png 2022-06-16 17:36:01 +02:00
Snakes a8155d964a Kitchen sink: emoji content, assert, assetcache.
These are all minor and uncontroversial enough it just felt gross
making multiple commits.
  - Adds marseymummified.
  - Changes the new `raise ValueError(...)` in badge_grant to
    an `assert`.
  - Expands assetcache to a convenient grab bag of JS files.
2022-06-15 17:17:31 -04:00
Aevann1 ef00f31831 trying to fix a bug with old image embeds 2022-06-15 22:23:22 +02:00
Aevann1 d8ee822082 stop rules from being hidden for mobilecels in hamborger menu 2022-06-15 18:32:45 +02:00
Aevann1 f990397888 more gif modal bullshit 2022-06-15 18:25:31 +02:00
Aevann1 e1c72d580d fix gif modal (kill me) 2022-06-15 18:16:07 +02:00
Aevann1 93ec09e457 fix gif modal (oh my god) 2022-06-15 18:13:34 +02:00
Aevann1 8458480661 fix gif modal (again) 2022-06-15 18:11:43 +02:00
Aevann1 70164932e1 make gif modal column count 2 instead of 4 on mobile 2022-06-15 18:00:13 +02:00
Aevann1 53228db13f attempting to fix a bug with old gifs (no idea if this will work) 2022-06-15 17:45:26 +02:00
Aevann1 5eb67989da reduce gif modal columncount on desktop from 7 to 4 2022-06-15 17:44:30 +02:00
Aevann1 69b4667ad0 revert max image size 2022-06-15 15:38:34 +02:00
Snakes f04c3d6cdd Asst'd mobile CSS & markup fixes.
Kitchen sink commit of semi-related things:
  - `#profile--bio a` tags didn't properly wrap on mobile with some
    browsers. Changing overflow-wrap may fix this.
  - Userpage markup for mobile tried to place profile_bio inside a
    <p> tag. Nesting paragraphs is invalid HTML. It has been made a
    <div> to match desktop and even nearby sections on mobile.
  - Fedi icon in mobile dropdown had the wrong classes, which broke
    consistent styling with its neighbors.
  - fa-square-share-nodes improperly wound up with the fa-share-nodes
    character code when committed.
2022-06-15 05:59:27 -04:00
Snakes e5830ebec7 Add fedi to mobile nav, icon changes. 2022-06-15 04:35:13 -04:00
Snakes f04dffe1a7 Create directory page for sidebar megathreads.
The sidebar previously did not prioritize information as well as
desired, and the proliferation of megathreads led to a number of
icons occupying frontpage visual space despite not often being
useful to frontpage use cases. Therefore, they have been moved to
a new page.

The /directory page is predominantly created with template logic,
and it should be within the ability of our semi-technical jannie
staff to maintain.
2022-06-15 03:27:04 -04:00
Snakes e578108903 Add fediverse to nav dropdown. 2022-06-15 00:44:16 -04:00
Aevann1 e19d54a37e fix expanded image modal 2022-06-14 07:54:36 +02:00
Aevann1 77fab77712 readjust image limits (again) 2022-06-13 20:53:36 +02:00
Aevann1 d8fff0bc72 Revert "Fix giant patting hand UI bug."
This reverts commit 7915eb8390.
2022-06-13 20:31:28 +02:00
Aevann1 48f80294fd readjust image limits 2022-06-13 20:19:20 +02:00
Aevann1 8f72407f84 show the party hat in the header too 2022-06-13 19:46:40 +02:00
Aevann1 daab141798 increase award-coulmns from 6 to 7 2022-06-13 19:13:16 +02:00
Aevann1 8a5d2ad9f8 tinker with image heights a little 2022-06-13 19:00:50 +02:00
Aevann1 248e743ddb change fb0a590007 to make it include ALL images on the site 2022-06-13 18:47:56 +02:00
Aevann1 5a0dccbd50 fix missing comma in fb0a590007 2022-06-13 18:36:45 +02:00
Aevann1 fb0a590007 limit max-height of expanded images to 100% of monitor height 2022-06-13 18:33:09 +02:00
Aevann1 0fe3936cbb make CTRL+Enter work on input fields too 2022-06-12 20:11:06 +02:00
Snakes 7915eb8390 Fix giant patting hand UI bug.
Despite being very fun, this fixes the recently discovered bug where
placing '#' or '!' within the 'pat:' suffix of a patted emoji causes
the enclosing <span> to not be given the proper CSS `display` or
`position`, leading to the hand being sized relative to the comment
bounding box rather than the emoji box.

This should be backward compatible. The only posts it wont fix are
existing ones with the giant hands. Main example being:
https://rdrama.net/h/slackernews/post/76302/
2022-06-12 02:22:38 -04:00
Aevann1 3b50c92afb make padding for notification tabs smaller on small devices 2022-06-11 11:37:30 +02:00
Aevann1 2af325de97 make "previous" and "next" buttons bolder 2022-06-10 21:49:07 +02:00
Aevann1 f2d49f981d host the image used in 4chan.css ourselves 2022-06-10 21:00:06 +02:00
Aevann1 5d6343159b reduce column count from 8 to 6 2022-06-10 20:09:13 +02:00
Aevann1 38686e8e1e remove useless fontawesome css rules 2022-06-10 15:28:50 +02:00
Aevann1 a6f80d8104 Changed the icon for "unfollow hole" 2022-06-10 15:24:10 +02:00
Snakes 4db48a6ec9 Separate modaction notifs from inbox. 2022-06-10 08:28:46 -04:00
Snakes 8709ca816d Add Y'all Seein' Eye award v2 for offsitementions.
Reusing the assets and design for the ill-fated YSE in a0f441a67d.
This time, the award provides access to our offsite mentions (reddit
notifs).
2022-06-10 07:12:19 -04:00
Snakes dc7f13304e Add following holes for notifications. 2022-06-09 16:24:24 -04:00
Snakes 5a5a0f6bd1 Swap badge 139 asset to rescale. 2022-06-08 01:29:12 -04:00
Snakes b187b72746 Remove backdrop blur on modals.
By direct command of Benevolent rDrama Caliph for Life, his
exaltedness Aevann. Was causing performance issues on a large
number of users' systems.
2022-06-07 07:23:46 -04: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 998a8f462e Add links to orphan endpoints. 2022-06-03 06:29:35 -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
float-trip 58c4b62163 Some fixes (#300)
* Narrow emoji_regex

* Fix mirrored pat emojis

* Fix ban icon on posts/comments
2022-06-02 19:18:10 -04:00
Snakes 9bb84baf61 theme: Fix dramblr readability. 2022-06-01 20:01:26 -04:00
Snakes aa9b59e1cb Improve lottery UI theme compat. 2022-06-01 18:07:02 -04:00
float-trip d1fd7d4cc3 Remove margin-bottom on header tags in blockquotes (#299) 2022-06-01 02:31:34 -04:00
Snakes 1d49012c16 Revise 16587cdf7cf5, expand assetcache.
Assetcache: now supports js/userpage.js & js/userpage_v.js.
The three userpage*.html templates now implement it.

Revising gift messages 16587cdf7cf5:
  - routes/users.py: Deduplicate code, more descriptive var name.
  - templates/userpage.html: Move post-tax gift line below reasons
    box. Ultimately just an aesthetic change.
2022-06-01 00:11:23 -04:00
Snakes 193adb82d2 Lottery: fix page ready listener. 2022-05-31 22:55:31 -04:00
Snakes b63e7c3d36 Cachebust badge images. 2022-05-31 13:07:08 -04:00
Snakes c73f97c183 Finalize assets for lottery page. 2022-05-30 22:44:32 -04:00
outruncolors c2f598a17f Move lottery to own page (#296) 2022-05-30 22:40:38 -04:00
Snakes b85f23becb assetcache: Bust 2dda7529a4, expand. 2022-05-30 20:20:14 -04:00
Aevann1 ddc4fe756e Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-30 13:07:35 +02:00
Aevann1 d1eda8c28c fixing https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2021592?context=8#context 2022-05-30 13:07:03 +02:00
Snakes 470a3c76f5 Cache-bust main.css for d19a73c82. 2022-05-30 04:54:46 -04:00
Snakes 86190e6a29 Rearrange sidebar counter.
Also includes moving styles to main.css and reducing font size per
request of Carp.

Additionally: includes the modlog sidebar link that I forgot to stage
with the previous commit.
2022-05-30 04:29:41 -04:00
Snakes 3106823511 Rearrange nav icons, move some to sidebar.
After the recent addition of the Lottershe, some narrow phone screens
caused the header to wrap to two lines. Prompted by this, a more
general rework of the header nav icons was initiated.

Notably: random user, random post, all comments has been moved to
sidebar on all sites, and a .sidebar-link CSS class was created to
support it. Additionally, on rDrama, links for Badges and Marseys
were added, since I believe these are presently inaccessible from
the UI. Further, a Modlog link was added to be more accessible.

Additionally, the icons in the header were rearranged on desktop and
mobile to better fit relative priority.
2022-05-30 04:16:03 -04:00
Nekobit a2cfe4a827 Fix Lottery modal on mobile 2022-05-30 02:58:56 -04:00
Snakes 80d04b6d9d assetcache: Add theme CSS support; bust recent. 2022-05-30 01:50:52 -04:00
Aevann1 0cf86e3693 gave large emojis a fixed width and height too 2022-05-30 05:52:51 +02:00
Aevann1 e52a2e285b added css fallback for garage schizo browsers 2022-05-30 05:02:14 +02:00
Aevann1 08dfef97a3 fixed the icon for "move_hole" mod action 2022-05-29 21:06:51 +02:00
Aevann1 eafa2a2b0a Revert "Bigly UI improvements (#290)"
This reverts commit c081c2bec2.
2022-05-29 11:13:20 +02:00
Snakes 0aafd810a2 assetcache: Add dynamic file parameter, apply more.
Assetcache macro improvement: to support assets in folders which are
dynamically referenced by e.g. ID or name, the `asset` macro now
accepts an optional second parameter to be included in the path but
not to be used for versioning the class of assets.

To support recent commits, assetcache now applies for:
  - images/badges/*.webp
  - js/: award_modal.js, bootstrap.js, header.js
2022-05-29 00:52:40 -04:00
gooseman 539f9185c8 Update assetcache.html 2022-05-27 22:51:29 -07:00
Aevann1 25cb19b676 revert 2022-05-27 17:23:06 +02:00
Snakes af77ec515d Templates: create assetcache template.
For too long, we've Replace-All'd to increment site asset version
numbers. This is a task that has an obvious solution using the
templating engine. As such, we now have templates/util/assetcache.html
which contains a dict of version numbers and a macro to generate the
versioned name of an asset.

Going forward, it is recommended that all future replace-all uses
are used as opportunities to switch to the macro. Do remember to
import the macro in all top-level templates, if not already present.
Recommended form: {%- from 'util/assetcache.html' import asset -%}
Then add a key to CACHE_VER in util/assetcache.html.
Then replace the asset path in templates eg: {{asset('css/main.css')}}

For all future versions of those assets, one can simply increment
the value in util/assetcache.html instead. This will greatly reduce
git spam touching unrelated files and generally be clearer and easier.
2022-05-26 22:47:32 -04:00