Commit Graph

674 Commits

Author SHA1 Message Date
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 a2c845b2c9 Changed upgrade to use PROJECT_ROOT instead 2016-01-12 13:55:45 +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
markjcrane b721572c56 Add session cookie httponly and set it to true. 2015-12-21 20:52:54 -07:00
Matthew Vale d7948a7d2a migrated install_switch's recursive_* routines 2015-12-21 10:54:48 +00:00
markjcrane 8fa89b23e3 Remove a few more line from upgrade/index.php. 2015-12-20 23:04:12 -07:00
markjcrane 1d80b00ea1 Remove upgrade switch from advanced -> upgrade page. The work it did is handled by app/scripts/resources/classes/scripts.php and app_defaults.php calls it. So when running Advanced -> Upgrade -> App Defaults the scripts app_defaults.php will copy the scripts and rewrite the config.lua. 2015-12-20 23:01:28 -07:00
markjcrane 4b7e7fce06 Minor adjustments. 2015-12-20 22:46:52 -07: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 e4c711e8f7 Migrate app_languages.php from core to resources 2015-12-10 09:57:08 +00:00
reliberate 7611b33ecc Domain Edit/Create: Use file_exists instead of isset on recordings directory path check. 2015-12-08 11:24:47 -07: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 ff8b838b5e After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used. 2015-12-06 13:37:35 -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 37c738ac0b use DOCUMENT_ROOT rather than assume path 2015-12-04 12:24:22 +00: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