Commit Graph

680 Commits

Author SHA1 Message Date
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 14b873f5db corrected spelling mistake 2015-11-26 18:25:46 +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 ca6bd18b64 Corrected incorrect merge 2015-11-26 17:53:02 +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
Matthew Vale f819eaf65c Added check
will now throw if the config.lua could not be opened for writing
2015-11-26 11:23:52 +00:00
markjcrane 35752445c3 Remove the old reference to install class and replaced with install_switch. 2015-11-25 21:55:17 -07: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 192ef9fc3f Merge remote-tracking branch 'remotes/fusionpbx/master' into Install_Rewrite 2015-11-18 17:08:37 +00:00
Matthew Vale 702466ea52 Initial Rewrite 2015-11-17 17:02:38 +00:00
Matthew Vale e66b2f831a 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 b9e8b3ef03 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
Matthew Vale c1b5895219 reverted so branch is consistent for patch 2015-11-02 17:32:43 +00:00
Matthew Vale 3a9f2b0f24 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
markjcrane 76994ded8a Update translation for de-at. 2015-10-29 09:43:57 -06:00
markjcrane e778153be6 A few minor adjustments. 2015-10-10 16:41:46 -07:00
markjcrane 71ddf1953e Add dialplan detail inline and group. 2015-10-10 16:35:04 -07:00
markjcrane b8f5337b14 Complete the sql string. 2015-10-10 16:27:57 -07:00
markjcrane 0ae31f75b9 Add code to update dialplan timezone per domain when setting the time_zone on the domain settings. 2015-10-10 15:43:11 -07:00
markjcrane 82135ed2ac DRY out the code a little. 2015-10-10 15:41:51 -07:00
markjcrane 891fc84cec A few more adjustments to make the time_zone setting save to vars.xml. 2015-10-10 13:21:24 -07:00
markjcrane f5423911c8 Correct the syntax and make it more efficient. 2015-10-10 12:09:37 -07:00
markjcrane a1744e8374 When timezone is set in default settings update freeswitch timezone variable. 2015-10-10 11:26:55 -07:00
markjcrane d667a31140 Change xml handler load balancing to xml_handler/resources/scripts/directory/directory.lua["fs_path"] 2015-10-08 11:03:48 -07:00
markjcrane d0ac25c265 Move the xml handler expire and debug settings to config.lua. 2015-10-08 08:34:35 -07:00
markjcrane 8c9ca17e5c Add default settings -> domain -> bridge -> text -> outbound to avoide loopback however loopback is also an option. 2015-10-07 10:45:28 -07:00
markjcrane 584887441d Adding autocomplete="off" back in case browser developers realize there are legitimate reasons to use it. 2015-09-19 18:02:31 -06:00
markjcrane fb7a8923ef Another case where autocomplete creates a problem. New user account creation does not benefit from autocomplete. It assumes the user is the currently logged in user which is not what you want on a form to add new users. This code adds an autocomplete honey pot to defeat the browser developers poor assumption. 2015-09-19 17:51:16 -06:00
markjcrane 88eed0c35b Browser developers disabled autocomplete in most browser. A move that makes an assumption that autocomplete is always good. In this particular case it creates a bug. There are a few legitimate reasons to disable autocomplete. In this case I'm disabling it as we are only updating the password when its provided by the user. In this case the user may be and administrator changing a user a password in this case autocomplete would offer the wrong password. Another case have two password fields that must match if both passwords are empty then the passwords are not updated allowing for other user settings to be updated. 2015-09-19 17:42:02 -06:00
markjcrane a7915f6dd9 Remove the is_numeric on format_phone. 2015-09-15 21:53:14 -06:00
markjcrane 4a21d7a19d Remove a space and replace with a tab. 2015-09-09 09:43:00 -06:00
markjcrane fd2c1d3fd0 Update the domain code separate the domain code from the presentation. 2015-09-07 23:14:39 -06:00
markjcrane 808846ebca Change the format to display the count. 2015-09-04 22:06:09 -06:00
markjcrane 650e091891 Show the number of users and move the registration count to the front. 2015-09-04 21:51:51 -06:00
markjcrane 8a9ea414a6 Fix the session rotate default setting type and value. 2015-08-21 11:25:40 -06:00
markjcrane 0a41b069fc Add a new default settings -> security -> session_rotate. 2015-08-21 11:21:08 -06:00
markjcrane 25a3dd946f Change the email defaults. 2015-08-15 19:41:07 -06:00
markjcrane 16527f49da Remove domain parent which is confusion and expectations of it working in some particular way. 2015-08-13 16:55:42 -06:00
Alexey Melnichuk 69717e31d5 Revert "Revert "Change. Use `require "resources.functions.config"` to load co…" 2015-08-11 05:06:33 +03:00
FusionPBX d1f3b05cf6 Revert "Change. Use `require "resources.functions.config"` to load config file." 2015-08-10 11:50:29 -06:00
FusionPBX 8d9430352b Merge pull request #1053 from moteus/require_config
Change. Use `require "resources.functions.config"` to load config file.
2015-08-10 11:31:35 -06:00
markjcrane 4ed7adeebc Move the email settings into default settings app_defaults.php. 2015-08-03 10:11:41 -06:00
root 22c146f7f4 Add latest translations 2015-08-02 23:42:11 +00:00
markjcrane 994bd984dd Add a permission check to core/domain_settings/domain_edit.php. 2015-07-25 22:52:57 -06:00
markjcrane 6392bff01a Domain name edit only perform the actions if the features are installed. 2015-07-24 14:05:02 -06:00
markjcrane 8c5b7c318d Only include if the domain_setting_edit permission has been assigned to the current user. 2015-07-24 08:59:13 -06:00
markjcrane b8a4162d21 Remove setting the domain array again as its redundant. 2015-07-23 17:51:39 -06:00
markjcrane c0b7596fe5 Fix a problem with groups not showing up on PHP 5.5.9. 2015-07-22 16:02:06 -06:00
Alexey Melnichuk 2234b42c07 Change. Use `require "resources.functions.config"` to load config file.
Change. Move `script_dir` definition into config file.
2015-07-22 13:20:51 +04:00
markjcrane 5dfbc2e183 Improve code to update the scripts directory. 2015-07-20 15:32:52 -06:00
Alexey Melnichuk b72a39d6e3 Change. Use odbc connector if there exists odbc database
It needs because on windows FreeSWITCH builds without native support PostgreSQL.
2015-07-13 15:04:33 +04:00