Commit Graph

171 Commits

Author SHA1 Message Date
markjcrane
8909ce9e63 Detect the host type for PostgreSQL so it works with host or ip address. Also improve the code consistency by correcting the indentation and adding a few more comments. 2015-12-06 12:25:34 -07:00
Matthew Vale
6d13594e80 added suppression of progress by default 2015-12-03 14:59:46 +00:00
Matthew Vale
d0e940f00b corrected function name 2015-12-03 14:25:33 +00:00
Matthew Vale
a5a2280819 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
1a278f4bf8 added save_switch_xml during install 2015-12-03 13:36:43 +00:00
Matthew Vale
3f5a43a356 fixed storage of domain_count 2015-12-03 11:55:40 +00:00
Matthew Vale
edb4c43014 added workaround for lua not resolving localhost 2015-12-03 11:36:29 +00:00
Matthew Vale
efa1504d00 changed path handling for create_config_lua
thanks moteus for the hint
2015-12-03 11:19:09 +00:00
Matthew Vale
148f7207c5 corrected path retrieval for test
added missing () when reporting domain name
2015-12-03 10:49:38 +00:00
Matthew Vale
90b8e4d707 add caveat when the config.lua is inside scripts\resources
due to app_defaults running before install_switch create_config_lua
cannot create it's config if the detected folder is scripts\resources\
this solves this by adding a caveat to create it's parent folder when it
is called resources
2015-12-03 10:40:54 +00:00
Matthew Vale
6d7ddec597 corrected references to scripts 2015-12-03 09:52:53 +00:00
Matthew Vale
36e1d5c4c5 fixes during upgrade 2015-12-02 15:55:21 +00:00
Matthew Vale
7c1422fd13 Removed redundant code 2015-12-02 14:46:03 +00:00
Matthew Vale
c1e84c50a4 accidentally cancelled redirect during testing 2015-12-02 14:39:53 +00:00
Matthew Vale
0c557d5c58 reorganised upgrade routine to make more sense 2015-12-02 14:32:49 +00:00
Matthew Vale
1327dc011a added automatic odbc_database definition 2015-12-02 14:17:53 +00:00
Matthew Vale
ddcc317d49 Bugfix batch 2015-12-02 14:05:21 +00:00
Matthew Vale
3c19e21828 added auto usage of global_settings where not provided 2015-12-02 11:21:09 +00:00
Matthew Vale
aff613d3e9 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
d4fa22dbec changed to xcopy for windows 2015-12-01 17:34:04 +00:00
Matthew Vale
4f58c9315a added better quoting for windows 2015-12-01 17:30:46 +00:00
Matthew Vale
a3d3e539e5 corrected typo 2015-12-01 17:02:38 +00:00
Matthew Vale
0fb8a126ff added normalize to OS before using copy under win 2015-12-01 17:00:41 +00:00
Matthew Vale
c0382a0a47 corrected path build 2015-12-01 16:57:06 +00:00
Matthew Vale
8c8cf44b4c stored config_lua path correctly 2015-12-01 16:47:18 +00:00
Matthew Vale
64f103ddbb corrected call to normalize_path_to_os 2015-12-01 16:42:54 +00:00
Matthew Vale
f730909343 improved message related to config_lua 2015-12-01 16:40:36 +00:00
Matthew Vale
bfd03697a8 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
7b0a657790 Result of merge 2015-12-01 16:22:40 +00:00
Matthew Vale
e1ea625161 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
6e03808f6e corrected dbh->exec checks to use === to force bool check 2015-12-01 16:08:04 +00:00
Matthew Vale
9f67c70f5b Added better status updates 2015-12-01 15:56:07 +00:00
Matthew Vale
bbcc8b5fa7 moved config_lua responsibility to install_switch 2015-12-01 15:13:33 +00:00
Matthew Vale
750b6a0c6d Added Switch upgrade as a separate option 2015-12-01 14:32:58 +00:00
Matthew Vale
52ca0fb082 bracket error 2015-12-01 12:00:58 +00:00
Matthew Vale
1e81e57ddc Added detection of windows + non sqlite 2015-12-01 11:56:37 +00:00
Matthew Vale
4efec3ac0b removed redundant radio
override when length is 0, not visa versa
2015-12-01 11:02:32 +00:00
Matthew Vale
e7ff440ec8 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
ec1588c5e1 simplified the create database options 2015-12-01 10:33:51 +00:00
Matthew Vale
2a82c3ca70 db_create not create_db
corrected version detection
corrected constant
2015-12-01 10:23:24 +00:00
Matthew Vale
bcc181ce70 bug fixes for path normalization 2015-12-01 10:10:58 +00:00
Matthew Vale
f5d31ca6ce pipe paths though realpath to normalize
fixed extra }
2015-12-01 09:53:18 +00:00
Matthew Vale
e76645401d Added the better create database support 2015-11-30 16:25:36 +00:00
Matthew Vale
a34563f545 Merge remote-tracking branch 'remotes/fusionpbx/master' into Enhance_Install 2015-11-30 15:51:18 +00:00
Matthew Vale
21d7b28a9a moved assumed path management to detect_switch as *_vdir 2015-11-30 15:23:42 +00:00
Alexey Melnichuk
183634a848 Fix. Create DB during web install. 2015-11-30 13:55:02 +03:00
markjcrane
e1214116f4 Missed a set of round brackets on this->exists. 2015-11-27 19:53:30 -07:00
markjcrane
e0ff445922 Rename the config.php file and a few minor adjustments to install_fusionpbx. 2015-11-27 19:03:25 -07:00
markjcrane
d447f10c03 Move config.php into install -> app defaults method. 2015-11-27 18:13:13 -07:00
markjcrane
12416cb972 Get rid of trailing tabs, correct some of the vertical line spacing, and other minor changes. 2015-11-27 18:04:59 -07:00