Commit Graph

47 Commits

Author SHA1 Message Date
Ralf Becker
621d6d46f4 create new mail accounts from setup-cli 2014-04-15 15:10:39 +00:00
Ralf Becker
892500fee3 change cli detection to use php_sapi_name() 2013-09-10 17:29:58 +00:00
Ralf Becker
30d6d76d7a allow to set smtp auth options via setup-cli 2013-07-15 15:27:14 +00:00
Ralf Becker
8d93ebb01e * Setup: allow to enable account in AD via setup-cli.php and renamed --postfix and --cyrus options to more generic names --smtp and --imap 2013-06-20 14:48:53 +00:00
Ralf Becker
014a273908 * Setup/LDAP/ADS: script to change uidNumber and gidNumber in LDAP to match relative id (last part of SID) in preparation of Samba4 migration and using ActiveDirectory 2013-06-18 18:14:08 +00:00
Klaus Leithoff
c9e8e0b115 replace old sieveport 2000 with new default 4190 2013-05-21 14:54:01 +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
34ad2c9722 check if date.timezone is set, report it and set something if not, as it gives tons of errors in install log 2012-06-13 13:36:57 +00:00
Klaus Leithoff
254fc0e565 fix issue for changed default param for emailadmin_bo contructor; always use setDefaultProfile if there is NO profile available at all; fix issue regarding missing control of group ownership on edit.general 2012-04-25 10:08:53 +00:00
Ralf Becker
e2b385ed9c new setup command (object) to register all hooks and adding it to setup-cli.php 2011-06-29 08:40:24 +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
9fe576f050 fix for bug #2965 - "setup-cli.php --check" prints additional unintended lines on exit code 14 2011-05-28 07:23:02 +00:00
Ralf Becker
48a21f74de fixed PHP Warning: fclose(): 146 is not a valid stream resource in setup-cli.php --update 2010-09-08 08:55:06 +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
da919b3a29 remove pop3/pop3s from setup-cli config doku, as it is not supported anymore 2010-05-20 12:35:43 +00:00
Ralf Becker
61c48fb5c0 allow setup-cli to install ldap based right away 2009-12-05 17:42:18 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +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
6d72b2b297 - fixed in some cases not working setup-cli (domain not detected)
- make update a separat setup-cmd-object
- fixed handling of egw_exception_wrong_userinput, to not include a
  trace (which is unneeded for regular input-validation)
2009-05-25 06:39:38 +00:00
Ralf Becker
02587c2153 "when directly calling cmd object:
- set domain as first argument, to select the right domain in header include
- allow to give 1-dimensional arrays on command line (like php does it with urls, eg. 'config[name]=value')"
2009-05-24 13:59:03 +00:00
Ralf Becker
73bb5ca1c5 "small changes to get setup-cli working with current EGroupware" 2009-05-23 10:25:45 +00:00
Ralf Becker
cddd95b571 allow to set language via setup-cli 2008-11-23 16:46:32 +00:00
Ralf Becker
fa73ad5339 Improved exception handling:
- exceptions get now always logged to the error_log
- in the webgui it's now configurable, if the message contains a
  stacktrace (incl. function arguments) - default no (security)
- command line interfaces get detected and contain no html anymore
- webdav and groupdav send the exceptions as basic auth realms to the
  client
- webdav and groupdav login failures contain the reason as part of the
  basic auth realm
2008-10-26 12:13:01 +00:00
Ralf Becker
93112e0277 phpDoc headers 2008-08-20 06:04:28 +00:00
Klaus Leithoff
f4f0470b16 general stuff:
--------------
-emailadmin classnames
YOU MAY HAVE TO RUN "SEARCH AND REGISTER ALL HOOKS OF ALL APPLICATIONS"
2008-06-05 14:08:17 +00:00
Ralf Becker
a53b69af40 setting the session.save_path to /tmp only for session.save_handler=files and !is_writable(session.save_path) 2008-03-06 06:03:18 +00:00
Ralf Becker
c27c36286e allow to call command objects via setup-cli 2008-01-14 05:44:32 +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
Klaus Leithoff
4005da15d2 added more Info to setup-cli --check; List applications that are not installed. 2007-10-23 08:20:31 +00:00
Ralf Becker
0cd6ab53b4 worked around stupid php5.2 empty haystack warnings 2007-04-29 15:13:54 +00:00
Ralf Becker
c0effaf429 fixing the fix ;-) 2006-09-19 07:00:57 +00:00
Ralf Becker
3fa9f71fc4 forbit to call setup-cli.php via the webserver 2006-09-18 09:28:51 +00:00
Ralf Becker
72b1b39de6 an other bug in the multi-domain-update: schema_proc was still working on the db-connection of the other domain. Fixed now too 2006-08-30 12:58:37 +00:00
Ralf Becker
90b8c3e5fd errors were not output, because of a missing echo 2006-08-30 04:47:28 +00:00
Ralf Becker
16c087b605 - setup-cli can now set/change the default EMailAdmin profile
- setup-cli --help has now subsections for header and config
2006-06-22 03:40:18 +00:00
Ralf Becker
2c8844b77c view --> few patch 2006-06-08 21:05:44 +00:00
Ralf Becker
a7ecb209a9 - new account-migration script which replace the former import and export
- retired the modifiy script as it's no longer necessary
- removed references and translations of the old scripts
- removed ldap version 3 switch from config
2006-06-07 23:10:06 +00:00
Ralf Becker
408a951b23 small fix to be able to upgrade a pre 1.2 header 2006-06-03 14:45:49 +00:00
Ralf Becker
5fa113916e fixed not working --webserver-url option, it even sets empty URL for eGW installed in the docroot now 2006-06-01 03:53:07 +00:00
Ralf Becker
478c9ab8e2 fixed not working --config (after last changes) and added output of (basic) current config 2006-05-31 17:21:25 +00:00
Ralf Becker
b868fa4be7 some more setup-cli stuff:
- install needs a password now
- translations for en & de
- password can entered via command-line or env.variable
- installing a backup should work now
2006-05-31 00:27:15 +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
db4a9e00e5 first step to new setup command line interface (setup/setup-cli.php):
- atm. all manageheader functionality is accessible
- reworked manageheader.php using the new setup_header class shared with setup-cli.php
=> install & update via cli is comming the next days
Works in 1.2 if you drop setup-cli.php and class.setup_header.inc.php in a 1.2 install.
2006-05-27 23:59:41 +00:00