Commit Graph

376 Commits

Author SHA1 Message Date
Nathan Gray
1e20e1cecd Fix historylog, links & categories sticking around if app is deleted 2013-01-15 15:44:53 +00:00
Ralf Becker
a9766f6c82 migrate mailbox name (mailMessageStore) when migrating mail accounts, otherwise default get created, which might differ 2012-11-23 09:18:00 +00:00
Ralf Becker
9d350b0f7d mail account and addressbook migration in all directions and for dbmailuser schema too 2012-11-20 09:13:42 +00:00
Ralf Becker
82df2078c8 first take on migrating mail accounts from LDAP to SQL (only qmailUser schema) 2012-11-19 12:56:46 +00:00
Ralf Becker
99bccea0e8 * Setup: when migrating accounts from SQL to LDAP or back, also migrate addressbook data 2012-11-19 12:55:51 +00:00
Ralf Becker
64f31a0fdc * Setup/API: translations are no longer installed in database, but loaded directly from lang-files into tree-level cache
also backported:
- r40748: loading all translations in one go from cachem, saving some latency
- r36329: config is now cached on instance level, arrays in $GLOBALS[egw_info][server] are now automatically serialized and unserialized
2012-11-15 19:12:15 +00:00
Ralf Becker
19e8654778 * Admin: new function "Clear cache and register hooks", also called automatic when restoring a backup 2012-11-05 14:10:23 +00:00
Ralf Becker
5b10055dce 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:40 +00:00
Ralf Becker
5abaf08822 disable PHP 5.4 E_STRICT warnings in setup, as already done inside EGroupware 2012-09-14 16:38:51 +00:00
Ralf Becker
6ceab5d6e6 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:56 +00:00
Ralf Becker
493cb249ba * 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:46 +00:00
Ralf Becker
1af08e72e8 * Admin/ImportExport: fixed import of already hashed passwords 2012-03-29 18:34:24 +00:00
Ralf Becker
ba8af4f608 setting recommended php version to 5.3, not sure why we havnt done that already 2012-03-11 09:38:13 +00:00
Ralf Becker
bf64a26ec5 quieten message that "jdots" is not installed 2012-01-09 10:27:27 +00:00
Klaus Leithoff
bba3dba9ac * EMailAdmin allow to specify smtp auth credentials for alarms/notifications only, otherwise credentials of current user are used 2011-10-06 10:14:13 +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
Ralf Becker
6c885b31fb - setting set_defaults also with values containing (now replaced) replacements like $domain
- shorten db-name/-user to self::MAX_DB_NAME_LEN chars
2010-08-25 12:24:11 +00:00
Ralf Becker
442bdbe564 - new admin-cli command --add-user like --edit-user, but runs addaccount hook for existing accounts too
- using --add-user instead of --edit-user in setup_cmd_admin
2010-08-20 20:28:59 +00:00
Ralf Becker
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
Ralf Becker
aee5936945 some fixes for base deletion and counting of active users 2010-08-20 14:18:21 +00:00