Commit Graph

1552 Commits

Author SHA1 Message Date
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
48a21f74de fixed PHP Warning: fclose(): 146 is not a valid stream resource in setup-cli.php --update 2010-09-08 08:55:06 +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
Oscar Manuel Gómez Senovilla
65f1702caa Tracker #2657 2010-08-25 16:23:17 +00:00
Oscar Manuel Gómez Senovilla
2f0df89b4f Tracker #2703 2010-08-25 16:14:29 +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
a65406b88b * restore to current system charset, to force all restores to utf-8, and do NOT halt on sql errors in restore 2010-08-19 08:07:06 +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
10cf1b2b8e * not overwriting system configuration (eg. pathes) on restore, which break a running system and if called from within EGroupware update the restored backup, in case it is an older version 2010-08-15 15:46:23 +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
f0488300c8 avoiding deprecated warning under php5.3 2010-07-25 09:08:24 +00:00
Ralf Becker
ab9e549d38 always enable history logging for calendar, addressbook and infolog 2010-06-16 08:57:40 +00:00
Ralf Becker
83206fd03f added a check for json extension 2010-06-11 13:36:11 +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
Stefan Becker
911cba0189 added some German translations 2010-05-21 12:23:15 +00:00
Ralf Becker
eb35aaf20b "adding 'bookmarks' & 'phpfreechat' to apps of Admins group" 2010-05-20 18:43:09 +00:00
Ralf Becker
0bb075abcd "adding 'notifications' & 'syncml' to apps of Default group" 2010-05-20 18:24:48 +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
Klaus Leithoff
da919b3a29 remove pop3/pop3s from setup-cli config doku, as it is not supported anymore 2010-05-20 12:35:43 +00:00
Klaus Leithoff
9486ce7ed5 translation provided by mkk 2010-05-20 08:07:13 +00:00
Klaus Leithoff
52edbbd092 enable sorting of columns of db_backup by name, modified or size by clicking on columnheader (done via javascript) provided by Chr.Fueller 2010-05-19 09:47:32 +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
Klaus Leithoff
686ada2d40 fix to show all files in backup_dir, not only entrys with different ctime (ctime was used as key for list) 2010-04-20 14:06:26 +00:00
Klaus Leithoff
939875aade translations provided by mkk 2010-04-15 06:54:30 +00:00
Ralf Becker
3f026390ab "fixed typo in german translation" 2010-03-30 07:01:12 +00:00
Ralf Becker
2c790ac879 missing translations 2010-03-16 16:43:36 +00:00
Ralf Becker
b40f14a95e new setup config denying (default) or allowing user names identical to system users (ldap only) 2010-03-16 16:33:28 +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
Ralf Becker
61d26df913 reworked auth classes, to allow them to use each other and a new auth class using a primary backend (ldap) and a fallback (sql) 2010-01-28 04:22:37 +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
Hans-Jürgen Tappe
91b434636b Fix Typo. 2010-01-21 20:42:50 +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
Oscar Manuel Gómez Senovilla
0deeb03379 Fixing problem with preg_split replaced with explode, tracker #2403 2009-12-05 10:30:22 +00:00
Ralf Becker
868e9b7356 "supress warning \"session.save_path not writable by webserver\", if open_basedir is activ and path is NOT included
--> spares users from false warning, that they can not login, because sessions not working"
2009-12-01 13:58:39 +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
Oscar Manuel Gómez Senovilla
a70df0ddbb Pending language updates 2009-11-24 05:51:49 +00:00
Oscar Manuel Gómez Senovilla
31bc2ff512 tracker #2349 2009-11-18 19:40:17 +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
Ralf Becker
db3b46293b "- using realpath('..') to give user pathes in filesystem (in errors)
- using 'only_if_exists' for 'is_world_writable'=>false check, to cope with doc symlinks under Debian, which are not included in open_basedir (gave file does not exists error and stoped check)"
2009-10-01 09:51:28 +00:00
Klaus Leithoff
317b956d32 adding email as authtype to setuptemplate 2009-09-15 15:18:03 +00:00
Klaus Leithoff
58890aaf9c added email as mail Login Type 2009-09-10 12:16:29 +00:00
Oscar Manuel Gómez Senovilla
2386a28cc5 Update Czech translation for trunk. Tracker #1956 2009-09-09 22:12:43 +00:00
Klaus Leithoff
88687148cd Call-time pass-by-reference has been deprecated Stuff. 2009-08-28 11:46:07 +00:00
Klaus Leithoff
5378561274 fixed an issue with 0 not passed or passed as empty minCount; Now forcing it to 0 if empty 2009-08-27 13:14:54 +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
07c3816a14 "added check for following php extensions:
- error if ctype is missing (required by HTMLpurifier)
- warning if mcrypt is missing (eTemplate form state)"
2009-08-14 09:48:49 +00:00
Nathan Gray
d160101c65 Make delete instance / domain checkbox actually remove the domain. DB still needs to be dropped manually. 2009-07-06 22:20:57 +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
Ralf Becker
66451aa99d "dont unlink header.inc.php for root user, as it get created again with owner root" 2009-06-18 21:21:20 +00:00
Ralf Becker
8fa0c12341 "also setting spellcheck_lang (no idea why this is a separate option)" 2009-06-14 10:37:01 +00:00
Ralf Becker
c0cab3f834 "improved default preferences
- setting country from lang
- setting dateformat for lang != en to 'd.m.Y'
- setting curreny for lang != en to 'EUR'"
2009-06-14 10:29:01 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
bf7e7889cf if header is a symlink --> work on it's target 2009-05-31 09:51:57 +00:00
Ralf Becker
8a66799414 get exit codes for setup-cli working again (was broken in 1.6) 2009-05-31 08:15:11 +00:00
Ralf Becker
f14596e3b0 remove not used/needed css 2009-05-31 08:14:00 +00:00
Ralf Becker
3ec3c205ee created a rpm post script to automatic install or update EGroupware:
- cleaned up exceptions in cli code (no need to log, as it goes direct to the user)
- regarding small rpm redirect header (< 200 bytes) as no header
- fixed wrong detected vars for cli install (eg. webserver_url)
- fixed egw_cache to not stall if system_charset is not yet in db
2009-05-30 20:15:31 +00:00
Ralf Becker
6503d6d0cc - updated documentation
- add feature to allow apps to choose to be automatic installed on
  updated: $setup_info[$app]['autoinstall'] = {true|'1.x.xxx'};
- run default_records.inc.php (if exists) also for apps without tables,
  as they might need to initialise some stuff
2009-05-28 11:33:30 +00:00
Ralf Becker
e763445dee "do NOT run an update, if none necessary" 2009-05-25 07:44:03 +00:00
Ralf Becker
6d72b2b297 - fixed in some cases not working setup-cli (domain not detected)
- make update a separat setup-cmd-object
- fixed handling of egw_exception_wrong_userinput, to not include a
  trace (which is unneeded for regular input-validation)
2009-05-25 06:39:38 +00:00
Ralf Becker
02587c2153 "when directly calling cmd object:
- set domain as first argument, to select the right domain in header include
- allow to give 1-dimensional arrays on command line (like php does it with urls, eg. 'config[name]=value')"
2009-05-24 13:59:03 +00:00
Ralf Becker
2175ee37b0 "allow to call directly via setup-cli" 2009-05-24 13:41:39 +00:00
Ralf Becker
73bb5ca1c5 "small changes to get setup-cli working with current EGroupware" 2009-05-23 10:25:45 +00:00
Ralf Becker
9ebd2fab61 "new sub-command to drop database and user" 2009-05-21 22:16:09 +00:00
Oscar Manuel Gómez Senovilla
67b0a09c15 update spanish translation 2009-05-15 15:33:15 +00:00
Ralf Becker
e50f35cbad "- error_reporting E_ALL
- fixed handling of session_save_path() returning nothing (was stalling the PEAR check AND failing)
- removed not longer necessary constants (defined now in common_functions.inc.php)"
2009-04-28 19:25:35 +00:00
Ralf Becker
aca05a32e3 using new check_load_extension function 2009-04-20 12:43:44 +00:00
Ralf Becker
bf036043b2 - making all methods of translation class static
- caching the phrases in new egw_cache on Tree level
--> a good speed improvment on my devel system
- also added a global function
check_load_extension($extension,$throw=false)
2009-04-20 11:59:39 +00:00
Ralf Becker
cddd95b571 allow to set language via setup-cli 2008-11-23 16:46:32 +00:00
Oscar Manuel Gómez Senovilla
12d6d29540 Support for Indonesian. Tracker #1832 2008-11-23 13:32:49 +00:00