Commit Graph
99 Commits
Author SHA1 Message Date
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
Matthew Vale a3f9c02225 added freeswitch version when retrievable 2015-12-07 17:38:54 +00:00
Matthew Vale 47d8040fed use $git_path to determine if it is a git install 2015-12-07 17:37:41 +00:00
Matthew Vale 7b9038fc0b changed label to text[*] 2015-12-07 17:32:20 +00:00
Matthew Vale 37c738ac0b use DOCUMENT_ROOT rather than assume path 2015-12-04 12:24:22 +00:00
Matthew Vale 7adab1e59f Add git information to system info 2015-12-04 12:18:11 +00:00
Matthew Vale 896adf8fb4 fix to the external IPv6 2015-12-03 15:42:52 +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 761a7b0717 made reference to install resource literal 2015-12-02 16:07:23 +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 472d68ae92 added event_socket_* detection change in app_defaults 2015-12-01 13:36:13 +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 5e00be2ac1 use fixed value for the replacement as DIRECTORY_SEPARATOR changes per platform 2015-12-01 11:44:24 +00:00
Matthew Vale c9197b4151 corrected the normalizer 2015-12-01 11:35:23 +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 87658251d6 added normalize_path 2015-12-01 10:11:39 +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
Matthew Vale f1c6963e9e corrected use of detect 2015-11-26 18:45:11 +00:00
Matthew Vale 8eeee0fea1 incorrect reference to get the switch to restart 2015-11-26 18:35:11 +00:00
Matthew Vale 0cd6895061 corrected spelling mistake 2015-11-26 18:25:46 +00:00
Matthew Vale efa20fb04b 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 b5eed9f0ef populate event_socket_* for core/upgrade/app_defaults 2015-11-26 18:12:35 +00:00
Matthew Vale 5960b18e71 Corrected incorrect merge 2015-11-26 17:53:02 +00:00
Matthew Vale e504c8b592 moved restart and unprotected app_defaults 2015-11-26 16:57:34 +00:00
Matthew Vale af867043b2 changed install order 2015-11-26 15:57:32 +00:00
Matthew Vale f0008691ee moved fusionPBX install after switch install 2015-11-26 14:56:56 +00:00
Matthew Vale 1bf97c959d 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 ad60f62e60 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 ebadb3b09f fixed detection of timezone on debian
removed add_new_switch temporarily, currently not supported
2015-11-26 13:20:04 +00:00
Matthew Vale 2fbd4e2aae Added check
will now throw if the config.lua could not be opened for writing
2015-11-26 11:23:52 +00:00
Matthew Vale 4746deab5b Migrated styling into template 2015-11-25 15:31:33 +00:00
Matthew Vale 9a0f56668d Updated detected configuration 2015-11-25 15:19:00 +00:00
Matthew Vale e7347283ca 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 ea86150b33 Merge remote-tracking branch 'remotes/fusionpbx/master' into Install_Rewrite
Conflicts:
	themes/enhanced/app_defaults.php
2015-11-20 10:50:27 +00:00
Matthew Vale b4c6b7247d Bugfix 2015-11-19 14:57:47 +00:00
Matthew Vale d00f7a31e1 Added more ringer types
corrected reference to ssl dir to use $conf_dir
moved countries list out to its own file so it can be maintained easier
(and used by other apps)
2015-11-19 14:54:04 +00:00
Matthew Vale 6bc2186808 Added External IPv6 support
created the external IPv6 profile
2015-11-19 13:57:23 +00:00
Matthew Vale 26c749edb0 BugFix + Optional Enable extensions appear in directory
BugFix to respect http_domain_filter when auto creating
setting provision> directory_extensions populates $extensions as a
contacts array in provisioning
2015-11-19 13:17:01 +00:00
Matthew Vale 1e37ce5d3a Optimized control of background images
It is now possible to have the default setting to enable background
images (via theme > enable_background_images) but have a domain turn it
off again as they want to use gradients or specific images.
Upgrading any installation that already has any background_image enabled
will cause enable_background_images to turn on to let it continue to
work.
Including support code that the new install system will utilize, should
not affect existing systems.
2015-11-19 11:33:07 +00:00
Matthew Vale 352f03198e Resolved install issues, environment now in tact enough to run app_defaults 2015-11-18 17:30:43 +00:00
Matthew Vale cc001acb4a Merge remote-tracking branch 'remotes/fusionpbx/master' into Install_Rewrite 2015-11-18 17:08:37 +00:00
Matthew Vale 4a9b28505a re-added file to file conflict 2015-11-18 17:05:10 +00:00
Matthew Vale 67b9706030 removed old installers 2015-11-17 17:02:39 +00:00
Matthew Vale 0f40a48c2b Initial Rewrite 2015-11-17 17:02:38 +00:00
Mafoo 22d31bb5f5 Merge pull request #3 from fusionpbx/master
Merge from master
2015-11-17 16:59:50 +00:00
Matthew Vale b8ead99a14 added support to name the languages
added remaining flags i have from the famfamfam set and renamed them to country names
2015-11-17 16:20:14 +00:00
Matthew Vale 900c1469b1 Enhancements to language support (for future use)
optimized the text.php to check the language code once, not every time
2015-11-16 09:41:34 +00:00
Matthew Vale 9e637d2801 made button elements render the same as input.btn 2015-11-12 11:10:34 +00:00
Matthew Vale b3133f1eb1 missed none when pasting new code 2015-11-09 11:49:09 +00:00
Matthew Vale 131954137a Bugfix for destinations_edit.php
the tr_fax_detecion segment is optional so causes the onchange_type javascript to stop when it can't find it.
2015-11-09 11:47:15 +00:00
Matthew Vale b3937d9410 added England bank holidays
currently it is not possible to integrate floating days (Christmas falling on a Sunday causing Tuesday to become holiday)
or Easter, as it isn't a fixed rule for what day
2015-11-03 15:15:33 +00:00
Matthew Vale 8e9c961a18 bugfix when retrieving region 2015-11-03 14:34:29 +00:00
Matthew Vale f53cf0ec41 initial rewrite of time_conditions 2015-11-03 14:23:52 +00:00
Matthew Vale b073d792d5 fix to use phrases_dir
changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths
2015-11-03 11:16:05 +00:00
Mafoo 85b01a6cab Merge pull request #2 from fusionpbx/master
Merge from master
2015-11-03 10:30:18 +00:00
Matthew Vale 35762486e1 reverted so branch is consistent for patch 2015-11-02 17:32:43 +00:00
Matthew Vale 8337af0fd4 corrected references to voicemail_dir
changed from $_SESSION['switch']['storage']['dir'].'/voicemail/' to correctly use $_SESSION['switch']['voicemail']['dir']
added missing storage_type to app_defaults.php
2015-11-02 17:22:13 +00:00
Matthew Vale fee216cc13 changed phrases_dir to be dealt with inside app_defaults.php so it is retrieved once like the other paths 2015-11-02 09:53:42 +00:00
Matthew Vale 8793159dad Fix. use settings for the phrases path rather than assuming 2015-10-30 16:16:56 +00:00
Mafoo 01a43f35fd Merge pull request #1 from fusionpbx/master
Merge from master
2015-10-30 16:04:26 +00:00