gotosocial/internal/federation/dereferencing
kim 7a1aa04bbb
[bugfix] update thread iterators to not use recursion (#851)
* update thread iterators to not use recursion, rewrote both

Signed-off-by: kim <grufwub@gmail.com>

* fix endless descendant deref, don't error if fetching existing status

Signed-off-by: kim <grufwub@gmail.com>

* don't refetch remote ancestor statuses, improve descendant iter commenting

Signed-off-by: kim <grufwub@gmail.com>

* move collection page next logic so we capture first page of entities

Signed-off-by: kim <grufwub@gmail.com>

* improve log format argument quoting

Signed-off-by: kim <grufwub@gmail.com>

* improve code commenting of collection paging

Signed-off-by: kim <grufwub@gmail.com>

* only dereference announce's originating status if _not_ local. update DereferenceThread() signature. cleanup searchStatusByURI()

Signed-off-by: kim <grufwub@gmail.com>

Signed-off-by: kim <grufwub@gmail.com>
2022-09-25 13:09:41 +02:00
..
account.go [feature] Allow delivery to sharedInboxes where possible (#847) 2022-09-23 20:27:35 +01:00
account_test.go [feature] Allow delivery to sharedInboxes where possible (#847) 2022-09-23 20:27:35 +01:00
announce.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
collectionpage.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
dereferencer.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
dereferencer_test.go [feature] S3 support (#674) 2022-07-03 12:08:30 +02:00
emoji.go [feature] Fetch + display custom emoji in statuses from remote instances (#807) 2022-09-12 13:03:23 +02:00
emoji_test.go [feature] Fetch + display custom emoji in statuses from remote instances (#807) 2022-09-12 13:03:23 +02:00
finger.go [chore] Webfinger rework (#627) 2022-06-11 11:01:34 +02:00
handshake.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
instance.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
media.go [feature] Add postDataCallbackFunc to allow cleanup (#408) 2022-02-22 13:50:33 +01:00
media_test.go [chore] Test fixes (#788) 2022-08-31 17:31:21 +02:00
status.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00
status_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
thread.go [bugfix] update thread iterators to not use recursion (#851) 2022-09-25 13:09:41 +02:00