Commit Graph

49 Commits

Author SHA1 Message Date
markjcrane
9cb577f44f Update install freeswitch commented out copy scripts and create config lua as they handled in other code. Update install fusionpbx adding switch directories and creating groups handled in other code. When testing is completed will be removed from the code. 2016-04-03 08:39:47 -06:00
Alexey Melnichuk
b9f2e358af Fix. Install with create new database for PgSQL/MySQL
* MySQL/PgSQL ignore error while create new user because user may already exists.
* MySQL on database page use same checkbox like one for PgSQL
* MySQL/PgSQL if create user empty try use db user.(may be better use root/postgres without pass)
* PgSQL fix `GRANT ALL ON DATABASE dbname` instead of `GRANT ALL ON dbname`
* MySQL fix connect string build
* MySQL fix use correct password to connect
2016-03-30 15:05:25 +03:00
markjcrane
32ffe4d37f Remove the create_menus() from the install as it is now handled in the menu class. 2016-03-27 02:15:27 -06:00
markjcrane
d71f1323c3 Update the install.php. 2016-03-26 19:17:33 -06:00
dis45927
64dcd97d23 Fix bug preventing mysql database creation 2016-03-15 10:30:33 +00:00
mafoo
f803f03496 WhitespaceClean-core/install
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:03:29 +00:00
markjcrane
03897edf95 Rename install_first_time variable and file name. Remove the install/upgrade_switch.php which isn't being used anymore. Update the indentation and remove inconsistent white spaces. 2016-02-29 09:24:05 -07:00
markjcrane
9bc3e6553f Fix the install problem. 2016-01-26 09:01:56 -07:00
markjcrane
08f39071cc Change the variable from cmt to comment to make it easier to read the code. 2016-01-25 09:41:29 -07:00
mafoo
944662cba9 BugFix for remote pgsql databases 2016-01-25 14:29:27 +00:00
markjcrane
fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
Matthew Vale
8137300bb5 fixed missing on new Exception 2015-12-31 16:32:51 +00:00
Matthew Vale
fb4edcdd74 added suppression of progress by default 2015-12-03 14:59:46 +00:00
Matthew Vale
8894c86c16 split install into phases
this is to prevent catch 22 between copy_conf and app_defaults
2015-12-03 14:04:27 +00:00
Matthew Vale
cc3f8e9945 changed path handling for create_config_lua
thanks moteus for the hint
2015-12-03 11:19:09 +00:00
Matthew Vale
5149307d11 corrected path retrieval for test
added missing () when reporting domain name
2015-12-03 10:49:38 +00:00
Matthew Vale
120ea2cc40 Removed redundant code 2015-12-02 14:46:03 +00:00
Matthew Vale
b9b05f757c reorganised upgrade routine to make more sense 2015-12-02 14:32:49 +00:00
Matthew Vale
3f6fdc1df4 added automatic odbc_database definition 2015-12-02 14:17:53 +00:00
Matthew Vale
de2cb97113 Bugfix batch 2015-12-02 14:05:21 +00:00
Matthew Vale
bcfd71577c added auto usage of global_settings where not provided 2015-12-02 11:21:09 +00:00
Matthew Vale
4d62a36e1c restructured install to go via global_settings
added new global_settings to marshal settings used during a
install/upgrade
2015-12-02 11:16:25 +00:00
Matthew Vale
b205573597 corrected call to normalize_path_to_os 2015-12-01 16:42:54 +00:00
Matthew Vale
3e80fc1047 improved message related to config_lua 2015-12-01 16:40:36 +00:00
Matthew Vale
411fceabd3 Deal with create_username
don't create the db_username if it is the same as the db_create_username
2015-12-01 16:29:14 +00:00
Matthew Vale
65d70d5d68 Result of merge 2015-12-01 16:22:40 +00:00
Matthew Vale
f0e2e8d735 Merge remote-tracking branch 'remotes/fusionpbx/master' into Enhance_Install
Conflicts:
	core/install/resources/classes/install_fusionpbx.php
2015-12-01 16:21:10 +00:00
Matthew Vale
44b9574a53 corrected dbh->exec checks to use === to force bool check 2015-12-01 16:08:04 +00:00
Matthew Vale
3f4a9865f5 Added better status updates 2015-12-01 15:56:07 +00:00
Matthew Vale
8df22f0030 removed redundant radio
override when length is 0, not visa versa
2015-12-01 11:02:32 +00:00
Matthew Vale
2998a7cf7e removed reuse stuff, it was confusing
fixed mysql databse create to make more logical sense inside code
removed many if($debug) and replaced with throws
2015-12-01 10:56:18 +00:00
Matthew Vale
4ea9c8abc3 simplified the create database options 2015-12-01 10:33:51 +00:00
Matthew Vale
db1e53296e db_create not create_db
corrected version detection
corrected constant
2015-12-01 10:23:24 +00:00
Matthew Vale
aef4662f91 bug fixes for path normalization 2015-12-01 10:10:58 +00:00
Matthew Vale
45b8f00ae4 pipe paths though realpath to normalize
fixed extra }
2015-12-01 09:53:18 +00:00
Matthew Vale
e340747009 Added the better create database support 2015-11-30 16:25:36 +00:00
Matthew Vale
67910b5253 Merge remote-tracking branch 'remotes/fusionpbx/master' into Enhance_Install 2015-11-30 15:51:18 +00:00
Matthew Vale
36d52f7b17 moved assumed path management to detect_switch as *_vdir 2015-11-30 15:23:42 +00:00
Alexey Melnichuk
0c828deba6 Fix. Create DB during web install. 2015-11-30 13:55:02 +03:00
markjcrane
82e602e93a Missed a set of round brackets on this->exists. 2015-11-27 19:53:30 -07:00
markjcrane
e4d850aa10 Rename the config.php file and a few minor adjustments to install_fusionpbx. 2015-11-27 19:03:25 -07:00
markjcrane
1408ca0b8a Move config.php into install -> app defaults method. 2015-11-27 18:13:13 -07:00
markjcrane
25e67742a5 Get rid of trailing tabs, correct some of the vertical line spacing, and other minor changes. 2015-11-27 18:04:59 -07:00
Matthew Vale
f45881ec4b moved upgrade function from app_defaults
moved upgrade function out to upgrade.php otherwise during initial
install all app_defaults get run twice
2015-11-26 18:24:09 +00:00
Matthew Vale
55e463b0ff populate event_socket_* for core/upgrade/app_defaults 2015-11-26 18:12:35 +00:00
Matthew Vale
64e42958b3 moved restart and unprotected app_defaults 2015-11-26 16:57:34 +00:00
Matthew Vale
b793ccba9d changed install order 2015-11-26 15:57:32 +00:00
Matthew Vale
75efd1bd58 Resolved install issues, environment now in tact enough to run app_defaults 2015-11-18 17:30:43 +00:00
Matthew Vale
702466ea52 Initial Rewrite 2015-11-17 17:02:38 +00:00