Commit Graph

59 Commits

Author SHA1 Message Date
Rubén D
64a238e0aa test(IT): Test account create
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-08-03 07:48:44 +02:00
Rubén D
1ce5e0d068 test(IT): Test account copy
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-07-28 17:34:03 +02:00
Rubén D
9b170b2fb8 test(tests): UT for JsonResponse class
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-05-08 19:58:15 +02:00
Rubén D
c758b7f0b6 test(tests): UT for TemplateResolver class
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-05-06 09:16:55 +02:00
Rubén D
d61e935664 test(tests): UT for OutputHandler class
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-05-06 07:44:03 +02:00
Rubén D
1a25c4568a chore(php): Refactor Template handler
Improve templates rendering and make Template class more testeable

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-05-06 01:03:28 +02:00
Rubén D
ac8565bc13 style(php): Fix copyright comment
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-05-04 09:33:52 +02:00
Rubén D
40c6cb1dba chore: Use strict types
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-05-01 12:03:55 +02:00
Rubén D
016aa1d8d3 chore: Refactor structure
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-04-28 19:47:50 +02:00
Rubén D
6c131cbc1b chore: Rename classes
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2024-04-28 12:50:01 +02: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
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
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
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
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
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
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
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
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
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
nuxsmin
09520d3cc7 * [FIX] Fixed wrong behavior when downloading PDF file from file management
* [MOD] Improved backup and export management. They are now stored in compressed file format, can be downloaded without direct access through the web browser and it keeps tracking when downloaded.
* [MOD] Updated translations
* [ADD] Unit tests

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-28 22:37:57 +01:00
nuxsmin
e49526e594 * [MOD] Improved template rendering
* [MOD] Improved variable errors on templates
* [MOD] Improved security token behavior
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-23 00:56:05 +02:00
nuxsmin
7f2dd35059 * [MOD] Improved plugins management
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-15 02:56:00 +02:00
nuxsmin
bf82807353 * [MOD] Code refactoring
* [ADD] Added PHP 7.2 to Travis CI

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-02 00:31:46 +02:00
nuxsmin
950ad4fff5 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
2018-08-08 15:26:14 +02:00
nuxsmin
a00b1fb3e9 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
* [FIX] Minor bugfixes
2018-08-06 10:16:29 +02:00
nuxsmin
f6aa24d5c1 * [FIX] Fixed wrong behaviour when updating custom fields data module
* [FIX] Delete non-existant users in notifications table
* [MOD] Improved error logging
2018-07-30 12:06:53 +02:00
nuxsmin
3e26a1df71 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
* [MOD] Make classes final for performance improvements and avoid some side behaviours
2018-07-28 19:15:11 +02:00
nuxsmin
d74dde7e6f * [ADD] Added code coverage through Codeclimate
* [MOD] Switch to MariaDB on Travis CI
* [MOD[ Removed unused classes
2018-07-24 11:37:38 +02:00
nuxsmin
4d6104b839 * [ADD] API module. Work in progress.
* [ADD] Upgrade service. Work in progress.
* [MOD] Context based session data. Added collection class to manage session properties.
* [MOD] Code refactoring.
* [MOD] Improved theme icons load by caching objects.
2018-03-13 02:01:09 +01:00
nuxsmin
f821b716e4 * [ADD] Added notifications event handler
* [ADD] Added account acl file based cache
* [ADD] Added deep links
* [FIX] Several bugfixes
2018-03-05 01:33:16 +01:00
nuxsmin
ec39b3ebfd * [MOD] Code refactoring 2018-02-28 11:28:18 +01:00
nuxsmin
407a3f0694 * [ADD] Password reset module. Work in progress
* [ADD] Mail provider. Work in progress
* [MOD] Updated copyright
* [MOD] Improved tracking module
2018-02-27 00:06:59 +01:00
nuxsmin
94f9929be0 * [ADD] Notifications module
* [ADD] Delete multiple items at once
* [FIX] Some bugfixes
* [MOD] Removed deprecated code
2018-02-26 02:29:54 +01:00