Commit graph

8424 commits

Author SHA1 Message Date
Vitor Mattos
b42d41cecf
feat: add reason of signature
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-19 15:21:46 -03:00
Nextcloud bot
0f9f70c967
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-18 02:33:36 +00:00
Samuelson Brito
345b9430b3
Merge pull request #4864 from LibreSign/chore/remove-unecessary-else
chore: remove unecessary else
2025-04-16 16:24:32 -04:00
Vitor Mattos
770be91907
Merge pull request #4866 from LibreSign/fix/main-license-file
fix: main license file
2025-04-16 14:59:52 -03:00
Vitor Mattos
d249841f1f
fix: main license file
After we implemented the folder LICENSES, we made a wrong remotion of
main license file of this repository that was added again at file COPYNG

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-16 14:54:15 -03:00
Vitor Mattos
a8feebd6a1
chore: remove unecessary else
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-16 12:39:14 -03:00
Nextcloud bot
108174622f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-16 02:35:07 +00:00
Nextcloud bot
f6456ffaa7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-15 02:38:14 +00:00
Vitor Mattos
d6980e646e
Merge pull request #4860 from LibreSign/chore/changelog
chore: changelog
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 12:39:59 -03:00
Vitor Mattos
508f357007
chore: changelog
[skip ci]

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 12:29:55 -03:00
Samuelson Brito
8fc707f0c9
Merge pull request #4839 from LibreSign/chore/remove-unecessary-return
chore: remove unsecessary return
2025-04-14 11:16:33 -04:00
Vitor Mattos
11f873497a
Merge pull request #4853 from LibreSign/fix/use-user-id-to-load-file
fix: user userId when validate file
2025-04-14 11:47:43 -03:00
Vitor Mattos
18f668995f
Merge pull request #4849 from LibreSign/fix/only-notify-when-is-not-draft
fix: only notify when is not draft
2025-04-14 11:47:34 -03:00
Vitor Mattos
e37a5a22da
chore: remove references to IUserMountCache
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 11:29:53 -03:00
Vitor Mattos
bfb12d1534
chore: improve scenario
Only request to sign usign email

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 11:18:08 -03:00
Vitor Mattos
c42403bd6b
fix: unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 11:14:26 -03:00
Vitor Mattos
b6d8aefc8b
fix: load status from file when the request didn't sent this
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 11:07:02 -03:00
Vitor Mattos
cb01d38160
fix: user userId when validate file
Every when we load a file from Nextcloud, would be good to have the
fileId to be quicky. When we request to sign a file from fileId, the
file already exists before create the sign request and because this, we
haven't a LibreSign file. To prevent error, I get the userId of who
requessted to sign the document and sent to validation methods and after
whis, was possible to validate the file.

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 10:49:38 -03:00
Vitor Mattos
666143f490
fix: prevent error when we haven't a status
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 10:40:18 -03:00
Samuelson Brito
789326086a
Merge pull request #4850 from LibreSign/fix/prevent-json-decode-null
fix: prevent json decode null
2025-04-14 09:25:24 -04:00
Vitor Mattos
bd903388f2
fix: unit test
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 09:53:23 -03:00
Vitor Mattos
28de6a3c8c
fix: prevent json decode null
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 09:48:03 -03:00
Vitor Mattos
5f767b615b
chore: cover with integration test
Cover the scenario to request to sign with status 0 and after with
status 1

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-14 09:45:44 -03:00
Nextcloud bot
f2980d45b7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-14 02:34:13 +00:00
Vitor Mattos
e2c204dc9d
fix: only notify when is not draft
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-13 18:34:05 -03:00
Nextcloud bot
63f1c56e86
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-13 02:35:15 +00:00
Vitor Mattos
e8c56642f6
Merge pull request #4843 from LibreSign/chore/changelog
chore: changelog
2025-04-12 13:40:44 -03:00
Vitor Mattos
9fc917b905 chore: changelog
[skip ci]

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-12 13:36:35 -03:00
Vitor Mattos
d9793cc812
Merge pull request #4838 from LibreSign/fix/only-load-backup-if-exists
fix: only load backup if exists
2025-04-12 12:29:30 -03:00
Vitor Mattos
c025d11ae6 fix: only load backup if exists
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-12 11:45:36 -03:00
Vitor Mattos
d8f8d06d5c chore: remove unsecessary return
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-12 10:49:28 -03:00
Vitor Mattos
630de0c965
Merge pull request #4835 from p-bo/patch-1
fix typo: descriptin -> description
2025-04-12 07:58:08 -03:00
p-bo
81c0f83ee2
fix typo: descriptin -> description
Signed-off-by: p-bo <pavel.borecki@gmail.com>
2025-04-12 10:49:40 +02:00
Nextcloud bot
f700783d38
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-12 02:36:45 +00:00
Vitor Mattos
544a16b45c
Merge pull request #4828 from LibreSign/chore/changelog
chore: changelog
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 12:42:08 -03:00
Vitor Mattos
920c98bfc0
chore: changelog
[skip ci]

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 12:38:26 -03:00
Vitor Mattos
07ac4bffac
Merge pull request #4772 from LibreSign/feat/customize-signature-stamp
feat: customize signature stamp
2025-04-11 11:30:52 -03:00
Vitor Mattos
892b7f4ec3
chore: change scale factor
This will reduce the size of files at server and also the final size of
PDF files

Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:06 -03:00
Vitor Mattos
cbb964f0e3
chore: change opacity
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:06 -03:00
Vitor Mattos
10bddeb1ac
chore: fetch settings from API
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:06 -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
8ba9a63f4a
fix: unit test after refactor
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:06 -03:00
Vitor Mattos
42b78b6415
chore: set openssl as default engine
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:06 -03:00
Vitor Mattos
a476a5a2ac
chore: reduce indent level to be more readdable and sort items
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:06 -03:00
Vitor Mattos
f9f641beaf
chore: improve unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:06 -03:00
Vitor Mattos
6600be7dcf
chore: add more unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:06 -03:00
Vitor Mattos
be3ea6fbfe
chore: replace show by display
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:06 -03:00
Vitor Mattos
1c269b7aaa
chore: add aria-label
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:05 -03:00
Vitor Mattos
ceae7d70ea
chore: reduce marging
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:05 -03:00
Vitor Mattos
a65cc3c6be
chore: make Nginx acessible outside of localhost
Signed-off-by: Vitor Mattos <vitor@php.rio>
2025-04-11 10:44:05 -03:00