Commit Graph

1024 Commits

Author SHA1 Message Date
reliberate 4b709e0694 DB: Added Countries table. 2016-06-06 16:13:57 -06:00
reliberate 02dce2d495 Dashboard: Tweak Device dashboard component styles. 2016-06-02 18:41:39 -06:00
reliberate 72687adef2 Security: Integrate Settings and necessary functions to enforce password complexity requirements.
Theme: Add basic password strength indicator bar.
Default Settings: Also verify correct Type (name) on Upgrade > App Defaults.
User: Show Nickname in Contact select if no Given or Family name.
Password Reset: Integrate hide and convert password fields method to prevent browser prompt.
2016-06-02 18:26:32 -06:00
FusionPBX 9e91d052b2 Update user_dashboard.php
Add device keys to the dashboard.
2016-05-28 19:55:23 -06:00
Mafoo 59ddf92f1b I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo a8b667cd0b Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
reliberate 7b45a631ee Users: Bug Fix - Group list now displayed in select box even when none have been assigned to the user. 2016-05-24 16:59:54 -06:00
reliberate 8d2a190099 Gateways: Fix paging and order by.
Devices/Users/Extensions: Visual adjustments.
2016-05-21 13:04:31 -06:00
FusionPBX 73605b4454 Update user_dashboard.php
Fix the CPU usage on the dashboard.
2016-05-06 01:20:57 -06:00
FusionPBX 4fcb367e8b Update user_dashboard.php
Use a different approach to get the CPU usage.
2016-05-05 22:52:30 -06:00
markjcrane ab911a17f2 Set the footer color. 2016-05-05 13:40:01 -06:00
markjcrane 7b9ca61637 Change the background color of the footer during the install. 2016-05-05 13:33:02 -06:00
reliberate 2b6f51024d Theme: Integrate ability to use Google Fonts. 2016-05-05 12:57:08 -06:00
markjcrane 3abaff004c Check the missing array has content before processing it. 2016-05-04 00:22:35 -06:00
markjcrane 83f40ee7bf Change default setting for smtp_secure = tls. 2016-05-03 16:06:08 -06:00
reliberate 5956a3a17f Menu Manager: Add ability to customize main and sub menu icons. 2016-05-02 14:42:06 -06:00
markjcrane d3ea04c602 Re-enable hide PHP warnings for regular users. 2016-04-29 17:08:23 -06:00
markjcrane d31714580f Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-29 16:14:03 -06:00
markjcrane 68da8f9fe2 Remove an extra parenthesis on domain_delete.php. 2016-04-29 16:13:44 -06:00
FusionPBX a98d57902e Merge pull request #1569 from mafoo/Enhance-Install_PDO_Warning
Detect if there is at least one database driver
2016-04-29 16:10:56 -06:00
markjcrane 15a922cbf2 Correct the syntax. 2016-04-29 16:09:39 -06:00
markjcrane 6df5aa0dde Check additional arrays to see if they are exist before using them in a foreach. 2016-04-29 16:04:10 -06:00
mafoo 2004144eba Detect if there is at least one database driver 2016-04-29 21:54:04 +01:00
markjcrane d516db8b30 Make sure the array exists before using it in group_permissions.php. 2016-04-28 21:18:26 -06:00
markjcrane bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
markjcrane f204f6189e State the full path for which. 2016-04-28 15:35:46 -06:00
markjcrane 1509a8ea11 Add the full path to the commands by using 'which' 2016-04-28 15:17:19 -06:00
Harry G. Coin 9986d2875b fix so maradb 10.1 install can create the database. 2016-04-25 21:34:44 -05:00
Harry G. Coin fd313a7c66 fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
Harry G. Coin aaf6bb8f96 Fix to cure uninitialized variable warnings whenever schema is called.
Also many minor warning bug fixes in schema.php
Might as well take the plunge and go to default show warnings.
Uninitialized variable and small bug fixes install fusionpbx
2016-04-25 21:09:14 -05:00
Harry G. Coin 93cee9d479 Patch to support sendmail, qmail, mail.
Also allow port to be set without munging host string (easier to change from 25/465/custom/etc).
2016-04-25 20:58:28 -05:00
Harry G. Coin 91a92d8e5e \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
Harry G. Coin 89e5ecbcdf The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
reliberate 48876aa39b Users: Correct username input field type (from 'txt' to 'text'). 2016-04-25 15:07:42 -06:00
FusionPBX 3b73e0c1d1 Update user_dashboard.php
Add an inline if statement to the user dashboard.
2016-04-22 13:43:02 -06:00
markjcrane 2b1ede0b70 Only set switch default settings for variables that are enabled. 2016-04-15 19:44:55 -06:00
markjcrane 406c36b6b4 Only set the SESSION variables from default settings for the switch category. 2016-04-15 19:39:55 -06:00
markjcrane a59bfe1021 Change the object name install_fusionpbx.php uses dbh instead of db. 2016-04-15 19:31:47 -06:00
markjcrane 157f49a303 Update the install to set the default setting session variables. 2016-04-15 19:27:19 -06:00
markjcrane df9d9a5e9d Fix the redirect on two more files. 2016-04-15 18:40:23 -06:00
markjcrane 4a564a1215 Use a more efficient way to add the default settings. 2016-04-15 09:24:55 -06:00
markjcrane 6e5fe31303 Schema use $this->$db instead of $db. 2016-04-14 21:51:11 -06:00
markjcrane f16259f268 Work on the install. 2016-04-14 21:14:40 -06:00
markjcrane 5ca4307ef1 Combine some of the default settings. 2016-04-14 20:11:47 -06:00
reliberate 53b07c67f7 Misc: Fix datetimepicker on Time Conditions, CDR, Contact Times, etc.
Misc: Fix textarea height.
Theme: CSS adjustments to correct misc bugs.
2016-04-13 13:23:07 -06:00
reliberate 2732c4253a Dashboard: Remove unnecessary inline cursor style, minor mods.
Call Routing: Minor mods.
2016-04-12 10:20:40 -06:00
Nate 3fbf656c0f Merge pull request #1544 from moteus/dashboard_session_count
Fix. Display session count on User Dashboard.
2016-04-12 10:10:52 -06:00
Alexey Melnichuk 5971e716c4 Add. Make `Channels` link that point to `Active calls` 2016-04-12 16:25:06 +03:00
Alexey Melnichuk c8a12bf254 Fix. Display session count on User Dashboard.
Also it does not request information about all active calls which can be quite huge.
2016-04-12 16:18:19 +03:00
Alexey Melnichuk 8fe3e4c583 Fix. Display `Switch Uptime` on User Dashboard. 2016-04-12 15:42:17 +03:00
reliberate 1f1f8abd03 Theme: Integrate settings to control button styles and form input styles.
Dashboard: Remove table row hover and pointer cursor if not linked.
2016-04-11 17:52:58 -06:00
reliberate 7e8920d196 Fun Stuff: http://pasteboard.co/1ormWYp.png
Login: Add settings to style Reset Password (and related) text links, add (disabled) settings to display domain name field.
Theme: Add settings to control login box border size, color, radius and padding.  Explicitly defined placeholder text color/opacity (where possible).
2016-04-07 19:35:39 -06:00
reliberate 2ca9bd75e4 Dashboard: Fix issue with Ring Group Forward not saving changes.
Misc: Restore/Fix some missing/botched HTML tags.
2016-04-07 14:14:32 -06:00
reliberate debf81d9e2 Default/Domain/User Settings: Handle boolean value for menu_main_icons setting. 2016-04-05 17:24:22 -06:00
markjcrane bd1f5b4388 Run upgrade to call app defaults. 2016-04-03 13:46:46 -06:00
markjcrane f3a0a8b153 Add a default group check. 2016-04-03 11:54:09 -06:00
markjcrane c5d295ef2a Add users and groups php class. 2016-04-03 11:47:06 -06:00
markjcrane 65a2cec4ab Update install freeswitch commented out copy scripts and create config lua as they handled in other code. Update install fusionpbx adding switch directories and creating groups handled in other code. When testing is completed will be removed from the code. 2016-04-03 08:39:47 -06:00
markjcrane 7d61371bc9 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane 11f4fea479 Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated. 2016-04-02 08:32:43 -06:00
FusionPBX 933406c4f6 Merge pull request #1530 from moteus/install_new_db
Fix. Install with create new database for PgSQL/MySQL
2016-04-02 00:44:26 -06:00
FusionPBX cc4ef905a9 Merge pull request #1519 from moteus/install_config_lua
Fix. Generate same `config.lua` on install as on Upgrade.
2016-04-02 00:40:52 -06:00
reliberate 14973b5c97 Functions: Enhance img_spacer() function.
Dialplan Edit: Integrate img_spacer() to fix row divider.
Default/Domain/User Settings: Use img_spacer() function for color swatches.
Contact Times: Adjust for recent changes on img_spacer() function.
2016-04-01 19:44:26 -06:00
reliberate a390e41910 Dashboard: Minor visual adjustment on Voicemail block. 2016-03-31 18:13:16 -06:00
markjcrane db122a3da6 Allow deleting system default groups. 2016-03-31 11:01:39 -06:00
reliberate b8814206b9 Dashboard: Enable relevant System Counts block for Admin. 2016-03-31 10:30:30 -06:00
reliberate 38e349a1e6 User Edit: Fix logic used on Enabled field. 2016-03-31 09:48:30 -06:00
reliberate ee100c6769 Default Settings: Enhance swatch display on color values. 2016-03-30 17:43:57 -06:00
reliberate a9db46254b Default Settings: Added ability to toggle the enabled state of checked settings. 2016-03-30 16:44:51 -06:00
reliberate 83f1a19abb Dashboard: Include settings in app_defaults to display Call Routing and Ring Group Forwarding controls for the users group. 2016-03-30 15:53:12 -06:00
reliberate 428bd04def Dashboard: Corrected app_defaults to create missing Dashboard entries in Default Settings. 2016-03-30 15:42:25 -06:00
reliberate 91b736ff2c Dashboard: Added settings to app_defaults to enable certain blocks in the dashboard by default. 2016-03-30 15:32:06 -06:00
reliberate 539489640b Dashboard: Integrate Settings to control theme/style of Dashboard elements. 2016-03-30 14:41:45 -06:00
Alexey Melnichuk 9657d3ef04 Fix. Install with create new database for PgSQL/MySQL
* MySQL/PgSQL ignore error while create new user because user may already exists.
* MySQL on database page use same checkbox like one for PgSQL
* MySQL/PgSQL if create user empty try use db user.(may be better use root/postgres without pass)
* PgSQL fix `GRANT ALL ON DATABASE dbname` instead of `GRANT ALL ON dbname`
* MySQL fix connect string build
* MySQL fix use correct password to connect
2016-03-30 15:05:25 +03:00
reliberate e75da3f149 Dashboard: Rename dashboard setting for Call Routing visibility. 2016-03-29 16:41:24 -06:00
reliberate 6b0aa41872 Dashboard, Call Routing, Ring Groups language file fix. 2016-03-29 16:36:39 -06:00
reliberate 28084dc0ff Call Routing: More responsive layout, includes additional info in list view. 2016-03-29 16:28:17 -06:00
reliberate ef755cf9da Theme: Minor CSS tweaks.
Ring Groups: Rework forwarding controls - integrate into Dashboard view and Ring Group edit page.
2016-03-29 14:15:01 -06:00
Alexey Melnichuk 26b376cad8 Fix. Generate same `config.lua` on install as on Upgrade. 2016-03-29 14:43:58 +03:00
reliberate 334ce42827 Settings: Paging - Modify description to include "Default: 50". 2016-03-28 23:08:20 -06:00
reliberate cd7843b7f3 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
reliberate 7c5176cf41 Theme: Add additional Settings to control the style of various elements, remove old css classes.
Default/Domain/User Settings: Add color previews in list view.
2016-03-28 22:29:15 -06:00
markjcrane d5ce655a3d Fix the menu_delete add a delete to get remove data in menu_languages table. 2016-03-27 14:58:11 -06:00
markjcrane 8be2b551d5 Remove the create_menus() from the install as it is now handled in the menu class. 2016-03-27 02:15:27 -06:00
markjcrane 46cec34644 Fix v_settings update sql command in app/settings/app_defaults.php. 2016-03-26 23:59:28 -06:00
markjcrane 812f41b48e Add the menu_default method to app_defaults.php. 2016-03-26 22:59:00 -06:00
markjcrane 21143da0ef Minor adjustment to the checkbox. 2016-03-26 19:51:44 -06:00
markjcrane 6a3c9cc945 Fix two of the button labels. 2016-03-26 19:35:24 -06:00
markjcrane 7bc74b374a Fix a the name of a few of the install buttons. 2016-03-26 19:29:04 -06:00
markjcrane 651f9806fb Update the install.php. 2016-03-26 19:17:33 -06:00
markjcrane ac4aef20b0 Change the code in the menu to return immediately if the database object is not ready in this case its not ready until the install.php is finished. 2016-03-26 13:36:00 -06:00
markjcrane 883a0ecdeb Remove the conflict install language is set with the radio buttons. 2016-03-26 13:14:57 -06:00
markjcrane 9c49a0ce54 Remove the fieldset and label as the alignment is not working with bootstrap. 2016-03-26 13:09:22 -06:00
markjcrane ae125390c3 Adjust the width of the language section of the install. 2016-03-26 12:35:40 -06:00
markjcrane 5eef464cf3 Additional work to improve the install, template and the menu. 2016-03-26 12:22:15 -06:00
markjcrane 90f30c53d7 Fix the install.php. 2016-03-26 09:18:36 -06:00
reliberate 7a2fc74481 Enhance: Default Theme - enable menu style and positioning options. 2016-03-25 19:38:57 -06:00
markjcrane 6631061d70 Set the default theme as the default. 2016-03-25 16:30:35 -06:00
reliberate 13e3aa4fa8 Added: Bootstrap Framework - initial integration.
Added: Bootstrap Plugins - DateTimePicker, ColorPicker (in multiple apps)
Added: Default Theme - responsive
Removed: RightJS Framework - no longer needed.
Removed: Accessible Theme - superseded by Default theme.
Removed: Minimized Theme - superseded by Default theme.
Enhanced: Menu - responsiveness added.
Enhanced: Dashboard - responsiveness added.
Etc.
2016-03-25 16:29:20 -06:00
FusionPBX 1eb5b54119 Merge pull request #1491 from dis45927/master
Fix bug preventing mysql database creation
2016-03-24 21:47:11 -06:00
reliberate bab6f047f9 User Settings: Select query fix, case adjustment on Domain Template select option labels. 2016-03-21 16:54:59 -06:00
reliberate fddd3d98ea Dashboard: Fix Memory & Disk Usage stats. 2016-03-21 10:45:03 -06:00
markjcrane 468f4f859c Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-03-20 13:52:00 -06:00
markjcrane ab4fb51355 Fix the install title. 2016-03-20 13:51:17 -06:00
reliberate 30655054c0 Dashboard: Enhance with priority numbers and additional System Count items.
Devices: Fix missing translation.
Voicemails: Fix missing translation.
2016-03-20 03:22:29 -06:00
markjcrane e984d7e00a Update the IVR Menu class to make dialplan more modular. Add option for LUA or application IVR. 2016-03-19 19:06:06 -06:00
markjcrane b626edb480 Minor change to indent on one line. 2016-03-19 18:23:19 -06:00
reliberate 51275443c5 Voicemail: Add bulk delete ability for Messages, instant saved indication when playing/downloading, and table row click to play.
Dashboard: Minor code cleanup.
2016-03-19 13:54:24 -06:00
reliberate be721b1686 Default/Domain/User Settings: Uncheck the 'Check All' checkbox for a category when a subcategory item is unchecked.
Default Settings: Hide the 'Check All' checkboxes when using the search.
2016-03-17 08:45:07 -06:00
dis45927 2045b52af1 Fix bug preventing mysql database creation 2016-03-15 10:30:33 +00:00
reliberate 10c99b93b5 User Dashboard: Restore Click-to-Call functionality. 2016-03-14 18:59:30 -06:00
FusionPBX 80063e00bf Merge pull request #1471 from mafoo/WhitespaceClean-core/batch
WhitespaceClean-core/batch
2016-03-11 13:35:06 -07:00
FusionPBX 68a121cd66 Merge pull request #1462 from mafoo/BugFix-Translation-True_False
BugFix-Translation-True_False
2016-03-11 13:24:13 -07:00
FusionPBX 15b432ab52 Merge pull request #1470 from mafoo/WhitespaceClean-core/install
WhitespaceClean-core/install
2016-03-11 13:22:30 -07:00
markjcrane b135f6b120 Change device_provision_enable to device_enabled to make it consistent with the rest of the fields that are used for to enable and disable something. 2016-03-11 11:46:02 -07:00
mafoo 1f609dc806 WhitespaceClean-core/batch
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:06:20 +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
mafoo 4131a70c02 BugFix-Translation-True_False
fixed various uses of ucwords() to render true/false to use
$text[label-*] instead
2016-03-11 11:34:52 +00:00
reliberate 436dc3b28f User Dashboard: Temporarily disable click-to-call till properly fixed. 2016-03-10 17:03:24 -07:00
reliberate df5e1fc87e Dashboard: Removed testing code on click-to-call function. 2016-03-10 16:49:26 -07:00
reliberate a9237ef3fa User Dashboard: Add blocks with additional customizable information (voicemail count, missed calls, recent calls, system counts, domain limits, and system status).
CDR: Adjust icon status and missed call filter to be more accurate, simplify User's view of CDR, add additional call result filter.
2016-03-10 16:29:47 -07: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 2378db990f Remove the limit on the setting value of 255 as it blocks the length fax footer. 2016-03-07 12:04:07 -07:00
reliberate ac39f4c207 User Dashboard: Tweak user settings link and voicemail button. 2016-03-03 19:35:14 -07:00
reliberate 4f58ad58f5 User Dashboard: Remove comment, unnecessary language strings. 2016-03-03 19:12:16 -07:00
reliberate ce2490dafc User Dashboard: Minor layout optimizations.
Follow Me: Added search and minimized paging controls.
Extensions: Added minimized paging controls.
2016-03-03 19:01:58 -07:00
reliberate ca4b7691f2 User Settings: Fix delete setting, move bulk delete function to user_setting_delete.php. 2016-03-03 11:28:35 -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
reliberate 4191676600 Settings: Only allow Admin to Add/Edit authorized settings. 2016-02-29 12:06:18 -07:00
markjcrane 3ab5976328 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-02-29 11:43:48 -07:00
markjcrane f7be0cc943 Fix the comment on install_switch.php. 2016-02-29 11:43:32 -07:00
reliberate 017c946e16 Settings: Add interface for User Settings, add ability for Admin to manage (own) Domain and User Settings. 2016-02-29 11:39:46 -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
reliberate 18de6fab30 Account Settings: Bypass browser password manager prompt when saving. 2016-02-25 18:51:49 -07:00
reliberate 03f1f3a6db Default/Domain Setting: Bypass browser password manager prompt when saving. 2016-02-25 18:38:19 -07:00
reliberate 1d95ad0743 Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -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 e8bed6f611 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-02-04 23:19:23 -07:00
markjcrane 5e44128f70 Switch settings are not always needed so removing the "throw new Exception" 2016-02-04 23:18:48 -07:00
mafoo ca4e1b8a67 only offer the source upgrade if it is writeable
this check will prevent the source upgrade rendering if the .git folder
is not writeable
2016-02-04 11:14:26 +00: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 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
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 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 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 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
Alexey Melnichuk 183634a848 Fix. Create DB during web install. 2015-11-30 13:55:02 +03:00
markjcrane e1214116f4 Missed a set of round brackets on this->exists. 2015-11-27 19:53:30 -07:00
markjcrane e0ff445922 Rename the config.php file and a few minor adjustments to install_fusionpbx. 2015-11-27 19:03:25 -07:00
markjcrane d447f10c03 Move config.php into install -> app defaults method. 2015-11-27 18:13:13 -07:00
markjcrane 12416cb972 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 74bdef67f8 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 fd65c15bb4 Add some translations for the install. 2015-11-27 17:14:44 -07: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
markjcrane 7e18d6d122 Remove the old reference to install class and replaced with install_switch. 2015-11-25 21:55:17 -07:00
markjcrane ec44f93afd Another minor adjustment. 2015-11-25 18:18:48 -07:00
markjcrane 1ea8a721fb Fix the syntax by adding a missing semi-colon. 2015-11-25 18:17:48 -07:00
markjcrane cbfaaa2ae1 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 a30b0b56ab 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 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