Commit graph

1781 commits

Author SHA1 Message Date
rimu
5912e363a0 Revert "extensive logging for find_actor_or_create() issues"
This reverts commit cbd68f8fd8.
2024-10-02 20:31:21 +13:00
rimu
ac71830c72 display json even if not valid json 2024-10-02 20:29:09 +13:00
rimu
0c493549e3 html response logging 2024-10-02 20:12:32 +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
cbd68f8fd8 extensive logging for find_actor_or_create() issues 2024-10-01 09:33:10 +13:00
rimu
deb14b73f3 generate medium sized image even when source image is small #332 2024-10-01 09:23:26 +13: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
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