Commit graph

344 commits

Author SHA1 Message Date
freamon
5765b9a29c Remove obsolete function 2025-01-20 22:23:53 +00:00
freamon
1654dcea0b Consolidate retrieve_mods_and_backfill() functions to support outbox processing for lemmy, peertube, and wordpress 2025-01-20 22:23:41 +00:00
freamon
e45c8d9db3 Also use search.retrieve_remote_post() for requests from community side bar 2025-01-20 22:23:03 +00:00
freamon
ec232d9a17 Catch UnidentifiedImageError if non-image uploaded 2025-01-17 22:48:07 +00:00
freamon
6ee41578d6 mentions in post bodies - use shared code for outbound federation / notification 2025-01-17 18:54:14 +00:00
rimu
242c737076 Merge pull request 'Change criteria for restricting available cross posts' (#420) from change_xp_restrictions into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/420
2025-01-13 00:50:14 +00:00
freamon
f3bdb9b9b0 Fix AP terminology for creating new posts #419 2025-01-11 18:49:44 +00:00
freamon
95e99dd286 Change criteria for restricting available cross posts 2025-01-11 18:14:40 +00:00
rimu
e6d81db15f optimize can vote checking 2025-01-11 12:19:42 +13:00
rimu
cb7d4fc40f community setting: accept downvotes from community members only 2025-01-11 12:07:58 +13:00
freamon
385bd6bfbe mentions in comments - recognise @user@instance syntax in UI 2025-01-10 12:30:30 +00:00
freamon
463acb67a7 Refactor code to calculate cross posts 2025-01-09 00:56:25 +00:00
freamon
1fa74370c6 Move code to upvote own post into new() 2025-01-07 09:45:30 +00:00
rimu
93f8184f0a maintain state of title, description and tags when switching post type 2025-01-05 14:10:25 +13:00
rimu
8088aa1b3c Merge pull request 'Allow reuploading images in image type posts' (#385) from xmatt/pyfedi:feature/image_post_editing into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/385
2024-12-30 00:18:16 +00:00
rimu
8e093a2c0c community - show stats in side pane 2024-12-24 12:47:34 +13:00
mtyton
22e2eacc8c Fixed issues with Image post editing. Added utility to check if image is local or remote. 2024-12-21 13:05:14 +01:00
mtyton
79b3797b5f Added possibility to edit images in Image posts 2024-12-14 23:30:45 +01:00
rimu
4e87a365b3 svg image support #374 2024-12-06 10:21:44 +13:00
rimu
4f95d1237e avif image support #374 2024-12-06 09:44:56 +13:00
rimu
82ce782be0 canonical url for communities 2024-12-03 15:15:22 +13:00
rimu
04cce6ec9d ban posts or comments - ui 2024-12-02 15:03:16 +13:00
rimu
7a7a1fe0d4 check community.ap_outbox_url 2024-11-30 14:22:48 +13:00
freamon
3cc411f512 apf part 10: Accepts for follows 2024-11-24 15:15:09 +00:00
rimu
3fb6a9e0bf increase http post timeout to 10 seconds 2024-11-16 21:53:18 +13:00
rimu
53e90bb8c1 use separate DB session for common celery tasks to reduce conflicts 2024-11-14 16:28:38 +13:00
freamon
2e9720539c Exclude already-discovered communities from admin-preload function
Also - pls see note about using the admin's alt profile for this
2024-10-31 21:29:40 +00:00
rimu
f4e2dfa691 edit post with hashtags 2024-10-30 09:21:54 +13:00
rimu
bcbb9f83e9 Merge remote-tracking branch 'origin/main' 2024-10-30 09:19:44 +13:00
rimu
ea4df1d2f0 edit post with hashtags 2024-10-30 09:19:32 +13:00
freamon
899bf834cd post soft-deletion: delay calling delete_dependencies until a post is purged, to allow for restoration 2024-10-26 03:55:21 +00:00
rimu
841174619c Merge remote-tracking branch 'origin/main' 2024-10-23 08:37:25 +13:00
freamon
258dc1b9d7 Bugfix: restore content subscription to own post 2024-10-22 07:55:00 +00:00
rimu
156c328c6f tidy up calls to obsolete post_ranking 2024-10-22 19:51:37 +13:00
rimu
42439fb90a Merge branch 'refactor-post-new' 2024-10-21 09:56:20 +13:00
rimu
1d77d42946 post-new: do not double count 2024-10-21 09:55:39 +13:00
rimu
518f165c1f post-new: image posts 2024-10-20 20:21:30 +13:00
freamon
a2a81e5726 post-reply soft-deletion: don't overwrite content, so it can be restored 2024-10-19 17:26:26 +00:00
rimu
feca5992af refactor post-new wip 2024-10-16 21:42:30 +13:00
freamon
55d47168ce Use original follow id to unsubscribe from a.gup.pe groups
(doesn't properly unsubscribe if gibberish is used)
2024-10-15 02:01:05 +00:00
rimu
cec844ec4f refactor post-new wip 2024-10-14 15:37:00 +13:00
freamon
f73b428cc8 Recalculate topic community count if topic changed #338 2024-10-07 02:21:48 +00:00
rimu
0c646c5cf4 cross-posting of bot-generated posts #206 2024-10-05 18:58:07 +13:00
rimu
deb14b73f3 generate medium sized image even when source image is small #332 2024-10-01 09:23:26 +13:00
rimu
bba8687567 use outer join instead #331 2024-09-30 13:49:06 +13:00
Alan Roberts
c6fb8fc554 got the read posts filering on main, topics, and community pages 2024-09-29 13:18:41 -04:00
rimu
fd9d744111 strip post title 2024-09-29 17:13:30 +13: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
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