64 Commits (0733bc766400a2bf465f720575c2a01ae0ec5ef6)

Author SHA1 Message Date
teknomunk 0733bc7664 Suppress error message when clean.sh is run twice in a row, more preparations for submodule split of ap/
1 year ago
teknomunk d5d1f02390 Rearrange file structure to prepare for separating ActivityPub code to submodule
1 year ago
teknomunk f2a61e0b71 Split apart application-specific AcitivytPub code and generic ap_object code, rename ap_object type enumeration values, start work to ingest external Activities
1 year ago
teknomunk 8396b01e3d Remove hard-coded domain name, make app_args loaded from data/server.json, s/g_server_name/g_server->domain/, update http and json submodules
1 year ago
teknomunk 1c1df8270c Continue s/ap_activity/ap_object/, remove ap_account and use ap_object instead, move actor/attribtuedTo fixup code to controller/inbox.c
1 year ago
teknomunk ddc026cb06 Get account data into ap_object and remote text template for owner/actor, continue s/ap_activity/ap_object/
1 year ago
teknomunk aca54e746f Split up model/account.c to reduce line count and make it easier to find code
1 year ago
teknomunk 808dbecb88 Implement following ActivityPub, remove text templates
1 year ago
teknomunk ea63577295 Implement /owner/followers, fix bug where replies would miss mentions
1 year ago
teknomunk b6d0d4686d Change ap_object.first to a ap_object_ptr_or_ref to handle when the first object is not a reference, correct page limit in /outbox, swap out ap_activity for ap_object in src/model/account.c
1 year ago
teknomunk 80e3284bf4 Start making account stubs for remote accounts that refuse to load (to reduce remote server load)
1 year ago
teknomunk 3af41c25d3 Implement /outbox, add status->activity indexing for local statuses
1 year ago
teknomunk df7bb10cd8 Start renaming s/ap_activity/ap_object/
1 year ago
teknomunk 668e9e2d42 Link status/repost to the activity that created them for use in /outbox, start renaming ap_activity to ap_object, move code that creates Create activity to account model
1 year ago
teknomunk b06c9b4c48 Fix memory leaks, change Activity context writer to support extra schemas, language schema and add lite-pub schema by default, change hyperlink end detection
1 year ago
teknomunk 16cb584feb Fix memory leaks, access bugs, use-before-initialization bugs
1 year ago
teknomunk 9e6e2cf556 Implement webfinger lookup for following accounts not already local
1 year ago
teknomunk 6d3b608925 Get multipart post data for media parsing and writing to disk, provide Soapbox index.html instead of 404 message, fix several resource leaks
1 year ago
teknomunk 498391c779 Fix several bugs, get reposted indicator showing correctly in Husky, starting work on moving owner/actor from text template to using ap_activity so it can be included in an Update
1 year ago
teknomunk cc9e32b7dc Convert all api responses from text templates to JSON layouts, fix memory leaks, discard more unsupported Activities, server owner banner
1 year ago
teknomunk 7f2e089b86 Start work on issuing an Update for the owner account, discard Undo(Like) that are for statuses that are not local, discard more invalid requests, make avatar served locally
1 year ago
teknomunk f04141fdbd Fix probably SEGV in outbox envelope creation with shared inboxes, move data for statuses so everything isn't data/statuses/*.json (need to repeat for data/statuses/ap)
1 year ago
teknomunk 7f764b082c Add debug tool (pretty_json.rb), change limit on follower/following accounts results, implement delivery to shared inboxes
1 year ago
teknomunk 9721eb53d8 Handle account with empty name field, fix some memory leaks
1 year ago
teknomunk e4513a4fc8 Add cli command to force account resync to fix issue with first account added, fix typo, force statuses created by owner to be remote=false, add field for follow_activity (unused)
1 year ago
teknomunk 079531a42d Route Move activity (calls stub function account_move ), require that the HTTP signature matches the actor field of posted activities
1 year ago
teknomunk 8cd52febba Add route for unfollow, handle Update activities, add self mentions to statuses during Create handling, replace purely linear outbox handling with one that can skip failed deliveries
1 year ago
teknomunk 4110a986c7 Update follower/following counts
1 year ago
teknomunk d8ad309e08 Implement post federation
1 year ago
teknomunk a47f16837b Replace string template api Account response with version using JSON submodule
1 year ago
teknomunk c9b8d653f8 Replace text template with JSON layout for Relationship
1 year ago
teknomunk 016936eae8 Get follow button to show up in both Husky and Soapbox
1 year ago
teknomunk 56a48fce78 Fix issue with timelines, implement reposts and repost federation
1 year ago
teknomunk 675af63593 Fix a couple bugs
1 year ago
teknomunk c90d6c71d8 Fix up JSON layout data, allow attributedTo instead of actor in post
1 year ago
teknomunk f19ea54b1d start breaking up src/controller/inbox.c to reduce file size, handle pin
1 year ago
teknomunk afa99c1d4f Add status sync command, get more Activities parsing
1 year ago
teknomunk 57af3c43c0 Implement repost handling, cleanup some debug code, introduce account_from_uri_or_fetch helper function
1 year ago
teknomunk 1fb3f84b9b Rework CLI controller, add 'activity import' stub and 'status import' command, start ActivityPub->status fetch and import
1 year ago
teknomunk 1bcb3af898 Add start of CLI controller, put ActivityPub endpoints /following and followers in the right spot, implement account follow/unfollow (flaky), show status publish date
1 year ago
teknomunk a917c223e0 Fix memory leaks, add logic to remove reacts, rename files/folders in HTTP submodules, rework timeline filtering, move http common files to new submodules, have the react result field 'me' filled in correctly
1 year ago
teknomunk 27180caf5d Add relationship and search handling, fix posting, add format(...)
1 year ago
teknomunk 0325fc898c Loop outbox processing, add incoming mentions to that account's local timeline, add emoji reactions inbox processing, implement followers listing, add reindex command
1 year ago
teknomunk 3f0b5dac86 Add error reporting to account_sync_from_acitvity_pub, add handling of likes, index statuses by uri, make reposts and likes report correct values in mastodon api, fix adding post to empty timeline
1 year ago
teknomunk 7b35934e18 Start source rendering
1 year ago
teknomunk f4b019eff0 Move state modification code from controller to model, add pleroma api endpoint, add stub for emoji reactions, add messages for block/unfollow events
1 year ago
teknomunk 697df4f3c0 Start implementing followers logic, start react logic
1 year ago
teknomunk 9a3a759dd5 Get first mention handled
1 year ago
teknomunk 0a95a70461 Rework inbox processing, add stubs for account add/remove follower, create notice when processing follow, rework outbox (use envelope with single destination), add handlers for paths referenced in actor, add test to validate locally-created HTTP signature
1 year ago
teknomunk bc3b4daebc Move base64 code to separate file, work on implementing HTTP Signature validation
1 year ago