Commit Graph

483 Commits

Author SHA1 Message Date
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
Hadi Nategh
5cea6c30e4 * Setup: Fix error "[] operator not supported for strings" for setup page 2017-01-05 12:52:25 +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
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
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
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
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
cb3248a4e6 fix failed package install without phpgwapi installed 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
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
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
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
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
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
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
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
61cf8fa9f5 * Univention: Samba SID was not propagated to config of SambaAdmin app 2015-03-13 13:51:10 +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