WIP: Add backfilling of posts #846

Draft
tudbut wants to merge 18 commits from tudbut/akkoma:develop into develop

18 commits

Author SHA1 Message Date
e98555f767 Merge branch 'develop' into develop
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
2024-12-09 20:54:19 +00:00
TudbuT
273ac2c380
actually add config value
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
2024-12-03 21:19:07 +01:00
TudbuT
6d8df8c1a2
fixes and an attempt at making backfetching work for existing users 2024-12-03 21:17:12 +01:00
TudbuT
ee0370089b
better control flow to check outbox refetch
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
2024-11-26 23:16:48 +01:00
4e5e947f26 Merge branch 'develop' into develop
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
2024-11-26 22:08:27 +00:00
TudbuT
718dae0f97
fix last_outbox_fetch
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
2024-11-03 23:50:42 +01:00
TudbuT
e37ffa1b1f
handle empty last_fetch
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
2024-11-03 23:17:19 +01:00
ee1f8938fc add last_outbox_fetch to migration
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
2024-11-03 21:49:04 +00:00
TudbuT
fdaff0a70b remove fake activity marker, dont wrap if already an activity
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test Pipeline is pending approval
2024-11-03 21:43:50 +00:00
TudbuT
cdf1cc282c fix timeout and handle epoch 2024-11-03 21:43:50 +00:00
TudbuT
89588aecf5 rename outbox/pin fetching functions to be more generic 2024-11-03 21:43:50 +00:00
TudbuT
c047a87d2e outbox refetching will now only be done once a minute at max 2024-11-03 21:43:50 +00:00
TudbuT
f14057311e don't fill in outbox field from inbox to ensure consistency 2024-11-03 21:43:50 +00:00
TudbuT
dc6e8d930b add shell.nix to make development on nix easier 2024-11-03 21:43:50 +00:00
TudbuT
2afa62cf3c Mark fake activities, revert some error return types for safety 2024-11-03 21:43:50 +00:00
TudbuT
de1a5f6224 Backfetch without a second layer of indirection 2024-11-03 21:43:50 +00:00
TudbuT
f08ca527ff Use best-effort guessing the url of the outbox for known users 2024-11-03 21:43:50 +00:00
TudbuT
134d395a74 Add backfilling of posts 2024-11-03 21:43:50 +00:00