[stable31] feat: signing order visual diagram#6232
Merged
vitormattos merged 10 commits intostable31from Dec 17, 2025
Merged
Conversation
Allow admin to not enforce signing flow, letting users choose per document. Updates enum, File entity, and migration defaults. Signed-off-by: Vitor Mattos <[email protected]>
Enable users to change signature flow when updating file if admin has not enforced a specific flow mode. Signed-off-by: Vitor Mattos <[email protected]>
Add optional signatureFlow parameter to request-signature PATCH endpoint. Updates OpenAPI specs and TypeScript types. Signed-off-by: Vitor Mattos <[email protected]>
Update default signature flow from 'parallel' to 'none' in page controller, template loader, admin settings, and settings view. Signed-off-by: Vitor Mattos <[email protected]>
Convert numeric flow values (0=none, 1=parallel, 2=ordered_numeric) to string equivalents in Signer, Signers, and files store. Signed-off-by: Vitor Mattos <[email protected]>
Add visual diagram component showing signing flow with: - Sender stage at top - Numbered order stages with signers - Status indicators (signed/pending/draft) - NcPopover with detailed signer info - Completed stage at bottom Signed-off-by: Vitor Mattos <[email protected]>
Add UI controls in RequestSignatureTab: - Preserve signing order toggle switch - View signing order diagram button - Modal with SigningOrderDiagram component - Sync preserve order state with file changes Signed-off-by: Vitor Mattos <[email protected]>
Hide preserve signing order toggle when there's only one signer, as signing order is not applicable in this case. Signed-off-by: Vitor Mattos <[email protected]>
Add NONE mode to valid flow provider and remove zero from invalid numeric values since 0 is now a valid value (NONE). Signed-off-by: Vitor Mattos <[email protected]>
The initializePkiConfigPath method was using a variable named
'instanceId' from getSystemValue('instanceid') which could be confused
with LibreSign's instance_id. Changed to 'systemInstanceId' for clarity
and consistency with getConfigPathByParams method.
This ensures the PKI directories are created in the correct appdata path
using Nextcloud's system instance ID, while the directory name itself
contains LibreSign's CA identifier with its own instance ID.
Signed-off-by: Vitor Mattos <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Backport of PR #6231