130 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 bf37930623 Implement Like federation, fix system account id, add defunct flag to accounts and stop delivery to accounds so flagged
1 year ago
teknomunk 2d45847e41 Fix ids, notifications for Husky
1 year ago
teknomunk f662610622 Update CLI handling, add CORS headers to ActivityPub endpoints to allow https://json-ld.org/playground/ to work, add route for /activity/%d{id}, add contexts to ap_object creation, fix single-digit dates in HTTP Signature Date header
1 year ago
teknomunk 091b4d8b2e remove ap_attachment, use object id as ref when an object is provided in an announce
1 year ago
teknomunk 1215ebfe4e Implement Undo(Like) and Undo(EmojiRact)
1 year ago
teknomunk e4c6c42975 Start adding automatic directory creaction to model, implement working /inbox forwarding for owner, implement activity_deliver, rework account federation to use activity_deliver
1 year ago
teknomunk 2f07d4d040 Finish renaming ap_activity -> ap_object
1 year ago
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 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 c6f8df2244 Fix minor bugs
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 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 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 ed4fbf7fde Fix memory leaks, implement bookmarks
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 d41ebc7a24 Fix memory leaks, implement Emoji federation, fix mention bug, fix other bugs
1 year ago
teknomunk cb3d102c38 Fix replies, add stub for /api/v1/scheduled_statuses
1 year ago
teknomunk aad7a1f82f Implement emoji for local posts
1 year ago
teknomunk c66f92924d Implement emoji processing and display for federated posts, fix /api/v1/account/update_credentials
1 year ago
teknomunk 6954de32d9 Change timeline to use trie that allows arbitrary insertions and deletions instead of list of lists (which doesn't), make all routes other than /api return Soapbox index.html on error
1 year ago
teknomunk d80b5e1e62 Implement federated media posts
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 80a0278495 Fill out Status response fields for reply and to further match Pleroma, pull mentions and parent posts for replies
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 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 6d78a1c827 Implement block notification
1 year ago
teknomunk 0ecd13752f Implement working Digest headers included in HTTP Signature for all outgoing posts
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 63b8bc5141 Reduce outbox processing load by advancing the TAIL to skip sent/canceled outbox items
1 year ago
teknomunk 9721eb53d8 Handle account with empty name field, fix some memory leaks
1 year ago
teknomunk 68bdc0718f Add forced discard after 10 delivery failures, don't crash when a search doesn't return an account
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 a52a9b8c89 Add backoff to outbox processing, get replies federating, get emoji notifications working in Husky, get local statuses not in the uri index looking up by uri
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 31bc4e73be Break timeline and account routes out of controler/mastodon_api.c, connect /api/v1/accounts/%d{id}/follow to account_follow
1 year ago