62 Commits

Author SHA1 Message Date
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
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
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
nuxsmin
3cecdd8809 * [FIX] Wrong behaviour on Travis CI
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-12-16 19:33:00 +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
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
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
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
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
513ab01cff * [ADD] User groups can now be managed thorugh API. Related #1054. Thanks to @pierrehenrymuller for the feedback
* [ADD] Added missing API help for some actions
* [MOD] Updated translations
* [MOD] UI tweaks

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-07 20:49:30 +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
2581dfd44d * [FIX] Fixed issue when performing a full row count
Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-10-01 02:15:39 +02:00
nuxsmin
5a06ca3b26 * [ADD] Added password preset for accounts password validation
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
2018-09-02 21:05:03 +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
3e43d6ec28 * [ADD] New preset option for private accounts.
* [MOD] Code refactoring.
2018-08-31 01:49:43 +02:00
nuxsmin
2fc71e87dc * [ADD] Default permissions rewritten to make a more generic approach. Now it can manage multiple items/modules default values from the same view, so it's called Items Preset.
* [MOD] Code refactoring
2018-08-30 16:19:18 +02:00
nuxsmin
cd10389100 * [ADD] Added default permissions for accounts based on user, group and profiles.
* [MOD] Updated translations
* [MOD] Code refactoring
2018-08-30 01:41:57 +02:00
nuxsmin
02815f9d3c * [ADD] Added API method for updating account's password. Related #1004
* [ADD] Added API method for updating account. Related #1004
* [MOD] Improved API return messages
* [MOD] Code refactoring
2018-08-28 00:37:40 +02:00
nuxsmin
330e85fc07 * [ADD] Unit testing. Work in progress
* [ADD] Integration tests for API module. Work in progress
* [MOD] Code refactoring
2018-08-27 11:06:07 +02:00
nuxsmin
3c78910569 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
2018-08-11 09:46:36 +02:00
nuxsmin
e07376a0ad * [ADD] Unit testing. Improved code structure 2018-07-18 21:08:03 +02:00
nuxsmin
98764c9a7b * [ADD] Unit testing. Work in progress
* [ADD] Improved CSV and XML importing processes
* [MOD] Code refactoring
2018-07-18 01:54:32 +02:00
nuxsmin
d56bc9dad1 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
2018-07-16 00:53:19 +02:00
nuxsmin
0b97368f9a * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
2018-07-14 19:14:22 +02:00
nuxsmin
ed34cbbb05 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
2018-07-14 13:31:24 +02:00
nuxsmin
1cccd52c85 * [FIX] Closes #920. Fixed wrong behaviour when generating a temporary master password. The encrypted password was not saved. Thanks to @Fizard for the feedback.
* [FIX] Fixed issue on unit testing environment.
2018-07-11 01:34:37 +02:00
nuxsmin
53a2552c05 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
2018-07-06 00:56:06 +02:00
nuxsmin
997d674939 * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
2018-07-05 00:55:46 +02:00
nuxsmin
0bfebd636a * [ADD] Unit testing. Work in progress
* [MOD] Code refactoring and minor bugfixes
2018-07-04 01:52:13 +02:00