Commit Graph

61 Commits

Author SHA1 Message Date
Ralf Becker
3e0ec508c7 * Setup/EPL: do not autoinstall uninstalled EPL apps when container restarts 2022-01-21 20:59:59 +02:00
Ralf Becker
d882ff4738 * Setup: support uninstalling automatic installed apps (no more reinstalling next update) 2021-08-03 19:09:37 +02:00
Ralf Becker
68a0bb9ac9 fix PHP 8 error: Cannot use positional argument after named argument 2021-04-14 13:00:00 +02:00
Ralf Becker
3fcac1ff72 PHP 8 and PHPStorm error fixes for setup 2021-04-01 14:34:19 +02:00
Ralf Becker
a6ee8eda1b allow apps to specify to be automatic deinstalled
this can either happen uncoditional or with an SQL statement checking they are empty first:
$setup_info[wiki][autodeinstall] = "SELECT COUNT(*)<=3 FROM egw_wiki_pages";
which would deinstall wiki if it has only the 3 default pages in it
2019-08-15 10:33:57 +02:00
Ralf Becker
849b94374b allow to deinstall old "phpgwapi", but not new "api" 2016-06-05 10:56:00 +02:00
Ralf Becker
9c1249cd9a allow to deinstall old phpgwapi, but not api 2016-05-31 22:58:08 +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
ee1d467895 fix PHP Fatal error: Call to undefined method setup::deregister_hooks() 2016-04-05 16:21:23 +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
8497d0cfd5 removing egw-pear 2014-12-11 10:48:16 +00:00
Ralf Becker
544d57ca46 prevent CSRF for setup and admin site configuration 2014-05-01 06:26:09 +00:00
Nathan Gray
6cae734945 Fix historylog, links & categories sticking around if app is deleted 2013-01-14 20:25:37 +00:00
Ralf Becker
000f51f704 remove - no longer existing - call to setup_translation::drop_add_all_langs() 2012-11-08 09:30:56 +00:00
Ralf Becker
3625cfb855 setup too: new function "Clear cache and register hooks", also called automatic when restoring a backup 2012-10-31 17:17:28 +00:00
Ralf Becker
70c105d2ec only register hooks for installed applications 2011-03-28 17:54:02 +00:00
Nathan Gray
374b65e0b8 Add link to find and register all application hooks 2011-03-23 16:19:32 +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
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
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
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
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
9e246a9661 - disabled uninstall of the api
- not installed apps are shown without (error)-icon now, as it's means to most people they have to install everything
2005-12-14 23:30:43 +00:00
Ralf Becker
7635fb25c9 phpgw_categories --> egw_categories plus reworked categories class 2005-11-05 22:58:51 +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
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
Miles Lott
4ea51095d5 Use application name if title is not set in setup.inc.php for upgrade, install, etc. 2004-11-17 13:37:33 +00:00
Ralf Becker
630c88d766 reworked installation/upgrade process to not use delta-updates any more, as we can now reliable read the schema back from our supported databases:
- makes update scripts a lot easier and saver
- updates are a lot faster now
==> only the needed update-functions get called
2004-10-23 15:00:44 +00:00
Ralf Becker
2c1197d9dc fixes for installations with error_reporting E_ALL 2004-03-09 21:05:28 +00:00
reinerj
3f5c75878b changes from phpgw to egw dev group 2004-01-27 20:49:25 +00:00
Miles Lott
ab1a464ab9 Fix display of current domain and db type 2004-01-20 00:40:38 +00:00
Miles Lott
26ef5d0726 Complete adjustments to $ConfigDomain - no need to get_var if already authenticated anymore 2004-01-06 13:45:10 +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
Ralf Becker
db58171660 delete history-log-entries if an app gets de-installed 2003-09-22 23:48:28 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
seek3r
2b0fd83696 fixed a few minor bugs, removed gifs and removed III from everywhere. I think its kind of lame to continue calling it setup3 2002-12-22 23:08:09 +00:00
Zone
0d7f3ed630 Add check_all checkboxes to the top of the list 2002-09-11 05:39:46 +00:00
Miles Lott
d6ebb363c4 Add copy of old template class so setup can work for now. 2002-08-11 23:54:58 +00:00
skeeter
aa1398fd6b Converting to get_var() for all HTTP_*_VARS. 2002-04-29 19:49:24 +00:00
skeeter
6e0d0eb1fd GNU Patch #184. 2002-03-26 02:34:38 +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
5bbacabc0a Add js checkall function for each column of install/upgrade/remove 2002-02-18 13:42:09 +00:00
Miles Lott
f2424ca6fd Disable time limit to aid large updates 2002-01-20 16:04:25 +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