Commit graph

10 commits

Author SHA1 Message Date
Yannis Vogel
f6d6c74bc6
minor logging cleanup 2025-04-17 12:38:45 +02:00
Yannis Vogel
20c2db4b35
support outbox post
- we can now receive content into outbox (f.e. from contentnation) and post it into the outbox-user-logfile for now
- we now verify post-requests according to ActivityPub standard
- minor bugfix where user specified by passed user-parameter is possibly not included in postForUser-call
2025-04-17 12:13:34 +02:00
Yannis Vogel
305ded4986
WIP inbox-support
- includes hacky following-mechanic in order to simulate a follow on mastodon (not properly working, need to also inject the user this creates into the followers db for the target mastodon-user)
- created endpoint for inbox. SharedInbox is used when no user is provided (/api/federator/fedusers/inbox'), the regular inbox link now works (/users/username/inbox).
- Retrieve all followers of sender and, if they're part of our system, send the activity into their personal inbox
- Support Announce and Undo Activity-Types
- Inbox currently converts to proper ActPub-objects and saves data to log-files
2025-04-15 16:42:46 +02:00
Yannis Vogel
721e37882d
revert to single-connector support
- removed support for multiple connector-plugins
- fixed issue where outbox wasn't properly retrieved from contentnation
2025-04-10 09:02:45 +02:00
Yannis Vogel
1a7b8264a1
fixes for outbox
- mastodon now properly sets available type-attributes
- database should now save user with his platform (as that's the actual unique identifier, plain username isn't)
- properly retrieve items from mastodon and print them on api-call
(example call for mastodon: federator/fedusers/gutenberg_org@mastodon.social/outbox?page=0)
2025-04-09 12:52:27 +02:00
Yannis Vogel
530caa7ea6
initial mastodon support and minor improvements
- reworked plugin handling. Main now registers and keeps all connectors and based on request we select the correct one and pass it (mainly for clean async-request-handling)
- added outbox functionality for mastodon
- changed image-mime-type approach to retrieve mime-type from the url, this way we don't need to store the images on our server/download each image
- added host for connector for better debugging
- minor bug-fixes
2025-04-08 22:03:19 +02:00
Sascha Nitsch
61203001a3 support for user discovery endpoint 2024-07-23 22:46:59 +02:00
Sascha Nitsch
fed5224f46 support for nodeinfo 2024-07-22 17:27:48 +02:00
Sascha Nitsch
47efd74b6c initial webfinger support 2024-07-20 23:21:27 +02:00
Sascha Nitsch
c4596ace03 folder restructuring, namespace adjustments 2024-07-20 19:17:36 +02:00
Renamed from php/api.php (Browse further)