Commit Graph

110 Commits

Author SHA1 Message Date
FusionPBX 1eb5b54119 Merge pull request #1491 from dis45927/master
Fix bug preventing mysql database creation
2016-03-24 21:47:11 -06:00
markjcrane ab4fb51355 Fix the install title. 2016-03-20 13:51:17 -06:00
markjcrane b626edb480 Minor change to indent on one line. 2016-03-19 18:23:19 -06:00
dis45927 2045b52af1 Fix bug preventing mysql database creation 2016-03-15 10:30:33 +00:00
mafoo 91b61683c0 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 676ef47d34 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 449dc0dfa7 Add the missing .php extension. 2016-02-29 20:07:32 -07:00
markjcrane 289a7b892c Fix title-install translation. 2016-02-29 19:53:13 -07:00
markjcrane 112a239902 Minor change remove trailing tab. 2016-02-29 18:47:51 -07:00
markjcrane f7be0cc943 Fix the comment on install_switch.php. 2016-02-29 11:43:32 -07:00
markjcrane d110fe8f7e install_first_time.php rename to install.php. 2016-02-29 11:28:43 -07:00
markjcrane 093556cd42 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 e1cd2f8b3a Add translations for the install. 2016-02-22 22:27:53 -07:00
markjcrane 5a06f486af Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
markjcrane 5e44128f70 Switch settings are not always needed so removing the "throw new Exception" 2016-02-04 23:18:48 -07:00
markjcrane 5ed6f62307 Fix the install problem. 2016-01-26 09:01:56 -07:00
markjcrane 2bd1c492b0 Change the variable from cmt to comment to make it easier to read the code. 2016-01-25 09:41:29 -07:00
mafoo 97747c7fb5 BugFix for remote pgsql databases 2016-01-25 14:29:27 +00:00
Mafoo ad324f4744 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 2669f6f1a9 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 23b4b7c9bf Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
Matthew Vale b20a38f454 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 173ae7001d Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale b81748bd22 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale 1ad1c31b27 Rollout of root.php 2016-01-12 13:55:39 +00:00
Matthew Vale d5e1de163c fixed missing on new Exception 2015-12-31 16:32:51 +00:00
Matthew Vale ff2e2bd396 correction for button name 2015-12-30 16:58:39 +00:00
Matthew Vale e05b8ffca2 added correct bits detection 2015-12-30 16:54:36 +00:00
Matthew Vale d7948a7d2a migrated install_switch's recursive_* routines 2015-12-21 10:54:48 +00:00
FusionPBX 84b46ab76e Merge pull request #1315 from mafoo/Enhance-Languages
Enhance languages
2015-12-19 09:20:42 -07:00
Matthew Vale eb26d5e26d Removed dirs we don't use 2015-12-18 17:00:28 +00:00
Matthew Vale 358ae7d312 patch for SunOS
corrected collection of switch version during detect_switch
2015-12-11 14:57:14 +00:00
Matthew Vale 665824b949 Merge branch 'fusionpbx/master' into Enhance-Languages
Conflicts:
	app/extensions/app_languages.php
2015-12-11 08:45:26 +00:00
Matthew Vale cb440de264 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 f8684de1cf First pass on core/* 2015-12-10 10:09:07 +00:00
Matthew Vale cabf031cc0 Fixed temp_dir not getting set correctly
this would have also affected backup_dir
2015-12-07 21:19:59 +00:00
markjcrane 0d20cb3ffc Last commit commented out the permission this comments out the menu. 2015-12-06 14:21:36 -07:00
markjcrane bc9d6bc838 Commenting Advanced -> Install menu until its reason developer that added the menu explains its purpose. 2015-12-06 14:19:18 -07:00
markjcrane 37d4f52dc8 Convert localhost to 127.0.0.1 before determining the host_type. 2015-12-06 12:43:18 -07:00
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