rimu
c5055cd09f
detect friendica
2024-03-24 15:35:45 +13:00
freamon
e8f7551e06
Avoiding crashes from adding remotes:
...
If remote community is missing
If remote community doesn't have a 'featured' url (e.g. KBIN)
If remote community returns empty/broken outbox (e.g. KBIN returns {}) with 200 OK
2024-03-24 00:15:10 +00:00
rimu
8a6f3fff61
Merge pull request 'Moderators' ( #115 ) from freamon/pyfedi:21 into main
...
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/115
2024-03-22 02:34:39 +00:00
freamon
4804c4c4b2
Avoid returning 'null' for manuallyApprovesFollowers
2024-03-21 23:26:03 +00:00
rimu
081108a7c6
block future shitpost floods
2024-03-22 12:22:19 +13:00
freamon
f7074d2edd
Add/Remove moderators (incoming AP)
2024-03-21 23:21:28 +00:00
rimu
2cbaefd844
block shitpost flood
2024-03-22 10:50:17 +13:00
rimu
43f0998391
When a post or postreply is created, record whether the author is a bot, for easier filtering #98 #114
2024-03-21 21:50:25 +13:00
freamon
0966ce4346
Recognise 'service' type as bots
2024-03-20 11:34:25 +00:00
freamon
e49cf220e9
Add/Remove activity for featured posts
2024-03-19 15:38:35 +00:00
freamon
136cb64a69
Checked featured url for sticky posts #16
2024-03-19 07:34:19 +00:00
rimu
84d8198a67
Merge pull request 'Outbox / Fetched JSON fix' ( #108 ) from freamon/pyfedi:18b into main
...
Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/108
2024-03-19 04:08:54 +00:00
rimu
5808301770
remove '?asdf' stuff on the end of file names when saving
2024-03-19 12:42:53 +13:00
freamon
bdeab7fb83
Outbox / Fetched JSON fix
2024-03-18 21:00:17 +00:00
rimu
95fe3aa32e
update mastodon instance inboxes #105
2024-03-18 16:37:45 +13:00
freamon
057d6e113d
Newly-discovered instances bugfix
2024-03-17 19:32:35 +00:00
freamon
90a89c47e2
Increase exception catching when fetching actors
2024-03-16 20:33:48 +00:00
freamon
9be6ae18f8
Preserve case for fetching actors (req. for KBIN)
2024-03-16 20:17:24 +00:00
rimu
1cb31a0794
improve robustness of handling of 'sensitive' field
2024-03-17 02:55:59 +13:00
rimu
8be165d5eb
check for mediaType in request_json['object']['source']
2024-03-17 02:53:00 +13:00
rimu
884248987e
make_image_sizes_async: fall back to parsing the http content type if the url does not contain a file extension
2024-03-17 02:32:17 +13:00
rimu
9291821835
only process post image if post url not banned
2024-03-17 02:22:33 +13:00
rimu
5fb05f3e2f
only process post image if post url not banned
2024-03-17 02:21:16 +13:00
rimu
ff42ae3f1f
still return HTTP 200 even if activity was not logged. Hopefully friendca will cope #103
2024-03-17 02:02:32 +13:00
rimu
eaca1ccfaf
always log outgoing activities so that /activities/<type>/<id> works (used by friendica) #103
2024-03-17 01:59:15 +13:00
freamon
37c9431b4e
Borrow code from create_post for post_json_to_model
2024-03-15 23:47:21 +00:00
freamon
c5f0d5175a
Add ActivityPub logging to outbox processing
2024-03-15 22:32:48 +00:00
freamon
16f84f28a6
Use setting to log JSON for outgoing activities
2024-03-14 09:40:50 +00:00
rimu
4fc715bb18
community owners can change settings and appoint moderators #21
2024-03-13 16:40:20 +13:00
rimu
49db71e05d
opt out of search
2024-03-12 20:58:47 +13:00
rimu
0f055f590d
better image handling
2024-03-12 09:53:34 +13:00
rimu
6408432da6
properly set create_id and announce_id in community outbox
2024-03-09 19:13:15 +13:00
rimu
3dff7ef2e7
invalid attachment activitypub
2024-03-09 18:19:03 +13:00
rimu
bacc0c81be
logging on post_json_to_model
2024-03-09 12:15:58 +13:00
rimu
6914a47206
remove tracking from links fixes #34
2024-03-08 22:01:46 +13:00
rimu
47bf0ddedb
Merge remote-tracking branch 'origin/main'
2024-03-08 21:52:17 +13:00
rimu
6c4d0d217f
minor bugfixes
2024-03-08 21:40:47 +13:00
freamon
9fa260632a
Clean tracking info from youtube links
2024-03-08 01:33:58 +00:00
rimu
b9a88a7fa6
save local copy of link posts where the link is to an image
2024-03-04 10:56:17 +13:00
rimu
2c00577606
update nsfl based on title when post is edited
2024-03-03 13:13:36 +13:00
rimu
ebea77c37d
change headers to reduce network usage
2024-03-02 13:56:47 +13:00
rimu
6bdc23bad7
sometimes we only want to find a community
...
this will eliminate a whole raft of issues caused by trying to injest posts from microblogging services which don't have Group actors
2024-03-02 10:20:15 +13:00
rimu
e01aa64c28
wafrn sends invalid delete requests
2024-03-02 09:22:58 +13:00
rimu
f7ebdec1d5
Microblog posts sometimes get Announced by lemmy. They don't have a title, so we can't use them.
2024-03-02 09:13:49 +13:00
rimu
170a40738e
add some debugging logging
2024-02-29 17:10:38 +13:00
rimu
61830e630c
fix for lotide posts which are missing commentsEnabled
2024-02-29 12:33:34 +13:00
rimu
e3099a0b66
fix typeerror exceptions
2024-02-29 11:26:45 +13:00
rimu
2252c23794
debug typeerror exceptions
2024-02-29 11:01:52 +13:00
rimu
fffb58fb07
set vary headers #57
2024-02-28 21:34:19 +13:00
rimu
eba9ec8bd6
set vary headers #fixes 57
2024-02-28 20:45:39 +13:00