Commit Graph

181 Commits

Author SHA1 Message Date
Ralf Becker
11b9eb0350 allow IP4 subnets and % wildcard when creating MariaDB/MySQL users 2022-02-07 20:48:28 +02:00
Ralf Becker
3e0ec508c7 * Setup/EPL: do not autoinstall uninstalled EPL apps when container restarts 2022-01-21 20:59:59 +02:00
Ralf Becker
3fcac1ff72 PHP 8 and PHPStorm error fixes for setup 2021-04-01 14:34:19 +02:00
Hadi Nategh
49abce8235 Fix wrongly spelled EGroupware name 2018-04-11 15:13:39 +02:00
Ralf Becker
10b37454f8 show application title instead of (directory-)name 2017-10-27 16:13:21 +02:00
Ralf Becker
c15fcdfb52 WIP egw installs now without phpgwapi and allows to login 2016-05-02 22:26:40 +00:00
Ralf Becker
ca2ffb6aea using new api for setup 2016-05-01 15:56:49 +00:00
Ralf Becker
2baf654e14 move all tables to new api and update api to 16.1 2016-04-02 19:55:08 +00:00
Ralf Becker
ed8f6f45c4 move egw_csrf class to Api\Csrf without a compatibility class 2016-03-05 14:02:13 +00:00
Ralf Becker
b97024f00e fix issue pointed out by Andrew McNicol 2015-09-03 16:21:12 +00:00
Ralf Becker
9319954d39 show full database url in setup, not just driver-name and show used IP in "Invalid IP address" message 2015-05-03 12:04:21 +00:00
Ralf Becker
8497d0cfd5 removing egw-pear 2014-12-11 10:48:16 +00:00
Ralf Becker
6a016fac3f prevent false CSRF warning, if DB schema upgrade is needed 2014-06-24 08:43:46 +00:00
Ralf Becker
544d57ca46 prevent CSRF for setup and admin site configuration 2014-05-01 06:26:09 +00:00
Ralf Becker
93710e09e1 * Setup/API: improved diagnostics about db connection problem and not installed EGroupware
- removed deprecated egw_db->Halt_On_Error handling in favor of just exceptions
- added a couple of exceptions extending egw_exception_db to be able to detect different problem areas
- fixed setup to use / catch exceptions
- new egw_exception_db_setup displays link to setup below exception message, to cope with no longer allowed html in exception messages
2013-03-05 10:50:43 +00:00
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