Commit Graph

26 Commits

Author SHA1 Message Date
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
8bfff2170f chore: Avoid handlers and database initialization when not yet installed
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-19 22:33:27 +02:00
Rubén D
ef73720d2b refactor: Fix initialization errors.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-13 08:02:42 +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
f22145b389 chore: Use Application helper class and externalize UpgradeConfigChecker.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-16 22:04:08 +02:00
Rubén D
fe349cb6f9 chore: Inject dependencies into modules.
Avoid to inject de IoC container and inject required dependencies. A few helper modules have been created to provide common dependencies.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-05-16 18:02:35 +02:00
Rubén D
c76e262daa * [MOD] Exceptions in docblock.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-02-27 19:20:14 +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
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
752d05c1c6 * [MOD] Improved logging messages
* [MOD] Unlocked PHP 7.3
* [FIX] No debug messages when debug mode is activated

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-23 20:50:15 +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
nuxsmin
90ba034522 * [FIX] Wrong behaviour when displaying task progress on master password change. Thanks to @deajan for the feedback. Closes #1128
* [FIX] Improved browser notifications format. Thanks to @vmario89 for the feedback. Closes #1142
* [FIX] Temporary master password change notifications are sent to all users. Thanks to @jorgemfm for the feedback. Closes #1156
* [MOD] Improved background tasks management
* [MOD] Improved email notifications format

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-12-10 07:01:25 +01:00
nuxsmin
57260871d6 * [FIX] Notifications assigned to a user can be deleted
* [MOD] Improved in-app notifications displaying. Database update is needed
* [ADD] Added ACL event handler in order to recreate users' ACL when items like user, profile or group are updated/deleted

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-18 19:51:42 +01:00
nuxsmin
0da5c282d6 * [MOD] Improved logging when performing upgrades
* [MOD] Log to file is turned on when debug mode is active

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-11 12:58:31 +01:00
nuxsmin
af8b21fd10 * [ADD] New preset option for session timeout based on client IP address and network. Related #912
* [MOD] Improved IP addresses handling
* [MOD] Code refactoring
* [FIX] Minor bugfixes
2018-09-01 21:38:42 +02:00
nuxsmin
9d42c23873 * [ADD] Unit testing. Work in progress
* [MOD] Request handling rewritten to make it testable
* [MOD] Code refactoring
2018-07-15 14:05:15 +02:00
nuxsmin
5ea930c0bc * [FIX] Fixed wrong behavior when analyzing an array from a request.
* [ADD] Added SQL logging when debug is enabled.
2018-07-12 01:24:52 +02:00
nuxsmin
a97b92131f * [ADD] Added URI signature for JS and CSS resources
* [MOD] Improved requests handling. It makes them more testing friendly
* [MOD] Code refactoring
2018-07-08 23:05:30 +02:00
nuxsmin
c60bf30523 * [ADD] Added FileLogHandler to send events to a file
* [MOD] Code refactoring and minor bugfixes
2018-07-04 02:31:29 +02:00
nuxsmin
43757e1560 * [ADD] Syslog and remote syslog through Monolog
* [MOD] UI tweaks
2018-03-22 17:54:39 +01:00
nuxsmin
e4167f06fc * [ADD] Error page for common errors during initialization.
* [FIX] Minor bugfixes
2018-03-19 23:36:30 +01: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
cdecd3a06b * [ADD] Delegate initialization to modules 2018-03-12 12:00:40 +01:00