Skip to content

feat: signing order visual diagram#6231

Merged
vitormattos merged 10 commits intomainfrom
feat/signing-order-visual-diagram
Dec 17, 2025
Merged

feat: signing order visual diagram#6231
vitormattos merged 10 commits intomainfrom
feat/signing-order-visual-diagram

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

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]>
@vitormattos vitormattos added this to the Next Major (33) milestone Dec 17, 2025
@vitormattos vitormattos self-assigned this Dec 17, 2025
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 17, 2025
@vitormattos vitormattos changed the title feat: igning order visual diagram feat: signing order visual diagram Dec 17, 2025
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]>
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable31

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]>
@vitormattos vitormattos merged commit 45806e1 into main Dec 17, 2025
56 of 65 checks passed
@vitormattos vitormattos deleted the feat/signing-order-visual-diagram branch December 17, 2025 05:53
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant