Commit Graph

52 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
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
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
9502b4c59d chore(tests): UT for Session
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-11-18 09:31:09 +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
419a674fba chore(tests): Add more unitary tests
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-05-21 13:02:19 +02:00
Rubén D
354a33cf17 chore: Create ApiService tests
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-05-20 22:01:41 +02:00
Rubén D
cb1e5f9e93 chore: Create PublicLinkService tests.
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2023-05-16 14:55:34 +02:00
Rubén D
84cf2a59d7 chore: Update definitions
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-12-04 10:26:46 +01:00
Rubén D
78f51f3259 chore: Add tests for CryptPKI
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-12-04 00:06:43 +01:00
Rubén D
930b1f7139 chore: Create AccountCryptService tests
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-11-27 16:01:51 +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
408a44880d chore: Remove mcrypt dependency.
Any sysPass exported file prior to v2.1.0 won't be able to be imported.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2022-06-18 19:39:18 +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
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
ebe58282f6 * [ADD] Test API module without using a real sysPass instance.
* [MOD] Improve module loading.
* [MOD] Improve backup file regex.
* [MOD] Minor code tweaks.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-10-17 16:26:39 +02: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
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
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
dbb76409eb * [FIX] Improved long password handling on server side (work in progress). Related #1038. Thanks to @D3luxee for the feedback
* [MOD] Improved JavaScript handling. Work in progress
* [MOD] Login view does now set focus on user input field
* [MOD] Improved account's permissions displaying on view-only mode
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-09-18 01:21:59 +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
218a481732 * [FIX] Minor bugfixes 2018-08-02 01:26:37 +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
520b1eebec * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
2018-07-30 00:42:38 +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
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
6d5d823681 * [FIX] Fixed issue when encrypting data because the encryption library requires a string type argument for the data encrypted. Thanks to @fizard for the feedback. Closes #946 2018-05-30 17:09:02 +02:00
nuxsmin
3014c666a3 * [FIX] Fixed wrong behavior when decrypting encrypted data, because it was unlocking the encryption key twice. Thanks to @fizard for the feedback. Related #928 2018-05-29 15:39:40 +02:00
nuxsmin
379293e7d8 * [ADD] Unit testing. Work in progress.
* [MOD] Improved XML file handling.
2018-05-28 03:01:31 +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
nuxsmin
be55ec8083 * [ADD] Direct linking available
* [FIX] Minor bugfixes
2018-03-25 13:40:53 +02:00
nuxsmin
2697d7f10f * [FIX] Fixed installer
* [FIX] Fixed config file creation
* [FIX] Fixed temporary master pass checking
* [FIX] RSA crypt class behavior
* [MOD] Updated database structure file
* [MOD] Improved installer messages
2018-03-14 16:16:22 +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
e640f12f23 * [ADD] Session abstraction by using context classes 2018-03-09 12:48:33 +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
nuxsmin
faffe5495b * [ADD] Config module. Work in progress 2018-02-19 01:51:36 +01:00
nuxsmin
d1f4068aaf * [MOD] Improved layouts/templates handling. Work in progress.
* [MOD] Improved bootstrap workflow. Work in progress.
* [MOD] Improved installer workflow. Work in progress.
2018-02-12 02:13:33 +01:00
nuxsmin
5fc140712c * [MOD] Improved public links handling
* [FIX] Minor bugfixes
2018-01-29 01:08:20 +01:00
nuxsmin
2dae243e99 * [ADD] Finished access manager refactoring. Work in progress.
* [MOD] Public links reworked
2017-12-27 00:32:38 +01:00