Commit Graph

1861 Commits

Author SHA1 Message Date
ralf
22f990eea5 fix PHP 8.x error as some apps you a string for their only table and not an array 2022-09-14 14:46:49 +02:00
ralf
9e83b12413 fix installation check to report and verify display_errors=0 as Off
was caused by comparison with "" and "" != "0", replaced with false now
2022-08-12 08:48:44 +02:00
ralf
8ff468520d fix not shown bullet image in setup by including and using it from setup/templates/default/images/
the svg in api does not look any good in setup's old template :(
2022-08-04 10:46:13 +02:00
ralf
480e913151 add uid to selectable username attributes 2022-07-11 12:22:06 +02:00
ralf
6fb464d90b * ActiveDirectory/LDAP: implemented deleting of accounts via full/initial import, periodic import does NOT delete 2022-07-06 17:08:44 +02:00
ralf
242e055f53 * ActiveDirectory: allow to configure an optional group-context
also fixes problems with Univention AD storing stock groups (eg. Domain Users) in a different OU=Groups than users
2022-06-30 16:44:51 +02:00
ralf
9962ac3197 fix Unsupported operand types: array + bool 2022-06-30 16:16:20 +02:00
ralf
970c22b2a2 some fixes for LDAP/ADS account import:
- fix not working "Users, groups and memberships" option
- calling add/edit account/group hooks to eg. create home-directories and mail-accounts
2022-06-30 15:17:19 +02:00
ralf
2dd3a25b35 WIP ADS/LDAP account import:
- implement import from groups and memberships
--> ToDo: deleting of accounts and testing with LDAP
2022-06-28 22:21:08 +02:00
ralf
e28329b1d7 WIP ADS/LDAP account-import:
- refactored to a class
- added async import and logging
--> ToDo: groups, deleting of users and testing with LDAP
2022-06-28 16:58:38 +02:00
ralf
ee58655ce6 WIP ADS/LDAP account-sync:
- using (simple) paged result for initial sync
- incremental sync uses modification time
- currently only user and no periodic sync yet
2022-06-27 21:08:34 +02:00
ralf
e9c9fb77ea * Setup: fix installation check to correctly detect installed packages with Composer 2.x 2022-05-25 10:05:53 +02:00
ralf
ab427562b7 * LDAP: implement optional group-filter
also some code cleanups and fixes
2022-05-20 21:47:02 +02:00
ralf
c57ae62d1c fix not working installation under PHP 8.1 due to mysqli throwing errors now by default 2022-05-20 18:00:54 +02:00
ralf
7e70eee888 final fix for "Network error" when stream files to client
It is important to FIRST disable zlib.output_compression (before headers are sent!) and THEN end all output-buffering!
Without the two steps in this order, we are either limited by the memory limit or get the "Network error", because the streaming/fpassthrough does not apply the compression.
2022-05-05 12:47:31 +02:00
ralf
ecf15cf982 fix "Invalid character set was provided" error in newer MariaDB when trying to enter setup 2022-04-21 19:52:40 +02:00
ralf
4e488d7f5a fix PHP 8.0 error when deinstalling an app with single table (string instead of string[]) 2022-04-01 14:38:18 +03:00
Ralf Becker
8081f6abef allow IP4 subnets and % wildcard when creating MariaDB/MySQL users 2022-02-07 20:49:11 +02:00
Ralf Becker
6d86eefc96 * Setup/EPL: do not autoinstall uninstalled EPL apps when container restarts 2022-01-21 20:58:30 +02:00
Ralf Becker
f50b405555 fix PHP 8.0 Error: count(): Argument #1 ($value) must be of type Countable|array, null given 2022-01-08 11:27:33 +02:00
Ralf Becker
6cd61f071c Better support Guacamole installation and deinstallation:
- allow declaring views of an app and drop them like tables (no support for installing them via setup)
- drop tables in reverse order, in case they have constrains
- support $setup_info[$app]['skip_create_tables'] to not create tables via schema-proc (because they are created via SQL in default_records)
2021-12-04 09:59:07 +02:00
Ralf Becker
d2c85cfe86 fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:08:32 +02:00
Ralf Becker
621d69f921 missing files from filemanager mount GUI 2021-09-13 17:41:21 +02:00
Ralf Becker
8f93a7f7c6 * Setup: support uninstalling automatic installed apps (no more reinstalling next update) 2021-08-03 18:53:05 +02:00
Ralf Becker
3248e82d65 * Setup: skip files backup on update even if configured
It might takes the server down for hours and updates usually dont affect the files
2021-05-27 08:49:20 +02:00
Ralf Becker
9c852a30a5 pending translations from our translators 2021-05-03 21:51:50 +02:00
Ralf Becker
68a0bb9ac9 fix PHP 8 error: Cannot use positional argument after named argument 2021-04-14 13:00:00 +02:00
Ralf Becker
673760f59d * Setup/SAML: fix not stored custome OID and added eduPersonUniqueId 2021-04-07 10:07:56 +02:00
Ralf Becker
102a790c44 fix und PHP 8 no longer supported curly braces for array/string indexes 2021-04-07 09:55:11 +02:00
Ralf Becker
3fcac1ff72 PHP 8 and PHPStorm error fixes for setup 2021-04-01 14:34:19 +02:00
Ralf Becker
05cd66fa09 set minimum PHP version for 21.1 to 7.3 and recommend to 7.4 (PHP 8.0 is still NOT supported) 2021-03-24 08:04:54 +01:00
Ralf Becker
ffc048d472 fix PHP 8.0 Fatal error unknown function get_magic_quotes_gpc 2021-03-21 18:27:09 +01:00
Ralf Becker
51edbcf34e fix logo size in setup 2021-02-26 11:52:26 +02:00
Ralf Becker
586bfcfec5 installation check: remove world readable for header.inc.php and additional warn if no APCu available 2020-12-15 18:27:25 +01:00
Ralf Becker
7ed677dd3e disable UCS support, as we currently have no way to know we are running on UCS (inside our open_basedir) 2020-11-23 21:10:53 +01:00
Hadi Nategh
09e3035320 Add missing language ar in language selector 2020-11-18 13:05:38 +01:00
Ralf Becker
3c956d0144 * Saml/Shiboleth/SmallPART: allow to use affiliation attribute to sync with Teachers group 2020-10-30 11:44:49 +01:00
Ralf Becker
3ee7574294 * Authentication: allow using multiple backends, even same backend multiple times with different configuration 2020-09-10 17:12:53 +02:00
Ralf Becker
b5138d34a5 translations 2020-09-02 15:16:34 +02:00
Ralf Becker
c3000beb5f * ActiveDirectory: implement addtional user or group filter 2020-09-02 14:14:11 +02:00
Ralf Becker
9825b36148 pending translations from our translation server 2020-07-31 13:02:30 +02:00
Ralf Becker
73515cd412 fix wrong idp example 2020-06-19 14:21:29 +02:00
Ralf Becker
d83c567703 pending translations from our translation server 2020-06-12 12:29:47 +02:00
Ralf Becker
4ccc773c74 German translations mostly for SAML/Shibboleth authentification 2020-06-12 12:19:16 +02:00
Ralf Becker
b7ed148371 * SAML: support joining a SAML account to an existing one, if configured in setup
notification of user does not yet work, as redirect on login page looses Api\Framework::message() :(
2020-06-11 16:03:54 +02:00
Ralf Becker
4c131c1866 SAML/Shibboleth with multiple IdP or optional on regular login page 2020-06-10 15:19:24 +02:00
Ralf Becker
b1f79d1c40 * SAML/Shibboleth/SimpleSAMLphp authentication configurable through setup 2020-05-28 23:24:09 +02:00
nathangray
fa9eda18b8 Setup: Fix backups to keep of 0 gave an error "must be integer" 2020-05-12 09:30:55 -06:00
Ralf Becker
c299c82e09 chmod 644 2020-05-08 08:17:33 +02:00
Ralf Becker
2662755c7f fix some warning in phpUnit, an other try ... 2020-03-04 21:40:17 +01:00