Ralf Becker
ca2ffb6aea
using new api for setup
2016-05-01 15:56:49 +00:00
Ralf Becker
3e92578753
fix some ocurences with: <object> instanceof <phpgwapi-class>, which is no longer true, when object is from new Api, but old <phpgw-class> extends new Api class
2016-04-27 07:10:04 +00:00
Ralf Becker
e3bfbeeee9
using exception / exit code 92 for "Domain XXX does NOT exist !!!"
2015-05-12 14:57:29 +00:00
Ralf Becker
31960e45e2
fixed setup-cli --update and setup_cmd_update to install apps marked as "autoinstall"
2014-07-08 16:50:54 +00:00
Ralf Becker
6864caac21
do NOT detect templates as (not installed) apps
2014-05-05 09:09:47 +00:00
Ralf Becker
3b68b8bff8
need to consider caching when applying setup operations
2014-04-16 17:57:44 +00:00
Ralf Becker
87a6119595
some more changes to setup a mail account via cli, but not by default
2014-04-16 10:40:54 +00:00
Ralf Becker
e64013f413
a little more sophisticated test if we have a functioning database, before trying to store a setup_cmd object, otherwise it stalls the update
2012-08-13 12:14:37 +00:00
Ralf Becker
e23996a45b
using new syntax
2012-06-19 17:43:37 +00:00
Ralf Becker
163ca468f8
quieten message that "jdots" is not installed
2012-01-09 10:25:56 +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
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
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
ed5a1234c6
"do not count \"deleted\" apps (apps without sources) as to upgrade"
2009-10-28 21:08:23 +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
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
92c5157b90
add grant host to db creation
2008-11-18 19:58:11 +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
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
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
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
0276cfae19
new setup command object to install, used in setup-cli so far
2007-12-10 04:59:01 +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
4f77162f64
first version of a setup command that can run via admins remote command execution
2007-12-05 02:27:49 +00:00