Commit graph

143 commits

Author SHA1 Message Date
Vitor Mattos
9a9ca2bba7
Merge pull request #6216 from LibreSign/feat/custom-message-for-signers
feat: custom message for signers
2025-12-16 21:48:53 -03:00
Vitor Mattos
0c5461f16c
chore: add documentation of openapi
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-16 20:52:16 -03:00
Vitor Mattos
f71697efb5
docs: regenerate OpenAPI specification
Update OpenAPI schemas to include acceptsEmailNotifications in
LibresignIdentifyAccount and description/displayName/notify in
LibresignNewSigner types.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-16 19:12:58 -03:00
Vitor Mattos
3beca7f23e
chore: add docblock of openapi.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-14 16:38:34 -03:00
Vitor Mattos
df44227af1
fix: add signatureFlow to ValidateFile schema
Add signatureFlow field to ValidateFile schema in OpenAPI specs and
ResponseDefinitions.

- Update openapi.json and openapi-full.json schemas
- Add signatureFlow to LibresignValidateFile psalm type
- Mark as required field with integer type

This fixes OpenAPI validation errors in API tests.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-12 17:18:55 -03:00
Vitor Mattos
0e3ed551e6
docs: add signatureFlow parameter to OpenAPI specification
Update API documentation for request-signature endpoint.

- Add signatureFlow parameter to request body schema
- Type: string, nullable
- Description documents accepted values and fallback behavior

This ensures API consumers have accurate documentation for the
signature flow parameter.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-12 17:02:39 -03:00
Vitor Mattos
80136aafd9
chore: update openapi documentation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-11 14:38:56 -03:00
Vitor Mattos
4a57a99dc6
docs: regenerate OpenAPI documentation
Update OpenAPI spec and TypeScript types to reflect changes in
LibresignNextcloudFile response type with status, statusText, and
created_at fields.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-11 09:47:55 -03:00
Vitor Mattos
5caf995ab8
chore: update OpenAPI schemas with signingOrder field
Auto-generated update of OpenAPI schemas to include the signingOrder
field in NewSigner and Signer types.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-10 12:31:01 -03:00
Vitor Mattos
5c6fc226c1
chore: update OpenAPI specs for signature flow endpoint
Regenerate OpenAPI documentation files to include the new
signature flow configuration endpoint.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-09 21:56:51 -03:00
Vitor Mattos
7adb0f2342
chore: update OpenAPI specs and TypeScript types
- Update openapi.json with new signature-flow endpoint
- Regenerate TypeScript types from OpenAPI specs
- Auto-generated by openapi-extractor

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-09 21:56:51 -03:00
Vitor Mattos
a9c927dc42
chore: regenerate OpenAPI specs after fixing setCertificateEngine annotation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-09 12:53:17 -03:00
Vitor Mattos
a66384c011
chore: update OpenAPI specs for DocMDP endpoint
Regenerate OpenAPI documentation files to include setDocMdpConfig endpoint:
- openapi-administration.json
- openapi-full.json
- TypeScript type definitions

Generated from updated PHPDoc annotations.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-08 16:53:49 -03:00
Vitor Mattos
ef82be184f
feat: add preview dimensions to footer template GET endpoint
- Return preview_width and preview_height in response
- Update PHPDoc return type annotation
- Regenerate OpenAPI specs

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-05 01:38:53 -03:00
Vitor Mattos
aa93469ea0
refactor: provide footer template variables via initial state
- Add FooterService injection to Admin settings
- Provide footer_template_variables in initial state
- Remove API endpoint getFooterTemplateVariables (no longer needed)
- Update OpenAPI specs removing the endpoint
- Variables now loaded at page load instead of via separate API call

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-04 21:22:31 -03:00
Vitor Mattos
d145638172
docs: update OpenAPI documentation and TypeScript types
- Add getFooterTemplateVariables endpoint to OpenAPI specs
- Generate TypeScript types for template variables metadata
- Document response schema with variable metadata structure
- Update both administration and full API specifications

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-04 21:15:52 -03:00
Vitor Mattos
e06db93418
docs: update OpenAPI specs for footer template endpoints
- Add default empty string parameter to saveFooterTemplate
- Update template parameter documentation to clarify reset behavior

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-04 16:22:11 -03:00
Vitor Mattos
a820e11fe5
docs: generate OpenAPI specs for footer template endpoints
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-04 14:55:14 -03:00
Vitor Mattos
33d171749b docs(api): Update OpenAPI specs for sorting parameters
- Add sortBy and sortOrder parameters to id-docs/approval/list endpoint
- Regenerate TypeScript types from OpenAPI schema

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-03 08:52:11 -03:00
David Lima
79cb8dbf3e
docs(files-app-integration): update openapi documentation
Signed-off-by: David Lima <antdavidlima@gmail.com>
2025-12-03 00:40:11 -03:00
Vitor Mattos
d24422618b
docs: regenerate OpenAPI spec for DELETE endpoint change
Update OpenAPI specifications to reflect the new DELETE endpoint
with nodeId in URL path (/api/v1/id-docs/{nodeId}).

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-02 15:38:58 -03:00
Vitor Mattos
7ce2999b00
docs: regenerate OpenAPI spec with scalar parameters
Update OpenAPI specification to reflect the new scalar parameters
(userId, signRequestId, page, length) in IdDocs endpoints.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-02 14:34:03 -03:00
Vitor Mattos
4915cb835c
docs: regenerate OpenAPI specification
Updates OpenAPI spec and TypeScript types to reflect:
- New IdDocs endpoints
- Removed AccountFile endpoints
- Fixed complex filter parameter warnings

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-12-02 13:57:55 -03:00
Vitor Mattos
6d6bc1a4fa
chore: update swagger
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-11-26 23:04:51 -03:00
Vitor Mattos
3079add26e
chore: update openapi
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-11-10 09:46:29 -03:00
Vitor Mattos
993b86db8b
chore: update documentation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-11-06 01:03:37 -03:00
Vitor Mattos
3296c5af82
chore: update openapi documentation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-11-03 12:44:14 -03:00
Vitor Mattos
701fbb5e3c
feat: implement crl
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-21 14:46:24 -03:00
Vitor Mattos
2eb351a441
chore: update documentation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-17 09:12:58 -03:00
Vitor Mattos
3922a4375a chore: update openapi documentation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-15 16:07:33 -03:00
Vitor Mattos
65130b8d80 feat: return next scheduled date
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-07 20:02:43 -03:00
Vitor Mattos
06f36992dc
fix: change suggested by code review
https://github.com/LibreSign/libresign/pull/5459#discussion_r2373089670

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-01 20:48:09 -03:00
Vitor Mattos
6a4ce46861
fix: openapi
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-01 20:29:58 -03:00
Vitor Mattos
aaec06f067
fix: typo
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-01 20:29:55 -03:00
Vitor Mattos
1089829160
chore: update openapi
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-10-01 20:29:52 -03:00
Crisciany Souza
32b5b4cff6 chore: using userConfig
Signed-off-by: Crisciany Souza <criscianysilva1997@gmail.com>
2025-09-22 18:53:34 -04:00
Vitor Mattos
4a6f31ba13
fix: update openapi
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-09-08 14:32:59 -03:00
Vitor Mattos
adb624de8a
feat: implement reminders at back and frontend
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-09-08 14:24:26 -03:00
Vitor Mattos
ffd24a9aea fix: add pending API documentation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
2025-08-12 13:55:26 -03:00
Samuelson Brito
a388e7b28e
chore: update documentation
Signed-off-by: Samuelson Brito <samuelsonma@gmail.com>
2025-05-19 22:58:43 -03:00
Samuelson Brito
43934504f4
Merge pull request #4833 from LibreSign/feat/manage-certificate-policy
feat: manage certificate policy
2025-05-16 23:14:41 -04:00
Vitor Mattos
70e38469d2
chore: update documentation
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-05-12 22:25:32 -03:00
Vitor Mattos
f84326a5f6
chore: update documentation
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-05-12 22:25:32 -03:00
Vitor Mattos
c7375f081f
chore: update documentation
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-05-12 22:25:31 -03:00
Vitor Mattos
d7e3e59e3e
fix: documentation
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-17 15:30:12 -03:00
Vitor Mattos
6f32e6aadf
chore: change URL to CPS
CPS is the right name of this

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-17 15:00:52 -03:00
Vitor Mattos
b507df970b
chore: rename URL to CPS and return this at get certificate details endpoint
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-17 14:12:41 -03:00
Vitor Mattos
2c958077a2
chore: Implement administration settings of Certificate Policy
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-16 17:22:15 -03:00
Vitor Mattos
19904d0f93
chore: create new endpoint to fetch signature settings
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:06 -03:00
Vitor Mattos
e240286cc1
chore: remove wasScaled alert
We will preserve width and height if less than a scale factor

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:04 -03:00