-
Notifications
You must be signed in to change notification settings - Fork 147
feat: refresh ipns record #891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tabcat
wants to merge
76
commits into
ipfs:main
Choose a base branch
from
tabcat:feat/refresh-record
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 55 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
7d1e77d
add refresh property to metadata
tabcat 32f5d61
conditionally refresh localStore record
tabcat 4c2e7b1
PutOptions.metadata is Partial
tabcat c6d5d0a
#republish method supports refresh
tabcat 28b48fd
use overwrite options instead of metadata.refresh
tabcat 5fe9d7d
add refresh and unrefresh to republisher
tabcat a67063f
add RefreshOptions.repeat
tabcat fa80d54
add @default jsdoc tage to Refresh.force
tabcat b90b877
fix bool tag
tabcat 1e0602e
log unable to refresh record as error
tabcat 9286a63
move refresh records processing outside iterator
tabcat 486373c
test refresh feature in #republish tests
tabcat c7f1345
wrap refresh logic in try/catch
tabcat f2f6ea5
refactor(ipns)!: nocache does not read cache
tabcat 85b912f
cleanup record comments in refresh
tabcat ec19f54
published record via nocache
tabcat 7108a72
shorten error message in refresh
tabcat 3ab3052
fix putOptions.metadata
tabcat 3142df1
add refresh tests
tabcat 7822605
Merge branch 'main' into feat/refresh-record
tabcat 1a5f2bc
lint --fix
tabcat 13ace87
manual linter fixes
tabcat d4788ce
fix unrefresh test
tabcat 85c9e7c
undo pointless change
tabcat e1a7017
spy on localStore not datastore
tabcat c572206
rename refresh to republish and remove unrefresh
tabcat 7108a53
update example
tabcat 82df957
fix resolve test
tabcat c4aa5fd
fix docs
tabcat 0f493a5
fix localStore spy
tabcat 488469d
move shouldRefresh check before recordsToRefresh.push
tabcat 9bebca3
recordsToRefresh -> keysToRepublish
tabcat 77ea1c9
fix linter error
tabcat d25aa37
remove additional hour for tolerance
tabcat 754f515
fix lint error
tabcat 25b513c
replace refresh with upkeep in protobuf
tabcat d983e48
add upkeep to Publish/RepublishOptions
tabcat 6057cc0
clean up comment
tabcat cd4c899
skip looking for published records if force = true
tabcat 775d0b3
publish and republish use upkeep policy
tabcat a4d5cf8
republish offline
tabcat e2b1ff6
test republish disabled records and fix tests
tabcat 732b74b
lint --fix
tabcat ab66537
test: remove redudant test
tabcat 3a28a2b
republishing offline skips public resolution
tabcat 8168562
test: offline republish
tabcat b704448
clearer comment
tabcat 0aa5118
style and fix publish metadata
tabcat f6950bf
chore!: remove unused metadata interface
tabcat 025e34d
just check if already published
tabcat 3571286
Merge branch 'main' into feat/refresh-record
tabcat 470ac61
look for RecordNotFoundError
tabcat 70000c0
feat: add option for skipping resolution
tabcat 5769d4a
helpful options doc
tabcat 803e0ed
Merge branch 'main' into feat/refresh-record
tabcat 7caa3f2
sequential upkeep
tabcat bec425b
remove mistake
tabcat dba407b
Merge remote-tracking branch 'origin' into feat/refresh-record
tabcat d7dd3bb
add tests for offline and skipResolution
tabcat 783fa1b
use custom error for record already published
tabcat ea56eab
fix republish jsdoc
tabcat b653021
0x12
tabcat 903bfa2
add tests for unpublish
tabcat c88e018
prefer format specifier for logging
tabcat 712bfbf
better description for RepublishOptions.upkeep
tabcat b4eb07c
add tests for invalid record and force
tabcat 60d733f
validate metadata before writing
tabcat 2522e19
clarify ipns docs and test comments
tabcat 5466d39
fix broken datastore.get assertion in republish test
tabcat 4726136
remove stale imports from republish example
tabcat 792e96f
clarify unpublish jsdoc about keychain scope
tabcat 06d0414
add upkeep round-trip tests for publish and republish
tabcat 70b9ced
attach conflicting record to RecordAlreadyPublishedError
tabcat 1eb56e5
fix lint
tabcat 393fd5d
warn against concurrent republishing in example
tabcat 2f27fc4
remove validateMetadata
tabcat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.