summaryrefslogtreecommitdiff
path: root/vendor/github.com/superseriousbusiness/activity
AgeCommit message (Collapse)AuthorFiles
2025-03-02[chore] github.com/superseriousbusiness/activity -> ↵Libravatar tobi726
codeberg.org/superseriousbusiness/activity (#3853)
2025-02-19[feature] Forward-compatibility with Approval objects (#3807)Libravatar tobi116
* vendor * [feature] Forward-compatibility with Approval objects * vendor the thing * fix leetle bug * lil syntax tweak for beloved kimb
2025-01-27[feature] Implement `deliveryRecipientPreSort` to prioritize delivery to ↵Libravatar tobi2
mentioned accounts (#3668) * weeeeenus * update to latest activity * update to use latest release tag of superseriousbusiness/activity --------- Co-authored-by: kim <grufwub@gmail.com>
2024-08-26[bugfix] Fix incorrect json-ld `@context` serialization (#3243)Libravatar tobi1
2024-07-26[feature] Federate interaction policies + Accepts; enforce policies (#3138)Libravatar tobi3
* [feature] Federate interaction policies + Accepts; enforce policies * use Acceptable type * fix index * remove appendIRIStrs * add GetAccept federatingdb function * lock on object IRI
2024-07-06[chore] upstep activity to v1.7.0-gts (#3074)Libravatar tobi93
2024-04-11[performance] massively improved ActivityPub delivery worker efficiency (#2812)Libravatar kim2
* add delivery worker type that pulls from queue to httpclient package * finish up some code commenting, bodge a vendored activity library change, integrate the deliverypool changes into transportcontroller * hook up queue deletion logic * support deleting queued http requests by target ID * don't index APRequest by hostname in the queue * use gorun * use the original context's values when wrapping msg type as delivery{} * actually log in the AP delivery worker ... * add uncommitted changes * use errors.AsV2() * use errorsv2.AsV2() * finish adding some code comments, add bad host handling to delivery workers * slightly tweak deliveryworkerpool API, use advanced sender multiplier * remove PopCtx() method, let others instead rely on Wait() * shuffle things around to move delivery stuff into transport/ subpkg * remove dead code * formatting * validate request before queueing for delivery * finish adding code comments, fix up backoff code * finish adding more code comments * clamp minimum no. senders to 1 * add start/stop logging to delivery worker, some slight changes * remove double logging * use worker ptrs * expose the embedded log fields in httpclient.Request{} * ensure request context values are preserved when updating ctx * add delivery worker tests * fix linter issues * ensure delivery worker gets inited in testrig * fix tests to delivering messages to check worker delivery queue * update error type to use ptr instead of value receiver * fix test calling Workers{}.Start() instead of testrig.StartWorkers() * update docs for advanced-sender-multiplier * update to the latest activity library version * add comment about not using httptest.Server{}
2024-02-23[bugfix] 2643 bug search for account url doesnt always work when redirected ↵Libravatar kim5
(#2673) * update activity library so dereferencer returns full response and checks *final* link to allow for redirects * temporarily add bodged fixed library * remove unused code * update getAccountFeatured() to use dereferenceCollectionPage() * make sure to release map * perform a 2nd decode to ensure reader is empty after primary decode * add comment explaining choice of using Decode() instead of Unmarshal() * update embedded activity library to latest matching https://github.com/superseriousbusiness/activity/pull/21 * add checks to look for changed URI and re-check database if redirected * update max iteration count to 512, add checks during dereferenceAncestors() for indirect URLs * remove doubled-up code * fix use of status instead of current * use URIs for checking equality for security * use the latest known URI for boost_of_uri in case original was an indirect * add dereferenceCollection() function for dereferenceAccountFeatured() * pull in latest github.com/superseriousbusiness/activity version (and remove the bodge!!) * fix typo in code comments * update decodeType() to accept a readcloser and handle body closing * switch to checking using BoostOfID and add note why not using BoostOfURI * ensure InReplyTo gets unset when deleting status parent in case currently stubbed * add tests for Collection and CollectionPage iterators
2024-02-02[chore] bump activity dependency -> v1.6.0-gts (#2599)Libravatar tobi27
2023-07-27[chore] Update activity dependency (#2031)Libravatar tobi402
2023-05-09[feature] Enable federation in/out of profile PropertyValue fields (#1722)Libravatar tobi127
Co-authored-by: kim <grufwub@gmail.com> Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
2023-04-06[bugfix] Normalize status content (don't parse status content as IRI) (#1665)Libravatar tobi2
* start fannying about * finish up Normalize * tidy up * pin to tag * move errors about just a little bit
2022-09-23[feature] Allow delivery to sharedInboxes where possible (#847)Libravatar tobi40
* update Activity * add instance-deliver-to-shared-inboxes setting * update activity version again * add SharedInboxURI field to accounts * serdes for endpoints/sharedInbox * deliver to sharedInbox if one is available * update tests * only assign shared inbox if shared domain * look for shared inbox if currently nil * go fmt * finger to get params.RemoteAccountID if necessary * make comments clearer * compare dns more consistently
2022-04-28[bugfix] Fix possible race condition in federatingdb (#490)Libravatar kim6
Signed-off-by: kim <grufwub@gmail.com>
2022-04-05[dependency] Update superseriousbusiness/activity dependency (#446)Libravatar tobi2
* bump superseriousbusiness/activity version * fetch list of follower inbox iris
2021-11-13move to ssb gofed fork (#298)Libravatar tobi732