GoToSocial/vendor
kim 1d51e3c8d6
[bugfix] 2643 bug search for account url doesnt always work when redirected (#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-23 16:24:40 +01:00
..
codeberg.org update go-structr v0.2.0 => v0.3.0 to fix possible hash collision issues (#2586) 2024-01-29 15:13:53 +00:00
github.com [bugfix] 2643 bug search for account url doesnt always work when redirected (#2673) 2024-02-23 16:24:40 +01:00
go.opentelemetry.io [chore] Downgrade OTEL libraries to 1.20 (#2546) 2024-01-21 11:34:12 +01:00
go.uber.org [chore] update viper version (#2539) 2024-01-17 14:54:30 +00:00
golang.org/x [chore]: Bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 (#2629) 2024-02-12 10:04:32 +00:00
google.golang.org [chore] update otel -> v1.20.0 (#2358) 2023-11-13 11:08:02 +01:00
gopkg.in [chore]: Bump github.com/coreos/go-oidc/v3 from 3.4.0 to 3.5.0 (#1322) 2023-01-09 08:23:49 +00:00
lukechampine.com/uint128 [chore] Update all but bun libraries (#526) 2022-05-02 15:05:18 +02:00
modernc.org [chore]: Bump modernc.org/sqlite from 1.27.0 to 1.28.0 (#2470) 2024-01-03 10:01:54 +00:00
mvdan.cc/xurls/v2 [chore]: Bump mvdan.cc/xurls/v2 from 2.4.0 to 2.5.0 (#1702) 2023-04-19 13:44:20 +02:00
modules.txt [bugfix] 2643 bug search for account url doesnt always work when redirected (#2673) 2024-02-23 16:24:40 +01:00