summaryrefslogtreecommitdiff
path: root/vendor/github.com/superseriousbusiness
AgeCommit message (Collapse)AuthorFiles
2025-03-10[chore] remove vendorLibravatar Terin Stock776
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-08-02[chore] add back exif-terminator and use only for jpeg,png,webp (#3161)Libravatar kim17
* add back exif-terminator and use only for jpeg,png,webp * fix arguments passed to terminateExif() * pull in latest exif-terminator * fix test * update processed img --------- Co-authored-by: tobi <tobi.smethurst@protonmail.com>
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-12[feature] support processing of (many) more media types (#3090)Libravatar kim17
* initial work replacing our media decoding / encoding pipeline with ffprobe + ffmpeg * specify the video codec to use when generating static image from emoji * update go-storage library (fixes incompatibility after updating go-iotools) * maintain image aspect ratio when generating a thumbnail for it * update readme to show go-ffmpreg * fix a bunch of media tests, move filesize checking to callers of media manager for more flexibility * remove extra debug from error message * fix up incorrect function signatures * update PutFile to just use regular file copy, as changes are file is on separate partition * fix remaining tests, remove some unneeded tests now we're working with ffmpeg/ffprobe * update more tests, add more code comments * add utilities to generate processed emoji / media outputs * fix remaining tests * add test for opus media file, add license header to utility cmds * limit the number of concurrently available ffmpeg / ffprobe instances * reduce number of instances * further reduce number of instances * fix envparsing test with configuration variables * update docs and configuration with new media-{local,remote}-max-size variables
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
2024-01-31[feature] Try HTTP signature validation with and without query params for ↵Libravatar tobi7
incoming requests (#2591) * [feature] Verify signatures both with + without query params * Bump to tagged version
2024-01-15[chore] Move to codeberg's exif-terminator (#2536)Libravatar tobi6
2023-11-30[bugfix] Update exif-terminator (fix png issue) (#2391)Libravatar tobi10
* [bugfix] Update exif-terminator (fix png issue) * bump exif terminator * fix tests
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
2023-02-27[chore] Bump oauth2/v4 -> v4.6.6.6-SSB (#1571)Libravatar tobi1
2022-12-06[feature] media: add webp support (#1155)Libravatar Sigrid Solveig Haflínudóttir3
* media: add webp support Signed-off-by: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> * bump exif-terminator to v0.5.0 Signed-off-by: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> Signed-off-by: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
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-08-10[chore] bump exif-terminator to 0.4.0 (#747)Libravatar tobi2
2022-06-23[bugfix] Don't remove jpeg orientation metadata (#663)Libravatar tobi3
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
2022-03-21[bugfix] Fix images not being processed correctly sometimes (#437)Libravatar tobi13
* bump exif-terminator to latest version * add and test giant turnip from turnip.farm * don't error if content property is nil
2022-01-23use exif-terminatorLibravatar tsmethurst8
2021-11-13move to ssb gofed fork (#298)Libravatar tobi732
2021-09-10migrate go version to 1.17 (#203)Libravatar tobi2
* migrate go version to 1.17 * update contributing
2021-09-08update oauth library --> v4.3.2-SSBLibravatar kim (grufwub)1
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-09-08update oauth library -> v4.3.1-SSBLibravatar kim (grufwub)8
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
2021-08-12Grand test fixup (#138)Libravatar Tobi Smethurst30
* start fixing up tests * fix up tests + automate with drone * fiddle with linting * messing about with drone.yml * some more fiddling * hmmm * add cache * add vendor directory * verbose * ci updates * update some little things * update sig