Commit graph

49 commits

Author SHA1 Message Date
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
1a4a4dfaf0
Move install files to service/install
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-25 17:49:52 -03:00
Vitor Mattos
29fe66ceba
Prevent hide validate setup errors
When the download progress is removed, all errors is removed together,
we need to check first if exist errors on return of proccess, if yes we
can't remove the download progress because the method to get errors will
clean all.

Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-03-07 19:39:09 -03:00
Vitor Mattos
39de3ccbca
Unify endpoints
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-27 20:44:33 -03:00
Vitor Mattos
4cca0f200d
Move sse endpoint to ocs
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-27 18:31:57 -03:00
Vitor Mattos
5f3a59a8e8
Change the response from sse to 0.2 seconds
Signed-off-by: Vitor Mattos <vitor@php.rio>
2024-02-21 17:38:28 -03:00
Vitor Mattos
dcebd7a2ac
Implement server sent event
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-11-07 15:33:02 -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
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
7b98503f99
Populate engine with default values or custom values
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:40 -03:00
Vitor Mattos
eccb90e8ca
Add install and unsinstall pdftk
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:39 -03:00
Vitor Mattos
fe025376c2
Simplify code
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:00 -03:00
Vitor Mattos
f4e711c6d1
Add more tests and fix code to work with new scenarios
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:00 -03:00
Vitor Mattos
3cdaa21ad7
Fix admin permissions
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:00 -03:00
Vitor Mattos
4e25eebd18
Implemnet configure check methods to certificate engine
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:00 -03:00
Vitor Mattos
7105203ee3
Start to implement integration tests to generate certificate
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:00 -03:00
Vitor Mattos
cc9dd08f65
Pass configPath and cfsslUri by argument
To make the generation of certificate more generic with multiple
engines, is necessary to make the generate method more agnostic

Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:27:00 -03:00
Vitor Mattos
1170f7511b
Fix typing and remove unecessary annotations
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:26:59 -03:00
Vitor Mattos
d62182d1a5
Fix unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:26:59 -03:00
Vitor Mattos
ff3dd5baf0
Remove unecessary arguments
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-09-26 19:26:59 -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
b0e7c1ced8 Drop libresign cli
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-10 20:34:57 -03:00
Vitor Mattos
f40224c957
Fix typo
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-10-27 12:25:43 -03:00
Vitor Mattos
e50463b1ae
Return and argument types
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-10-27 09:07:25 -03:00
Vitor Mattos
bcdd6b32ea
Make possible generate root cert with custom values
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-10-26 00:26:14 -03:00
Vitor Mattos
6b6c7f4ea7
Add comma after last element of array 2022-10-17 00:25:05 -03:00
Vitor Mattos
7b6f49ad7a
Fixed the check if certificate was generated 2022-10-16 21:43:53 -03:00
Vitor Mattos
3c7cea66a9
Display table with data instead of a form 2022-10-15 20:18:20 -03:00
Vitor Mattos
acabc8cb6a
Add switcher to define cfssl values 2022-10-15 17:14:18 -03:00
Vitor Mattos
a49b7cd42d
Add progress bar to install 2022-10-14 22:09:55 -03:00
Vitor Mattos
e29fe838f0
Check setup in admin settings 2022-10-07 10:58:07 -03:00
Vitor Mattos
0af402c9d7
Download binaries from admin settings
Mark required fields
2022-10-06 17:08:51 -03:00
Vitor Mattos
8cd745585d
Download binaries during setup 2022-10-06 13:26:20 -03:00
Rodrigo Carneiro
88e891347c trim whitespace params 2021-09-14 21:32:50 +01:00
Vitor Mattos
22b090b723 Clean code 2021-06-27 15:06:03 -03:00
Vitor Mattos
8c5435acc6 Make code compatible with documentation 2021-05-31 12:20:51 -03:00
Vitor Mattos
f59215c435 Return success when success 2021-05-30 14:09:12 -03:00
Vitor Mattos
956dc28301 Remove unecessary try catch 2021-05-30 09:29:19 -03:00
Vitor Mattos
a834adbc1f Fix property name 2021-04-20 21:42:49 -03:00
Vitor Mattos
941f15c715 Rename property 2021-03-11 07:58:43 -03:00
Vitor Mattos
a430cc5fb4 Fix admin permissions in routes. 2021-01-12 15:12:49 -03:00
Vitor Mattos
366b3444c4 php_cs 2021-01-11 17:52:05 -03:00
Vitor Mattos
c8b0faccf3 Custom config path 2021-01-10 20:39:08 -03:00
Vitor Mattos
60394ffed1 Remove unecessary annotation 2021-01-10 19:52:56 -03:00
Vitor Mattos
3c69e216c8 Add custom cfssl uri 2021-01-10 19:29:02 -03:00
Vitor Mattos
76db66a543 Rename project to libresign 2021-01-09 13:49:10 -03:00
Vitor Mattos
d585f43e97 Move main plugin to root folder 2021-01-07 13:58:23 -03:00
Renamed from bkp/signer/lib/Controller/AdminController.php (Browse further)