Commit Graph

124 Commits

Author SHA1 Message Date
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
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
98376b5908 * PHP 7.2: fix several PHP Fatal errors and warnings stalling installation and usage 2018-04-09 16:02:00 +02:00
96bcda7433 use Accept-Language header before logging into setup / user selected a language 2018-01-29 11:05:55 +01:00
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
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
2adeddce8d do NOT store user preferences and apps in session, we restore them from instance cache 2017-04-04 19:13:43 +02:00
5cea6c30e4 * Setup: Fix error "[] operator not supported for strings" for setup page 2017-01-05 12:52:25 +01:00
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
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
f5f05d4262 do NOT remove config, if deinstalling old phpgwapi, as that's global api config 2016-05-31 23:31:00 +02:00
c15fcdfb52 WIP egw installs now without phpgwapi and allows to login 2016-05-02 22:26:40 +00:00
ca2ffb6aea using new api for setup 2016-05-01 15:56:49 +00:00
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
2baf654e14 move all tables to new api and update api to 16.1 2016-04-02 19:55:08 +00:00
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
c3a99d13a0 fix SQL error during update: Column "app_tables" cannot be null (1048) 2016-02-20 14:23:19 +00:00
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
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
3d6da043fa changing php-versions for Trunk/next release: required: 5.4, recommended: 5.6 2015-11-02 17:13:27 +00:00
b97024f00e fix issue pointed out by Andrew McNicol 2015-09-03 16:21:12 +00:00
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
b1b11167e7 fix fatal error and call vfs hooks to create user and group home directories 2014-11-12 08:41:40 +00:00
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
afaf5a1ece fix some problem in Univention install 2014-11-06 16:54:33 +00:00
c8e7fdccde set recommended PHP version to 5.5 2014-06-24 08:42:55 +00:00
289de71581 backport of r47147 from 1.8, thought 11.1 or trunk seems not to initialise session 2014-06-03 12:10:20 +00:00
11469a741d fixed typo causing not being able to log in with header-admin-user/password into setup 2014-01-18 10:06:13 +00:00
0ca55a1103 * SiteMgr: fixed not working anonymous user and using now a random password 2013-10-15 09:25:49 +00:00
eec0972bc0 share cookie with regular EGroupware (required for Stylite hosting) 2013-09-12 15:23:38 +00:00
cfd0923c97 need to tell php session to use secure and httponly cookies too 2013-09-11 12:39:32 +00:00
ee3544d3d1 fixed language selection got lost 2013-09-11 12:18:40 +00:00
eb06a2adee setup uses now sessions too and password-hashes in header.inc.php use most secure hashing type 2013-09-11 11:35:20 +00:00
c44be3ee6d handle not available AD or LDAP connection with an exception, caught and just displayed within setup, so one can change ip or credentials 2013-06-23 09:58:08 +00:00
4037993dc5 * API: full support of active directory as account storage, tested so far with Samba4 2013-05-22 17:22:20 +00:00
93710e09e1 * Setup/API: improved diagnostics about db connection problem and not installed EGroupware
- removed deprecated egw_db->Halt_On_Error handling in favor of just exceptions
- added a couple of exceptions extending egw_exception_db to be able to detect different problem areas
- fixed setup to use / catch exceptions
- new egw_exception_db_setup displays link to setup below exception message, to cope with no longer allowed html in exception messages
2013-03-05 10:50:43 +00:00
6cae734945 Fix historylog, links & categories sticking around if app is deleted 2013-01-14 20:25:37 +00:00
ec2ce0f943 * Setup: when migrating accounts from SQL to LDAP or back, also migrate addressbook data 2012-11-19 08:23:09 +00:00
a81d7126aa setting and checking required PHP version of 5.3 2012-10-26 08:50:07 +00:00
e23996a45b using new syntax 2012-06-19 17:43:37 +00:00
43092fea2e setting recommended php version to 5.3, not sure why we havnt done that already 2012-03-11 09:37:38 +00:00
c2feef73de using preferences class to set preferences 2011-06-11 11:53:43 +00:00
d5a4b78bae * fixed "undefined function lang_select" issue, if no cookies are allowed, also showing again language selection for new installs 2011-02-03 02:01:48 +00:00
792e0af077 Remove configuration when removing an app 2011-02-02 15:53:45 +00:00
18882c57c7 Remove an app's categories when removing the app 2011-02-02 00:45:54 +00:00
6154863394 remove hooks of apps, when deleting them (event if sources are no longer there) 2010-09-15 20:09:57 +00:00
d6822d9564 - fixed not working accounts::cache_invalidate(): cache is now in regular egw_cache on session level
- calling static methods static: accounts::cache_invalidate() or egw::invalidate_session_cache()
- fixed wrong number of deleted items in setup_cmd_ldap sub-comand=delete_ldap
- only use create, if we have an ldap_admin_pw set
- call an add_account hook for each created account, if specified (not by default)
2010-08-29 08:16:27 +00:00
9df4f2e93b setup_cmd_admin execs "admin/admin-cli.php --edit-user" to run all hooks, which can NOT run in setup 2010-08-20 19:28:08 +00:00
5973d330fd setup->setup_account_object() need to load config to $GLOBALS[egw_info][server] too, as eg. auth::encyrpt_password needs the encryption type 2010-05-15 07:56:58 +00:00
7d1ac84b67 fixed typo in previous commit: problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com> 2010-02-13 04:55:34 +00:00