95 Commits

Author SHA1 Message Date
Rubén D
dd96643e6a * [ADD] Check whether the master password is correct and not the same as the new one.
* [MOD] Unset environment variables before every test.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-10-02 08:34:55 +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
f8e9e19731 * [ADD] Backup CLI command and tests.
* [MOD] Code refactoring.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2021-09-26 18:42:34 +02:00
Rubén D
0b02c8fdbf Merge branch 'v3.2' into feature/cli_module
# Conflicts:
#	composer.json
#	composer.lock
#	lib/SP/Providers/Auth/Ldap/LdapMsAds.php
#	lib/SP/Services/Install/Installer.php
#	lib/SP/Util/Checks.php
#	lib/SP/Util/Link.php
#	public/js/app-actions.min.js
#	public/js/app-util.min.js
#	tests/res/scripts/reset_db.sh
2021-09-19 21:40:27 +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
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
f428a8c1d6 * [MOD] Bump version number
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-12-20 20:46:21 +01:00
Rubén D
5e3281bce8 * [FIX] Set coverage mode through env var
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-12-20 17:51:32 +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
0356610551 * [FIX] Missing fixtures file
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-12-09 13:38:05 +01:00
Rubén D
aa8f782431 * [FIX] Skip using blank db password when testing on Travis CI
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-12-09 13:00:51 +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
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
d310a10ba0 * [MOD] Merge v3.1 changes
* [ADD] Use custom ldap attributes for users or groups
* [ADD] Use custom ldap filter for users or groups lookup
* [MOD] Improved internal config handling by using an array instead of class properties

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-06-28 19:38:06 +02:00
Rubén D
cd9dd167bd * [MOD] Merge v3.1 changes
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-03-11 19:34:54 +01:00
Rubén D
f3e01eee9d * [MOD] Enforce LDAP schema in ldap_connect function. Skip ldap_connect signature using port because it's deprecated
* [ADD] LDAP params tests

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2020-03-07 17:49:15 +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
e17e80d665 * [ADD] Added search for accounts name by regular expression. Closes #1311
* [FIX] Fixed wrong behavior when search operator was set

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-04-25 23:20:00 +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
3ea87a4ecc * [MOD] Improved plugins data handling by encrypting the plugin's data
Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-01-30 00:04:05 +01:00
Rubén D
a2ecef2141 Merge branch 'master' into v3.1
# Conflicts:
#	.travis.yml
#	lib/SP/Services/Install/Installer.php
2019-01-26 13:12:28 +01:00
Rubén D
26261c0789 * [FIX] Wrong behavior when importing CSV. Thanks to @hoboristi for the feedback. Closes #1211
* [FIX] Wrong behavior when displaying passwords with scpecial characters. Thanks to @opeshm for the feedback. Closes #1207

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-01-26 12:00:29 +01:00
Rubén D
0fbaccf8a1 * [MOD] Improved plugins handling by moving items' data to new database table.
* [MOD] Added plugins upgrade process

Signed-off-by: Rubén D <nuxsmin@syspass.org>
2019-01-22 01:18:03 +01:00
Rubén D
690da26bf5 * [FIX] Wrong behaviour on Travis CI
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-12-16 23:15:45 +01:00
nuxsmin
3cecdd8809 * [FIX] Wrong behaviour on Travis CI
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-12-16 19:33:00 +01:00
nuxsmin
542ab61053 * [MOD] Improved behaviour when handling routes
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-12-15 12:48: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
8cdceed192 * [MOD] Bump build number and version
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-26 20:27:51 +01:00
nuxsmin
b247bd4f2f * [MOD] Bump build number and version
* [MOD] Updated translations

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-25 20:42:43 +01:00
nuxsmin
13e12baaf0 * [FIX] Fixed wrong behavior when setting mail parameters
* [MOD] Improved email message templates

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-19 18:44:18 +01:00
nuxsmin
afdfa80d8f * [FIX] Wrong behavior when accessing through API. Maintenance mode was wrongly checked. Thanks to @pierrehenrymuller for the feedback. Closes #1108
* [MOD] Updated displayed strings for custom fields type.

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-19 00:16:32 +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
f6f9cd1a03 * [FIX] Fixed wrong behavior when displaying account data when private presets were set
* [MOD] Improved presets precedence
* [FIX] Fixed wrong behavior when logging exceptions
* [MOD] Removed DokuWiki configuration (will be restored in later releases)
* [MOD] Removed LDAP sync icon from users view
* [MOD] Use minimized version of JS resources

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-13 23:53:17 +01:00
nuxsmin
e37bc14901 * [MOD] Moved non-configuration files from config to resources directory
* [FIX] Fixed wrong behavior while testing ArchiveHandler on unit tests
2018-11-12 08:29:18 +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
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
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
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
f0959f0e9c * [MOD] Improved database handling
* [FIX] Use unbuffered queries when performing database backup

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-06 23:52:23 +01:00
nuxsmin
19c8c8cdda * [FIX] Fixed memory issue when backing up large datasets
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-05 18:56:06 +01:00
nuxsmin
5647ad45f2 * [FIX] Fixed returned string on tests
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-05 02:09:58 +01:00
nuxsmin
3281dbf69e * [FIX] Fixed wrong behavior performing backup on PHP 7.2
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-11-05 01:59:08 +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
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
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
5b86397f5b * [FIX] Fixed issue when compiling ACL. Closes #1063. Thanks to @dcotruta and @odavis1 for the feedback and testing.
* [FIX] Fixed issue when setting master password from old user's password on login
* [FIX] Minor bugfixes
* [ADD] Added accounts bulk edit on Accounts Manager
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-12 01:17:06 +02:00
nuxsmin
543c48c13b * [FIX] Fixed unit test for auth tokens
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-11 02:06:18 +02:00
nuxsmin
95d3878a3c * [ADD] Added userGroupId parameter in accounts API
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-11 01:53:18 +02:00
nuxsmin
33ae422b2f * [FIX] Pager was not displayed on auth tokens list
* [ADD] Added special filters for account searching on management tab
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-11 01:04:35 +02:00