Commit Graph

1765 Commits

Author SHA1 Message Date
Ralf Becker
34ad2c9722 check if date.timezone is set, report it and set something if not, as it gives tons of errors in install log 2012-06-13 13:36:57 +00:00
Ralf Becker
c3e0a2ab15 * Setup/Admin: restoring 10 rows per sql statement to speed up restore 2012-06-10 12:38:35 +00:00
Klaus Leithoff
254fc0e565 fix issue for changed default param for emailadmin_bo contructor; always use setDefaultProfile if there is NO profile available at all; fix issue regarding missing control of group ownership on edit.general 2012-04-25 10:08:53 +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
508c3c5517 * Admin/Setup: button to mount backup directory under /backup into VFS 2012-03-27 11:20:08 +00:00
Ralf Becker
6c4a1e0b72 adding Mac ports location of tnef 2012-03-11 09:39:19 +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
a363919485 added check for tidy and xmlreader extension 2011-09-06 09:53:28 +00:00
Hans-Jürgen Tappe
c563830c4a Fix a typo. 2011-09-03 17:04:02 +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
da3ce46d14 added Laotian language to setup 2011-08-09 07:29:08 +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
Oscar Manuel Gómez Senovilla
164871ec02 Update Czech translation for trunk. Tracker #2886 2011-06-23 13:53:19 +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
8e7c73dd84 some fixes for English and Suomi translation, from our Suomi resident here as Stylite 2011-06-16 13:01:29 +00:00
Ralf Becker
c2feef73de using preferences class to set preferences 2011-06-11 11:53:43 +00:00
Ralf Becker
fcfbd038bc some fixes for the English translation, from our Suomi resident here as Stylite 2011-06-10 06:19:36 +00:00
Ralf Becker
c0cf0788e2 fixed not working new trunk installs 2011-06-07 08:02:06 +00:00
Ralf Becker
562343a4dd disabling permanent error_log and missing translation 2011-06-06 06:39:07 +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
574911d077 * Setup/API: new option to enforce ssl (without specifying a domain in Webserver-URL) 2011-05-31 13:33:26 +00:00
Ralf Becker
9fe576f050 fix for bug #2965 - "setup-cli.php --check" prints additional unintended lines on exit code 14 2011-05-28 07:23:02 +00:00
Ralf Becker
c95df01460 add importexport and activesync to apps of Default group, when creating a new admin user 2011-05-07 12:36:46 +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
4039fdf415 * give everyone implicit rights for home app, as taking them away makes to many support problems 2011-03-30 07:54:29 +00:00
Ralf Becker
70c105d2ec only register hooks for installed applications 2011-03-28 17:54:02 +00:00
Ralf Becker
4c9b620657 missing auth_type_activesync hook 2011-03-28 17:29:07 +00:00
Philip Herbert
ea1ef050b8 allow to set auth type used for activesync in setup 2011-03-28 09:45:28 +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
Stefan Becker
b2ef231049 adding German Translations 2011-03-21 14:19:02 +00:00
Ralf Becker
ea989a2af8 dont show vfs_storage_mode "custom", if not custom 2011-03-07 14:15:44 +00:00
Ralf Becker
403600fdd9 * removing memory limit from backup download, by switching off output buffering and zlib output compression 2011-02-25 13:13:40 +00:00
Ralf Becker
68e369cdd7 use /usr/bin/tnef if available, before search tnef or ytnef via which in the path, to cope with system having it NOT in the path, but at its standard location 2011-02-22 13:09:09 +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
Oscar Manuel Gómez Senovilla
28d2b6b072 Update for translations in trunk 2011-01-30 12:53:49 +00:00
Ralf Becker
3afe73c701 do NOT allow to change backup_files config if backup is called outside of setup, as it can have a huge impact on the server 2011-01-20 22:17:06 +00:00
Ralf Becker
dbfb13ce5c fix broken alternating line colors 2010-12-19 21:16:43 +00:00
Klaus Leithoff
ac431bfbcf extending check install for optional tnef/ytnef check used by FeLaMiMail to decode winmail.dat files/attachments; Provided by HJTappe; Adding check for PEAR::MailMime and PEAR::Mail_mimeDecode used by FeLaMiMail to import message/rfc files to a mailbox 2010-10-20 09:42:32 +00:00
Ralf Becker
8be6483a2a * added valid timezone set in php.ini check 2010-09-29 09:15:29 +00:00
Ralf Becker
453945c9c9 fix an other PHP5.3 deprecated error 2010-09-27 14:28:36 +00:00
Ralf Becker
83a9c7253c several fixes around jpgraph:
- fixed wrongly reported jpgraph path "/jpgraph", if open_basedir is active and parent of EGroupware dir not accessible
- detect if jpgraph.php is direct in jpraph directory or in src subdirectory
- allow to specifiy arbitrary jpgraph path via defining EGW_JPGRAPH_PATH (eg. in header.inc.php)
--> should fix most jpgraph related issues
2010-09-25 07:38:27 +00:00
Ralf Becker
22392e54b0 fixed SQL error in install from backup, as suggested by Hans-Jürgen 2010-09-18 17:10:35 +00:00
Ralf Becker
409b8dd552 removed old jpgraph version and added setup and pm level checks asking user to install a recent one 2010-09-17 17:25:44 +00:00
Ralf Becker
856c19553c As suggest by Hans-Jürgen: Warn if some required apps are NOT installed: phpgwapi, etemplate, egw-pear, home, admin, preferences
Should also remind people about the required egw-pear app ;-)
2010-09-17 09:45:55 +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
86237f991b mark row of apps with deleted sources with color of delete column 2010-09-15 19:08:29 +00:00
Ralf Becker
1e879b3353 do NOT complain about regulary disabled egw-pear 2010-09-15 18:33:32 +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
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
Ralf Becker
6e3c8ceda2 "allow setting install-id and vfs-root-user" 2008-11-23 13:09:51 +00:00
Ralf Becker
d379065824 "need to use verbose parameter for restore too" 2008-11-23 13:09:16 +00:00
Oscar Manuel Gómez Senovilla
0ed6cda053 Update nl lang files 2008-11-23 08:30:49 +00:00
Oscar Manuel Gómez Senovilla
388c515883 preparing to sync current lang files before branching for 1.6. One more commit
expected meanwhile!
2008-11-22 11:05:43 +00:00
Ralf Becker
92c5157b90 add grant host to db creation 2008-11-18 19:58:11 +00:00
Ralf Becker
04c7f2a6cb "new logo stored only under default" 2008-11-16 19:11:32 +00:00
Ralf Becker
fde8fc7b27 CAS (Central Authentication Service) login for eGroupware 2008-11-15 10:54:39 +00:00
Ralf Becker
5632e41d9e - fix for bug #1813: Setting files to world readable does not work.
- check and give error message if perms could not be changed
- added sudo feature to file preferences allowing to get VFS root access
  + setup config user/password can always be used
  + further eGW users can be configured in setup >> configuration
--> allows eg. to create free folders in the vfs root
--> should be used with caution and respect to users privacy
- added file preferences icon to opened directory (eg. for the root dir)
2008-11-09 16:33:09 +00:00
Ralf Becker
51cd3ec0ba "fix for bug ##1815 - typo in database creation instructions for mysql" 2008-11-03 09:58:59 +00:00
Oscar Manuel Gómez Senovilla
7c3ab3ab8c tracker #1774, added estonian translation 2008-11-02 14:23:56 +00:00
Oscar Manuel Gómez Senovilla
def7784c71 Modifications for utf-8 and estonian language 2008-11-02 14:18:32 +00:00
Oscar Manuel Gómez Senovilla
3edee675a7 tracker #1812 2008-11-02 13:38:18 +00:00
Ralf Becker
fa73ad5339 Improved exception handling:
- exceptions get now always logged to the error_log
- in the webgui it's now configurable, if the message contains a
  stacktrace (incl. function arguments) - default no (security)
- command line interfaces get detected and contain no html anymore
- webdav and groupdav send the exceptions as basic auth realms to the
  client
- webdav and groupdav login failures contain the reason as part of the
  basic auth realm
2008-10-26 12:13:01 +00:00
Ralf Becker
80324c6c63 "enabling the following GroupDAV and filemanager by default for the Default group" 2008-10-26 11:57:38 +00:00
Ralf Becker
59b4f49e58 fixed errors in creating the home dirs of standard groups in sqlfs during setup 2008-10-26 07:37:37 +00:00
Ralf Becker
214afe0bd5 datetime --> egw_datetime 2008-10-21 14:22:27 +00:00
Oscar Manuel Gómez Senovilla
504b096e06 latest update of egw translators pending work 2008-10-15 21:11:30 +00:00
Ralf Becker
3684010c3b create home dir for admin created in setup 2008-10-14 16:08:32 +00:00
Ralf Becker
cd781c228c Only check for smtp server. As Klaus is going to create an emailadmin
profile allowing the user to set there own profiles and signatures, if
no default imap server is defined in setup.
2008-10-14 14:34:41 +00:00
Ralf Becker
40f013181e "set recommend php version to 5.2+" 2008-10-14 09:27:10 +00:00
Ralf Becker
2030c6a24a "better handle the situation of an empty / dummy header in rpm files" 2008-10-13 06:03:32 +00:00
Ralf Becker
025b54917a new translation and removing not longer used ones 2008-10-09 17:08:52 +00:00
Ralf Becker
cb45f661a2 fixed typo session_handler 2008-10-09 16:45:53 +00:00
Ralf Becker
b6996bee01 reworked manageheader:
- removed include_root (is now always identical to server_root)
- removed mcrypt_version (not relevant to todays php versions)
- replaced session_type with session_handler
- look is now a bit more like setup and eGroupware itself
--> updated header-version to 1.29 forcing everyone to update
2008-10-09 16:22:42 +00:00
Oscar Manuel Gómez Senovilla
8ed57c413b tracker #1747 2008-10-05 19:24:49 +00:00
Ralf Becker
9e3281799f Allow to change the where VFS stores the content of files:
1. filesystem (default)
2. database (problems with files > 1mb)
3. custome set via filemanager/cli.php mount
--> If you can only access the docroot, you can use 2. AND set the files
directory to the path for temp. files
2008-10-02 15:30:44 +00:00
Ralf Becker
8d7c57e253 small fix 2008-10-02 15:27:39 +00:00
Ralf Becker
dd50a906a2 Patch from Raphael Alla allowing to specify mysqlt direct in header-admin 2008-09-27 06:56:36 +00:00
Ralf Becker
da43ab71f8 "- calling setup_header methods via magic __call method, to allow classes to extend this command and alow overwrite the setup_header methods
- added new session-handler config var"
2008-08-20 09:01:29 +00:00
Ralf Becker
93112e0277 phpDoc headers 2008-08-20 06:04:28 +00:00
Ralf Becker
9d2016ebf6 - php5 static and protected for egw_framework
- new feature allowing apps to specify with index-page and icon to use
--> allows to install sitemgr-link icon without an extra application
(which was a symlink and got lost in every version upgrade)
2008-08-18 09:00:19 +00:00
Ralf Becker
5447cd6a6d "setting currentapp='setup' for setup" 2008-08-13 07:19:32 +00:00
Oscar Manuel Gómez Senovilla
b8df48b6f4 updated spanish translation 2008-08-05 19:13:53 +00:00
Ralf Becker
0587f0585d added PEAR HTTP_WebDAV_Server, PDO and file-upload checks plus missing translations 2008-08-05 06:23:52 +00:00
Oscar Manuel Gómez Senovilla
f98569ee85 Updated russian translation (#1658) and some spanish updates 2008-08-03 19:07:15 +00:00
Oscar Manuel Gómez Senovilla
77f63b4c00 updated russian translation 2008-07-29 20:40:02 +00:00
Oscar Manuel Gómez Senovilla
241e844f4b Resulting lang files after applying the "Search for new phrases" in translation tools for every app 2008-07-26 21:59:22 +00:00
Oscar Manuel Gómez Senovilla
e6a0bc30a9 tracker #1511 2008-07-25 21:22:37 +00:00
Stefan Becker
3485f97e90 "Patch for IE 6/7 PNG bugfix on setup template" 2008-07-22 09:26:27 +00:00
Ralf Becker
b5c28fba48 1. NTLM Single Sign ON
NTLM SSO removes Windows users on a PC, which is a member of a Windows
domain and who are logged into that domain, from the need to explicitly log
into eGW.  They simply point IE to the eGW URL (eg. http://domain.com/egroupware/)
and start working. They can of cause explicitly log out and log in as an
other user.
For more information look at the README at
http://www.egroupware.org/viewvc/trunk/phpgwapi/ntml/README

2. different authentication for SyncML and/or GroupDAV
You can now use eg. an external auth provider for the login via the
WebGUI (eg. ADS) and the passwords stored in SQL for SyncML.
2008-07-16 09:29:13 +00:00
Ralf Becker
f4d11dc778 "fix from Frank Jas, Ontelix for renamed emailadmin bo class" 2008-06-30 07:50:29 +00:00
Ralf Becker
6b631a3dd0 "removed debug messages (error_log)" 2008-06-18 20:00:25 +00:00
Klaus Leithoff
01c02fe075 bugfix: missed that emailadmin.bo while doing the class rename 2008-06-09 06:23:53 +00:00
Klaus Leithoff
f4f0470b16 general stuff:
--------------
-emailadmin classnames
YOU MAY HAVE TO RUN "SEARCH AND REGISTER ALL HOOKS OF ALL APPLICATIONS"
2008-06-05 14:08:17 +00:00
Ralf Becker
a5a7c2d30e Additional password crypt types for ldap:
- MD5_CRYPT (9 char salt prefixed with $1$)
- BLOWFISH_CRYPT (16 char salt prefixed with $2$)
- EXT_CRYPT (9 char salt, no prefix)
2008-05-31 06:25:04 +00:00
Ralf Becker
1ab52586bd "fixed fatal error \"Exception thrown without a stack frame in Unknown on line 0\", if DB does not exist when calling setup" 2008-04-01 09:16:03 +00:00
Ralf Becker
ea3ae107d1 added minimal egw object (egw_minimal), which is shared between egw and setup 2008-03-22 09:29:29 +00:00
Ralf Becker
d36c179645 fixed account-migration to work with current accounts-class 2008-03-06 20:02:30 +00:00
Ralf Becker
a53b69af40 setting the session.save_path to /tmp only for session.save_handler=files and !is_writable(session.save_path) 2008-03-06 06:03:18 +00:00
Nathan Gray
c53cf5cee5 Allow applications with setup in their name to be setup 2008-02-27 16:07:35 +00:00
Ralf Becker
c27c36286e allow to call command objects via setup-cli 2008-01-14 05:44:32 +00:00
Oscar Manuel Gómez Senovilla
f3cd85add5 periodical lang updates from translators 2007-12-22 21:39:38 +00:00
Oscar Manuel Gómez Senovilla
71fbe90a15 tracer #1370 for farsi 2007-12-22 10:28:44 +00:00
Ralf Becker
86621d7fe2 moved randomstring method to admin_cmd 2007-12-22 03:21:07 +00:00
Ralf Becker
125c300182 fixed detection of running inside eGroupWare, as debian package sets up a header.inc.php without domains, also allow to access header with password direct specified and not as hash (secret) 2007-12-21 01:54:20 +00:00
Ralf Becker
ed4a2eabd0 returning install_id too 2007-12-21 01:51:47 +00:00
Ralf Becker
d74bd8e3aa reworked the access for showheader comand a bit 2007-12-18 23:13:59 +00:00
Ralf Becker
86001bea68 changing the way the account object gets instanciated again a bit, as the new setup stuff wasnt working fully after the last fix 2007-12-14 01:28:33 +00:00
Ralf Becker
6651f0efc4 fixed problem in setup, because of not instanciated account object 2007-12-13 23:46:44 +00:00
Ralf Becker
1c2a564c14 fixed problem in setup, because of not instanciated account object 2007-12-13 23:42:17 +00:00
Ralf Becker
e3a9dc646f - installs can now be switched before the install happens to ldap, so all default records get created (eg. sitemgr is working)
- new setup command to create an admin user, used eg. from setup-cli.php
2007-12-13 02:41:55 +00:00
Ralf Becker
f750f112f3 check against own filename 2007-12-12 02:21:00 +00:00
Ralf Becker
573e27ad2e "egw_db::create_database gives no returnvalue, so we need to test the new db by connecting to it" 2007-12-11 01:43:18 +00:00
Ralf Becker
f0e0d84e55 next step config is now also a command object and added better&shorter passwords 2007-12-11 01:28:07 +00:00
Ralf Becker
ab3c470388 moved check_dir to setup_detection, to have it available inside and outside of setup 2007-12-11 01:15:02 +00:00
Ralf Becker
0276cfae19 new setup command object to install, used in setup-cli so far 2007-12-10 04:59:01 +00:00
Ralf Becker
f2cf788aea docu update and commented some error_log, which mess up the output of the command line client 2007-12-10 04:54:57 +00:00
Ralf Becker
1a743d658d E_ALL notice 2007-12-09 22:54:26 +00:00
Ralf Becker
3a6b8ce799 typo 2007-12-09 22:48:53 +00:00
Ralf Becker
e1c115d310 docu update 2007-12-09 19:00:16 +00:00
Ralf Becker
fc1ce1fa71 removed copy of Template object in setup, using the one in the api 2007-12-09 08:03:56 +00:00
Ralf Becker
b96ebc16fc new command objects to install an instance: create database, ldap structur, create/edit header (used by setup-cli too) 2007-12-09 08:03:15 +00:00
Ralf Becker
1151deace4 added option to showheader command to only transfer the remote_hash and not the whole header 2007-12-07 00:07:08 +00:00
Ralf Becker
cae8bb40a8 added draft of an exception class for eGW, plus a global exception handler and replaced the fatal errors in the db-class plus the application rights check in the egw object with exceptions, modified the exceptions in admin_cmd* to use egw_excpetion*, instead just Exception 2007-12-06 08:00:41 +00:00
Ralf Becker
4f77162f64 first version of a setup command that can run via admins remote command execution 2007-12-05 02:27:49 +00:00
Ralf Becker
fa67b52bd3 "only check session.save_path if session.save_handler == files" 2007-11-27 00:36:25 +00:00
Ralf Becker
4b4922c589 "show the red cross if any app needs upgrading" 2007-11-23 17:01:30 +00:00
Oscar Manuel Gómez Senovilla
6c0db1110b catalan updates for trunk 2007-11-10 23:22:17 +00:00
Oscar Manuel Gómez Senovilla
54066896e8 big commit: all lang files not in utf-8 converted to utf-8, including charset phrase 2007-11-10 22:46:02 +00:00
Oscar Manuel Gómez Senovilla
d9e1677b86 lang updates 2007-11-09 16:57:30 +00:00
Oscar Manuel Gómez Senovilla
895ba44b47 Updated czech translation files, using provided utf-8 files 2007-11-09 16:46:15 +00:00
Ralf Becker
90f39cef39 "encryption" type plain for sql and ldap, to allow to store the passwords readable 2007-11-06 11:16:34 +00:00
Ralf Becker
c8eec1ae36 "fixed not working language selection after changeing the lang-filenames from phpgw_XX.lang to egw_XX.lang" 2007-10-31 07:50:56 +00:00
Klaus Leithoff
4005da15d2 added more Info to setup-cli --check; List applications that are not installed. 2007-10-23 08:20:31 +00:00
Oscar Manuel Gómez Senovilla
7bbfae68c6 Changes in setup to handle egw_ prefix in lang files 2007-10-14 16:13:50 +00:00
Klaus Leithoff
bdf27e11d9 Merged language Patch from r24464 (1.4) to trunc. 2007-09-25 10:21:19 +00:00
Oscar Manuel Gómez Senovilla
e385c6412f retry for patch 1170 2007-09-25 07:37:31 +00:00