Skip to content

[stable32] feat: signing order visual diagram#6233

Merged
vitormattos merged 10 commits intostable32from
backport/6231/stable32
Dec 17, 2025
Merged

[stable32] feat: signing order visual diagram#6233
vitormattos merged 10 commits intostable32from
backport/6231/stable32

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6231

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]>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 17, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (32) milestone Dec 17, 2025
@vitormattos vitormattos merged commit 1d12d88 into stable32 Dec 17, 2025
53 of 62 checks passed
@vitormattos vitormattos deleted the backport/6231/stable32 branch December 17, 2025 11:03
@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

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant