Commit graph

2125 commits

Author SHA1 Message Date
rimu
434cf9f922 support activitypub discovery using Link header
see https://swicg.github.io/activitypub-html-discovery/#http-link-header
2024-11-18 10:04:58 +13:00
freamon
594b858bd4 Use http instead of https for viewing images if SERVER_NAME is 127.0.0.1 2024-11-17 19:45:01 +00:00
freamon
3f9a0a5fea replace the 'static' for images hotlinked to fandom sites with 'vignette' 2024-11-17 18:55:45 +00:00
rimu
3fb6a9e0bf increase http post timeout to 10 seconds 2024-11-16 21:53:18 +13:00
rimu
d5ae01b456 add index #348 2024-11-15 16:42:08 +13:00
rimu
3e0c94c77c tweak sql #348 2024-11-15 16:06:28 +13:00
rimu
3ca073779e additional message #348 2024-11-15 15:51:17 +13:00
rimu
bf9c849467 faster migration #348 2024-11-15 10:54:21 +13:00
rimu
05b0cdbbaf tweak migration 2024-11-15 06:13:19 +13:00
rimu
ac88be6565 tweak migration 2024-11-15 00:33:57 +13:00
rimu
14ac953331 domain name note 2024-11-14 21:52:08 +13:00
rimu
827303c634 tweak migration #348 2024-11-14 21:40:05 +13:00
rimu
ffd78bfd80 add unique constraint to user.ap_profile_id and clean up old data 2024-11-14 20:16:09 +13:00
rimu
f16b23bcd8 do not mix model objects from different sessions 2024-11-14 16:51:48 +13:00
rimu
c746be51c9 oops, don't close session too soon 2024-11-14 16:43:17 +13:00
rimu
53e90bb8c1 use separate DB session for common celery tasks to reduce conflicts 2024-11-14 16:28:38 +13:00
rimu
e60eb5b761 update translations 2024-11-11 16:45:55 +13:00
rimu
0c4e15f2c4 show posts from child topics - rss 2024-11-08 15:27:56 +13:00
rimu
0b5f515de6 show posts from child topics 2024-11-08 15:09:24 +13:00
rimu
70bb9ab68f finesse my earlier fix 2024-11-06 14:38:58 +13:00
rimu
108b3f9422 Merge remote-tracking branch 'origin/main' 2024-11-05 17:10:06 +13:00
rimu
a056a02ac3 avoid invalid post urls 2024-11-05 17:09:48 +13:00
freamon
95be488cc9 API: use Celery for federation tasks 2024-11-02 23:56:56 +00:00
rimu
eedaddd851 avoid StaleDataError 2024-11-03 10:47:41 +13:00
rimu
122941b696 local variable 'server' referenced before assignment 2024-11-02 16:39:39 +13:00
rimu
915e8c779a Avoid StaleDataError exception during user.recalculate_attitude() 2024-11-02 16:34:16 +13:00
rimu
f36135d163 cli: handle invalid version data 2024-11-02 16:20:52 +13:00
rimu
34a991ef7d don't show post title in breadcrumb 2024-11-02 16:10:52 +13:00
rimu
bd3361ebc6 only show 'retrieve post from original server' on community page, not posts 2024-11-02 16:10:35 +13:00
rimu
21ae50f6ff post licence - save and display 2024-11-02 16:02:29 +13:00
rimu
88d28c1464 post licence model and migration 2024-11-02 15:14:31 +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
freamon
830ef632d9 Bugfix: include same language identifiers for top-level and deeper-level post-replies 2024-10-31 16:25:30 +00:00
freamon
aa754cbd45 Use community linked to_delete or to_restore instead of one mentioned in request JSON 2024-10-30 15:27:18 +00:00
freamon
1611875936 Move cross-post logic out of routes and into util for delete/restore 2024-10-30 15:26:58 +00:00
freamon
bdbd33f513 Remove celery selection functions for delete/restore because decision was already made for calling function 2024-10-30 15:26:45 +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
e2d3f6d23d Exclude blocked instances from linked instances in federated_instances response 2024-10-29 10:34:19 +00:00
freamon
57191c2c23 API: utilise DB exceptions for return errors 2024-10-27 13:36:56 +00:00
freamon
308f29ba38 API: support /comment/report 2024-10-27 10:20:38 +00:00
freamon
d738850fc7 Recalc community.post_reply_count after replies are purged as part of a post purge 2024-10-26 04:46:51 +00:00
freamon
502e6ff0f6 post soft-deletion: add options to restore or purge deleted posts 2024-10-26 03:55:56 +00:00
freamon
9a033522d1 post soft-deletion: show deleted posts in user profile to provide restoration route 2024-10-26 03:55:45 +00:00
freamon
0c0b0e4212 post soft-deletion: hide links in user profile replies section that'll likely 404 2024-10-26 03:55:35 +00: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
b635dc5ee8 Revert "updated dockerfile"
This reverts commit d92ef37a68.
2024-10-26 16:30:29 +13:00
rimu
d92ef37a68 updated dockerfile 2024-10-26 16:29:15 +13:00
rimu
8a008e3a8a instance block on instance profile 2024-10-25 13:37:57 +13:00