-
Notifications
You must be signed in to change notification settings - Fork 58
feat(dashmate): record why certificate renewal failed so doctor can name the cause #4476
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
929800a
fix(dashmate): restore the report date as a date, not a string
shumkov 58ecedb
feat(dashmate): name why a certificate renewal failed
shumkov 010619a
feat(dashmate): persist the outcome of every scheduled renewal
shumkov 28275be
feat(dashmate): tell an operator why renewal is failing, before the n…
shumkov 27d6923
feat(dashmate): let update name the cause too, from the same vocabulary
shumkov 78499ef
fix(dashmate): never prescribe a certificate request the recorded cau…
shumkov 791c87f
fix(dashmate): correct four defects in the renewal record, and pin wh…
shumkov e2b542d
fix(dashmate): keep bookkeeping from failing an install, and narrow w…
shumkov c0b5b6d
refactor(dashmate): give the renewal record a model and a repository
shumkov cb76557
docs(dashmate): point operators at the port 80 guide, and repair thre…
shumkov 790108f
fix(dashmate): three defects a second review found in the renewal record
shumkov 38d7418
perf(dashmate): bound a recorded excerpt before scanning it
shumkov ec45fb2
refactor(dashmate): name new modules in kebab-case, per the package g…
shumkov 77fd674
fix(dashmate): seven more defects, four of them in guidance I had jus…
shumkov e070096
fix(dashmate): two blocking defects and a shared guidance state, agre…
shumkov 309e1af
revert(dashmate): drop unrelated lint autofixes from this branch
shumkov 3b0f1de
revert(dashmate): drop the remaining lint autofix collateral
shumkov 4367fa2
fix(dashmate): repair four defects the fence and the shared state int…
shumkov 0c2e85b
revert(dashmate): drop the last of the lint autofix collateral, in test
shumkov b1459ae
fix(dashmate): make one decision the only thing that prescribes a cer…
shumkov fd88826
style(dashmate): drop a stray blank line
shumkov c5fc461
fix(dashmate): give the shared decision the input it was missing, and…
shumkov fc284dd
fix(dashmate): keep the certificate authority's reason for a failed r…
shumkov d9f8450
fix(dashmate): stop responder-supplied text choosing an operator's ne…
shumkov 60b53d7
fix(dashmate): stop offering a certificate that could not be saved
shumkov 99a8865
fix(dashmate): make the storage veto reachable, and honour it everywhere
shumkov 522a52d
fix(dashmate): one place decides whether to ask for a certificate
shumkov 911acbf
feat(dashmate): stop naming the config an operator is already on
shumkov 2c514d5
Revert "feat(dashmate): stop naming the config an operator is already…
shumkov 95a978d
fix(dashmate): close the review findings on the renewal record
shumkov 4e6475d
fix(dashmate): confirm the log attachment before waiting on lego
shumkov 8ce253b
fix(dashmate): stop four ways a request outlived the decision withhol…
shumkov 7fed9a9
fix(dashmate): hold the fence through the write, and let the switch r…
shumkov 83dcec9
fix(dashmate): reclaim a fence only from a holder that is gone
shumkov f55052d
revert(dashmate): reclaim the fence by age again, and state what that…
shumkov 71e42ca
fix(dashmate): never hand back a generation that is not a number
shumkov 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| /** | ||
| * Every documentation link dashmate prints, in one place. | ||
| * | ||
| * Gathered because they were repeated inline: the SSL-certificates anchor | ||
| * appeared three times in one file alone, and the certificate troubleshooting | ||
| * article was a constant in another. A link that lives in several places is one | ||
| * that gets updated in some of them - and dashmate has already shipped links | ||
| * that answered 404, which costs the command the credibility it needs at the | ||
| * moment an operator is following its instructions. | ||
| * | ||
| * Two forms appear here, deliberately. `docs.dash.org/<slug>` is a redirect | ||
| * configured in the documentation site's dashboard; those exist for some pages | ||
| * and not others. Where no redirect was created, the published path is used | ||
| * instead - it resolves today, and a link that resolves beats a shorter one | ||
| * that does not. | ||
| */ | ||
| export const DOCS_LINKS = { | ||
| /** Choosing and configuring a certificate provider. */ | ||
| SSL_CERTIFICATES: 'https://docs.dash.org/en/stable/docs/user/masternodes/setup-evonode.html#ssl-certificates', | ||
|
|
||
| /** Why renewal fails, and what to do about each cause. */ | ||
| CERTIFICATE_TROUBLESHOOTING: 'https://docs.dash.org/en/stable/docs/user/masternodes/troubleshooting-certificates.html', | ||
|
|
||
| /** Registering an evonode's collateral from Dash Core. */ | ||
| EVONODE_COLLATERAL: 'https://docs.dash.org/evonode-setup-core-collateral', | ||
|
|
||
| /** Registering a masternode's collateral from Dash Core. */ | ||
| MASTERNODE_COLLATERAL: 'https://docs.dash.org/mn-setup-core-collateral', | ||
|
|
||
| /** Dash Masternode Tool. */ | ||
| DMT_SETUP: 'https://docs.dash.org/dmt-setup', | ||
| }; | ||
|
|
||
| export default DOCS_LINKS; |
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.