Commit Graph

8454 Commits (b8597a1649878aeafc1ce2f723121561c9212580)

Author SHA1 Message Date
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 ab2d9b492d add "warm" sorting - exact same as hot but pinned posts are shown in their normal positions instead of the top 2022-07-03 04:40:57 +02: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
Aevann1 b26839a616 cachebust fireworks.js 2022-07-02 03:18:01 +02:00
Aevann1 9f124e2c8d Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-02 01:11:51 +02:00
Aevann1 f56be06eb8 add hole pinning 2022-07-02 01:11:48 +02:00
Snakes fd73684329 Fix ext-link icon positioning on iOS. 2022-07-01 19:09:49 -04:00
Aevann1 fe22eefe41 make CTRL+Enter work in /create_hole page 2022-07-02 00:55:31 +02: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
gooseman ca344927c1 works maybe idk i didnt test it lol 2022-07-01 14:38:27 -07:00
Aevann1 d59f346f0b 1 less request, 1 less transaction, 1 less query 2022-07-01 23:10:48 +02:00
Aevann1 25e594d673 Revert "no longer stop reposts from being posted"
This reverts commit 19e6e7f4d9.
2022-07-01 20:29:12 +02:00
Aevann1 c2b892af04 search comments within a specific thread 2022-07-01 13:11:23 +02:00
Aevann1 503494f4af make glowmarsey and goldmarsey outline a little smaller 2022-07-01 12:42:55 +02:00
Snakes 613af40ddf PCM: Swap sidebar image. 2022-07-01 04:15:39 -04: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
Snakes 39c945f7ca LGB: Initial sidebar & const. 2022-07-01 01:08:15 -04:00
Aevann1 0dbe7fe25f Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-07-01 02:52:18 +02:00
Aevann1 051f3261ed make glowmarsey and goldmarsey have the same size in animation 2022-07-01 02:52:14 +02:00
Snakes 8c1e4ea58f Hide admin vote totals in template when empty. 2022-06-30 20:16:27 -04:00
Aevann1 1362278cb4 add more data for jannies in /votes page (will use that in polls) 2022-07-01 01:39:09 +02:00
Aevann1 11d0163740 sneed 2022-07-01 01:28:33 +02:00
2xsaiko b2461cd1d1 Fix quote rendering in chat (#310) 2022-06-30 19:01:01 -04:00
Aevann1 8194c31417 fix 500 error 2022-07-01 00:08:22 +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
Snakes 0b95dc8cd1 WPD: Update sidebar flairs, restyle margin. 2022-06-29 18:12:11 -04:00
Aevann1 bf4e608dae sneed 2022-06-29 09:54:06 +02:00
Aevann1 6e52348432 sneed 2022-06-29 09:50:54 +02: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 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 19e6e7f4d9 no longer stop reposts from being posted
(just give the warning and that's it)
2022-06-29 03:37:44 +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
Aevann1 b5c9d9116f remove non-functional sorting by vote time 2022-06-29 01:53:52 +02:00
Snakes adfad3e8a5 Swap lottery & random_user nav, and other nav. 2022-06-28 03:53:33 -04:00
Aevann1 f4ff2b71fb restore accidentially removed condition 2022-06-28 08:35:24 +02:00
Aevann1 42a6b5731a sneed 2022-06-28 08:17:21 +02:00
Aevann1 1a1b57d3d9 make "toggle preview" button in the same row as other buttons 2022-06-28 04:09:23 +02:00
Aevann1 8475a2352e Revert "remove "toggle preview" button"
This reverts commit d2036a34f3.
2022-06-28 04:06:57 +02:00
Aevann1 d2036a34f3 remove "toggle preview" button 2022-06-28 03:38:45 +02:00
Aevann1 aac17a6daa show the username of the janny who banned 2022-06-28 02:59:08 +02:00
Aevann1 cd811d7b9d consistent lottershe naming 2022-06-28 02:54:44 +02:00
Aevann1 4fae28a2a2 fix child comment highlighting 2022-06-28 02:41:25 +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
Aevann1 73190a8164 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-27 20:42:44 +02:00
Aevann1 d31d6b8617 restore push notifs 2022-06-27 20:42:41 +02: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
Aevann1 b6b57636df Revert "make CTRL+ENTER possible with gifting"
This reverts commit b124afb60f.
2022-06-27 07:58:54 +02:00
Snakes 8d71dd751d Make spoilers hide emoji. 2022-06-27 01:01:19 -04:00
Aevann1 5661871255 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-27 06:10:14 +02:00
Aevann1 ab5078f313 show vote time 2022-06-27 06:10:10 +02: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 7050932fe0 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-27 05:46:36 +02:00
Aevann1 52a8a219ae make poorcel-mode device-specific 2022-06-27 05:46:32 +02:00
Snakes 6c97faeb55 WPD: sidebar flairs list update. 2022-06-26 23:37:52 -04:00
Aevann1 234cbe47ee make it possible to sort downvotes too 2022-06-27 04:50:13 +02:00
Aevann1 26d46a9cb9 make sorting tables less retarded 2022-06-27 04:47:49 +02:00
Aevann1 44c588fce3 make text in settings less small 2022-06-27 04:35:40 +02:00
Aevann1 03a9a5752b Revert "trying to fix weird banner behavior"
This reverts commit 8d0a674f4e.
2022-06-27 04:33:59 +02:00
Aevann1 6bd4efa61f Revert "make small text less small"
This reverts commit 42b0f37034.
2022-06-27 04:33:38 +02:00
Aevann1 8d0a674f4e trying to fix weird banner behavior 2022-06-27 04:24:56 +02:00
Aevann1 6ff420e338 add a public list of poorcels 2022-06-27 04:21:34 +02:00
Aevann1 42b0f37034 make small text less small 2022-06-27 04:18:14 +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 b124afb60f make CTRL+ENTER possible with gifting 2022-06-27 00:27:41 +02:00
Aevann1 baa105958e dirty hack to make stacked emojis work in markdown preview 2022-06-27 00:17:39 +02:00
Aevann1 667355b952 don't highlight voted comments as "unread" 2022-06-26 23:57:02 +02:00
Aevann1 8e73d7aaad remove checking for device RAM 2022-06-26 23:48:39 +02:00
Aevann1 58867084af temporarily disable push notifs to get rid of console spam 2022-06-26 23:04:11 +02:00
Snakes 8185340e15 WPD: rearrange & style sidebar flairs. 2022-06-26 06:39:53 -04:00
Snakes fe5d339386 WPD: Update sidebar flairs. 2022-06-26 05:15:12 -04:00
Snakes 0311160c1a WPD: update flair sidebar pre-launch. 2022-06-26 03:42:57 -04:00
Snakes e0c3c79902 WPD: Require flairs on all posts. 2022-06-26 03:42:56 -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
Snakes cd556b6d8e Refactor UI name of hole/sub to constant. 2022-06-26 03:41:28 -04:00
Aevann1 5e745e38d3 revert the saving and subscription shit 2022-06-26 08:11:38 +02:00
Aevann1 5aad7e09a6 dont query polls on frontpage 2022-06-26 08:10:02 +02:00
Aevann1 afdc9605ca make checking if a comment is saved less retarded 2022-06-26 07:48:39 +02:00
Aevann1 0ef33b396a make checking if a post is subscribed to less retarded 2022-06-26 07:45:49 +02:00
Aevann1 e022b29ef6 rework custom css a little 2022-06-26 07:26:45 +02:00
Aevann1 74978bfbf7 Revert "put custom CSS into HTML templates"
This reverts commit 19c82b7ea1.
2022-06-26 07:07:28 +02:00
Aevann1 2b1e7f6570 make checking if a post/comment is saved less retarded 2022-06-26 06:54:41 +02:00
Aevann1 19c82b7ea1 put custom CSS into HTML templates 2022-06-26 06:33:41 +02:00
Aevann1 3b8188fd67 fixed version of d83d47e280 2022-06-26 03:22:05 +02:00
Aevann1 a1b137447e Revert "reduce query volume #1"
This reverts commit d83d47e280.
2022-06-26 03:12:31 +02:00
Aevann1 d83d47e280 reduce query volume #1 2022-06-26 02:50:47 +02:00
Aevann1 f184351d5d make glowie marsey not clip 2022-06-25 22:48:41 +02:00
Aevann1 bc7185b5af order awards by the time they were awarded 2022-06-25 22:33:51 +02:00
Aevann1 905e32c60c remove the javascript block i used for testing 2022-06-25 19:29:34 +02:00
Aevann1 2b86a8fee0 minor tweak to modal behavior 2022-06-25 19:14:57 +02:00
Aevann1 c53b8dae81 add ability to sort votes table by truescoer 2022-06-25 17:44:02 +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 66586dfce3 testing RAM thing 2022-06-25 17:20:34 +02:00
Aevann1 70c2b2cffa try fixing RAM thing 2022-06-25 05:19:28 +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 ffd0d9ed31 show duration on ban icon tooltip 2022-06-25 02:11:00 +02:00
Aevann1 d59a80245d add total counter for simps, haters, simping for, hates 2022-06-25 01:22:20 +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 ab1f6fac65 fix 500 error 2022-06-24 22:54:45 +02:00
Aevann1 6b1560a9d2 add hunter biden's fart 2022-06-24 19:56:28 +02:00
Snakes e896a965ad Fix crab award media path. 2022-06-24 13:22:23 -04:00
Aevann1 a64dd729e8 escape asterick when quoting 2022-06-24 18:25:21 +02:00
Aevann1 13143a72ab disable animations for ppl with lower than 3GB RAM 2022-06-24 18:12:58 +02:00
Aevann1 17c81ea9ef reduce margin above "toggle preview" 2022-06-24 17:40:05 +02:00
Aevann1 41cebb7f80 fix accidential greentext in chat 2022-06-24 17:37:31 +02:00
Aevann1 f34c4e1196 stop using app.config for our own stuff 2022-06-24 17:08:57 +02:00
Aevann1 68dc17ca4e fix ea37966aff 2022-06-24 16:18:48 +02:00
Aevann1 ea37966aff disable all cosmetic awards on devices with less than 3GB ram 2022-06-24 16:17:45 +02:00
Aevann1 1d29aaa00f make the disable function do 2 seconds instead of 1 second 2022-06-24 16:12:04 +02:00
Aevann1 f7c3cfbf5b fix 66eb63dcee 2022-06-24 16:10:05 +02:00
Aevann1 66eb63dcee reload pages on back button for me 2022-06-24 15:07:12 +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 222367cea8 fix 500 errors 2022-06-24 03:28:34 +02:00
Aevann1 9dbe67bf90 respect user's chosen themecolor 2022-06-24 03:27:49 +02:00
Aevann1 96e14111e3 do this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2021584?context=8#context 2022-06-24 03:25:12 +02:00
Aevann1 a1a28a172d don't create a modal instance if one exists 2022-06-24 03:06:13 +02:00
Aevann1 6eabd99067 hide modals on back button (instead of going back 1 page) 2022-06-24 03:05:49 +02:00
Aevann1 4c6bc3cdfd make emoji_modal neater on mobile 2022-06-24 01:57:02 +02:00
Aevann1 e909f4e6fc forgot to cache-bust header.js 2022-06-24 01:11:00 +02:00
Aevann1 4fc8520e24 remove post_toast2() and post_toast3() and incorporate them into post_toast() 2022-06-24 01:07:47 +02:00
Aevann1 b17333b2a0 fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2046517?context=8#context 2022-06-24 00:46:07 +02:00
Aevann1 39a5971db7 add minlength to hexcodes in settings 2022-06-24 00:19:54 +02:00
Aevann1 b965666c2d fix catalog view not working while logged-out 2022-06-23 23:46:31 +02:00
Aevann1 80db653d3f fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2130416?context=8#context 2022-06-23 23:25:07 +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 2d306bbba7 pause videos on comment collapse 2022-06-23 23:01:20 +02:00
Aevann1 4d692bebe8 make all form-submitting buttons get disabled after clicking
so spergs like me with poor motor control don't click twice and get hit with 429
2022-06-23 22:49:23 +02:00
Aevann1 38a5bf25c5 fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2133621?context=8#context 2022-06-23 22:14:41 +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 31d2ade68c Fix emoji modal DMing private profile. 2022-06-23 03:30:34 -04:00
Snakes 3d2e7e415a Focus emoji search input on modal open. 2022-06-23 01:53:29 -04:00
Aevann1 92e72b330b switch "browse holes" and "create hole" 2022-06-23 03:40:59 +02: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 7e6e04b231 sneed 2022-06-23 01:13:21 +02:00
Aevann1 b8321fd18d fix removing and approving comments on desktop 2022-06-22 23:06:06 +02:00
Aevann1 fe2ad1ae87 show poll options in markdown preview when editing 2022-06-22 23:02:37 +02:00
Aevann1 cbc2a07818 make "browse holes" button visible inside holes 2022-06-22 22:52:19 +02:00
Aevann1 ffcdc0aafe make hole banners bigger on desktop 2022-06-22 22:50:58 +02:00
Snakes 7f8405ad35 CSS: hard wrap fa rules, remove fa anims. 2022-06-22 16:34:11 -04:00
Aevann1 cc3ddf3c8b Revert "Add polls thread to megathread directory."
This reverts commit 3d7d1e5ff7.
2022-06-22 22:10:01 +02:00
Snakes 3d7d1e5ff7 Add polls thread to megathread directory. 2022-06-22 16:07:33 -04:00
Aevann1 8ecb4582d0 refactor sorting comments 2022-06-22 21:50:20 +02:00
Aevann1 aa403d5a3a fix intended quotes being turned into greentext 2022-06-22 19:26:29 +02:00
Aevann1 5073258258 try to fix marseybux prinitng on PCM 2022-06-22 18:17:26 +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 b561ca413c Hide names on reports in ghost threads. 2022-06-22 03:37:09 -04:00
Snakes 79ced3816c Add 'hole' search operator. 2022-06-22 02:35:50 -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 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 e2cd25db67 WPD: limit hole creation to JL2+. 2022-06-21 01:20:21 -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
Snakes f6b6997f61 Persist activity timestamp to users. 2022-06-20 16:25:03 -04:00
Snakes 35720c0a63 Include holed post edit in mobile admin actions. 2022-06-20 11:58:58 -04:00
Snakes dee8eb5154 Replace loading.webp with new marseyloading. 2022-06-19 22:15:33 -04:00
Aevann1 b5df4bca40 make expanded images' size be at least 50% of window width 2022-06-20 00:46:36 +02: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 d9cdbd0015 return to only allowing images/videos/audio 2022-06-19 18:56:45 +02:00
Aevann1 64b384fb42 put greentext in formatting 2022-06-19 18:27:23 +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 bb1d3677c5 fix this https://i.imgur.com/6A9Rgkt.png 2022-06-19 16:55:10 +02:00
Aevann1 06677d269e refactor process_video 2022-06-19 16:49:44 +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 8eaacff14b switch "chaptraphouse.club" with "rdrama.lol" 2022-06-18 18:32:43 +02:00
Aevann1 b017dedd24 fix bug in image preview in /submit 2022-06-18 18:20:36 +02:00
Aevann1 ccdabcba29 allow uploading of all types of files (using lain.la)
+ allow multiple file upload in bios and messaging admins
2022-06-18 17:53:34 +02:00
Aevann1 8d83c6944b readjust ricardo3 2022-06-18 15:27:04 +02:00
Aevann1 31b0bd5b68 readjuct ricardo3 again 2022-06-18 15:22:03 +02:00
Aevann1 088e98ed1b readjuct ricardo3 2022-06-18 15:21:03 +02:00
Aevann1 89a85a8ec0 remove weird trailing tabs 2022-06-18 04:13:55 +02:00
Aevann1 7387616100 move all of wholesome award to translate 2022-06-18 04:11:27 +02:00
Aevann1 76ac00f04b convert 1 part of wholesome award on inferior browsers to translate + clean up awards.css 2022-06-18 03:53:25 +02:00
Aevann1 c609e98ba5 move ricardo from top-left to translate 2022-06-18 03:39:50 +02:00
Aevann1 c42cb538aa add a button for PCM to print marseybux 2022-06-18 02:35:27 +02:00
Aevann1 82cede6e1a more gif modal bullshit 2022-06-18 01:57:02 +02:00
Aevann1 8c137fef2b verify cloudflare 2022-06-18 01:22:56 +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
Aevann1 d4260138f5 Revert "de-nerf tilt award on mobile"
This reverts commit 3985a58815.
2022-06-16 14:37:23 +02:00
Aevann1 59456fc895 Revert "fuck you, use a real browser"
This reverts commit 6ecca70924.
2022-06-16 02:31:14 +02:00
Aevann1 6ecca70924 fuck you, use a real browser 2022-06-16 01:56:24 +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
Snakes aea7e0b83a Exclude golden Marseys from animations flag.
Fixes: https://rdrama.net/post/18459/-/2128499?context=8#context
2022-06-15 16:40:30 -04:00
Aevann1 ef00f31831 trying to fix a bug with old image embeds 2022-06-15 22:23:22 +02:00
Aevann1 cd5f8a528b in the preview, dont replace '\n' with '\n\n' if the text
has "```" or "<pre>" (to match backend behavior)
2022-06-15 22:12:03 +02:00
Aevann1 d32a3774a6 fix bug where user banner sometimes wasn't shown on mobile 2022-06-15 20:29:54 +02:00
Aevann1 3985a58815 de-nerf tilt award on mobile 2022-06-15 19:05:04 +02:00
Aevann1 d8ee822082 stop rules from being hidden for mobilecels in hamborger menu 2022-06-15 18:32:45 +02:00
Aevann1 2b805d823c display sidebar for mobilecels in "/sidebar" 2022-06-15 18:31:46 +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 3c598a0393 reduce gif modal padding 2022-06-15 17:44:12 +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 564f5b38f1 Clarify notif color logic, extend to modaction.
Previously, notification bell linking & color logic was interspersed
between templates and the user model. It doesn't _really_ belong in
the user model, but it's been moved out of the templates to there to
at least centralize it. This was also used as an opportunity to make
the modactions inbox color the bell appropriately.
2022-06-15 01:43:34 -04:00
Snakes e578108903 Add fediverse to nav dropdown. 2022-06-15 00:44:16 -04:00
Snakes 1e26fb3d79 Hide self-deleted posts from other users. 2022-06-14 18:04:22 -04:00
Aevann1 e19d54a37e fix expanded image modal 2022-06-14 07:54:36 +02:00
Aevann1 285aa6a857 limit post padding to posts with "tilt" award only 2022-06-13 23:43:58 +02:00
Aevann1 f84336143f adding padding to posts (for tilt award) 2022-06-13 22:12:04 +02:00
Aevann1 29d2a549c4 remove !important from tilt award css 2022-06-13 21:08:57 +02:00