Rubén D
35fa0f395a
chore(tests): UT for TemporaryMasterPass service
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-01-20 09:24:22 +01:00
Rubén D
78de6f9607
chore(tests): UT for ConfigFile service
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-01-15 13:05:54 +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
52dd0844e9
chore: Improve bootstrapping
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-11-26 23:38:58 +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
a913e00218
chore(tests): UT for Theme
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-11-25 23:57:47 +01:00
Rubén D
a1cf1dfa0b
chore(tests): UT for UuidCookie
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-11-18 10:29:18 +01:00
Rubén D
6e5d0c5522
chore(tests): UT for CSRF
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-11-18 08:26:34 +01:00
Rubén D
dba0c4ceda
chore(tests): Add SecureSessionService tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-21 17:09:09 +02: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
8a75c0e36e
fix: Minor fixes.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-25 10:47:04 +02:00
Rubén D
9e92093f0e
chore: Skip login controller from session closing.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-20 00:24:36 +02: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
38b036cc2f
fix: Allow to install on database error.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-18 19:33:46 +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
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
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
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
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
b5559b52eb
* [FIX] Skip over initialization when upgrade is needed. Thanks to @Envikia and @alexseys for the notice. Closes #1355
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2019-07-20 20:51:28 +02: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
e90efd3759
* [FIX] Upgrade not needed when updating between v3 releases. Thanks to @vmarion89 for the feedback. Closes #1210
2019-01-24 14:13:34 +01:00
Rubén D
ccc7ce9cfa
Merge branch '3.0' into v3.0
...
Conflicts:
app/modules/web/Controllers/Helpers/Grid/EventlogGrid.php
app/modules/web/Controllers/Helpers/Grid/TrackGrid.php
public/js/app-actions.js
public/js/app-actions.min.js
2019-01-24 11:39:28 +01:00
Rubén D
0a34ec61f4
* [FIX] Wrong behavior when upgrading custom fields, public links and API tokens from v2
2019-01-24 11:04:58 +01:00
Rubén D
535b799662
* [FIX] Wrong behavior when refreshing data from event log or tracks management. Thanks to @schleyk for the feedback. Closes #1182
...
* [MOD] Improved config loading
2019-01-16 09:07:24 +01: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
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
2f11c46244
* [MOD] Skip session activity on login page
...
Signed-off-by: nuxsmin <nuxsmin@syspass.org >
2018-11-11 13:22:21 +01:00
nuxsmin
59de1c4d00
* [MOD] Improved database checking
...
* [ADD] Added plugin removal when it isn't available
* [FIX] Minor bugfixes
Signed-off-by: nuxsmin <nuxsmin@syspass.org >
2018-11-01 19:13:41 +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
nuxsmin
e322563a66
* [ADD] Added In-App notifications polling. It will show up a browser notification when there are pending notifications
...
* [MOD] Improved Javascript error handling
* [MOD] Code refactoring
Signed-off-by: nuxsmin <nuxsmin@syspass.org >
2018-10-16 01:13:38 +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
549fbce589
* [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 22:42:16 +02: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
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
cd2c0379db
* [MOD] Improved plugins manager
...
* [MOD] Code refactoring and cleanup
* [MOD] Make classes final for performance improvements and avoid some side behaviours
2018-07-28 21:45:49 +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
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
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
0096963131
* [MOD] Improved repositories behaviour and code refactoring.
...
* [ADD] Added more unit tests. Work in progress.
* [FIX] Fixed wrong behaviour when updating an LDAP user. Related #950 . Thanks to @Fizard for the feedback.
2018-06-12 01:36:28 +02:00
nuxsmin
fe27110905
* [MOD] Improved session encryption by saving the encryption key on the server instead of browser cookie. Note: the encryption key has always been stored using encryption, this MOD only sets where the vault with the key is stored and the algorithm used to get the password for the key.
2018-04-20 02:03:13 +02:00