Commit graph

2025 commits

Author SHA1 Message Date
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
rimu
5465f945be old cross posts 2024-09-30 16:04:15 +13:00
rimu
c5208b1afe peertube missing descriptions 2024-09-30 16:02:06 +13:00
rimu
c37a01fde4 set instance.start_trying_again if it has not been already 2024-09-30 15:58:02 +13:00
rimu
0771bc8386 dang 2024-09-30 15:52:13 +13:00
rimu
def1c5fbfc debugging tweaks 2024-09-30 15:46:50 +13:00
rimu
c9372f38c5 only show link to read history if tracking is enabled #331 2024-09-30 14:14:53 +13:00
rimu
a2db4c669e add option to clear read history - privacy #331 2024-09-30 14:09:29 +13:00
rimu
bc4fa5b202 use join instead #331 2024-09-30 13:49:17 +13:00
rimu
bba8687567 use outer join instead #331 2024-09-30 13:49:06 +13:00
rimu
3ad1071e01 Merge remote-tracking branch 'origin/main' 2024-09-30 13:24:06 +13:00
rimu
39cffce73c Merge pull request 'Adding a "Hide Read" function' (#331) from JollyDevelopment/pyfedi:jollydev/hide-read-function into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/331
2024-09-30 00:23:49 +00:00
rimu
de8530aa54 expand 2 character variable names #328 2024-09-30 10:31:30 +13:00
rimu
a14f3a3a62 be careful not to redefine 'db', that breaks everything #328 2024-09-30 09:56:25 +13:00
rimu
fb14ef68e2 Merge remote-tracking branch 'origin/main' 2024-09-30 09:20:17 +13:00
rimu
f657b76632 typo in env.sample 2024-09-30 09:20:05 +13:00
Alan Roberts
779def72aa adding read-posts filtering to domain page 2024-09-29 14:02:29 -04:00
Alan Roberts
9185a56267 adding intercted_at column to read_posts table 2024-09-29 13:18:41 -04:00
Alan Roberts
42df0fe458 comment cleanup 2024-09-29 13:18:41 -04:00
Alan Roberts
48bae31d6c adding user read-posts page 2024-09-29 13:18:41 -04:00
Alan Roberts
c6fb8fc554 got the read posts filering on main, topics, and community pages 2024-09-29 13:18:41 -04:00
Alan Roberts
ccbc0b4b22 got the relationship working, and the mark_as_read working 2024-09-29 13:18:41 -04:00
Alan Roberts
c59556fab5 adding hide-read-posts setting for user settings 2024-09-29 13:18:41 -04:00
Alan Roberts
77745fdfec adding user new column hide_read_posts migration 2024-09-29 13:18:41 -04:00
Alan Roberts
08290b0468 Adding a hide-read-posts function 2024-09-29 13:18:41 -04:00
freamon
e34eeb9ec8 Bugfix: user save settings redirects to new function name 2024-09-29 14:16:57 +00:00
rimu
c9883c07c0 strip post title - activitypub 2024-09-29 17:15:47 +13:00
rimu
fd9d744111 strip post title 2024-09-29 17:13:30 +13:00
rimu
91def29480 post_reply refactor 2024-09-28 13:05:00 +12:00
rimu
c893d32aaa link tweak 2024-09-28 09:12:15 +12:00
rimu
84d2c1e877 Merge pull request 'Adding export/import for various instance level bans' (#328) from JollyDevelopment/pyfedi:jollydev/export-import-block-lists into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/328
2024-09-27 21:11:14 +00:00
rimu
e545d33c1f Merge pull request 'Add direct link to reply/comment' (#329) from jeena/pyfedi:main into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/329
2024-09-27 21:09:34 +00:00
Alan Roberts
8a5b7fd8b1 button display rephrase of text 2024-09-27 08:58:06 -04:00
Alan Roberts
9498dbd323 removed testing flash message 2024-09-27 08:55:12 -04:00
Alan Roberts
e83e1874e1 fixing admin routes typo lines 2024-09-27 08:55:12 -04:00
Alan Roberts
f97a366135 further tweaks 2024-09-27 08:55:12 -04:00
Alan Roberts
1cbb15a32b checking for use_allowlist in exports 2024-09-27 08:55:12 -04:00
Alan Roberts
49a9e3e692 more ban imports steps 2024-09-27 08:55:12 -04:00
Alan Roberts
d046df22e3 adding bans import side 2024-09-27 08:55:12 -04:00
Alan Roberts
d3198016db getting bans list export setup 2024-09-27 08:55:12 -04:00
Alan Roberts
549abde9b3 Adding import, export for bans 2024-09-27 08:55:12 -04: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
freamon
a14a41c18e Include check for post.deleted when looking for cross posts 2024-09-27 10:12:46 +00:00
freamon
8542963ac2 Include check for post.deleted in check_url_already_posted 2024-09-27 10:12:31 +00:00
freamon
a926eb0f1a API: process post/subscribe and comment/subscribe 2024-09-26 16:01:55 +00:00
freamon
dbc8c3805e API: handle /user?username route option if user is logged in 2024-09-26 16:00:50 +00:00
freamon
363871241a API: process 'vote reversal' (this should have been committed with the first batch) 2024-09-26 16:00:36 +00:00
freamon
d5b68e0779 API: reorganise views to put DB calls in one place 2024-09-26 16:00:23 +00:00
freamon
7e77c0728d Revert to always preferring incoming Markdown over HTML
Due to issues with spoiler format for Lemmmy and Fediverse links for MBIN (#327)
2024-09-25 01:09:28 +00:00
freamon
8437154f48 Regex embedded mp4/webm/mp3 files out of <img> and into <video> or <audio> tags 2024-09-24 22:20:35 +00:00