markjcrane
bd5db4d7a0
Minor change to indent on one line.
2016-03-19 18:23:19 -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
d4f8e98fc4
Move flags to a more standard directory. If they get used by another feature then the flags should be moved to the main fusionpbx/resources/images directory.
2016-03-09 11:12:47 -07:00
markjcrane
b47c8d0422
Add the missing .php extension.
2016-02-29 20:07:32 -07:00
markjcrane
a7faa3cc05
Fix title-install translation.
2016-02-29 19:53:13 -07:00
markjcrane
11a4a1d9a6
Minor change remove trailing tab.
2016-02-29 18:47:51 -07:00
markjcrane
d8eaf0e666
Fix the comment on install_switch.php.
2016-02-29 11:43:32 -07:00
markjcrane
c23f53ea34
install_first_time.php rename to install.php.
2016-02-29 11:28:43 -07: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
d8c79d0731
Add translations for the install.
2016-02-22 22:27:53 -07:00
markjcrane
af18c963c0
Rename .project.ROOT to project_root.php this conforms better with current file naming standards.
2016-02-22 14:01:18 -07:00
markjcrane
71a0fa12fa
Switch settings are not always needed so removing the "throw new Exception"
2016-02-04 23:18:48 -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
Mafoo
56b34c34ca
changed throw Exception to die
...
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
Mafoo
87dbd6b428
Added check for if .project.ROOT is missing
...
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
markjcrane
fa081456b1
Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"].
2016-01-17 00:01:13 -07:00
Matthew Vale
6999198492
added logic in cli mode to chdir to the correct directory first
...
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale
a41e89af76
Added full logic to support cli as well
2016-01-13 17:38:54 +00:00
Matthew Vale
0176d30312
change to use '/' instead of DIRECTOR_SEPERATOR
2016-01-12 14:47:50 +00:00
Matthew Vale
e6ad46cfbf
Rollout of root.php
2016-01-12 13:55:39 +00:00
Matthew Vale
8137300bb5
fixed missing on new Exception
2015-12-31 16:32:51 +00:00
Matthew Vale
7bf32cd637
correction for button name
2015-12-30 16:58:39 +00:00
Matthew Vale
a12e3f12b0
added correct bits detection
2015-12-30 16:54:36 +00:00
Matthew Vale
c0cc276601
migrated install_switch's recursive_* routines
2015-12-21 10:54:48 +00:00
FusionPBX
bd914ba376
Merge pull request #1315 from mafoo/Enhance-Languages
...
Enhance languages
2015-12-19 09:20:42 -07:00
Matthew Vale
787ca31388
Removed dirs we don't use
2015-12-18 17:00:28 +00:00
Matthew Vale
fdd1542b66
patch for SunOS
...
corrected collection of switch version during detect_switch
2015-12-11 14:57:14 +00:00
Matthew Vale
81b85c3caf
Merge branch 'fusionpbx/master' into Enhance-Languages
...
Conflicts:
app/extensions/app_languages.php
2015-12-11 08:45:26 +00:00
Matthew Vale
45d9c2039d
updated switch version detection
...
will now work with both git and packaged version numbers
added bits to detect_switch
2015-12-10 10:51:38 +00:00
Matthew Vale
742db50120
First pass on core/*
2015-12-10 10:09:07 +00:00
Matthew Vale
93a83ccb61
Fixed temp_dir not getting set correctly
...
this would have also affected backup_dir
2015-12-07 21:19:59 +00:00
markjcrane
84ff743e84
Last commit commented out the permission this comments out the menu.
2015-12-06 14:21:36 -07:00
markjcrane
52f87223b0
Commenting Advanced -> Install menu until its reason developer that added the menu explains its purpose.
2015-12-06 14:19:18 -07:00
markjcrane
622efef416
Convert localhost to 127.0.0.1 before determining the host_type.
2015-12-06 12:43:18 -07:00
markjcrane
b4e3ee5b0d
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
fb4edcdd74
added suppression of progress by default
2015-12-03 14:59:46 +00:00
Matthew Vale
7ce32f11d4
corrected function name
2015-12-03 14:25:33 +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
875f0a6262
added save_switch_xml during install
2015-12-03 13:36:43 +00:00
Matthew Vale
e036c88c99
fixed storage of domain_count
2015-12-03 11:55:40 +00:00
Matthew Vale
68cd03d598
added workaround for lua not resolving localhost
2015-12-03 11:36:29 +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
f3f24c4085
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
9bc96195c1
corrected references to scripts
2015-12-03 09:52:53 +00:00
Matthew Vale
31619d8747
fixes during upgrade
2015-12-02 15:55:21 +00:00
Matthew Vale
120ea2cc40
Removed redundant code
2015-12-02 14:46:03 +00:00
Matthew Vale
86b945a997
accidentally cancelled redirect during testing
2015-12-02 14:39:53 +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
b399dd9196
changed to xcopy for windows
2015-12-01 17:34:04 +00:00
Matthew Vale
45a431d93c
added better quoting for windows
2015-12-01 17:30:46 +00:00
Matthew Vale
1f8bbf4384
corrected typo
2015-12-01 17:02:38 +00:00
Matthew Vale
b38ef45fa1
added normalize to OS before using copy under win
2015-12-01 17:00:41 +00:00
Matthew Vale
8473aed603
corrected path build
2015-12-01 16:57:06 +00:00
Matthew Vale
7a6d6c9d21
stored config_lua path correctly
2015-12-01 16:47:18 +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
a936bbcf74
moved config_lua responsibility to install_switch
2015-12-01 15:13:33 +00:00
Matthew Vale
d0d3240fc4
Added Switch upgrade as a separate option
2015-12-01 14:32:58 +00:00
Matthew Vale
2201c709ef
bracket error
2015-12-01 12:00:58 +00:00
Matthew Vale
24f5bece94
Added detection of windows + non sqlite
2015-12-01 11:56:37 +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
markjcrane
367997a5ed
Include the config.php file in the install so that the config.lua will have the db port, host, username and password values.
2015-11-27 17:47:28 -07:00
markjcrane
55c1679a51
Add some translations for the install.
2015-11-27 17:14:44 -07:00
Matthew Vale
98ba8ea089
corrected use of detect
2015-11-26 18:45:11 +00:00
Matthew Vale
6cb5fb5f5d
incorrect reference to get the switch to restart
2015-11-26 18:35:11 +00: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
e4d02022d6
moved fusionPBX install after switch install
2015-11-26 14:56:56 +00:00
Matthew Vale
9b7b8fcf05
merge from master
...
changed handling for upgrade to utilize the session event details if
detect_switch is missing
2015-11-26 14:50:30 +00:00
Matthew Vale
02b39d9256
Corrected storage of the event_port
...
made a warning render correctly
added a warning about choosing a remote host
2015-11-26 14:33:08 +00:00
Matthew Vale
40d5b5a0de
fixed detection of timezone on debian
...
removed add_new_switch temporarily, currently not supported
2015-11-26 13:20:04 +00:00
markjcrane
04f3fa6a7a
Another minor adjustment.
2015-11-25 18:18:48 -07:00
markjcrane
cfdccded76
Fix the syntax by adding a missing semi-colon.
2015-11-25 18:17:48 -07:00
markjcrane
266cc76a03
If the script dir is set in the session we know the location and don't need to ask freeswitch for it again.
2015-11-25 18:16:38 -07:00
markjcrane
759a375f5e
Remove trailing tabs. Fix some spelling mistakes. And update core/upgrade/app_defaults.php to fix advanced -> upgrade.
2015-11-25 18:06:27 -07:00
Matthew Vale
e28247d826
Migrated styling into template
2015-11-25 15:31:33 +00:00
Matthew Vale
20dd2065a7
Updated detected configuration
2015-11-25 15:19:00 +00:00
Matthew Vale
b664574278
Changed countries list to be retrieved from new countries class
...
disabled next on change of language
2015-11-24 16:27:04 +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