Commit Graph

340 Commits

Author SHA1 Message Date
Ralf Becker
3dd7cc746f remove hooks of apps, when deleting them (event if sources are no longer there) 2010-09-15 20:09:05 +00:00
Ralf Becker
5c832771ee facilitate downgrade, if supported by "update" scripts: run downgrades automatic 2010-09-15 19:09:39 +00:00
Ralf Becker
7bd6f43610 using one list of auth-types (in order of importance) and detecting additional ones in the filesystem 2010-09-10 09:26:57 +00:00
Ralf Becker
80a46a9306 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:39 +00:00
Ralf Becker
bbaaa9a8b4 need to setup ldap data in setup_cmd_ldap, before calling the hook 2010-09-02 08:46:22 +00:00
Ralf Becker
16668b146c upps, fixed wrong parameter order 2010-08-31 10:27:03 +00:00
Ralf Becker
de0c3bdcd4 rest to implement support for different mailbox names types / mail_login_types 2010-08-31 10:16:57 +00:00
Ralf Becker
6b474b08e2 new command to set mailbox attribute 2010-08-31 09:34:04 +00:00
Ralf Becker
992db760f9 - 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:17:10 +00:00
Ralf Becker
c00ddd6010 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-27 08:09:14 +00:00
Ralf Becker
2f1d9bf8d8 - 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:25:53 +00:00
Ralf Becker
1cd6ff968f - 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:30:30 +00:00
Ralf Becker
ba1b0762bd 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:49 +00:00
Ralf Becker
d7f1dc32b3 some fixes for base deletion and counting of active users 2010-08-20 14:18:58 +00:00
Ralf Becker
318db85091 new sub-command to delete ldap tree 2010-08-20 13:28:12 +00:00
Ralf Becker
9063e6691b some more adapting to current emailadmin: sieve host is not yet used, but defaulting to NULL is what emailadmin does too 2010-08-20 11:14:00 +00:00
Ralf Becker
7889c066cf updated mail config to match current emailadmin 2010-08-20 10:19:08 +00:00
Ralf Becker
b5c73dd734 using organizationalRole instead of namedObject which seems to be suse specific 2010-08-18 09:13:27 +00:00
Ralf Becker
316858bab3 new parameter $make_db_name_unique to append a decrementing numeric postfix to db_name and db_user, if db already exists 2010-07-31 09:24:13 +00:00
Ralf Becker
f74364c07d using functions moved to setup_translation class and modernising setup_html 2010-07-29 08:30:23 +00:00
Ralf Becker
d9c3ac4c4a marking all static methods static and moving method to query supported languages into setup_translation class 2010-07-29 08:14:51 +00:00
Ralf Becker
bc8345d06d fixed typo 2010-07-29 07:50:17 +00:00
Ralf Becker
68eb11e495 - using EGW_*_ROOT instead of .., to allow running from different directories
- allow running setup_cmd_admin directly via the command line with regular syntax (was already possible under special syntax)
- limiting database names to 16 chars, which is the limit in mysql
2010-07-26 08:20:48 +00:00
Ralf Becker
d41e6e1680 always enable history logging for calendar, addressbook and infolog 2010-06-16 08:58:07 +00:00
Ralf Becker
78a410850c always enable spellchecker, ckeditor now uses spell-as-you-type via a public webservice 2010-06-10 05:55:48 +00:00
Klaus Leithoff
963b99ea5b removing the defaultvalue for the imap_server, as we do not require imap_server for setup anymore 2010-05-28 13:19:23 +00:00
Klaus Leithoff
f7e70b5feb remove pop3/pop3s from setup_cmd_config, as it is not supported anymore 2010-05-20 12:59:49 +00:00
Ralf Becker
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
Ralf Becker
e91b0f0cb5 using since php<=5.0 available raw_output=true parameter for md5 and sha1 instead of deprecated and in newer distros no longer available mhash extension 2010-05-13 10:39:48 +00:00
Ralf Becker
7489a9cfb4 "do NOT mark untranslated phrases with an asterisk (as EGw does it by default since some versions)" 2010-03-16 16:18:41 +00:00
Ralf Becker
7f3651e3f2 Do NOT store "System/Localtime" as server_timezone, as it is no valid timezone 2010-03-15 07:51:38 +00:00
Ralf Becker
0affaddfb2 fix for Debian Bug#569677: egroupware-core: base configuration fails with php error if egroupware-emailadmin is not installed 2010-02-15 02:58:58 +00:00
Ralf Becker
872fa0b72b fixed stupid windows path: moved aspell_path config to setup, vor obvious reasons 2010-02-14 06:11:28 +00:00
Ralf Becker
1555115be7 moved aspell_path config to setup, vor obvious reasons 2010-02-14 05:51:51 +00:00
Ralf Becker
7d1ac84b67 fixed typo in previous commit: problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com> 2010-02-13 04:55:34 +00:00
Ralf Becker
8b92fc4998 fixed typo in previous commit: problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com> 2010-02-13 04:47:01 +00:00
Ralf Becker
aca8b220df fixed problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com> 2010-02-13 02:57:22 +00:00
Hans-Jürgen Tappe
9c5fd08d90 Fix backup->restore() as discussed on the devel list:
- Internationalization of error messages.
- Typos
- Add missing code documentation
- Respect return code of db->transaction_commit()
- Add missing filename arguments in restore() calls.
2010-01-22 21:39:19 +00:00
Ralf Becker
a3a3faab22 "using isset($GLOBALS['egw']->accounts) instead of is_object, as egw object always instanciates accounts object (with wrong config) if is_object() is used" 2009-12-07 17:47:57 +00:00
Ralf Becker
61c48fb5c0 allow setup-cli to install ldap based right away 2009-12-05 17:42:18 +00:00
Ralf Becker
fd0bfe97ea querying date_default_timezone_get() only once and storing it as
$GLOBALS[egw_info][server][server_timezone], as it fills the log with
warnings under php5.3
2009-11-28 10:18:21 +00:00
Ralf Becker
9a755daa24 Client to submit monthly statistical data 2009-11-17 09:24:10 +00:00
Ralf Becker
28a778955c "setting standard IMAP and SMTP as default" 2009-10-28 21:59:49 +00:00
Ralf Becker
ed5a1234c6 "do not count \"deleted\" apps (apps without sources) as to upgrade" 2009-10-28 21:08:23 +00:00
Ralf Becker
5408924afb All EGroupware apps can now set default and forced preferences on
installation time --> nice user experience and cleaner look (by hiding
exotic prefs by focing them to a usual value):
- settings returned from settings hook can contain values for keys
  'default' or 'forced'
- if settings hook require part of api or application, which are not
  available during installation time: use a method hook (instead of
  an old $app/inc/hook_settings.inc.php file), and check if
  $hook_param['setup'] is true
- default prefs created so far in setup/admin_account.php got removed
- common prefs in preferences_hooks::settings() got reworked to set
  default and forced prefs
- calendar prefs in calendar_hooks::settings() got reworked to set
  default and forced prefs
--> I will rework prefs of all our (default) applications according to a
best practice list of Stylite consultants
2009-10-18 12:57:30 +00:00
Ralf Becker
a83a79e167 - setting required php version to 5.2
- removing tz_offset default pref and config
- adding tz default pref (defaults to server timezone)
2009-10-12 07:39:47 +00:00
Klaus Leithoff
58890aaf9c added email as mail Login Type 2009-09-10 12:16:29 +00:00
Klaus Leithoff
44a53ee05b backup housekeeping feature from H.J.Tappe together with a feature to backup egroupware the files - tree from Christian Fueller; The File-backup feature is testet against relatively small eGroupware Instances; It requires ZipArchive (If you dont have that, the backup should run, but without backup of files); AND if you enable it backup takes a) more time to run and restore b) way more space, so you should enable housekeeping 2009-08-27 12:46:12 +00:00
Klaus Leithoff
b0ba5cbf50 log invalid IP Loginattempts to the webservers error_log 2009-08-27 12:35:27 +00:00
Ralf Becker
1c94011502 "only delete header, if it does exist and is NOT writable (otherwise the header is owned by the user running the script)" 2009-06-21 12:34:02 +00:00