Commit graph

288 commits

Author SHA1 Message Date
Hendrik L
b3bb16cce4 reduce duplication in post template 2024-12-09 13:39:14 +01:00
rimu
cb0d9317ae reply edit time spacing #376 2024-12-09 18:11:32 +13:00
rimu
c2e92695c1 Merge remote-tracking branch 'origin/main' 2024-12-09 09:20:02 +13:00
rimu
e4d915338a reduce duplication in teasers #377 2024-12-09 09:19:51 +13:00
Hendrik L
aa06a1f434 replace macro render_comment 2024-12-06 13:28:20 +01:00
freamon
bd37423ba4 Add option for admins to fixup a broken post from the remote version 2024-12-04 17:36:28 +00:00
rimu
570c754566 post_teaser_clickable on images 2024-11-30 13:46:59 +13:00
rimu
3b462377ce move post teaser clickable div so voting buttons still work 2024-11-24 09:19:58 +13:00
rimu
f8638cf98b tap anywhere on the teaser to view the post
not just the title
2024-11-22 08:47:34 +13:00
rimu
34a991ef7d don't show post title in breadcrumb 2024-11-02 16:10:52 +13:00
rimu
21ae50f6ff post licence - save and display 2024-11-02 16:02:29 +13:00
freamon
502e6ff0f6 post soft-deletion: add options to restore or purge deleted posts 2024-10-26 03:55:56 +00:00
freamon
9a033522d1 post soft-deletion: show deleted posts in user profile to provide restoration route 2024-10-26 03:55:45 +00:00
freamon
0c0b0e4212 post soft-deletion: hide links in user profile replies section that'll likely 404 2024-10-26 03:55:35 +00:00
rimu
2d6d9b960c Merge remote-tracking branch 'origin/main' 2024-10-20 11:54:31 +13:00
rimu
d7b750f9b9 make disable_voting work again - user profiles 2024-10-20 11:23:20 +13:00
freamon
148d230527 post-reply soft-deletion: add option to purge a comment 2024-10-19 17:27:42 +00:00
freamon
5643c19e44 post-reply soft-deletion: add deleted comments to user view, to provide restoration route 2024-10-19 17:27:30 +00:00
freamon
9ef5aeecb3 post-reply soft-deletion: collapse deleted comments in post view 2024-10-19 17:27:16 +00:00
freamon
a2fae00936 post-reply soft-deletion: replace content in HTML with 'deleted by author/moderator' 2024-10-19 17:26:50 +00:00
rimu
eff0edf817 more reliable youtube thumbnails 2024-10-06 07:03:58 +13:00
rimu
0c646c5cf4 cross-posting of bot-generated posts #206 2024-10-05 18:58:07 +13:00
rimu
a7fbd57188 use smallest version of community thumbnail #333 2024-10-04 18:58:41 +13:00
Jeena
157486d7b2 Add community icon infront of name in teasers
I have a much easier time recognizing icons, even if they're small
compared to reading the name of the community. I thought for
example that beehive blocked me because I never saw any posts from
there.

Turns out I see all of them, I just didn't realize that those posts
were from beehive, because we don't show the domain part of a
community, so I assumed every time I saw c/technology it came
from lemme world. With the icon I can see imediatelly that it's
from beehive.

It does make the page a bit heavier because the browser needs to
download all the community icons, but in my opinion it is worth
it for the better UX.
2024-10-01 22:01:01 +00:00
rimu
d2327fd3c1 move date humanization out of jinja and into python where exceptions can be handled properly
In the arrow package, Catalan language does not have 'weeks' defined as a way to display datetimes. A PR has been submitted.
2024-09-30 16:34:17 +13:00
Jeena
14fa658774 Add direct link to reply/comment
It's difficult to be able to copy and paste a link to a specific
comment or reply. It's only easy from the notifications page.

This patch introduces a link to a comment/reply by changing
the <span> to a <a> around the "When" text like "15 hours ago".

This is usually how other websites do deep links to comments too,
they make the time of post into a clickable link, so people should
be able to find it easyly.
2024-09-27 11:02:10 +00:00
rimu
7e4163db6b limit access to voting data 2024-09-24 09:28:06 +12:00
rimu
705de82714 only show Voting Activity link if logged in 2024-09-24 09:08:54 +12:00
freamon
e6f3bd6fb4 Add pages for admins and community mods to see voting activity 2024-09-22 22:55:47 +00:00
rimu
3fb7470f33 lazy load streamable and redgifs 2024-09-22 22:05:21 +12:00
rimu
a8be200aec small preview text 2024-09-11 10:56:14 +12:00
rimu
801bceb7df image width and height 2024-09-09 09:08:34 +12:00
rimu
58c3447a11 lazy load youtube preview 2024-09-08 13:23:37 +12:00
rimu
065d1e1078 only embed youtube vids on AC power 2024-09-08 12:31:16 +12:00
rimu
760477f00c use JS IntersectionObserver to lazy load youtube videos 2024-09-07 12:36:21 +12:00
rimu
dba016e05e show videos in teaser 2024-09-07 12:11:01 +12:00
rimu
0bae4c770f center voting buttons on mobile 2024-09-06 22:50:20 +12:00
rimu
7ab53804d1 larger images and videos 2024-09-06 22:39:27 +12:00
rimu
0c7cd6d34c Merge remote-tracking branch 'origin/main' 2024-09-06 15:43:33 +12:00
rimu
b6a44b100c post teaser refactor to improve maintainability 2024-09-06 15:43:22 +12:00
freamon
9e8066bc4e Convert youtu.be links to youtube.com so they embed in post 2024-09-06 01:10:39 +00:00
rimu
d70d5c2878 post teaser redesign #148 2024-09-05 20:10:26 +12:00
rimu
277b21b8a0 lang attribute for non-english posts 2024-08-28 19:25:05 +12:00
rimu
22f21fb4a1 lang attribute for non-english posts 2024-08-28 19:23:33 +12:00
rimu
5a156f35a7 lang attribute for non-english posts 2024-08-28 19:15:49 +12:00
rimu
9bad635805 remove moment.js to decrease carbon usage 2024-08-23 11:14:47 +12:00
Alan Roberts
013f33b5d3 Adjusting the post editing for images to display the existing image 2024-08-17 09:42:07 -04:00
Alan Roberts
3eb4736a47 Capturing Text box content when enabling markdown editor 2024-08-16 14:41:39 -04:00
rimu
8d60f8f4cd warn if link already posted to other communties 2024-08-15 19:39:33 +12:00
rimu
1f0c8eb6ff community blocking #283 2024-08-12 20:54:10 +12:00
Hendrik L
62a5521391 small messup dealing with unauthenticated users 2024-07-11 07:16:48 +00:00
Hendrik L
c2db1ccdd2 move communityname to title so they can collapse into one row 2024-07-11 07:16:48 +00:00
Hendrik L
24c508f552 proper comment teaser in flexbox layout 2024-07-11 07:16:48 +00:00
Hendrik L
5eeb2708ca wrap the notification toggle like the other buttons 2024-07-11 07:16:48 +00:00
Hendrik L
a6d60562f5 remove the post_options css, only used once in the teaser and doesn't work anyways 2024-07-11 07:16:48 +00:00
Hendrik L
7309b0532e fix deleted poll finish_in 2024-07-09 15:23:19 +02:00
Hendrik L
6da83e0421 merge all the community asides into one template partial 2024-07-09 15:05:13 +02:00
Hendrik L
ad353ad206 combine add_post and post_edit templates 2024-07-08 21:34:40 +02:00
Hendrik L
a1fa74d3ba move all post_edit templates into one 2024-07-08 15:14:24 +02:00
Hendrik L
4c0eb87c25 cleanup, add macro render_communityname 2024-07-08 11:56:22 +02:00
Hendrik L
e153b177a0 cleanup, use render_username macro 2024-07-08 11:56:22 +02:00
rimu
5d522e0ff4 tweak annoying little bug 2024-07-01 18:17:27 +08:00
rimu
45e1ed2875 remove debugging statements #236 2024-06-29 10:09:12 +08:00
rimu
ceddd305b3 debug blur thumbnail #236 2024-06-29 10:04:35 +08:00
Hendrik Langer
a82950fd03 do the actual blocking 2024-06-28 18:34:29 +02:00
rimu
9e03775e16 reply thresholds 2024-06-28 18:34:54 +08:00
rimu
d929098147 view bookmarks of comments #26 2024-06-21 17:28:49 +08:00
rimu
f85491218c progress on bookmarks / saving #26 2024-06-20 21:51:43 +08:00
rimu
89a263d6ba improve archive link #205 2024-06-16 21:26:10 +08:00
rimu
537ab9f4b8 no bypass, just provide an archive link #205 2024-06-16 21:21:58 +08:00
rimu
3f2690a42b add bypass paywall links for several sites #205 2024-06-16 17:55:08 +08:00
rimu
3203ac5506 oh boy, this sucks #194 2024-06-05 13:21:41 +12:00
rimu
2380a3ae61 soft deletes and deleted content admin area #193 2024-06-02 16:45:21 +12:00
rimu
f4931b474c smaller images on mobile, using srcset 2024-06-01 22:58:11 +12:00
rimu
a08e0ce6e7 add topics to main menu and reduce size of output html 2024-05-30 21:54:25 +12:00
freamon
1d9c176c7c PeerTube: embed videos in post 2024-05-26 02:19:57 +01:00
rimu
75f52fbd59 remove avg comment length experiment 2024-05-23 15:25:45 +12:00
rimu
709980c6f3 flag low effort commenters 2024-05-21 22:20:08 +12:00
rimu
f19cdfafad poll - icon #181 2024-05-19 11:30:41 +12:00
rimu
742ce141e8 poll - handle unauthenticated voters #181 2024-05-19 11:18:37 +12:00
rimu
79798b28e3 poll ui - edit #181 2024-05-18 20:17:05 +12:00
rimu
e912c8d84f poll ui - create and vote #181 2024-05-18 19:41:20 +12:00
freamon
e7c213706d For deeper replies: also comment out 'Enable markdown editor' link to prevent overlap with language choice 2024-05-14 20:53:05 +01:00
freamon
bd7df400aa Add 'loop' attribute for videos in 'gifs' communities 2024-05-12 10:31:04 +01:00
rimu
3c5a86f6e6 hashtag UI #184 2024-05-12 13:02:45 +12:00
rimu
da1069aae3 search within community, fixes #97 2024-05-09 20:00:22 +12:00
rimu
af4dee7ea3 add language choices to UI #51 2024-05-09 17:54:30 +12:00
rimu
ba3dba8f57 Simplest possible solution #178
The issue isn't so much the lack of bold on the headings as the visual hierarchy being disrupted when the community name is bolder than the post title. Removing the bold on the community name makes it work in any situation.
2024-05-07 11:12:14 +12:00
rimu
f0d229c423 use smaller versions of lemmy images #159 2024-05-06 15:42:12 +12:00
rimu
d844a7816b video type attribute. fixes #176 2024-05-06 14:23:07 +12:00
rimu
c9dc8780fe debug #20 2024-04-30 18:44:23 +12:00
rimu
01d4b2678c anyone can subscribe to any post or comment #20
(not just the author)
2024-04-29 21:43:37 +12:00
rimu
407b65b8d2 masonry - fix problem caused by backticks in post title #106 2024-04-27 19:45:12 +12:00
rimu
513e419af0 masonry - z layout #106 2024-04-24 17:32:07 +12:00
rimu
326b53e73d customisable posting warning 2024-04-18 20:51:08 +12:00
rimu
a8f7ebf442 streamable #147 2024-04-17 19:42:36 +12:00
rimu
4c48f72dcd video avatars #58
see https://piefed.social/u/const_void@lemmy.ml
2024-04-17 19:17:11 +12:00
rimu
7218b5aa42 fix merge conflicts 2024-04-17 09:04:29 +12:00
rimu
39946fcc2a Merge pull request 'Ignore Page/Announce, and some little fixes' (#158) from freamon/pyfedi:15 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/158
2024-04-16 10:20:52 +00:00
rimu
516eafa1f3 video as a entirely separate post type 2024-04-16 20:59:58 +12:00