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
Aevann1
92aaa125f8
Revert "rename "#post-award-confetti" to "confetti" (minimalism autism""
...
This reverts commit 87549f9d3c
.
2022-06-13 20:55:18 +02:00
Aevann1
77fab77712
readjust image limits (again)
2022-06-13 20:53:36 +02:00
Aevann1
87549f9d3c
rename "#post-award-confetti" to "confetti" (minimalism autism"
2022-06-13 20:51:23 +02:00
Aevann1
0f49c8e32f
replace spaces with tabs
2022-06-13 20:33:25 +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
f4aa70cc74
Revert "Add user title coin cost parameter."
...
This reverts commit dece3fd460
.
2022-06-13 20:10:53 +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
fdbc2d2f2c
make user banners expand in the same page (like hole banners)
2022-06-13 18:57:44 +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
acde2c856b
Enable JL2 viewing shadowbanned comments.
2022-06-12 05:48:27 -04: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
30f71855f4
fix 5e9297b78f
2022-06-11 16:50:26 +02:00
Aevann1
5e9297b78f
rename "Lottershe" to "Lottery" on other sites
2022-06-11 16:44:13 +02:00
Aevann1
b94fabddb4
rDrama -> SITE_NAME
2022-06-11 16:39:00 +02:00
Aevann1
165e394dea
decreased award threshold from 4GB to 3GB
2022-06-11 15:56:21 +02:00
Aevann1
f80424b103
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-11 15:07:51 +02:00
Aevann1
c59708c416
fixed uneven award modal on mobile
2022-06-11 15:07:47 +02:00
Snakes
4b1faca58e
Swap create/browse holes in sidebar.
2022-06-11 08:49:17 -04:00
Aevann1
3ec049e222
testing commit #2
2022-06-11 14:33:17 +02:00
Aevann1
6314b0f788
testing commit #1
2022-06-11 14:31:43 +02:00
Aevann1
12a9307ab3
don't restrict file extensions on the frontend side (leave it to the backend)
2022-06-11 13:38:45 +02:00
Aevann1
a082105ab8
remove weird trailing tabs
2022-06-11 11:56:16 +02:00
Aevann1
3b50c92afb
make padding for notification tabs smaller on small devices
2022-06-11 11:37:30 +02:00
Aevann1
79df456d13
fix gigantic lottery messages on mobile
2022-06-11 11:33:40 +02:00
Aevann1
358ce08544
don't collapse gambling comments when viewing a comment
2022-06-11 11:30:46 +02:00
Aevann1
07e98ab2f0
Revert "yandex verification"
...
This reverts commit dfbc645ffe
.
2022-06-11 01:08:34 +02:00
Aevann1
dfbc645ffe
yandex verification
2022-06-11 01:05:59 +02:00
Aevann1
f548c2077d
show names of all files when pasting instead of just the first file
2022-06-11 00:37:55 +02:00
Aevann1
964318fe5d
fix push notifications
2022-06-11 00:14:03 +02:00
Aevann1
bceb87d58c
disable the JS for shit/fireflies/fireworks/strippercake
...
awards on devices with less than 4 GB RAM
2022-06-10 23:58:17 +02:00
Aevann1
79bc71f132
change sidebar artwork megathread link for idio
2022-06-10 22:35:19 +02:00
Aevann1
d84a4c7ce9
convert monthly marseybux into a cron task
2022-06-10 22:23:01 +02:00
Aevann1
2af325de97
make "previous" and "next" buttons bolder
2022-06-10 21:49:07 +02:00
Aevann1
cda275c194
replace \n with \n\n in previews (to match the backend behavior)
2022-06-10 21:45:48 +02:00
Aevann1
b2b86abfd0
trim selection on quoting
2022-06-10 21:43:39 +02:00
Aevann1
f2d49f981d
host the image used in 4chan.css ourselves
2022-06-10 21:00:06 +02:00
Aevann1
9781443f89
Increase margins for "block hole" and show "follow hole" to loggedout-cels
2022-06-10 20:17:58 +02:00
Aevann1
733ac0e319
make the js for gif insertion a little better
2022-06-10 20:13:01 +02:00
Aevann1
5d6343159b
reduce column count from 8 to 6
2022-06-10 20:09:13 +02:00
Aevann1
10ffa90167
make the javascript use 1 linefeed instead of 2
...
we don't need it to do 2 linefeeds anymore
because the backend handles that before sanitizng
2022-06-10 20:05:54 +02:00
Aevann1
f9a0cff350
make the page always jump to the comment you wanna view
2022-06-10 20:01:12 +02:00
Aevann1
558726228e
fix floating awards being too large
2022-06-10 17:47:17 +02:00
Aevann1
e483accffb
fixed this https://files.catbox.moe/qdcbvd.png
2022-06-10 16:47:34 +02:00
Aevann1
1adf12cf71
add forgotten </i>
2022-06-10 16:10:04 +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
Aevann1
f09e6bf67c
add icon for "block hole"
2022-06-10 15:21:03 +02:00
Aevann1
039a27100d
add small margin to the icon of "Follow hole"
2022-06-10 15:13:25 +02:00
Aevann1
76174edb89
Fixed bug with unfound template
...
(oversight when I renamed /create_sub to /create_hole)
2022-06-10 14:50:11 +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
b0554ce303
Add follower count to /holes table.
2022-06-10 06:06:56 -04:00
Aevann1
934b631730
rename /create_sub to /create_hole
2022-06-10 00:29:45 +02:00
Snakes
dc7f13304e
Add following holes for notifications.
2022-06-09 16:24:24 -04:00
Aevann1
900edaa92e
made it so you can click "CTRL+Enter" anywhere in
...
/submit in order to make a post
2022-06-09 13:12:25 +02:00
Snakes
5a5a0f6bd1
Swap badge 139 asset to rescale.
2022-06-08 01:29:12 -04:00
Snakes
63f45f81fd
Make shop flavor text site-specific.
2022-06-07 23:25:39 -04:00
Snakes
e217335b3a
Make pat anims unaffected by anim setting.
2022-06-07 07:29:07 -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
Aevann1
ecc121bf93
fix gigantic wholesome award size on mobile
2022-06-07 12:52:48 +02:00
Aevann1
4a1e6cc726
a 500 error is much better than an XSS, bro
2022-06-07 12:03:51 +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
dece3fd460
Add user title coin cost parameter.
2022-06-06 19:02:23 -04:00
Snakes
998a8f462e
Add links to orphan endpoints.
2022-06-03 06:29:35 -04:00