Rubén D
155dd22d61
deps(php): Upgrade PhpUnit and PHP version
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2024-03-04 15:40:26 +01:00
Rubén D
ea72a0cc6a
chore(tests): Change tests namespace
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-12-09 11:45:33 +01:00
Rubén D
6f05a914ef
chore(tests): UT for MinifyCss
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-12-06 12:17:42 +01:00
Rubén D
8ab5f32c08
fix(tests): Replace Faker library
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-11-01 18:38:58 +01:00
Rubén D
b640b6d695
chore(refactor): LDAP auth refactoring.
...
- Decouple from ldap_* native functions
- Use Laminas/Ldap library
- Use enum for interface constants
- Move LDAP interfaces to domain
- Simplify LdapActions API
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-06-03 21:40:20 +02:00
Rubén D
c907bb9895
ci(php): Bump to PHP 8.1 version
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-20 22:46:42 +02:00
Rubén D
9abe75ea84
chore: Create ApiRequest tests
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-17 20:55:11 +02:00
Rubén D
651a1271f1
ci: Bump aura/sqlquery version.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2023-05-15 09:43:22 +02:00
Rubén D
1e1ec16f73
chore: Remove BypassFinals and Pseudo PDO.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-12-04 14:33:17 +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
796ecbc5fb
chore: Implement AccountAclService tests.
...
Use scoped namespace for simple functions.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-25 23:40:27 +01:00
Rubén D
f775fc1e2f
ci: Upgrade dependencies to PHP 8
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-19 11:15:01 +01:00
Rubén D
8a2bbc8283
chore: Use Aura.SqlQuery for building queries.
...
Refactor AccountRepository and AccountSearchRepository to use Aura.SqlQuery. This will allow to mock queries when testing.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-11-05 09:58:57 +01:00
Rubén D
7ad4ed42b0
build: Update dependencies.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-06-18 18:51:19 +02:00
Rubén D
489684f08c
chore: Added MySQL setup class tests.
...
These tests implement a mocked PDO class that behaves like the original one.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-22 22:17:30 +02:00
Rubén D
f0e5be2c52
chore: Build mock test for FileBackupService class.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-19 08:25:34 +02:00
Rubén D
b7a93afa7c
chore: Update dependencies.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-05-16 11:21:37 +02:00
Rubén D
34bf88238c
* [MOD] Update dependencies.
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2022-02-27 14:01:21 +01:00
Rubén D
6f2f1ec5e2
* [FIX] Prevent login process when user/password are not provided.
...
* [FIX] Use null when clientId or categoryId are not set when searching account.
* [FIX] Minor fixes.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-10-17 22:56:21 +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
e64897855a
* [ADD] Master password update CLI command and tests.
...
* [MOD] Code refactoring.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-09-27 00:20:24 +02:00
Rubén D
9d103ecde4
* [ADD] Bump PHP required version to 7.4
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-09-26 18:48:05 +02:00
Rubén D
600c398bb8
* [ADD] Install CLI command tests.
...
* [MOD] Install CLI command refactoring.
* [MOD] Minor code tweaks.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-09-19 21:32:34 +02:00
Rubén D
b1f76654cd
* [ADD] CLI module with install command
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2021-01-19 08:23:53 +01: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
e2885bcb76
* [MOD] Update PHPunit to latest version.
...
* [MOD] Load fixtures using plain SQL files.
* [MOD] Raise PHP version requirements (7.2 will be deprecated within a month).
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2020-12-09 12:03:13 +01:00
Rubén D
fe99dbaa09
* [MOD] Update Authenticator plugin version to develop
...
* [ADD] Include CI for develop branch
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2020-12-08 10:54:36 +01:00
Rubén D
896d9fd3ad
* [MOD] Deprecate PHP versions below 7.2 since they are no longer supported by PHP and Travis CI tests are not performed for them. https://www.php.net/supported-versions.php
...
* [MOD] Improve internal config handling. No more properties visibility tweaks.
* [MOD] Updated dependencies.
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2020-12-07 19:37:00 +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
a07318fa8c
* [ADD] Use phpdotenv for loading variables from environment files
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2020-01-08 14:02:02 +01:00
Rubén D
342bcab99e
* [ADD] Use phpdotenv for loading variables from environment files
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2020-01-08 14:00:30 +01:00
Rubén D
5eaaac4659
* [MOD] Skip ext-xdebug from composer required extensions
...
* [MOD] Added PHP 7.3 to composer version matrix
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2019-08-20 19:43:16 +02:00
Rubén D
ceab42987e
* [FIX] Wrong CSV MIME type
...
* [MOD] Added CSV MIME type
* [MOD] Updated composer lock file
* [MOD] Bump to v3.1
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2019-08-18 22:02:58 +02:00
Rubén D
3f79d69336
* [FIX] Wrong URL when application URL setting is set. Thanks to @kalxasus for the notice. Closes #1395
...
* [MOD] Update Authenticator version in composer.json
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2019-07-20 23:30:47 +02:00
Rubén D
f1d9230554
* [FIX] Wrong behavior when checking saved search filters in context. Thanks to @fprina for the feedback. Related #1178
...
Signed-off-by: Rubén D <nuxsmin@syspass.org >
2019-01-19 09:38:54 +01:00
nuxsmin
a1639fdf47
* [ADD] Added more unit tests
...
* [MOD] Improved file cache handling
Signed-off-by: nuxsmin <nuxsmin@syspass.org >
2018-11-11 12:09:58 +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
3ec0cb2c5e
* [MOD] Added required library for debugging
...
Signed-off-by: nuxsmin <nuxsmin@syspass.org >
2018-11-02 03:05:19 +01:00
nuxsmin
e0263f8f46
* [FIX] Fixed issue when unserializing non-object data
...
Signed-off-by: nuxsmin <nuxsmin@syspass.org >
2018-11-02 02:36:41 +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
e1f2f0b0f0
* [ADD] syspass.log file and configuration backup can now be downloaded from Information tab
...
Signed-off-by: nuxsmin <nuxsmin@syspass.org >
2018-11-01 11:35:14 +01: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
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
492a356ed8
* [FIX] Fixed issue when performing a full row count
...
Signed-off-by: nuxsmin <nuxsmin@syspass.org >
2018-10-01 01:48:29 +02:00
nuxsmin
3c78910569
* [ADD] Unit testing. Work in progress
...
* [MOD] Code refactoring
2018-08-11 09:46:36 +02:00
nuxsmin
617c3b5e84
* [MOD] Bump build number
2018-08-09 10:32:07 +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
7f31cf6d05
* [ADD] Added warning messages for PHP extension checking
...
* [MOD] Improved updates and notification checking
* [MOD] Improved backup process
* [MOD] Updated translations
2018-08-02 00:53:51 +02:00
nuxsmin
31a38bc43c
* [ADD] PHP modules checking. Work in progress
...
* [FIX] Minor bugfixes
* [MOD] Code refactoring
2018-08-01 00:18:11 +02:00