Commit Graph

87 Commits

Author SHA1 Message Date
Rubén D
cda692d4de chore: Relocate classes
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-04-21 21:09:32 +02:00
Rubén D
4e346d9f1a chore: Bootstrap refactoring
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-04-20 11:59:23 +02:00
Rubén D
03e4a57562 chore(tests): UT for PluginBase service
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-04-19 20:58:50 +02:00
Rubén D
04c49cb8fd chore(tests): UT for Login service
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-04-15 07:56:27 +02:00
Rubén D
ff9bf9f91d chore: Remove unneeded classes
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-03-09 13:16:47 +01:00
Rubén D
2e4eca1c75 chore(tests): UT for ItemPreset
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-03-09 12:48:40 +01:00
Rubén D
38e84ca1e1 chore(tests): UT for CustomFieldData service
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-01-27 10:39:53 +01:00
Rubén D
bf9ba8dc2d chore(tests): UT for CustomFieldCrypt service
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-01-22 08:48:36 +01:00
Rubén D
3fd00722c3 chore(tests): UT for custom field repositories.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-01-21 17:10:21 +01:00
Rubén D
5c5dc57bf6 chore(tests): UT for AuhToken
- Remove old tests
- Refactor Actions and Acl (WIP)

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-12-10 20:53:12 +01:00
Rubén D
3d8891e15f chore: Code refactoring
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-12-08 12:34:32 +01:00
Rubén D
7de0b1888d chore: Remove unused methods, minor refactor.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-12-07 07:34:49 +01:00
Rubén D
d542685e14 chore: Move exceptions to domain
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-26 22:17:14 +01:00
Rubén D
05af371010 chore: Move interfaces into Domain
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-26 13:09:47 +01:00
Rubén D
c0e876bd42 chore: Move interfaces into Domain
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-26 13:00:30 +01:00
Rubén D
29f4d10a85 chore: Use array access instead of object
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-05-16 15:39:28 +02:00
Rubén D
d5ec816415 chore: Remove unused classes and fix types.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-12-10 12:30:58 +01:00
Rubén D
ab49a901ff chore: Create AccountPresetService tests
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-28 20:42:48 +01:00
Rubén D
bd8e599014 chore: Create tests for AccountFileService
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-27 19:51:18 +01:00
Rubén D
5952a3f48a chore: Adapt to hexagonal architecture pattern.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-26 19:45:53 +01:00
Rubén D
07437ffda0 chore: Create AccountAdapter tests
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-26 13:04:38 +01:00
Rubén D
de06ff5b0f chore: Move account data models and unit test for account repository.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-07-02 18:01:56 +02:00
Rubén D
fd0de58a23 chore: Move adapters to Domain.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-25 11:13:41 +02:00
Rubén D
66dcab2cd0 refactor: Fix initialization errors.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-16 07:54:44 +02:00
Rubén D
0a6f7e4853 refactor: Use helper class to provide dependencies to simple controller.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-12 17:12:04 +02:00
Rubén D
94fdfcede9 refactor: Remove unneeded code form base controllers and improve traits decoupling.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-12 17:00:19 +02:00
Rubén D
4a7c4c317b refactor: [WIP] Migrate access and item manager controllers.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-06 18:11:05 +02:00
Rubén D
1c8fb0ea1a refactor: [WIP] Use hexagonal architecture and implement interfaces for services and repositories.
Controllers are being splited into commands to better dependency management.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-06 08:17:34 +02:00
Rubén D
98ffc311cf chore: Refactoring of Bootstrap class into an abstract class.
This allows to implement bootstrap classes for each module and simplifies the bootstrap code.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-16 19:01:28 +02:00
Rubén D
d6963e041e chore: (WIP) Do not rely on dependencies' container for controllers.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-16 11:31:02 +02:00
Rubén D
60d503a75c * [FIX] Wrong return type.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-03-13 20:00:32 +01:00
Rubén D
58249da565 * [MOD] Use static types.
* [MOD] CORS headers.
* [MOD] Improve Forwarded header lookup.
* [ADD] Create interface for configuration data.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-10-12 20:49:18 +02:00
Rubén D
8e96ec4285 * [MOD] Code refactoring by enforcing type checks (WIP)
* [MOD] Update dependencies

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-01-17 14:56:56 +01:00
Rubén D
41703b50f9 * [MOD] Strict type checking (WIP)
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-12-20 14:24:42 +01:00
Rubén D
e4e6e04c57 * [MOD] Updated copyright
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-12-07 19:42:41 +01:00
Rubén D
978eca80d2 * [MOD] Include custom fields in API response using adapters
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-03-07 12:01:44 +01:00
Rubén D
3bcf2e0b4d * [ADD] Include custom field in API response. Thanks to @sf32738 for the feedback. Closes #1388.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-01-11 20:50:09 +01:00
Rubén D
bec1d21d8c * [MOD] Improved CSRF handling by using HTTP header to set the token
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-01-08 13:18:03 +01:00
Rubén D
6197c52af1 * [MOD] Update copyright date
* [MOD] Code cleanup

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-27 02:48:18 +02:00
Rubén D
2318796c00 * [FIX] Fixed wrong behavior when searching for accounts on accounts manager. Thanks to @Weptun for the feedback. Closes #1271
* [ADD] Added missing tests
* [MOD] Code cleanup

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-21 23:12:45 +02:00
Rubén D
1ec8d26e3a * [ADD] Application URL for handling requests through reverse proxy. Thanks to @rob42 for the feedback. Closes #1218
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-02-24 20:48:34 +01:00
Rubén D
3b14d1d030 * [FIX] Wrong behavior when copying account's tags. Thanks to @leBasti91 for the feedback. Closes #1256
* [FIX] Wrong behavior when selecting template's view
* [MOD] Improved plugins availability detection and skip weird event log entries

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-02-23 12:43:49 +01:00
Rubén D
a65d261ba8 * [FIX] Fixed wrong behavior when session is timed out
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-01-26 11:25:25 +01:00
nuxsmin
b611c9bb29 * [FIX] Fixed issue when reusing templates. Thanks to @vmario89 for the feedback. Closes #1103
* [MOD] Bump build number and version

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-17 19:14:00 +01:00
nuxsmin
98fe0ba35c * [FIX] Fixed URL when downloading resources and sysPass id behind a reverse proxy. Thanks to @vmario89 for the feedback. Closes #1102
* [FIX] Fixed wrong behavior when copying to clipboard an account's password through public link
* [MOD] Improved URL handling
* [MOD] Improved deep links handling

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-17 13:11:58 +01:00
nuxsmin
5a549532f6 * [MOD] Use config cache file instead of storing it in PHP's session
* [MOD] Unit testing tweaks in order to renew config cache

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-12 00:12:01 +01:00
nuxsmin
ed956eec54 * [ADD] Added mime type file checking instead of extension. Thanks to @vmario89 for the feedback. Related #825
* [MOD] Improved exception handling in controllers

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-10 21:41:07 +01:00
nuxsmin
305d4de16f * [MOD] Switched base language over to English
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-05 00:03:37 +01:00
nuxsmin
ec97b603b0 * [MOD] Improved theme handling
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-01 10:24:25 +01:00
Aleksey
185df628f8 [FIX] Restore icons for template.
I updated sysPass to 3.0 beta and could not update the database because an error occurred on upgrade page.
```
[DEBUG] [SP \ Bootstrap :: SP \ {closure}] Routing error: getIconWarning () on zero
```
This was due to the fact that icons var is not set in the template.
2018-10-31 01:04:59 +03:00