Vitor Mattos
45cd3c374d
chore: Add SPDX header
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-05-14 12:32:04 -03:00
Vitor Mattos
6c59ed20c4
chore: temporary remove support to TwoFactorGateway
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-28 14:10:07 -03:00
Vitor Mattos
d48752c552
Fix password field
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-27 23:05:32 -03:00
Vitor Mattos
5d5ad6e2ad
Add display name and identify value to signature
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-03 20:50:44 -03:00
Vitor Mattos
7911697827
Fix boolean value
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-03 17:36:21 -03:00
Vitor Mattos
397304051b
Get sign request when the user is unauthenticated
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-03 15:57:03 -03:00
Vitor Mattos
4ee6e0bc9a
Validate identification document flow to unauthenticated signer
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-03 15:33:36 -03:00
Vitor Mattos
96657ef024
Make public the endpoint to sign a document and request valid UUID
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-03 15:29:53 -03:00
Vitor Mattos
6331fb01a6
Implement store at Sign component
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-03 14:22:39 -03:00
Vitor Mattos
2a924e1eaf
Only handle signatureMethods when exists
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-03 01:33:12 -03:00
Vitor Mattos
87833c15a1
Task: sign using the visible elements.
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-03 01:28:49 -03:00
Vitor Mattos
725d998ef7
Move SignatureMethodService to TokenService
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-03 00:28:46 -03:00
Vitor Mattos
78a2437a99
Fix linter
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-23 09:02:32 -03:00
Vitor Mattos
2796fac6b1
Remove unused
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-23 09:01:17 -03:00
Vitor Mattos
aff2ce7dc1
Separate handler of LibreSignTrait
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-22 22:49:58 -03:00
Vitor Mattos
03cce3f4ac
Remove unused var
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-22 19:44:30 -03:00
Vitor Mattos
fd58678669
lint fix
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-22 11:28:54 -03:00
Vitor Mattos
4a3bd530e3
Make possible sign using token by email
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-22 11:28:54 -03:00
Vitor Mattos
d4644fddfc
WIP: Fix logic to validate token
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-22 11:28:54 -03:00
Vitor Mattos
2df980e0bf
Start to rewrite sign by email token
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-22 11:28:54 -03:00
Vitor Mattos
d3a57e57bb
Check if will sign without password
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-20 20:35:45 -03:00
Vitor Mattos
77e0bcf8f5
Move method to API and improve the return to client
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-01-05 01:00:22 -03:00
Vitor Mattos
935e7f50a9
Now only is possible to get the visible element when is authenticated user
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-12-30 15:23:03 -03:00
Vitor Mattos
bdcbbb742b
Rename file_user to sign_request
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-11-02 23:39:34 -03:00
Vitor Mattos
6318c9887d
Validate password
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:41 -03:00
Vitor Mattos
fdc1d304ad
Pass user id to methods after this property was removed from file_user table
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:41 -03:00
Vitor Mattos
25a6246b86
Fix typing
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:41 -03:00
Vitor Mattos
2d7676dfce
Add header with license
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:41 -03:00
Vitor Mattos
8ba90d9ef3
Use annotations to validate payload
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:40 -03:00
Vitor Mattos
396bb84758
Remove success from responses
...
Unecessary if we use the status code to signalize if is success or not
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:40 -03:00
Vitor Mattos
afd7d1de24
Convert annotations to arguments
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:25:15 -03:00
Vitor Mattos
946f2e1635
Remove dead code
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:25:15 -03:00
Vitor Mattos
4bc9cfa34d
Update to php 8.0
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:25:15 -03:00
Vitor Mattos
ac27ae7fa5
Refactor and clean code
...
* Split controller
* drop deprecated endpoints
* Rename endpoint
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:25:15 -03:00
Vitor Mattos
2836bf50de
Persist sign_method at file_user table
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:25:15 -03:00
Vitor Mattos
3d3a07de7a
Merge pull request #1474 from LibreSign/feature/collect-metadata-from-signers
...
Collect metadata of signers
2023-02-26 18:11:51 -03:00
Vitor Mattos
1cba0309f0
Collect metadata of signers
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-25 18:44:54 -03:00
Vitor Mattos
f8c117d536
Make possible to approvers can sign identificatio documents
...
If the flow of identification documents is enabled, the approvers need
to have permission to sign an identification document if he haven't an
identification document signed on our profile
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-25 12:36:38 -03:00
Vitor Mattos
f2789fe092
Log error backtrace
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-31 12:21:46 -03:00
Lidio Santos
545d62f1fe
Add information of errors when to send SMS code to user
...
Signed-off-by: Lidio Santos <lidiosantosrj@protonmail.com>
2022-10-29 17:00:27 -03:00
Vitor Mattos
d446810173
Fix psalm issues
2022-09-10 13:29:27 -03:00
Vitor Mattos
4e9f43aa45
Fix annotations
2022-03-12 21:35:11 -03:00
Claus-Justus Heine
639f7dfd81
Fix a non-defaulted function-argement listed after defaulted function arguments.
2022-02-01 16:25:29 +01:00
Vitor Mattos
1f09d62ec0
Simplify code
2022-01-23 21:55:24 -03:00
Vitor Mattos
3deb9325f4
Logic moved to service
2022-01-23 21:38:14 -03:00
Vitor Mattos
a70fb17e1b
Block sign with don't have identification documents
2022-01-23 13:53:55 -03:00
Vitor Mattos
c283fdf3ca
Fix attribute typing
2021-12-05 18:39:48 -03:00
Vitor Mattos
afe0f06701
Verify if the file can be signed by approver
2021-12-05 13:59:22 -03:00
Vitor Mattos
4898b3c1fc
Update SignFileController.php
2021-11-29 05:36:30 -03:00
Vitor Mattos
a470905096
Prevent fatal error when twofactor_gateway isn't installed
2021-11-27 12:51:00 -03:00