Commit graph

2317 commits

Author SHA1 Message Date
rimu
b98e866a14 Merge remote-tracking branch 'origin/main' 2025-01-21 19:51:22 +13:00
rimu
be18f16f21 add site url to user agent 2025-01-21 19:51:11 +13:00
freamon
c0ba8ba1e8 Hopefully temporary fix for nodebb bug 2025-01-21 06:29:31 +00:00
freamon
2803054767 Share remote_object_to_json() 2025-01-21 03:04:20 +00:00
freamon
4eb9259b0e get 10 replies in background to manually retrieved nodebb topics 2025-01-21 02:56:12 +00:00
freamon
d3fc652f1f Truncate UserExtraField labels to fit in DB column 2025-01-21 02:56:12 +00:00
freamon
4071e9208b Support manual retrieval of posts from nodebb 2025-01-21 02:56:12 +00:00
freamon
dbc8dc4c4a API: support app's 'Trending Communities' screen 2025-01-21 02:56:12 +00:00
freamon
f1fe8f07f1 Treat updates Announced by a.gup.pe / peertube as new if no local version exists 2025-01-21 02:56:11 +00:00
freamon
7cfef85120 API: reply remove and restore by mod 2025-01-20 22:27:53 +00:00
freamon
113a64a95d API: post remove and restore by mod 2025-01-20 22:27:35 +00:00
freamon
ac53c2635b Fixes for manual post retrieval 2025-01-20 22:27:23 +00:00
freamon
2112bf6829 API: post add/remove sticky 2025-01-20 22:24:32 +00:00
freamon
e8d9176931 API: post locks 2025-01-20 22:24:07 +00:00
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
5bf0ddc32a Only call resolve_remote_post() from activitypub, modify it to also accept Announce/Update, and remove reliance on 'audience' field (#427) 2025-01-20 22:23:27 +00:00
freamon
e45c8d9db3 Also use search.retrieve_remote_post() for requests from community side bar 2025-01-20 22:23:03 +00:00
rimu
2baf2b3a89 ruff linter 2025-01-21 09:58:00 +13:00
rimu
8fb94d4dde recycle db connection pool 2025-01-20 20:41:56 +13:00
rimu
01d82939e0 db pool config options 2025-01-20 13:47:10 +13:00
rimu
df450acd3d make dev environment avoid gevent monkey patching 2025-01-19 16:21:22 +13:00
rimu
c50292cc16 tweak 2025-01-19 16:03:16 +13:00
rimu
1174134c73 async io, omg 2025-01-19 16:01:03 +13:00
rimu
20a17c9fb7 don't shorten invalid urls 2025-01-19 15:24:30 +13:00
rimu
3871691ea4 reduce cpu usage of daily-maintenance task 2025-01-19 15:19:13 +13:00
rimu
ab217dc318 Merge remote-tracking branch 'origin/main' 2025-01-19 14:59:58 +13:00
rimu
bdbbf1b847 fixes #430 2025-01-19 14:59:47 +13:00
freamon
29d450d75a Template for Banned from Community Notification to lead to #400 2025-01-18 22:43:58 +00:00
freamon
eb7af155ee API: post reports (creation) 2025-01-18 17:56:09 +00:00
freamon
dc5c0fd7b4 Update resolve_remote_post_from_search() to not require 'audience' field 2025-01-18 17:25:54 +00:00
freamon
ac6f66e892 API: post delete and restore 2025-01-18 14:52:09 +00:00
freamon
3e3aca1910 move check for incoming Mentions into post.new() 2025-01-18 00:59:26 +00:00
freamon
1df4cde0d8 API: fixes for post create / edit with the app 2025-01-18 00:35:20 +00:00
freamon
b4aa566dba Also increment subscriptions_count for remote users joining local communities #424 2025-01-17 23:22:32 +00:00
freamon
ec232d9a17 Catch UnidentifiedImageError if non-image uploaded 2025-01-17 22:48:07 +00:00
freamon
6df39c02f3 outgoing federation: improve inter-op with microblog apps for posts 2025-01-17 22:23:08 +00:00
freamon
33dcbd45b0 outgoing federation: remove tags from Create / Update level 2025-01-17 19:59:45 +00:00
freamon
022d1d67dc mentions in post bodies - inbound federation 2025-01-17 18:54:44 +00:00
freamon
6a4e89149f mentions in post bodies - recognise @user@instance syntax in UI 2025-01-17 18:54:32 +00:00
freamon
6ee41578d6 mentions in post bodies - use shared code for outbound federation / notification 2025-01-17 18:54:14 +00:00
freamon
19771a5ea4 API: merge up make_post and edit_post 2025-01-17 18:54:00 +00:00
freamon
989afa0344 fixes for outgoing federation of comments 2025-01-17 18:53:39 +00:00
freamon
f9c9991370 bugfix for blocked phrases 2025-01-17 18:53:23 +00:00
freamon
e85a0ddd9a Keep post.cross_posts at null instead of empty array if they don't have any 2025-01-17 18:53:06 +00:00
freamon
d64dde5468 API: initial support for post edits (polls and uploaded images not supported yet) 2025-01-17 18:52:51 +00:00
freamon
0cab646195 API: initial support for new posts (polls and uploaded images not supported yet) 2025-01-17 18:52:39 +00:00
rimu
22b8ed6782 Merge pull request 'Show number of cast votes in user profile and rearrange the statistics' (#409) from h3ndrik/pyfedi:user_num_votes into main
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/409
2025-01-17 04:33:14 +00:00
rimu
d0a3a3c5a2 remove hx-boost from admin tabs #423
it breaks the dropdown menu
2025-01-17 17:28:57 +13:00
rimu
5feb66807d hx-boost on admin tabs #423 2025-01-17 17:19:49 +13:00