Skip to content

Commit db30f77

Browse files
committed
chore: remove debug logging and update dependencies
- Remove debug logging from SignRequestMapper - Remove error logging from RequestSignatureController - Clean up temporary debugging code Signed-off-by: Vitor Mattos <[email protected]>
1 parent f1a53f6 commit db30f77

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

lib/Controller/RequestSignatureController.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ public function __construct(
4747
/**
4848
* Request signature
4949
*
50-
* Request that a file be signed by a group of people
50+
* Request that a file be signed by a group of people.
51+
* Each user in the users array can optionally include a 'signing_order' field
52+
* to control the order of signatures when ordered signing flow is enabled.
5153
*
5254
* @param LibresignNewFile $file File object.
53-
* @param LibresignNewSigner[] $users Collection of users who must sign the document
55+
* @param LibresignNewSigner[] $users Collection of users who must sign the document. Each user can have: identify, displayName, description, notify, signing_order
5456
* @param string $name The name of file to sign
5557
* @param string|null $callback URL that will receive a POST after the document is signed
5658
* @param integer|null $status Numeric code of status * 0 - no signers * 1 - signed * 2 - pending

lib/Settings/Admin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use OCA\Libresign\Service\FooterService;
1717
use OCA\Libresign\Service\IdentifyMethodService;
1818
use OCA\Libresign\Service\SignatureBackgroundService;
19+
use OCA\Libresign\Service\SignatureFlow;
1920
use OCA\Libresign\Service\SignatureTextService;
2021
use OCP\AppFramework\Http\TemplateResponse;
2122
use OCP\AppFramework\Services\IInitialState;
@@ -79,6 +80,7 @@ public function getForm(): TemplateResponse {
7980
$this->initialState->provideInitialState('tsa_username', $this->appConfig->getValueString(Application::APP_ID, 'tsa_username', ''));
8081
$this->initialState->provideInitialState('tsa_password', $this->appConfig->getValueString(Application::APP_ID, 'tsa_password', self::PASSWORD_PLACEHOLDER));
8182
$this->initialState->provideInitialState('docmdp_config', $this->docMdpConfigService->getConfig());
83+
$this->initialState->provideInitialState('signature_flow', $this->appConfig->getValueString(Application::APP_ID, 'signature_flow', SignatureFlow::PARALLEL->value));
8284
return new TemplateResponse(Application::APP_ID, 'admin_settings');
8385
}
8486

0 commit comments

Comments
 (0)