Commit graph

1899 commits

Author SHA1 Message Date
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
rimu
7b4cdaf30c only vote privately with untrusted instances 2024-09-24 12:04:29 +12:00
rimu
b0e478b335 change instance settings #255 2024-09-24 11:33:49 +12:00
rimu
8fcd4c7de7 list trusted instances 2024-09-24 09:36:19 +12: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
db250b6aeb Add option for admins to kick remote subscribers from local communities
(unsubscribe without ban, typically because their instance is dead)
2024-09-23 15:06:37 +00:00
freamon
2de2f9ed2d API: add post/save and comment/save routes (aka bookmarks) 2024-09-23 12:40:27 +00:00
rimu
990b7250cb Merge remote-tracking branch 'origin/main' 2024-09-23 12:09:02 +12:00
rimu
a97ff0cdbd refresh packages based on requirements.txt when deploy.sh is run 2024-09-23 12:08:47 +12:00
freamon
e6f3bd6fb4 Add pages for admins and community mods to see voting activity 2024-09-22 22:55:47 +00:00
freamon
6413490cc3 Revert earlier decision to only send out HTML (pls see app/utils.py line 327) 2024-09-22 13:45:03 +00:00
freamon
506becc41c API: fix for queries by community name 2024-09-22 13:44:50 +00:00
rimu
ea1564cc87 Merge remote-tracking branch 'origin/main' 2024-09-22 22:05:45 +12:00
rimu
3fb7470f33 lazy load streamable and redgifs 2024-09-22 22:05:21 +12:00
freamon
646bcdf7be avoid wrapping anchors around existing anchors
(e.g. if raw URL already wrapped by remote PieFed instance)
2024-09-21 22:14:27 +00:00
freamon
bdb201f4d3 Remove safe_mode=True for Markdown2, as most things go straight through allowlist_html, and it mangles code in <code> blocks 2024-09-21 22:14:07 +00:00
freamon
5e2ec8f9d9 Remove last remaining uses of lemmy_markdown_to_html
Everything is now piped through allowlist (except spoiler MD as Lemmy doesn't convert the MD in the contents)
2024-09-21 22:13:52 +00:00
freamon
bb9059bf70 Remove code that added comment from autotl;dr bot to post body (bot was disabled 23/07) 2024-09-21 22:13:35 +00:00
rimu
69ac4f2beb Merge remote-tracking branch 'origin/main' 2024-09-21 13:23:28 +12:00
rimu
5e1f67d162 issues found with sentry 2024-09-21 13:23:14 +12:00
freamon
56a7f65c44 Decrement post.reply_count if reply from local user is deleted 2024-09-20 23:17:21 +00:00
rimu
04412ec035 avoid pendingrollbackerrors by committing more often 2024-09-21 10:54:29 +12:00
rimu
e9594ad646 Merge remote-tracking branch 'origin/main' 2024-09-21 10:15:39 +12:00
rimu
700b1c98de better instance failure detection 2024-09-21 10:15:25 +12:00
freamon
1e06b42099 Add inital routes for API (with minimal changes to main codebase) 2024-09-20 16:06:08 +00:00
rimu
37d3501136 Merge remote-tracking branch 'origin/main' 2024-09-17 09:47:43 +12:00