Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major refactor to focus on delivering activities (not posts); reorgan…
…ize code structure; improved documentation (#17) * rip the bandaid off, do the database, queue refactor at the same time * refactoring... * snapshot: move all the code around * snapshot: move more files around * snapshot: wrangle all the errors in database/ * chip away at errors * chipping away... * snapshot: fixing errors, finding import cycles... * keep moving code around, fixing bugs * snapshot: compiles again, almost certainly does not work * snapshot: re-add app/post/create; incomplete but compiles at least * snapshot: wrangling post activity stuff * snapshot: still layer-caking, still untested * start testing everything that's prolly broken * start adding logging, tracking down errors * wrangle all the slogging stuff * trigger panic creating post * add -verbose flag to block tools * more debugging for post/create * post a message... it works? * proved that posts are delivered to inboxes * make inbox code account independent; add acct.SendActivity * Activity.PostToInbox * move retrieve actor and parse address stuff in to ap/ * add posts.ActivityFromPost * block out basic app/boost stuff, untested * block out boost-note with note fetching, untested * add tests for actors; start working through get boost details * update NewBoostActivityForNote to successfully (I think...) deliver boost * block out list-boosts tool * snapshot: block out Boosted type * put app/post/deliver back - there is a disconnect here that I need to wrangle * cmd/deliver-post and friends compile, but still untested * snapshot: add -mode pubsub to cmd/deliver-post (mostly for testing) * snapshot: start block out internal activity type to wrap ap.activity * blocking out internal activity type code * block out sqlite stuff for activities database * snapshot: update all the queue code to expect ActivityPub wrapper type, break everything * rip the bandaid off and tweak deliveries schema to track IDs better * snapshot: compiles again, but untested; deliveries db code still needs updating * snapshot: placeholder methods for deliveries/sql stuff which, in fact, has never been implemented * fleshing out delivery sql methods * finish implementing SQL deliveries methods * fix errors in dynamo deliveries schema * fix Make for posting; seems to work including delivery... * super basic list-activities tool * basic list-deliveries tool * make deliveries for cc / boost stuff work * add deliver package * godoc * stubs for cmd/ docs * start blocking out database docs * docs * update vendor deps; update to use aaronland/go-http-server DisabledHandler * add prefix to ap.NewId * actially assign prefix for ap/as ID * update NoteFromPost to use tag.Name for Cc, disabled * silence unsupported activity type errors * endless wrangling; unsure which piece is broken but posts are not being processed, as in they are delivered but then never... what? * docs, finally seems to work again * account URL not address * debugging * logging, bug fixes * more logging; assign unique id for pubsub deliveries * update vendor deps * Add Close() method to queue interfaces; do not exit after first lambda/sqs message * fix to addr in boost * re-enable disabled handler * start refactoring docs * notes about notes, messages and posts * docs * docs * MD fixes * docs * add cmd/retrieve-note; update docs * docs * improved docs * more docs * docs * docs * add missing UpdatePost to database/posts_database_docstore.go * add html methods * wrangle tests * add attachments to notes * notes about adding support for media attachments to ActivityFromPost * add text package for converting text to rgba, fix overflow errors in rgb stuff * error handling registering queues and databases * update pubsub registration stuff for queues * add example process message stuff * docs * queue docs * docs * docs * docs for list-aliases * improve cmd/ docs * improve cmd/ docs * improve cmd/ docs * improve cmd/ docs * improved cmd/ docs --------- Co-authored-by: sfomuseumbot <sfomuseumbot@localhost> Co-authored-by: thisisaaronland <thisisaaronland@localhost>
- Loading branch information