Commit Graph

480 Commits

Author SHA1 Message Date
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
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
31960e45e2 fixed setup-cli --update and setup_cmd_update to install apps marked as "autoinstall" 2014-07-08 16:50:54 +00:00
Ralf Becker
d5cb4112b5 * Setup: fixed fatal error "Cannot redeclare auth_type()", when there is a validation error on saving configuration 2014-07-03 12:46:08 +00:00
Ralf Becker
7666292284 no need to manually (un)serialize vfs_fstab and detect old php serialize and new json_encoded values 2014-06-27 07:48:44 +00:00
Ralf Becker
2ee9082f2e * PostgreSQL: fixed not working installation (access to not yet existing table stalls transaction) 2014-06-25 12:43:11 +00:00
Ralf Becker
c8e7fdccde set recommended PHP version to 5.5 2014-06-24 08:42:55 +00:00
Ralf Becker
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
Ralf Becker
9602d061ad * Setup: re-add config for mail authentication and fixed it to always try to use a TLS connection 2014-05-17 08:00:17 +00:00
Ralf Becker
b25724e7ed fixed setup uses cached config values for installs with multiple instances 2014-05-13 15:53:35 +00:00
Ralf Becker
e4e4aa97bc flushing instance cache and config cache, after saving minimal config, fixing default_records of apps use not up to date data 2014-05-13 09:32:21 +00:00
Ralf Becker
6864caac21 do NOT detect templates as (not installed) apps 2014-05-05 09:09:47 +00:00
Ralf Becker
df8f6b9460 change validation of configuration to return existing validation functions, not running arbitrary ones 2014-04-23 14:36:08 +00:00
Klaus Leithoff
0d09278ad6 remove references to removed emailadmin_ui 2014-04-23 12:02:31 +00:00
Ralf Becker
f303930f6d need to replace - and . with _ in database-name 2014-04-16 20:14:19 +00:00
Ralf Becker
3b68b8bff8 need to consider caching when applying setup operations 2014-04-16 17:57:44 +00:00
Ralf Becker
4ff9464133 fixed typo 2014-04-16 16:48:43 +00:00
Ralf Becker
87a6119595 some more changes to setup a mail account via cli, but not by default 2014-04-16 10:40:54 +00:00
Ralf Becker
90218092c2 some more changes to create mail accounts via setup 2014-04-15 20:03:16 +00:00
Ralf Becker
147fe01d38 stop complaining about missing or uncomplete email configuration, it is moved now inside EGroupware 2014-04-15 18:30:03 +00:00
Ralf Becker
621d6d46f4 create new mail accounts from setup-cli 2014-04-15 15:10:39 +00:00
Ralf Becker
fa5d0affb2 remove mail stuff from interactive setup 2014-04-09 07:46:48 +00:00
Ralf Becker
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
Ralf Becker
0ce21ccee3 fix now shown up image 2014-01-13 14:09:41 +00:00
Ralf Becker
aa75f22671 fixed changed name of bullet in sidebox 2013-11-29 00:41:32 +00:00
Ralf Becker
0ca55a1103 * SiteMgr: fixed not working anonymous user and using now a random password 2013-10-15 09:25:49 +00:00
Ralf Becker
eec0972bc0 share cookie with regular EGroupware (required for Stylite hosting) 2013-09-12 15:23:38 +00:00
Ralf Becker
cfd0923c97 need to tell php session to use secure and httponly cookies too 2013-09-11 12:39:32 +00:00
Ralf Becker
ee3544d3d1 fixed language selection got lost 2013-09-11 12:18:40 +00:00
Ralf Becker
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
Ralf Becker
30d6d76d7a allow to set smtp auth options via setup-cli 2013-07-15 15:27:14 +00:00
Ralf Becker
809aa0c63c fixed setup-cmd-ldap copy2ad to fix samba-tool clasicupgrade wrong set never expiring accounts to correct value 2013-07-09 13:47:47 +00:00
Ralf Becker
71489f3eda * Setup/Active Directory: setup_cmd_ldap sub_command=copy2ad now checks multivalue attributes caseinsensitive for doublicate values and new parameter no_sid_check=1 allow to use it for migrating mail-attributes without Samaba checks 2013-07-09 09:56:32 +00:00
Ralf Becker
ed24fa796d allow to copy uid and just set an attribute eg. "attributes={\\server\\homes\\}homeDirectory=uid,{H:}homeDrive=" 2013-07-06 09:37:08 +00:00
Ralf Becker
d522bbd808 * Debian/RPM: fixed "PHP Fatal error: Call to a member function drop_add_all_langs() on a non-object" on install/update of a non-default package 2013-06-28 14:15:28 +00:00
Ralf Becker
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
Ralf Becker
8d93ebb01e * Setup: allow to enable account in AD via setup-cli.php and renamed --postfix and --cyrus options to more generic names --smtp and --imap 2013-06-20 14:48:53 +00:00
Ralf Becker
025c6a4c22 need to report expired accounts as NOT active and add ability to copy shadowExpire attribute from LDAP to AD (not done by samba-tool classicupgrade!) 2013-06-20 09:54:08 +00:00
Ralf Becker
6291318635 * Setup/LDAP/ADS: script to copy from samba-tool classicupgrade not copied inetOrgPerson and mail-server attributes 2013-06-19 20:29:41 +00:00
Ralf Becker
014a273908 * Setup/LDAP/ADS: script to change uidNumber and gidNumber in LDAP to match relative id (last part of SID) in preparation of Samba4 migration and using ActiveDirectory 2013-06-18 18:14:08 +00:00
Ralf Becker
da74bf4210 prefering mysqli for new installs 2013-05-26 09:43:10 +00:00
Ralf Becker
3996f8a936 * MySQL: got mysqli extension working and make it default for EGroupware, as mysql is now officially deprecated, existing installs need to be switched manually in header.inc.php or Setup >> Manage header 2013-05-26 09:32:41 +00:00
Ralf Becker
eaf3e6e1a5 offer to delete all existing accounts from SQL tables, before migration to it 2013-05-23 14:33:14 +00:00
Ralf Becker
4037993dc5 * API: full support of active directory as account storage, tested so far with Samba4 2013-05-22 17:22:20 +00:00
Ralf Becker
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
Nathan Gray
6cae734945 Fix historylog, links & categories sticking around if app is deleted 2013-01-14 20:25:37 +00:00
Ralf Becker
2fed3637be migrate mailbox name (mailMessageStore) when migrating mail accounts, otherwise default get created, which might differ 2012-11-23 09:17:32 +00:00
Ralf Becker
7cd9685d71 mail account and addressbook migration in all directions and for dbmailuser schema too 2012-11-20 09:13:16 +00:00
Ralf Becker
67f71992ee first take on migrating mail accounts from LDAP to SQL (only qmailUser schema) 2012-11-19 09:59:00 +00:00
Ralf Becker
ec2ce0f943 * Setup: when migrating accounts from SQL to LDAP or back, also migrate addressbook data 2012-11-19 08:23:09 +00:00
Ralf Becker
a709f6104f * Setup/API: translations are no longer installed in database, but loaded directly from lang-files into tree-level cache 2012-11-05 12:18:22 +00:00
Ralf Becker
3625cfb855 setup too: new function "Clear cache and register hooks", also called automatic when restoring a backup 2012-10-31 17:17:28 +00:00
Ralf Becker
a81d7126aa setting and checking required PHP version of 5.3 2012-10-26 08:50:07 +00:00
Ralf Becker
1093103856 fixed not working account migration: need to invalidate cache: otherwise no migration takes place, if cached results says account already exists 2012-10-12 12:55:19 +00:00
Ralf Becker
86a8ce1839 disable PHP 5.4 E_STRICT warnings in setup, as already done inside EGroupware 2012-09-14 16:38:17 +00:00
Ralf Becker
e64013f413 a little more sophisticated test if we have a functioning database, before trying to store a setup_cmd object, otherwise it stalls the update 2012-08-13 12:14:37 +00:00
Ralf Becker
e23996a45b using new syntax 2012-06-19 17:43:37 +00:00
Ralf Becker
5e76d4197e * EMailAdmin/Setup: fixed wrong created default profile, user profiles and signatures were ot allowed, due to changed default parameter -1 --> false 2012-04-24 17:45:19 +00:00
Ralf Becker
a3ada52adf * Admin/ImportExport: fixed import of already hashed passwords 2012-03-29 18:33:33 +00:00
Ralf Becker
43092fea2e setting recommended php version to 5.3, not sure why we havnt done that already 2012-03-11 09:37:38 +00:00
Ralf Becker
163ca468f8 quieten message that "jdots" is not installed 2012-01-09 10:25:56 +00:00
Klaus Leithoff
d2f4d36355 more work regarding the implementation of the new feature that allows to specify smtp auth credentials for alarms/notifications only (otherwise credentials of corrent user are used) 2011-10-06 09:13:48 +00:00
Ralf Becker
2ed73047df fixed serveral issues around cached config:
- changing config in setup did not update or unset the cache --> instance was NOT using it
- new installs failed, because cache was not configured
- cache command to not configured cache gave fatal error, now they throw a (catchable) exception
2011-09-13 09:25:25 +00:00
Ralf Becker
54bf7a3d2d - fixed image map was empty created when not loged in (now directories are used and not $GLOBALS['egw_info']['apps'])
- fixed not working vfs-image-dir
- deleteing image-maps when:
  + apps get installed, updated or removed
  + admin >> register hooks
  + admin >> site configuration: vfs-image-dir get changed
- fixed not displayed validation errors (thought there were no validation) in admin >> site config
--> you need to register hooks, in order to get the admin >> site configuration validation hook ;-)
2011-08-31 10:16:12 +00:00
Ralf Becker
e2b385ed9c new setup command (object) to register all hooks and adding it to setup-cli.php 2011-06-29 08:40:24 +00:00
Klaus Leithoff
d32809bb90 * emailadmin: restored capability of storing setup mail server settings to first default emailadmin profile (no app, no group, no user) 2011-06-20 09:56:39 +00:00
Ralf Becker
17ce63390c setup-cli / post_install command to install/update a single (non-default) app 2011-06-18 10:44:56 +00:00
Ralf Becker
c2feef73de using preferences class to set preferences 2011-06-11 11:53:43 +00:00
Ralf Becker
c0cf0788e2 fixed not working new trunk installs 2011-06-07 08:02:06 +00:00
Ralf Becker
fae1d29e68 - implemented more secure password hashing types: sha512_crypt, sha256_crypt and blowfish_crypt (later was only just broken)
- DB schema update for account_pwd to varchar(128) to accomodate sha512_crypt hashes
- enable automatic migration to sha512_crypt, if on SQL or LDAP (but only on Linux, as OpenLDAP has not native support for it)
2011-06-05 23:22:51 +00:00
Ralf Becker
99910cd62e historically crypt is called des in ldap 2011-05-04 20:19:59 +00:00
Ralf Becker
e0614a8a6a keeping the old defaults to not break existing installs 2011-05-04 17:57:12 +00:00
Ralf Becker
ceb9cf34f6 fixed broken password hashes hook (default label was in option value) 2011-05-04 16:30:19 +00:00
Ralf Becker
86be53f4a3 showing ssha as default and sorting it as top option 2011-05-04 13:47:44 +00:00
Klaus Leithoff
f0aa9131d1 fix bug on failed install of new instances 2011-05-04 13:45:01 +00:00
Ralf Becker
57fc9c63fc - fixed with ssha not working migration from sql <--> ldap
- using 16 char salt for ssha and smd5 as eclipse ldap admin does
- remove auth::hash_sql2ldap() method, as it is now in setup/inc/class.setup_cmd_ldap.inc.php
- added ability to create uid dn in setup_cmd_ldap subcommand create_ldap
2011-05-04 09:42:50 +00:00
Ralf Becker
457e79454d * Setup: making SSHA (salted sha1) hashes the default password hash for SQL and LDAP
- fixing not working ssha hashes if mb_string.func_overload > 0 set
2011-05-04 07:52:45 +00:00
Ralf Becker
5ea2945538 allow to return passwords hashes as array 2011-04-01 14:00:25 +00:00
Ralf Becker
4c9b620657 missing auth_type_activesync hook 2011-03-28 17:29:07 +00:00
Nathan Gray
374b65e0b8 Add link to find and register all application hooks 2011-03-23 16:19:32 +00:00
Klaus Leithoff
e33aa2978c * API/Authentication: add fallback to sql for mail authentication. 2011-03-23 13:19:48 +00:00
Ralf Becker
ea989a2af8 dont show vfs_storage_mode "custom", if not custom 2011-03-07 14:15:44 +00:00
Ralf Becker
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
Nathan Gray
792e0af077 Remove configuration when removing an app 2011-02-02 15:53:45 +00:00
Nathan Gray
18882c57c7 Remove an app's categories when removing the app 2011-02-02 00:45:54 +00:00
Ralf Becker
6154863394 remove hooks of apps, when deleting them (event if sources are no longer there) 2010-09-15 20:09:57 +00:00
Ralf Becker
699ce1b1a9 facilitate downgrade, if supported by "update" scripts: run downgrades automatic 2010-09-15 19:10:00 +00:00
Ralf Becker
871e5718af using one list of auth-types (in order of importance) and detecting additional ones in the filesystem 2010-09-10 09:26:17 +00:00
Ralf Becker
7706645423 check if app is either installed or supports the used database (before installed, but not supported apps where not updated) 2010-09-08 12:24:05 +00:00
Ralf Becker
26ed58af98 need to setup ldap data in setup_cmd_ldap, before calling the hook 2010-09-02 08:50:48 +00:00
Ralf Becker
20912e702d upps, fixed wrong parameter order 2010-08-31 10:26:43 +00:00
Ralf Becker
bfc3b262b3 rest to implement support for different mailbox names types / mail_login_types 2010-08-31 10:13:28 +00:00
Ralf Becker
2ebd10efba new command to set mailbox attribute 2010-08-31 09:33:29 +00:00
Ralf Becker
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
Ralf Becker
7be62b431f moved logic of account-migration to setup_cmd_ldap and using setup_cmd_ldap for account_migration.php, that way we can also create the ldap-structur during the migration 2010-08-26 20:22:02 +00:00