Commit Graph

166 Commits

Author SHA1 Message Date
Ralf Becker
a709f6104f * Setup/API: translations are no longer installed in database, but loaded directly from lang-files into tree-level cache 2012-11-05 12:18:22 +00:00
Ralf Becker
f3574b59bc allow to specify grant host for database creation 2012-10-12 10:57:21 +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
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
d02badfed5 using functions moved to setup_translation class and modernising setup_html 2010-07-29 08:29:54 +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
51cd3ec0ba "fix for bug ##1815 - typo in database creation instructions for mysql" 2008-11-03 09:58:59 +00:00
Ralf Becker
93112e0277 phpDoc headers 2008-08-20 06:04:28 +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
4b4922c589 "show the red cross if any app needs upgrading" 2007-11-23 17:01:30 +00:00
Ralf Becker
ca570bd16b creating new db's in MySQL allways as utf-8 2007-05-15 06:38:05 +00:00
Ralf Becker
1ad800edd0 added --encoding=utf-8 to the db creation instructions for postgres 2006-12-16 08:20:41 +00:00
Ralf Becker
0dd337839c removed old ldap stuff 2006-06-08 21:08:11 +00:00
Ralf Becker
11e8e4feaa view --> few patch, thanks to Adi Kriegisch 2006-06-08 19:50:31 +00:00
Ralf Becker
55b9797a59 got setup command line interface fully working:
- create, edit & update the header
- install & update eGW
- config eGW
- create admin account
- install & update languages
- create & restore (install) backups
---> update, languages & backup can work for all domains at once
---> for use in 1.2 you have to update/switch the whole setup app to HEAD/trunk
2006-05-29 02:56:16 +00:00
Ralf Becker
ef14c49e04 - fixed files-directory check for webdav
- fix to keep your settings on a validation error
- make Option filesystem translatable
2006-03-08 09:41:53 +00:00
Lars Kneschke
1c4381c178 cosmetic change only
only root has the # sign
2006-03-05 08:01:28 +00:00
Lars Kneschke
92e1cda84a fixed some spelling errors
su does not have a -l parameter under Gentoo, Debian and Solaris
but using only - is ok on any distribution
2006-03-05 07:58:12 +00:00
Ralf Becker
341eb15afb fixed not working system-charset conversation (now removed) with backup and re-install of backup with a different charset. A setable client encoding is used if availible. 2005-12-01 23:18:07 +00:00
Ralf Becker
7b2b823835 - setup uses now the system_charset, that fixes various errors reported:
+ setup_demo gives errors under postgres
 + setup_demo can save special chars in the admin name
- renamed setup_demo into admin_account, as setting up demo accounts is the least used function of it
- fixed warning db::delete missing params, if delete_all was checked
2005-11-27 07:48:22 +00:00
Ralf Becker
5bf7cc575c removed misleading insanity message, as suggested by omgs 2005-11-20 10:32:35 +00:00
Ralf Becker
fb3c622ddf - removed not working db+user creation under postgres
- added "working" explenation how to create a db, user und the necesary rights under postgres
- manageheader: renamed Domain --> Database instance (eGW Domain)
- manageheader: added further explenation of the host-field for Postgres and ODBC/MaxDB
2005-11-19 20:32:00 +00:00
Ralf Becker
48a95410db added enhanced validation hooks for:
- tmp-dir (writable)
- files- & backup-dir (writable, not in docroot)
- mailserver configuration (also syncs the values with emailadmin)
2005-11-14 14:51:58 +00:00
Ralf Becker
4b918f5b98 system charset can now be selected before the db gets created and it gets used now for the db-creation in mysql4.1+, also enabled the automatic db-creation for mysqlt and mysqli too 2005-11-14 08:38:21 +00:00
Ralf Becker
185a1cc2bd 1) renamed translation_sql to translation, as translation_file is not used or working (we can allways re-add it)
2) new list_langs function for the TranslationTools, so they dont need to access the languages table direct
2005-11-05 12:59:17 +00:00
Ralf Becker
970a92297e an other big update ;-)
1) phpgw_lang(uages) --> egw_lang(uages)
2) mysql 4.0+
 - charset gets now set for the connect
 - charset gets used for new tables
 - some columns shortend to deal with 1000byte (= 333 utf-8 chars) limit for indexes
 - update to 1.0.1.019 fixes the charset of existing tables
2005-11-04 18:35:09 +00:00
Ralf Becker
c85d34c0fe changed the following table-names:
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Ralf Becker
021d72b93e extended the check for (admin-)accounts to other account storages 2005-10-15 07:57:06 +00:00
petere78
73d74fa0f3 XHTML 1.0 cleanup for setup application 2005-07-11 18:02:19 +00:00
Ralf Becker
b6883d59e8 1) fixed setup-detection, to allow login into setup again
2) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
3) moved setup-classes from phpgwapi/inc back to setup/inc (they are not used anywhere else, but in setup)
2005-03-04 12:40:28 +00:00
Ralf Becker
64976f0b1c support to set the client-encoding (charset) for the DB and select a system-charset (utf-8 or others) at installation time 2004-11-21 09:44:02 +00:00
Ralf Becker
272be2942b fixed spelling error which caused the green check to displayed at the admin-account section even if no user accounts exist 2004-11-17 12:46:02 +00:00
Ralf Becker
521c73a38a added possebility to make an utf-8 installation right from the start (no need to convert the DB later) plus some other UI cosmetics 2004-10-23 15:01:58 +00:00
Ralf Becker
940deb08a9 finished DB backup and restore for eGW:
- the backup is independent of the used DB and can eg. be used to port an install to an other DB type
- autom. backup before upgrades of the DB structure
- installing backups instead an installation from scratch
- own backup screen in setup and admin to:
  + shedule repeating backups
  + up- and download of backups
  + creating and restoring backups
2004-10-15 23:06:34 +00:00
Ralf Becker
d4f1a3f87c showing an error-message, if we cant connect to the DB 2004-08-14 17:21:45 +00:00
Ralf Becker
8a1dacc95f - added check for odbc extension (used by MaxDB) to check_install
- not offering to create the DB, if we dont support it for that DB
2004-08-14 15:02:24 +00:00
Ralf Becker
901dfb9f5f added missing "enable extra debug-message" for updates 2004-07-23 00:50:36 +00:00
Ralf Becker
28b38e63ff added checkbox for extra debug-messages for the first installtion and API updates 2004-07-21 13:27:25 +00:00
Ralf Becker
7fbc1c9248 if the header needs upgrading, start the headermanagement direct and not check_install as we do for new installs 2004-07-04 10:30:42 +00:00
Ralf Becker
1ba38621ba - added acces to admin-account-section, if there is an update pending
- show apps which need upgrading in the message in front of the application management and not "This stage is completed", if there are ones
2004-06-27 09:06:05 +00:00
Ralf Becker
5709cc3a27 availible languages now only need to be added to setup/lang/languages to be availible in eGW:
- saves a db-update whenever a new lang comes availible
- maybe we should drop the availible column in phpgw_languages
2004-06-13 21:31:21 +00:00
Ralf Becker
d8cc4fb849 Applied the patch of Jason Wies (zone):
- Splash screen for check-install and
- Link to re-run check-install
2004-05-05 21:05:13 +00:00
Ralf Becker
1e5602a350 added an extra step to create an admin account 2004-05-02 12:11:35 +00:00
reinerj
3f5c75878b changes from phpgw to egw dev group 2004-01-27 20:49:25 +00:00
Miles Lott
d0904ebde2 Reinstate setting of cookies similar to standard api logins by cookie; Reorganized login/logout logic; Switched to class var for $ConfigDomain 2004-01-06 13:38:45 +00:00
Ralf Becker
e5af8693af made the deletion of all user, group and ACL data by setup_demo.php mandatory (default off) so that other install-scripts can add users, groups or ACL records 2003-12-29 21:12:37 +00:00
Miles Lott
b6c0e6e0b2 Replace langs using phpGroupWare 2003-12-19 12:34:45 +00:00
Ralf Becker
f4a8123654 added a first version of a pre-installation check:
- php.ini values
- php extensions
- filesystem permissions
2003-10-13 16:48:12 +00:00
Ralf Becker
fd2d96d063 1) implemented a share system-charset, which can be different from the charset of the lang-files
2) moved sql-specific part of setup_translation to translation_sql
3) TO-DO: get the translation-tools working in this setting
2003-10-05 02:06:11 +00:00
Ralf Becker
658dfdce96 restructured setup a bit:
- move most of the lang-code from setup/lang.php to phpgwapi/inc/class.translation_sql.inc.php
- added a minimal-auto-configuration, so one does not need to enter the config-step at all for a running installation
- added the language of the admin to the installed languages
2003-10-04 13:24:34 +00:00