Commit Graph

340 Commits

Author SHA1 Message Date
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
Ralf Becker
c71ffc8646 new sub-command to delete ldap tree 2010-08-20 13:27:37 +00:00
Ralf Becker
19a25d392d 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:15:59 +00:00
Ralf Becker
ebc83beb06 updated mail config to match current emailadmin 2010-08-20 10:18:29 +00:00
Ralf Becker
5af87bf976 using organizationalRole instead of namedObject which seems to be suse specific 2010-08-18 09:14:30 +00:00
Ralf Becker
5d6e6cdc9c 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:23:41 +00:00
Ralf Becker
d02badfed5 using functions moved to setup_translation class and modernising setup_html 2010-07-29 08:29:54 +00:00
Ralf Becker
b71035b529 marking all static methods static and moving method to query supported languages into setup_translation class 2010-07-29 08:14:15 +00:00
Ralf Becker
77982bb646 fixed typo 2010-07-29 07:49:38 +00:00
Ralf Becker
58993cfb7b - 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:14 +00:00
Ralf Becker
ab9e549d38 always enable history logging for calendar, addressbook and infolog 2010-06-16 08:57:40 +00:00
Ralf Becker
9c837c57f9 always enable spellchecker, ckeditor now uses spell-as-you-type via a public webservice 2010-06-10 05:55:15 +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