50 Commits (ea1bcff61bd89ae76350221af3e637d112fab356)

Author SHA1 Message Date
teknomunk ea1bcff61b Merge in latest ap and json libraries, switch to latest builder, expand status media beyond URL, fix command handling, changes for -Wall, format.h->util/format.h, remove dead code
1 year ago
teknomunk 1215ebfe4e Implement Undo(Like) and Undo(EmojiRact)
1 year ago
teknomunk d5d1f02390 Rearrange file structure to prepare for separating ActivityPub code to submodule
1 year ago
teknomunk e93ace5584 Split out activity forward code, modify build script to allow rebuilding while apogee is running
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 9b361dd2d3 Start implementation of garbage collection of older posts, fix to,cc,bcc parse error when a single value is present, fix Accept header value, add status removal functions
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 df7bb10cd8 Start renaming s/ap_activity/ap_object/
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 91f821ce8e Fix bugs, fix inbox blocks, add safety to reacts, create common cleanup_box for both inbox and outbox, start transition of ap_activity to ap_object
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 6d78a1c827 Implement block notification
1 year ago
teknomunk 04c456e12d Add enough processing for Undo:Announce to discard activities that don't pertain to a locally mirrored status, fix Create Note activity following check, add 'value' field to ap_attachement
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 56a48fce78 Fix issue with timelines, implement reposts and repost federation
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 056c627d22 Add start of async fetch for statuses (stub statuses to be handled later), start of Announce (repost) handling
1 year ago
teknomunk b2110eece3 make source and content have mime_type fields (not yet connected to JSON parser)
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 d675a087e5 Combine mention/follower status handling, add model support for pinned posts (not possible for posts to become pinned yet)
1 year ago
teknomunk 783ac01a20 Add status_add_to_timeline, fix reacts field in json layout table
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 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 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 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 b5a229267b Start test suite, implement base64_decode, validate http signatures
1 year ago
teknomunk bc3b4daebc Move base64 code to separate file, work on implementing HTTP Signature validation
1 year ago
teknomunk df589eb9e0 Rework inbox envelope
1 year ago
teknomunk 391049c46f Split json layout from ap_activity, fill out more of the ap_activity structure
1 year ago
teknomunk d6c5bbcbf9 Add account type field to model, move http_get to submodule http_client, move fs_list to submodule ffdb, start serializing signature data for RsaSignature2017
1 year ago
teknomunk 2a39ca0791 Add timeline filter handling, correctly write json strings in api response, more memory fixes
1 year ago
teknomunk ec7147dfff Correctly apply limits and since_id arguments to /api/v1/notifications, generate Accept action for Follow response (not yet signed), expand ap/activity model and add ap_activity_create_accept, add notification_new, don't include a 'status' in notifications if not set
1 year ago
teknomunk 6275af369b Add inbox cleanup, add development helper, fix up account uri->account_id index, start code to create new accounts in account_fetch_from_uri, add src/model/ap/account.*
1 year ago
teknomunk cfb3c1ccfc Add file system list (fs_list), start implementing activity processing, implement http_get wrapper for cURL, add validation override to ap_envelope to allow testing before HTTP Signature verification is implemented, fix extra " in envelope template
1 year ago
teknomunk 04e1ef6e32 Get first inbox item to parse completely
1 year ago
teknomunk 6706606cf8 Add /api/v1/instance, start work on ap_activity model, rework save/load files to use json helper functions, remove client_app model json template, implement notification model
1 year ago
teknomunk 808f912b1e Start implementing inbox processing
1 year ago
teknomunk 5e0a815d3a Connect up controller to more timelines, remove write_json_escaped (replace by json_write_string), add back in date to deferred inbox
1 year ago
teknomunk a4e7e5a29e Rework inbox
1 year ago
teknomunk bc36480af3 Implement post submission, start using new json object layout parser
1 year ago
teknomunk d52b2643b9 Implement queuing inbox (save to disk for processing non-realtime processing)
1 year ago