Commit Graph

47 Commits

Author SHA1 Message Date
Hadi Nategh
49abce8235 Fix wrongly spelled EGroupware name 2018-04-11 15:13:39 +02:00
Ralf Becker
3c3210dba9 remove code checking since 1.4 not used "file_repository" and "file_store_contents" config vars resulting in not being able to create "files_dir" config 2016-06-05 08:58:56 +02:00
Ralf Becker
1090a32242 resurect emailadmin/setup directory, it is needed for updating from versions before latest 14.3 2016-06-03 16:30:59 +02:00
Ralf Becker
2e6d1e2638 fix old "phpgwapi" version used instead of new "api" 2016-05-25 21:41:50 +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
1ab66dd811 move exceptions to new api structure, thought to catch an exception by its deprecated name, new exceptions have to extend deprecated ones 2016-02-28 13:43:06 +00:00
Ralf Becker
188e31c9c1 not working database gave a database error instead of instructions how to create the database 2015-08-27 12:30:16 +00:00
Ralf Becker
494a87af52 bump version to 14.2 and change dependency check from == to >=, like it is used every where else 2014-12-10 09:10:55 +00:00
Ralf Becker
147fe01d38 stop complaining about missing or uncomplete email configuration, it is moved now inside EGroupware 2014-04-15 18:30:03 +00:00
Ralf Becker
eb06a2adee setup uses now sessions too and password-hashes in header.inc.php use most secure hashing type 2013-09-11 11:35:20 +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
Klaus Leithoff
f0aa9131d1 fix bug on failed install of new instances 2011-05-04 13:45:01 +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
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
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
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
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
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
Nathan Gray
c53cf5cee5 Allow applications with setup in their name to be setup 2008-02-27 16:07:35 +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
1e0f7c71e8 allow to uninstall apps with dependency failures or which sources are no longer there, plus some missing translations 2007-05-08 09:53:11 +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
2ee5b02448 fixed bug reported on the list: using (constant) returnvalue as reference is not possible in php4 2005-11-25 09:21:42 +00:00
Ralf Becker
759a50c8c6 fix for 2-digit version-numbers (dependency on 1.2 is ok with a 1.2.xxx version) 2005-11-24 13:07:57 +00:00
Ralf Becker
3b8febb076 1) fixed not working detection of a connection to the db (postgres)
2) fixed detection of table-names with mixed case, which get returned in lowercase
2005-11-19 20:28:39 +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
Miles Lott
09201c7ecb Fix for apps showing post-install dependency failure even though they are not installed. 2005-10-08 14:54:01 +00:00
Ralf Becker
54061abe26 missed a view: $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}'] 2005-03-04 14:43:14 +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
Miles Lott
01faba0c4d Moved setup and schema_proc classes to api; reorganize how the setup class
is created
2002-03-03 21:53:00 +00:00
skeeter
532993d024 Some major cleanups. Should reduce warnings by 75%. This will speed things up if the admin is logging php errors/warnings. 2002-02-18 16:18:34 +00:00
Miles Lott
63b0e05ffe adjust banners to credit seek3r, angles, and some other dude 2002-02-17 20:20:09 +00:00
Miles Lott
12b66fb8a9 Change lang/languages tables to phpgw_lang/phpgw_languages 2002-02-17 19:31:50 +00:00
Miles Lott
6735cc4d5d Add a check to setup to be able to exclude apps from the mass upgrade process.
WCM will be the first to use this, others may follow...
2002-02-03 17:02:56 +00:00
Miles Lott
85ef717696 Additional fix for non-installed apps during upgrades 2002-01-15 01:46:27 +00:00
Miles Lott
2d32663ce1 rollback last change for now 2002-01-13 21:12:35 +00:00
Miles Lott
478ca3adc4 Upgrade API version to 0.9.15.001, add post-install dependency failure
test to detection class and applications.php
2002-01-13 19:52:47 +00:00
Miles Lott
21f0653bde Formatting and comment adjustment 2002-01-11 03:40:59 +00:00
seek3r
c13ade18dc Several fixes in this commit because the switch from sf to savannah had to come from a day old copy of our cvs tree. Much was fixed including email being fixed for PHP3 compatibility, skeeter updated all the setup.inc.php files to say they would be comaptible with the new API version, ceb made fixes to the projects app based on newly submitted bug reports. Im sure there are more but I dont know all the details. Oh, I did add a print_r() to the php3 support files. 2002-01-07 10:50:42 +00:00
Miles Lott
6330681793 php3 fix for detection class; add use of db_addslashes() for when we re-insert
table data to a new table in pg (altertable/column)
2001-11-29 03:58:22 +00:00
Miles Lott
aa32b065bf more adjustment for globals 2001-11-21 15:01:43 +00:00
skeeter
509b88901b Possible fix for problems with bad php.ini settings. 2001-11-21 12:07:58 +00:00
Miles Lott
173d81ab87 register_globals and formatting changes 2001-09-17 02:10:34 +00:00
seek3r
9218a82cbd this is now setup3 code 2001-07-30 15:59:25 +00:00