Commit graph

261 commits

Author SHA1 Message Date
rimu
61fe30136a Merge pull request 'voting_buttons remove extra whitespace and make hiding the arrows consistent' (#398) from h3ndrik/pyfedi:votinbuttons into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/398
2024-12-23 00:15:46 +00:00
rimu
4ed1232554 readable date - fixes #395 2024-12-23 12:39:22 +13:00
rimu
d9ae69bd0d popup user profile 2024-12-23 09:26:05 +13:00
rimu
704c41a25f intersect once instead of revealed #394 2024-12-22 16:01:58 +13:00
rimu
91a74e9573 tweak route so all the search engine spiders get 404 when retrieving post_options #394 2024-12-22 15:11:42 +13:00
rimu
2288510cf2 Merge pull request 'Make post options, post reply options, and chat options uses dropdown instead of separate pages' (#394) from hono4kami/pyfedi:hono4kami/392 into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/394
2024-12-22 01:31:56 +00:00
hono4kami
b2f57fa308 feat: add absolute timestamp for post reply
Refs: #395
2024-12-21 23:51:13 +07:00
hono4kami
5b37de577b feat: add absolute timestamp
Add absolute timestamp to full post.

Refs: #395
2024-12-21 23:44:43 +07:00
hono4kami
de50772189 feat: add absolute timestamp title attribute
Add absolute timestamp `title` attribute on post teaser

Refs: #395
2024-12-21 23:38:08 +07:00
hono4kami
5ce0653292 feat: improve options 2024-12-21 22:04:13 +07:00
Hendrik L
922a9103c8 voting_buttons remove extra whitespace and make hiding the arrows consistent 2024-12-21 11:55:36 +01:00
hono4kami
23e7d65a31 feat: improve post, post reply, and chat option
Instead of using separate page for those options, make it use dropdown.

Refs: #392
2024-12-20 00:44:49 +07:00
hono4kami
b77a64ccf7 feat: WIP better post options
Refs: #392
2024-12-19 21:02:02 +07:00
rimu
d98a5e19d3 warnings on domains 2024-12-13 19:24:09 +13:00
freamon
c851680b05 Depreciate generate_image_from_video_url(), put <video> in masonry instead #373 2024-12-11 22:54:58 +00:00
rimu
76db8a726e tweaks 2024-12-12 08:13:25 +13:00
Hendrik L
8da62f56c8 fix oopsie 2024-12-10 12:16:52 +01:00
rimu
0752ccfe72 ugh 2024-12-10 15:41:40 +13:00
rimu
d079a6dab7 tweak padding #380 2024-12-10 09:12:58 +13:00
rimu
2e4b3ffd33 move notification bell from teaser to post options #380 2024-12-10 08:30:16 +13:00
Hendrik L
67d59e2657 float thumbnails 2024-12-09 17:27:10 +01:00
Hendrik L
d772f2304b unify notification bell and try to fix related css in the action/option bars 2024-12-09 16:43:21 +01:00
Hendrik L
5780e9b05e separate out breadcrumb_nav 2024-12-09 13:47:54 +01:00
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