Commit Graph

1911 Commits

Author SHA1 Message Date
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
Ralf Becker
354f88be74 fix error in account migration in a minimal install 2016-11-17 21:31:54 +01:00
Ralf Becker
58c1596002 use $_SERVER[HTTP_X_FORWARDED_FOR] IP for ACL check if set, if not use $_SERVER[REMOTE_ADDR] 2016-11-09 22:17:07 +01:00
Ralf Becker
07fbace534 * Setup: make sure interactive setup does not stall on SQL error when updating from 1.8 2016-09-26 09:27:52 +02:00
Ralf Becker
25b7334017 pending translations from our translation server, thanks to Illias and others 2016-08-10 08:55:21 +02:00
Ralf Becker
1fa85c88b1 using correct defaults eg. "template1" for postgres 2016-08-06 10:35:48 +02:00
Ralf Becker
3e1f7613de fix PHP Fatal error: Class 'ldap' not found, when migrating accounts LDAP --> SQL 2016-07-28 15:30:51 +02:00
Ralf Becker
6a57234f30 * Setup/LDAP: fix exception when migration accounts to/from LDAP 2016-07-15 09:07:59 +02:00
Ralf Becker
0b71dd2756 replace (slower and ugly) create_function with closures 2016-07-10 11:09:21 +02:00
Ralf Becker
29739f6b82 * remove requirement for deprecated php-mcrypt extension 2016-06-21 10:15:23 +02:00
Ralf Becker
f41a6da838 add zip extension to installcheck, as it is required to merge-print office files 2016-06-17 11:17:21 +02:00
Ralf Becker
7af18ff895 remove SyncML Authentication config 2016-06-09 16:20:18 +02:00
Ralf Becker
b381843d01 * Setup: some authtication types eg. Cas were not shown in setup 2016-06-09 08:48:46 +02:00
Ralf Becker
fb0b6a033f add archive folder 2016-06-05 17:05:40 +02:00
Ralf Becker
139ee0dab1 no need to log connection retries and final connection failures are always thrown, fixes 5 connection failures log for creating new databases 2016-06-05 16:59:55 +02:00
Ralf Becker
849b94374b allow to deinstall old "phpgwapi", but not new "api" 2016-06-05 10:56:00 +02:00
Ralf Becker
3c3210dba9 remove code checking since 1.4 not used "file_repository" and "file_store_contents" config vars resulting in not being able to create "files_dir" config 2016-06-05 08:58:56 +02:00
Ralf Becker
1090a32242 resurect emailadmin/setup directory, it is needed for updating from versions before latest 14.3 2016-06-03 16:30:59 +02:00
Ralf Becker
d12e2c806d quitening connection trial for testing database is there 2016-06-02 12:34:51 +02:00
Ralf Becker
956b1f139e using "#!/usr/bin/env php -qC" for setup-cli.php 2016-06-02 12:34:51 +02:00
Ralf Becker
f5f05d4262 do NOT remove config, if deinstalling old phpgwapi, as that's global api config 2016-05-31 23:31:00 +02:00
Ralf Becker
9c1249cd9a allow to deinstall old phpgwapi, but not api 2016-05-31 22:58:08 +02:00
Ralf Becker
9abc9beb0f switch verbose off, when installing single apps, as it's diagnostics probably look like a bug to most 2016-05-28 13:55:08 +02:00
Ralf Becker
cb3248a4e6 fix failed package install without phpgwapi installed 2016-05-26 10:46:40 +02:00
Ralf Becker
49f640a016 fix wrong case in EGroupware 2016-05-26 10:46:40 +02:00
Ralf Becker
2e6d1e2638 fix old "phpgwapi" version used instead of new "api" 2016-05-25 21:41:50 +02:00
Ralf Becker
8c821ab8cb fix wrong/different case WrongUserInput --> WrongUserinput 2016-05-25 21:41:50 +02:00
Ralf Becker
1b32000d4d fix old class-name db_backup giving error in setup-cli 2016-05-25 21:41:50 +02:00
Ralf Becker
8a24f3e449 fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer) 2016-05-14 21:26:36 +02:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Ralf Becker
33605585e2 move default login and head templates from idots to api/templates/default and some other fixes to fix up non-Pixelegg login and old templates 2016-05-05 13:29:41 +00:00
Ralf Becker
c15fcdfb52 WIP egw installs now without phpgwapi and allows to login 2016-05-02 22:26:40 +00:00
Ralf Becker
cea5c69b7f move CreateObject and ExecMethod into new api 2016-05-02 14:41:48 +00:00
Ralf Becker
ca2ffb6aea using new api for setup 2016-05-01 15:56:49 +00:00
Ralf Becker
3e92578753 fix some ocurences with: <object> instanceof <phpgwapi-class>, which is no longer true, when object is from new Api, but old <phpgw-class> extends new Api class 2016-04-27 07:10:04 +00:00
Ralf Becker
c14f25c0e8 hide spellchecker config and always use browser native spellchecker 2016-04-25 20:14:47 +00:00
Ralf Becker
0b9937332c some more setup fix, 16.1 updates now 1.8, 14.x and installs itself new 2016-04-05 16:51:43 +00:00
Ralf Becker
ee1d467895 fix PHP Fatal error: Call to undefined method setup::deregister_hooks() 2016-04-05 16:21:23 +00:00
Ralf Becker
978f8e282d show api version instead of phpgwapi 2016-04-02 20:25:01 +00:00
Ralf Becker
2baf654e14 move all tables to new api and update api to 16.1 2016-04-02 19:55:08 +00:00
Ralf Becker
adb748d6e7 move hooks class to api and only cache hooks in instance cache (instead of database: filesystem scan takes ~4ms, cache ~0.2ms) 2016-04-02 14:16:20 +00:00
Ralf Becker
00abda4682 moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving 2016-03-28 18:51:38 +00:00
Ralf Becker
3c9353514d check of (newer) "mysqli" extension not old "mysql" no longer existing in PHP 7.0+ 2016-03-09 06:58:46 +00:00
Ralf Becker
b95727bb6f move auth classes to Api\Auth, only Sql is currently tested! 2016-03-06 20:47:10 +00:00
Ralf Becker
7ada2354d3 move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields 2016-03-06 13:45:15 +00:00
Ralf Becker
ed8f6f45c4 move egw_csrf class to Api\Csrf without a compatibility class 2016-03-05 14:02:13 +00:00
Ralf Becker
1ab66dd811 move exceptions to new api structure, thought to catch an exception by its deprecated name, new exceptions have to extend deprecated ones 2016-02-28 13:43:06 +00:00
Ralf Becker
86955dfc95 work in progress: using ADOdb 5.20 and move db classes to new api directory 2016-02-20 20:27:17 +00:00
Ralf Becker
c3a99d13a0 fix SQL error during update: Column "app_tables" cannot be null (1048) 2016-02-20 14:23:19 +00:00
Ralf Becker
bc7fa3bc8b * Filemanger: filemanager/cli.php wrongly reported wrong passwords for setup or config user with newer password hashes 2016-02-15 11:10:23 +00:00
Ralf Becker
b137f4710c remove old network class from Trunk/16.1 2016-02-01 12:50:34 +00:00
Ralf Becker
21a9d24d3a Simplify accounts exist check, by checking for total of search > 1, fixes problems with not working limited search in ldap (still returning correct total) 2016-01-29 10:52:52 +00:00
Ralf Becker
3b781ceb05 * Univention: allow to migrate accounts from SQL backupt to Univention (install new EGroupware app and delete all users and groups in Univention first) 2015-11-13 14:49:34 +00:00
Ralf Becker
3d6da043fa changing php-versions for Trunk/next release: required: 5.4, recommended: 5.6 2015-11-02 17:13:27 +00:00
Ralf Becker
b97024f00e fix issue pointed out by Andrew McNicol 2015-09-03 16:21:12 +00:00
Ralf Becker
ae9acfd5e2 give an error message "%1 does NOT have a password (userPassword attribute) or we are not allowed to read it!", if LDAP does not allow us to read passwords 2015-09-03 09:02:04 +00:00
Ralf Becker
328712af0d fix not working setup/setup-cli.php --setup-cmd-ldap <domain>,<config-user>,<config-pw> sub_command=passwords_to_sql 2015-09-01 18:46:07 +00:00
Ralf Becker
188e31c9c1 not working database gave a database error instead of instructions how to create the database 2015-08-27 12:30:16 +00:00
Ralf Becker
c94007f344 fix typo stalling new installs 2015-07-07 14:15:52 +00:00
Ralf Becker
8702d06ec7 also give Admins apps of all users group Defaults, in case one forgot to add admins to it 2015-07-01 07:25:16 +00:00
Ralf Becker
6c7026fa52 * Setup: support mail authentication without PHP imap extension 2015-06-10 15:44:01 +00:00
Ralf Becker
e3bfbeeee9 using exception / exit code 92 for "Domain XXX does NOT exist !!!" 2015-05-12 14:57:29 +00:00
Ralf Becker
9319954d39 show full database url in setup, not just driver-name and show used IP in "Invalid IP address" message 2015-05-03 12:04:21 +00:00
Ralf Becker
b086604711 move "Save as" phrase to common and merge-cli run 2015-04-01 08:00:07 +00:00
Ralf Becker
61cf8fa9f5 * Univention: Samba SID was not propagated to config of SambaAdmin app 2015-03-13 13:51:10 +00:00
Klaus Leithoff
a27d5963c5 pending translations from our translation server 2015-03-05 09:04:21 +00:00
Ralf Becker
18fafed2a4 pending translations from our translation server 2015-02-17 08:52:58 +00:00
Ralf Becker
3c4cb54f34 * Setup: allow to use Composer (https://getcomposer.org/) to manager requirements (instead of PEAR) 2015-01-18 12:05:09 +00:00
Hadi Nategh
4fa44e6482 Reorder and add missing phrases in lang files 2015-01-15 14:53:34 +00:00
Ralf Becker
b98972582c check if allow_url_fopen = On 2014-12-15 14:29:56 +00:00
Ralf Becker
ca4f49121f fix pear upgrade (not update) command given as instructions to user 2014-12-15 10:33:42 +00:00
Ralf Becker
b5d4177bde removing no longer used checks and fixing IDE warnings 2014-12-15 09:36:27 +00:00
Ralf Becker
e7f4bb0848 move defining of (deprecated) SEP constant to common functions, as there are cases where it gets used before defined 2014-12-13 09:53:18 +00:00
Ralf Becker
8497d0cfd5 removing egw-pear 2014-12-11 10:48:16 +00:00
Ralf Becker
494a87af52 bump version to 14.2 and change dependency check from == to >=, like it is used every where else 2014-12-10 09:10:55 +00:00
Ralf Becker
f78f8762b0 fix typo 2014-11-30 13:46:39 +00:00
Ralf Becker
e5b3a83693 allow to update passwords from LDAP, if accounts stored in SQL and authentication is against LDAP 2014-11-17 12:19:56 +00:00
Ralf Becker
b1b11167e7 fix fatal error and call vfs hooks to create user and group home directories 2014-11-12 08:41:40 +00:00
Ralf Becker
628a112e4e change setup to only add admin account to new groups, but never set memberships removing existing ones, important if using an existing account, also fixed it to change password of existing account if a non-empty password given 2014-11-12 08:06:33 +00:00
Ralf Becker
b721ae1afc changes for Univention install 2014-11-07 13:16:30 +00:00
Ralf Becker
8a32ae7c32 fix typo in smtp plugin name and stay on selected accounts plugin, even if it is inaccessible due to open_basedir, as we otherwise would store default "sql" 2014-11-06 19:21:56 +00:00
Ralf Becker
afaf5a1ece fix some problem in Univention install 2014-11-06 16:54:33 +00:00
Ralf Becker
a70600d964 add storing of config values with names like "app/name" 2014-11-06 13:46:03 +00:00
Ralf Becker
753ce75b15 using univention-directory-manager cli to create not accounts to get Kerberos stuff addded 2014-11-05 20:27:52 +00:00
Ralf Becker
a1a88d801a show sha1 hashes for uploaded backups 2014-10-30 15:18:59 +00:00
Ralf Becker
a5f7195462 do not run admin-cli.php --add-user for Stylite package install 2014-09-09 18:07:39 +00:00
Ralf Becker
20179f1767 * Spellchecker: marking "browser based" (default for new installs) and "No" as safer and fixing CSP policy for web-spell-checker 2014-09-04 09:58:48 +00:00
Ralf Becker
a025e4f5a5 PEAR check: show version again, if available, instead of just "Yes" 2014-08-27 12:16:16 +00:00
Ralf Becker
e3e42b3dc8 be more specific about found pear packages, for which we could not check the version 2014-08-27 10:25:17 +00:00