Commit Graph

1899 Commits

Author SHA1 Message Date
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
Ralf Becker
d86f990bd5 fix some errors in new phpUnit tests: using __DIR__ in header.inc.php include 2020-03-04 21:20:50 +01:00
Ralf Becker
aa4750009f Revert "fix some errors in new phpUnit tests: define lang() only if not already done"
This reverts commit ab289eb5c1.
2020-03-04 21:19:33 +01:00
Ralf Becker
ab289eb5c1 fix some errors in new phpUnit tests: define lang() only if not already done 2020-03-04 21:15:07 +01:00
Ralf Becker
f7989fc2c8 Revert "some fixes for errors in phpUnit in CalDAV tests"
This reverts commit 9d38bf3e97.
2020-03-04 20:50:32 +01:00
Ralf Becker
1f84af1966 Revert "some fixes for warnings during phpUnit about setup cookies"
This reverts commit 0591786534.
2020-03-04 20:44:10 +01:00
Ralf Becker
9d38bf3e97 some fixes for errors in phpUnit in CalDAV tests 2020-03-04 20:35:40 +01:00
Ralf Becker
0591786534 some fixes for warnings during phpUnit about setup cookies 2020-03-04 20:34:14 +01:00
Ralf Becker
44d9fcc790 Revert "* CalDAV/OutlookSynchronizer: reject invitations when client deletes then without appropriate rights in his calendar"
This reverts commit 4c6e41d479.
2020-03-04 19:16:50 +01:00
Ralf Becker
4c6e41d479 * CalDAV/OutlookSynchronizer: reject invitations when client deletes then without appropriate rights in his calendar 2020-03-04 16:58:38 +01:00
Ralf Becker
8ab7caf855 fix old AD class in account-migration 2020-01-24 14:18:35 +01:00
Alexandros Sigalas
4c28657df5 Fix reported version by setup_cmd, was reporting old phpgwapi instead of api version. 2019-11-24 14:10:49 +02:00
Ralf Becker
7cd4169768 * all apps: fixing serveral cases of wrong Url when proxying and terminating TLS on the proxy 2019-11-15 13:54:34 +01:00
Ralf Becker
302800b414 new class Api\Header\Http to handle X-Forwarded-Host and -Schema headers
also kope now with multiple comma-separated host-names in X-Forwarded-Host header happening with multiple proxys
2019-11-12 20:13:24 +01:00
Ralf Becker
b1fae07c75 invalidate opcache after writing header.inc.php if script is cached
so changes take immediate affect in our default container installation with opcache.validate_timestamps=off
2019-09-15 12:17:33 +02:00
Ralf Becker
c706f3f09c pending translations from our translation server 2019-08-22 13:57:23 +02:00
Ralf Becker
7496fbb66e remove quotes from arguments eg. 'db_host=db', in case it does not happen by shell (eg. debuging in Netbeans) 2019-08-18 12:51:41 +02:00
Ralf Becker
a6ee8eda1b allow apps to specify to be automatic deinstalled
this can either happen uncoditional or with an SQL statement checking they are empty first:
$setup_info[wiki][autodeinstall] = "SELECT COUNT(*)<=3 FROM egw_wiki_pages";
which would deinstall wiki if it has only the 3 default pages in it
2019-08-15 10:33:57 +02:00
Ralf Becker
2776d215e2 * Login: RememberMe token for either automatic login or as 2. factor for 2-Factor-Auth 2019-08-03 18:37:18 +02:00
Ralf Becker
2128a64a7e pending SK translations from our translation server 2019-07-26 10:54:41 +02:00
Ralf Becker
1b002165c4 setting required PHP version to 7.2 and recommended to 7.3 2019-07-16 11:00:16 +02:00
Ralf Becker
4ced6407c6 fix package install was generating md5 hased passwords for header 2019-07-06 11:42:19 +02:00
Ralf Becker
705c5b9f56 remove left-over development-test for "hugo" extension 2019-07-06 10:19:23 +02:00
Ralf Becker
3c9419ee1a replacing old PEAR dependency check with Composer 2019-06-17 18:11:56 +02:00
Ralf Becker
4b5890a501 do NOT used persistent connections, if they are disabled in php.ini 2019-05-29 11:28:46 +02:00
Ralf Becker
2d039afe8d check if persistent mysql connections are disabled --> disable them in header 2019-05-28 13:38:41 +02:00
Ralf Becker
310182cc85 Add translations 2019-05-14 17:27:48 +02:00
Ralf Becker
f5882ddd8d Add some translation 2019-04-08 15:55:28 +02:00
Ralf Becker
00fd12d651 * Api/Filemanager: create in non EPL missing /templates and app-sub-directores
Was caused by (unnecessary) transaction around defaul_records processing, causing during transaction inserted rows where not (yet) commited and therefore could not be read.
2019-03-24 11:36:33 +01:00
Alexandros Sigalas
fd8afd6704 Fixed, PHP message: PHP Warning: Use of undefined constant __LINES__ .. the constant is called __LINE__ 2019-03-06 08:25:42 +02:00
Ralf Becker
d084bd0679 fix --exit-codes did not found (now used) exceptions 2019-02-23 12:13:26 +01:00
Ralf Becker
23ceb00380 fix PHP Warning: Use of undefined constant __FILES__ 2019-02-18 16:03:22 +01:00
Ralf Becker
e089f4428f show how long the backup took 2019-02-18 13:42:29 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Ralf Becker
54bd5eac99 * show maintenance release as version-number everywhere 2019-01-09 10:39:02 +01:00
Ralf Becker
3552afa91c converting turkish translations to utf-8 2018-12-10 10:59:43 +01:00
Ralf Becker
a26e0717b5 remove he and rw translations, as they contain (nearly) nothing and are not selectable 2018-12-06 14:11:42 +01:00
Ralf Becker
bb369167e2 pending translations from our translation server 2018-10-26 16:20:45 +02:00
Ralf Becker
321b56e2b6 * Addressbook: private addressbook in newer installations could not be enabled
caused by forced preference value of false casted to string as "", now we write all forced and default preferences with value false as "0" AND update all forced preferences only from "" to "0"
2018-09-14 14:02:51 +02:00
Ralf Becker
e6dab124ee * Univention: fix not working password change (setting Kerberos credentials) 2018-07-13 09:58:38 +02:00
Ralf Becker
18a048e5c8 finish migration AD to new UCS domain via EGroupware 2018-07-03 22:25:08 +02:00
Ralf Becker
2353439517 WIP account-migration incl. mail-attributes AD --> SQL --> Univentionapi/src/Accounts* 2018-06-25 14:40:38 +02:00
Ralf Becker
b29f89cf16 migrate AD accounts incl. mail-attributes to SQL 2018-06-20 15:25:44 +02:00
U-quokka\komaba
2da4ec91db update Japanese language files. 2018-05-12 08:24:38 +09:00
Ralf Becker
77b79f24b7 * Setup: updates from old versions (eg. 1.4 or 1.8) no longer require to update to 14.x and 16.1 first 2018-04-13 13:46:49 +02:00
Hadi Nategh
49abce8235 Fix wrongly spelled EGroupware name 2018-04-11 15:13:39 +02:00
Ralf Becker
98376b5908 * PHP 7.2: fix several PHP Fatal errors and warnings stalling installation and usage 2018-04-09 16:02:00 +02:00
Ralf Becker
96bcda7433 use Accept-Language header before logging into setup / user selected a language 2018-01-29 11:05:55 +01:00
Ralf Becker
37957a49f4 update/add support options in setup and about EGroupware page 2018-01-29 10:20:18 +01:00
Ralf Becker
e5ddf8d6b6 allow to migrate accounts from ADS to SQL 2017-11-09 15:27:50 +01:00
Ralf Becker
a32162fa0b allow to not set password for an existing anonymous user, as it will screw up SiteMgr sites and others assuming a fixed anonymous password 2017-11-02 10:33:38 +01:00
Ralf Becker
10b37454f8 show application title instead of (directory-)name 2017-10-27 16:13:21 +02:00
Ralf Becker
6cdcdf8180 * Univention: fix setup configuration does not allow to store Univention as account backend 2017-08-25 09:03:44 +02:00
Ralf Becker
c244e72017 set required PHP version for master/17.1 to 5.6, recommended version to 7.0 and add 7.1 to Travis checks 2017-08-18 10:22:52 +02:00
Ralf Becker
c0de73db1f * Univention/Setup: allow to set Ham folder and automatically do so for Univention installation 2017-06-13 13:52:31 +02:00
Ralf Becker
9746e1533e remove (not supported) parameters after #!/usr/bin/env php 2017-06-07 15:08:30 +02:00
Ralf Becker
79e4b6b837 change capitalisation to "EGroupware" 2017-05-31 14:04:37 +02:00
Ralf Becker
2adeddce8d do NOT store user preferences and apps in session, we restore them from instance cache 2017-04-04 19:13:43 +02:00
Ralf Becker
e2d25e741b pending CS and FR changes from our translation server 2017-03-15 11:54:24 +01:00
Ralf Becker
4a147c74a1 fix no longer working db-creation after 6dfe752b7f allow to switch whole database readonly 2017-03-13 16:41:12 +01:00
Ralf Becker
23ac04df8d allow to switch whole database readonly, via setting "db_readonly" => true in header.inc.php 2017-03-09 12:08:00 +01:00
Ralf Becker
e8b08eedbe fix PHP 7.1 Error: [] operator not supported for strings in Setup >> Configuration 2017-02-05 14:00:20 +01:00
Hadi Nategh
5cea6c30e4 * Setup: Fix error "[] operator not supported for strings" for setup page 2017-01-05 12:52:25 +01:00