Commit Graph

3781 Commits

Author SHA1 Message Date
FusionPBX 77456fc29c Update module_edit.php
Set the order to label-order.
2016-05-24 23:26:51 -06:00
FusionPBX fa60cfdc3e Update module_edit.php
Add module order to module_edit.php.
2016-05-24 23:16:30 -06:00
FusionPBX df714fb633 Update app_config.php
Add module_order.
2016-05-24 23:12:01 -06:00
Chris Black 43543f8b0c remove SMS (#1612) 2016-05-24 12:57:46 -06:00
Chris Black a78d09cfd5 Add support for twilio (#1610)
added support for twilio and made it a bit easier to add support for
other carriers as well.
2016-05-24 02:02:36 -06:00
FusionPBX 6718c13ced Update app_defaults.php
The sip profiles are being read from the templates/conf directory so copying the files is not needed.
2016-05-23 21:37:21 -06:00
reliberate bf5f1223af Gateways: Fix paging and order by.
Devices/Users/Extensions: Visual adjustments.
2016-05-21 13:04:31 -06:00
reliberate 58a485517e Ring Group Forward: Don't include footer.php if is included within the Dashboard. 2016-05-21 11:51:26 -06:00
markjcrane 0cc9a01a5a Add ability to assign a single user to a device. 2016-05-20 10:39:16 -06:00
markjcrane 5d532ede0c Create yealink_time_zone_start_time and yealink_time_zone_end_time automatically. 2016-05-19 12:47:03 -06:00
Chris Black 93fe11851b Flowroute SMS (#1603)
* Fix Yealink provisioning for contacts/groups

Fix the Yealink provision templates to allow for directory_extensions,
groups and users.

* Fix group_uuid and user_uuid messup

* Yealink directory and provisioning changes

Includes the changes from PR 1582 with some fixes to the SQL.

Also merged all the directory_* options into ONE directory.xml

Will need to call the it with any of these:

http://mydomain/app/provision/?file=directory.xml&contacts=groups

http://mydomain/app/provision/?file=directory.xml&contacts=users

http://mydomain/app/provision/?file=directory.xml&contacts=extensions

http://mydomain/app/provision/?file=directory.xml&contacts=all

* Flow route SMS
2016-05-19 12:09:49 -06:00
FusionPBX 4f35edbc49 Update scripts.php
Remove this code as its breaking the upgrade page when migrating from source to package paths.
2016-05-15 08:57:59 -06:00
SJS87 40a3613cd7 E.164 format support - contact_phone_edit.php (#1581)
The + prefix is being removed, this should be ignored for the very start of the string, resolution below.

Line 69.
Replace:
$phone_number = preg_replace('{\D}', '', $phone_number);
With:
$phone_number = preg_replace('{(?!^\+)[\D]}', '', $phone_number);
2016-05-13 08:42:34 -06:00
markjcrane 3ea3fa4436 Use effective_caller_id_name and effective_caller_id_number with follow me. 2016-05-13 08:21:58 -06:00
Chris Black 7b99a14f67 Yealink directory listing for extensions, groups, users contacts (#1588)
* Fix Yealink provisioning for contacts/groups

Fix the Yealink provision templates to allow for directory_extensions,
groups and users.

* Fix group_uuid and user_uuid messup

* Yealink directory and provisioning changes

Includes the changes from PR 1582 with some fixes to the SQL.

Also merged all the directory_* options into ONE directory.xml

Will need to call the it with any of these:

http://mydomain/app/provision/?file=directory.xml&contacts=groups

http://mydomain/app/provision/?file=directory.xml&contacts=users

http://mydomain/app/provision/?file=directory.xml&contacts=extensions

http://mydomain/app/provision/?file=directory.xml&contacts=all
2016-05-12 11:22:40 -06:00
markjcrane 8e01682c3c Fix a minor issue. 2016-05-11 18:42:30 -06:00
markjcrane e3792a33a6 Additional work on caller id name and number. 2016-05-11 18:37:01 -06:00
markjcrane 07b6b54396 Add the new column source_number. 2016-05-11 18:21:36 -06:00
markjcrane e752e5fab7 Additional work on the destination_number on the new xml cdr import tool. 2016-05-11 17:58:43 -06:00
markjcrane 1833df9567 Fix the syntax to the last commit. 2016-05-11 17:05:06 -06:00
markjcrane e1f0c205c7 Add source_number and change the destination_number to the number sent to the carrier. 2016-05-11 16:23:42 -06:00
markjcrane b27b11fe40 Add a new permission number_alias. By default hide it to prevent confusing users. 2016-05-11 13:36:31 -06:00
markjcrane 72c366518f Fix some warnings more warnings. 2016-05-11 13:23:53 -06:00
markjcrane ee3ff3f7b1 Change default permissions on ring groups. 2016-05-11 13:05:56 -06:00
markjcrane cbd78f0e74 Change extension permission defaults. 2016-05-11 13:03:06 -06:00
markjcrane 0564c99938 Run array unique and sort only on groups array if it exists. And use is_array instead of isset on the conditions that test if it is an array. 2016-05-11 09:20:10 -06:00
markjcrane 421ab16a6a Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-05-11 09:06:29 -06:00
markjcrane f4e952d798 Check each array if it exist with for every foreach in the operator_panel/index_inc.php. 2016-05-11 09:06:14 -06:00
FusionPBX 0852d05788 Update voicemail.php
Don't use is_array with glob.
2016-05-10 22:53:42 -06:00
FusionPBX c0a2059ac8 Update voicemail.php
Use is_array with foreach in the voicemail php class.
2016-05-10 22:51:03 -06:00
markjcrane e6ad8083f7 Fix data types on the new music on hold and add the path. 2016-05-10 19:19:47 -06:00
markjcrane d5b69dec32 Working on music on hold. 2016-05-10 19:09:45 -06:00
FusionPBX 0cca642562 Update app_defaults.php
Move the if ($domains_processed == 1) { so none of the code is processed more than one time.
2016-05-10 12:56:33 -06:00
FusionPBX 8220f74cc5 Update app_defaults.php
Add media_mix_inbound_outbound_codecs to true by default.
2016-05-10 12:46:03 -06:00
markjcrane 9e20f0a570 Update the record count for extensions list. 2016-05-07 18:06:36 -06:00
markjcrane 9d0eac2111 On the extensions page use is_array($extensions) instead of $num_rows 2016-05-07 17:37:24 -06:00
markjcrane 2378ace5a8 Change the method to detect if the array exists for extensions. 2016-05-07 17:27:27 -06:00
markjcrane 1aa2547358 Fix a missing bracket from the last commit. 2016-05-07 16:15:15 -06:00
markjcrane eaadc99e88 To prevent all warnings for XML CDR Details check all arrays. 2016-05-07 12:28:07 -06:00
markjcrane 268f51132b Fix the warning on XML CDR details. 2016-05-07 11:48:46 -06:00
Alexey Melnichuk 937821da68 Fix. Do not populate invalid paths. (#1585)
Problem when `opendir($dir)` returns `false` and then
while cycle adds many empty strings which produce in the end
```
/etc/freeswitch/tls
/etc/freeswitch/tls/
/etc/freeswitch/tls//
/etc/freeswitch/tls///
/etc/freeswitch/tls////
/etc/freeswitch/tls/////
/etc/freeswitch/tls//////
/etc/freeswitch/tls///////
```
2016-05-06 09:28:10 -06:00
Alexey Melnichuk f1c31e0935 Escene provision (#1140)
* Add. Provision to Escene ES330/ES320

* Add. Look up Escene device by ext+domain.

* Update Escene template.

* Add. `provision` section in config.

Found than ES330 some time hangup when it try get software/core and get error from fusion.
2016-05-06 01:49:43 -06:00
reliberate 2307cef9c8 CDR: Fix PHP warnings regarding paging. 2016-05-05 13:54:17 -06:00
markjcrane f9e5ac74a6 Fix the problem with active call center displaying correctly. 2016-05-04 23:18:55 -06:00
markjcrane f3ef1154e2 Disable limit and offset when exporting CDR to CSV. 2016-05-04 22:35:05 -06:00
markjcrane 097a5d8ade Check the missing array has content before processing it. 2016-05-04 00:22:35 -06:00
markjcrane 37e46ed2c9 After making changes to the IVR Menu flush memcache for the IVR. 2016-05-03 23:09:18 -06:00
Alexey Melnichuk 81b965496f Fix. Set all allowed extensions while default settings. 2016-05-02 23:59:47 -06:00
reliberate 5a178625d5 Menu Manager: Add ability to customize main and sub menu icons. 2016-05-02 14:42:06 -06:00
markjcrane 17620586c4 Add a new xml_cdr_import.php and add limit and filter options to the xml_cdr.php class. 2016-05-01 17:44:53 -06:00
markjcrane 662ae4d986 Fix the dialplan import problem caused when checking if the array 'isset' one word was incorrect. 2016-05-01 08:21:15 -06:00
markjcrane 459f98ea14 Call direction outbound is set on the outbound route making it redundant and so removing it. 2016-05-01 08:08:30 -06:00
markjcrane 61a0dfe9f7 Improve the xml cdr class. 2016-04-30 00:33:35 -06:00
markjcrane 4427abbf52 Fix the warning for the interactive conference page. 2016-04-29 17:55:27 -06:00
markjcrane 1a6e8cd1c8 Check that the arrays exist for music on hold before using them. 2016-04-29 17:17:29 -06:00
markjcrane 4b6f4f3801 Make sure the array exists for the backup tool. 2016-04-29 17:13:36 -06:00
markjcrane 104d0a8584 Fix the access control list. 2016-04-29 17:01:04 -06:00
markjcrane 6d68c73f01 Verify that all arrays used in a foreach use isset for classes/dialplan.php. 2016-04-29 15:49:36 -06:00
markjcrane e80555091d Update the conference interactive permissions for the user group. 2016-04-29 10:31:03 -06:00
markjcrane 9500ce0d12 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-29 09:49:58 -06:00
markjcrane 9dd5667118 Change voicemail_id from text to numeric and remove the cast on voicemail_id. 2016-04-29 09:49:04 -06:00
FusionPBX 3e33a7c15c Merge pull request #1562 from moteus/display_long_extensions
Fix. Display long extensions (>9 digits)
2016-04-29 09:25:46 -06:00
markjcrane a87fbb058e Check to make sure the music on hold directory exists before trying to open it. 2016-04-28 22:36:55 -06:00
markjcrane 7efb8609a1 Check the whether the file exists before checking the size. 2016-04-28 22:23:15 -06:00
markjcrane 283e30b9fb Correct the str_to_named_array function so that the result is null. 2016-04-28 22:15:30 -06:00
markjcrane 5afd832204 Use isset on all arrays in call_center_active_inc.php. 2016-04-28 21:47:45 -06:00
markjcrane 47c18dc375 Check all arrays are set for the operator panel before using foreach. 2016-04-28 21:40:40 -06:00
markjcrane 2f48f47ba3 Check the array isset in active calls. 2016-04-28 21:29:54 -06:00
markjcrane 46dafa9660 Check to make sure directory does not exist before using mkdir. 2016-04-28 21:22:48 -06:00
markjcrane 471da2bca0 Add (!class_exists('extension')) 2016-04-28 16:57:42 -06:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
markjcrane 4e00ade9f8 Fix a filesize warning for provisioning using strlen instead. 2016-04-28 15:06:16 -06:00
FusionPBX d57a44ae23 Merge pull request #1557 from hcoin/fix-warnings
Mariadb 10.1, Freeswitch 1.6, Ubuntu Xenial LTS, Ldaps, warnings enabled, cli install/upgrade
2016-04-28 14:43:06 -06:00
Alexey Melnichuk a0c79a685a Fix. Display long extensions (>9 digits) 2016-04-28 14:37:58 +03:00
markjcrane 37f725d6ab Update the xml_cdr php class to get it operational. 2016-04-27 23:51:53 -06:00
markjcrane 0a039eb7b5 Add a new xml_cdr php class. 2016-04-27 13:24:59 -06:00
Harry G. Coin 2a070aff4f last fixes needed to support mariadb 10.1 2016-04-25 22:20:31 -05:00
Harry G. Coin cc553a70c5 Cleanups.
Remove default 192.168.42.42/32 allow.
Restore missing app/fax/resources/functions/parse_attachments.php to satisfy pre-existing include
Fix so sql in voicemail app works if var undefined.  Warning: don't know if non Mariadb's like cast(...) .
Cleanup close in event socket.
2016-04-25 22:16:19 -05:00
Harry G. Coin f02028629a 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 077059eeb1 Fix so fusionpbx doesn't fail on servers with php versions later than 5. (e.g. php7).
Also a few warning causes fixed.
Also, one step along the way to allow freeswitch to be u freeswitch g freeswitch and fusionpbx to run www-data:www-data.
2016-04-25 20:52:21 -05:00
Harry G. Coin 1f9ad42543 include omitted column name, partial fix to support mariadb 10.1. 2016-04-25 20:44:30 -05:00
Harry G. Coin f7fdcde5df ensure the directory variable actually has a directory name. 2016-04-25 20:40:23 -05:00
Harry G. Coin bda6861f88 \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 8abe003a71 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 f1300d1ac6 Theme: Revert CSS change.
Contacts: Change email input field type to 'text' instead of 'email'.
2016-04-25 10:34:39 -06:00
markjcrane 386dcb0521 Minor change to contact edit. 2016-04-22 10:35:27 -06:00
markjcrane 85439ff62e voicemail_id is not guaranteed to be numeric so can't use the cast unless we protect against non numeric ids. 2016-04-19 14:05:12 -06:00
markjcrane a62123c3e3 Add the lan acl as a default again. 2016-04-19 00:21:52 -06:00
markjcrane 38922f6bc5 Restore the path to config.lua. 2016-04-16 00:44:10 -06:00
markjcrane 6b7513dcb0 Use the connect method in the constructor. 2016-04-16 00:27:24 -06:00
markjcrane 9c0c7dbfcf Get the db_type, db_username, db_password, and more using the constructor. 2016-04-16 00:21:01 -06:00
markjcrane 37e42ae754 Set the full path to the config.lua script. 2016-04-15 23:16:19 -06:00
markjcrane 44850f0246 Set the sciprt directory from the session variable. 2016-04-15 19:57:29 -06:00
markjcrane 29e3c2eda2 Get the database connection for save_phrases_xml.php. 2016-04-15 19:52:21 -06:00
markjcrane 4b55af24f7 Add class_exists 2016-04-14 23:23:14 -06:00
markjcrane 317a47582e Update the scripts class. 2016-04-14 23:09:49 -06:00
markjcrane c2ecb23413 Add a contructor to the dialplan class. 2016-04-14 22:34:10 -06:00
markjcrane 3f5f268c15 Set extension summary to use GET instead of POST. 2016-04-14 21:11:05 -06:00
markjcrane 19f9bc58cd Remove the last contact_email field that was deprecated. 2016-04-14 20:13:40 -06:00
markjcrane 2d03d7f961 Update the extension summary in preparation to expand it further. 2016-04-14 15:08:16 -06:00
markjcrane 29ef9d4b6d Make the advanced -> command execute page more compact. 2016-04-14 14:50:06 -06:00
markjcrane c630449636 Remove contact_email from v_contacts table as this was replaced by the v_contact_emails table. 2016-04-14 10:40:25 -06:00
Alexey Melnichuk 85454fbc9c Add. `allowed_extension` array to specify allowed files in email. 2016-04-14 17:38:33 +03:00
reliberate aeabb4a072 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
FusionPBX 7961eb3b37 Merge pull request #1533 from moteus/dialplan_copy_check_str
Fix. Check string before build sql when do copy dialplan extension.
2016-04-12 12:40:01 -06:00
FusionPBX 68bbd8d0a4 Merge pull request #1541 from moteus/parse_imap_text
Improve mail parse
2016-04-12 12:39:37 -06:00
reliberate d423fa566d Dashboard: Remove unnecessary inline cursor style, minor mods.
Call Routing: Minor mods.
2016-04-12 10:20:40 -06:00
reliberate a8d39d53fa Call Control: Fix wrapping when mini paging controls visible. 2016-04-08 11:00:58 -06:00
Alexey Melnichuk eb1a13fc23 Change. `parse_message` do full parse test and attachments.
Change. use only `text/plain` part to build front page.
Change. use only `attachment` but not `inline` files to build fax file.
2016-04-08 12:31:13 +03:00
reliberate 3da09fc000 Command: Disable Find/Replace control, not compatible with Bootstrap. 2016-04-07 15:20:06 -06:00
reliberate 6a0465609f 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 798f94125f Theme: Integrate settings to customize the style of edit form tables (label, field, heading and row cells).
Editor: Prevent / (slashes) in clip name.
Dialplan Editor: Code cleanup, and minor adjustments for theme compatibility.
Functions: Add option to check_str() to skip string trim.
2016-04-07 12:00:19 -06:00
Alexey Melnichuk c9ba145f1d Fix. get text part of email message with single part email. 2016-04-07 13:11:24 +03:00
markjcrane f55c0c9ee3 Fix IVR Menu say and tone for long greeting. 2016-04-06 01:38:30 -06:00
markjcrane b8b1b0afb6 contact_group_uuid value is not working get the value from the database. 2016-04-06 00:39:27 -06:00
markjcrane 4431b99fc5 Fix the contact group delete button. 2016-04-06 00:33:52 -06:00
markjcrane e605cabc1a Fix assigning groups to contacts. 2016-04-06 00:27:57 -06:00
markjcrane 1476757605 Remove the lan access control list as its not needed by default. 2016-04-06 00:14:53 -06:00
markjcrane 0080578811 Update the script.php class use session event socket information for now. 2016-04-04 23:27:41 -06:00
markjcrane 7f082bdef3 Add a missing permission on backup. 2016-04-04 19:51:22 -06:00
Alexey Melnichuk d15820f167 Fix. Check string before build sql when do copy dialplan extension. 2016-04-04 14:41:18 +03:00
markjcrane df9d78a11f Get the script_dir path from event socket. 2016-04-03 09:47:58 -06:00
markjcrane 194dccfd93 Use is_dir instead of check for the length of the stirng. 2016-04-03 09:36:27 -06:00
markjcrane 1bfbbdb262 Only write the scripts if the directory is set. 2016-04-03 09:29:37 -06:00
markjcrane 2156d17da8 Rename to the switch_settings class. 2016-04-02 20:11:51 -06:00
markjcrane b5fbf389dd Change the switch class to freeswitch. 2016-04-02 19:37:37 -06:00
markjcrane 51ea37ed18 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane 562f000356 Add a new switch class with a method to get the directories needed for FreeSWITCH and add them to default settings -> switch category. 2016-04-02 17:53:51 -06:00
markjcrane 3ad26f1965 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
reliberate 4a4517a5ab 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 d73ea93a14 Voicemail: Show Add button even when no Voicemails exist.
Extensions: Integrate keyboard shortcuts (Ctrl+A to select all, Delete to delete checked).
2016-03-31 18:03:32 -06:00
reliberate 9cfedbf2e9 Function: Created key_press function to dynamically generate key detection javascript.
Voicemail: Ctrl+A checks all checkboxes, pressing Delete deletes the checked Voicemails.
Editor: Integrated key_press function.
Command: Integrated key_press function.
2016-03-31 17:11:37 -06:00
reliberate 34ab9676bb Editor: Add Default Setting descriptions. 2016-03-31 10:50:31 -06:00
reliberate 2836d5dda7 Editor: Create app_defaults to add related Default Settings. 2016-03-31 10:45:09 -06:00
FusionPBX 31c9fafc47 Merge pull request #1524 from moteus/extension_select_count
Fix. Display extension on MySQL.
2016-03-30 08:53:36 -06:00
reliberate a9a61105b3 SIP Profile Settings: Set paging at 200 records, add param. 2016-03-30 00:58:47 -06:00
markjcrane da0e54da44 Change some IVR Menu defaults as 0 is unlimited and 1 continues to the exit on the first error. 2016-03-29 21:10:43 -06:00
reliberate d853e357bd Dashboard, Call Routing, Ring Groups language file fix. 2016-03-29 16:36:39 -06:00
reliberate 7a1e3b7a0b Call Routing: More responsive layout, includes additional info in list view. 2016-03-29 16:28:17 -06:00
reliberate 94ed94f786 Ring Groups: Language file fixed. 2016-03-29 14:20:06 -06:00
reliberate a1dda766d8 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 04a0349050 Fix. Display extension on MySQL.
Problem that
```SQL
select (select count(*) as num_rows ...)
```
is  not the same as
```SQL
select (select count(*) ...) as num_rows
```

I think problem may be on SQLite too.
2016-03-29 19:00:59 +03:00
markjcrane 6976624c67 Remove the cast on app/calls/calls.php to fix non-numeric extensions. 2016-03-29 03:49:41 -06:00
markjcrane b7ee8d69c3 Fix the problem with non-numeric extension causing an error. Not certain we will keep this method but its an interesting solution. 2016-03-29 03:42:24 -06:00
reliberate 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
reliberate 5b97091e27 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
reliberate 2550d4b91d Language changes for last commit. 2016-03-28 18:07:02 -06:00
reliberate a03125fc53 Languages file for last commit (doh). 2016-03-28 17:58:19 -06:00
reliberate 0cb8ab5224 Theme: Replace image-based control icons with Bootstra Glyphicon buttons.
Voicemail Messsages: Added ability to toggle message status (saved/new).
2016-03-28 17:50:07 -06:00
reliberate 5793de2851 Destinations/Extensions/Voicemails: Better sorting ability. 2016-03-28 15:21:05 -06:00
reliberate 6fe526a22b Contact Timer: Replace PHP short tags. 2016-03-28 14:28:10 -06:00
reliberate 12967e6b67 Dialplan Edit: Style mods. 2016-03-28 09:57:03 -06:00
reliberate 403bcc5a2e Dialplan Edit: Disable text-overflow (for now). 2016-03-28 09:31:53 -06:00
reliberate 3f3956d345 Recordings/CDR: Fix audio playback and progress bar style. 2016-03-28 09:09:33 -06:00
reliberate 132df44989 Access Controls: Update layout/style. 2016-03-28 08:41:55 -06:00
reliberate 8c6b7deec1 Theme: Explicitly set file input class to be inline.
MOH: Revert last change.
2016-03-28 08:22:59 -06:00
reliberate 242059a777 MOH: Fix layout issue with file upload input and clear button. 2016-03-28 08:11:04 -06:00
reliberate d4acccae72 Call Routing: Improve order by - sort numerically. 2016-03-28 07:36:25 -06:00
Alexey Melnichuk 2e67edabbf Fix. Display extensions in order way 2016-03-28 11:54:47 +03:00
reliberate 95cf70bcd2 Import Contacts: Fix layout issue. 2016-03-27 03:00:05 -06:00
reliberate eb7f66e42e Command: Correct layout & styles. 2016-03-27 02:54:29 -06:00
markjcrane 2d6b3f3973 Change the app/emails/app_languages.php to UTF-8 encoding and used a spanish dictionary to fix the translations that were broken when converting file encoding. 2016-03-27 01:18:51 -06:00
markjcrane 6fa0cd2e2c Change the encoding type for app/emails/app_menu.php to UTF-8. 2016-03-27 01:10:29 -06:00
markjcrane 2107b2a1b5 Fix v_settings update sql command in app/settings/app_defaults.php. 2016-03-26 23:59:28 -06:00
markjcrane 4c1a5d6579 Remove agent_admin from call_centers/app_menu.php as it doesn't exist by default and causes an error. 2016-03-26 23:36:13 -06:00
reliberate d5c60df4fc 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
markjcrane bb4113e210 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-03-24 23:08:45 -06:00
markjcrane 4a31b2343e Change to the new context require renaming two variables to be consistent and to prevent a problem. 2016-03-24 23:08:23 -06:00
FusionPBX ddcb4cab28 Revert "Revert "Revert "search selects""" 2016-03-24 22:25:18 -06:00
FusionPBX d7b95e462b Revert "Revert "search selects"" 2016-03-24 22:03:37 -06:00
FusionPBX f9096f9cf1 Revert "search selects" 2016-03-24 22:02:41 -06:00
FusionPBX e9904a03da Merge pull request #1497 from blackc2004/master
search selects
2016-03-24 21:56:20 -06:00
FusionPBX 26bc871c46 Merge pull request #1500 from moteus/provision_contact_sql
Fix. SQL text to query user contact in provision class
2016-03-24 21:44:32 -06:00
markjcrane a93902cfcc Fix some of the elements in the contacts array. 2016-03-24 21:43:03 -06:00
FusionPBX 51a1f88d94 Merge pull request #1502 from moteus/provision_contact_category
Fix. Export `contact_category` for provisioning template
2016-03-24 21:38:50 -06:00
markjcrane b11b98da52 Change sytnax from database["name"] to database.name in the config.lua. 2016-03-24 20:15:09 -06:00
markjcrane 7a4d698f1a Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-03-24 15:02:30 -06:00
markjcrane 9249e1db9a On windows force to / instead of the backslash \ as path. This fixes a problem where recording c:\pathtofusionpbx\recordings fails because the \r gets understood as a carriage return in the session:record in FreeSWITCH. 2016-03-24 15:02:04 -06:00
Alexey Melnichuk f59bc03c9d Fix. SQL in group contacts 2016-03-24 17:59:01 +03:00
Alexey Melnichuk 011d9a8322 Fix. Export `contact_category` for provisioning template
Add. Export `contact_type` and `phone_label` for provisioning template
2016-03-24 17:54:31 +03:00
Alexey Melnichuk f04ccb925a Fix. SQL text to query user contact in provision class 2016-03-24 15:54:29 +03:00
Alexey Melnichuk f7b7da0dd4 Fix. Display correct gateway name in URI on `Fax Active` page 2016-03-23 14:02:33 +03:00
markjcrane b14dbab82a Show both LAN and WAN IP in the registrations. 2016-03-23 00:14:30 -06:00
markjcrane e025cf3405 Replace the external ip with the internal nat ip address. 2016-03-23 00:07:50 -06:00
markjcrane 0427a5ac97 Re-add the time condition dialplan button label. 2016-03-22 23:52:37 -06:00
markjcrane 82c18e988b Time condition hide the group label as it uses too much vertical space and the group number is provided by default. 2016-03-22 23:39:23 -06:00
blackc2004 c2e1755931 search selects 2016-03-22 15:42:46 -07:00
markjcrane 024fd460bd Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-03-21 23:45:36 -06:00
reliberate 66bcb6e836 Editor: Fix Clip Library folder nesting, misc adjustments to Clip and File lists. 2016-03-21 16:01:44 -06:00
markjcrane 7b2fd68806 Add support for destination_number name to be customized on inbound routes. 2016-03-21 11:13:47 -06:00
reliberate 4bd2639fcf 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 36e5655242 Fix a minor display issue for contacts. 2016-03-19 21:57:37 -06:00
markjcrane ca3615466e Hide the IVR sub menus until they are ready. 2016-03-19 21:18:07 -06:00
markjcrane 0fcdca1db7 Correct the syntax for the app destinations array. 2016-03-19 19:59:52 -06:00
markjcrane e17c11f754 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
FusionPBX efe12b1f4f Merge pull request #1495 from blackc2004/master
fix some email stuff
2016-03-19 15:17:43 -06:00
reliberate aa44e02b32 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 907f6cae9c Voicemail: Change 'View' link to 'Messages' instead. 2016-03-19 08:16:49 -06:00
reliberate 409afa0bed SQL Query: Removed.
Command: Integrate SQL Query functionality within Command app.
(Note: Permission and Menu modifications - please Restore Defaults)
2016-03-18 23:18:00 -06:00
blackc2004 4003ba170c fix some email stuff 2016-03-18 18:53:41 -07:00
reliberate 6797e7cb7e Command: Enable PHP syntax highlighting without opening/closing tags. 2016-03-17 17:33:33 -06:00
reliberate fed93fb2db Command: Fix bug with Ctrl+Enter to Execute. 2016-03-17 15:57:44 -06:00
reliberate e1d192b501 Command: Integrate new editor, include Clip Library. 2016-03-17 15:50:18 -06:00
markjcrane 08b4e3138c Add destination number regex and string_to_regex function. 2016-03-17 13:22:03 -06:00
reliberate 39bfec7aa2 Extensions: Added bulk delete.
Voicemail: Added bulk delete.  On delete, remove recordings folder, and voicemail_options, _destinations, and _greetings database records.
2016-03-16 18:48:42 -06:00
markjcrane 9cd30165d4 Change daylight_savings_start_date to daylight_savings_start_day as it is more accurate for representing the data. Add daylight_savings_start_time and daylight_savings_stop_time 2016-03-15 16:15:32 -06:00
markjcrane d1d041dc62 Update default settings add daylight_savings_start_month and date for the polycom templates. 2016-03-15 13:51:01 -06:00
markjcrane 8cc6bb09a6 Add polycom_digitmap to provision category in default settings. 2016-03-15 12:50:04 -06:00
markjcrane a5ce37ea03 Move contact_exists to a method in the provision class. 2016-03-15 12:22:57 -06:00
FusionPBX 13014903f5 Merge pull request #1489 from mafoo/Enhance-device_edit
Enhance device_edit
2016-03-15 03:12:57 -06:00
reliberate b503a127c9 User Dashboard: Restore Click-to-Call functionality. 2016-03-14 18:59:30 -06:00
mafoo d49d47bcf6 Enhance device_edit
tweaked fade in/out for files elements to make them fade in sync and out
in sync
fixed fadeIn for files button as attaching to the fadeout on select
seems to be broken
2016-03-14 16:14:27 +00:00
FusionPBX c21de89d51 Merge pull request #1459 from moteus/operator_panel_short_number
Fix. Use operator panel with short extension.
2016-03-11 13:38:18 -07:00
FusionPBX 6c8aa675a2 Merge pull request #1468 from mafoo/WhitespaceClean-app/batch_1
WhitespaceClean-app/batch_1
2016-03-11 13:35:41 -07:00
FusionPBX 45704a7707 Merge pull request #1469 from mafoo/WhitespaceClean-app/batch_2
WhitespaceClean-app/batch_2
2016-03-11 13:35:24 -07:00
FusionPBX ad3ea2d1a9 Merge pull request #1466 from mafoo/WhitespaceClean-app/sip_profiles
WhitespaceClean-app/sip_profiles
2016-03-11 13:27:38 -07:00
FusionPBX 1aa56e7bfa Merge pull request #1467 from mafoo/WhitespaceClean-app/xml_cdr
WhitespaceClean-app/xml_cdr
2016-03-11 13:25:49 -07:00
FusionPBX 17d433f12e Merge pull request #1460 from mafoo/Enhance-Add_mod_translate
added mod_translate to the modules list
2016-03-11 13:24:43 -07:00
FusionPBX ab3aaf51cb Merge pull request #1462 from mafoo/BugFix-Translation-True_False
BugFix-Translation-True_False
2016-03-11 13:24:13 -07:00
FusionPBX d312084d21 Merge pull request #1465 from mafoo/WhitespaceClean-app/dialplan
WhitespaceClean-app/dialplan
2016-03-11 13:22:02 -07:00
FusionPBX c1dfbae3ce Merge pull request #1464 from mafoo/WhitespaceClean-app/access_controls
WhitespaceClean-app/access_controls
2016-03-11 13:21:00 -07:00
markjcrane 961e527abb 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 6eed9935d4 WhitespaceClean-app/batch_2
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:01:24 +00:00
mafoo 3b438926b6 WhitespaceClean-app/batch_1
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:56:29 +00:00
mafoo 4131926b86 WhitespaceClean-app/xml_cdr
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:54:18 +00:00
mafoo 4b51565e9f WhitespaceClean-app/sip_profiles
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:51:17 +00:00
mafoo dda30766ec WhitespaceClean-app/dialplan
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:49:17 +00:00
mafoo 27438d8919 WhitespaceClean-app/access_controls
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:47:28 +00:00
mafoo 77c72c8d7c 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 49bb6c1ded 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
mafoo 8612897a03 added mod_translate to the modules list 2016-03-09 17:46:20 +00:00
Alexey Melnichuk 8b96881a5d Fix. Use operator panel with short extension.
Problem because if you have say 15 ext. and one of ext has say number `14`
and extension `14` has index 15 in array.
And php returns
```PHP
$a = array('14' => 'string', 14 => 'number');
print($a['14']); // number
``
2016-03-09 16:24:20 +03:00
markjcrane 8dd72afbd7 Add new default settings for http_auth_type, contact_extensions, contact_groups, and contact_users. 2016-03-07 21:35:38 -07:00
markjcrane a30b4662b4 Add http digest authentication and make it the default with an option to use basic if required. 2016-03-07 21:31:37 -07:00
markjcrane cc3c8f3c34 Add the contacts array to provisioning template to be used for the phone directory. 2016-03-04 18:37:01 -07:00
markjcrane 7763ece535 Fix indentation on the editor. 2016-03-04 13:18:30 -07:00
reliberate 39a31432ba 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 877c1e805d Call Center Agent: Prevent duplicate sip_invite_domain key/value insertion on Agent edit. 2016-02-29 22:54:24 -07:00
reliberate b6331f74a2 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-02-29 21:49:36 -07:00
reliberate 4db3c727ec Outbound Route: Set effective_caller_id_name to use Emergency CID Name when creating 911 route. 2016-02-29 21:46:13 -07:00
markjcrane 63fd267125 Add a call limit dialplan disabled for now. 2016-02-29 18:46:50 -07:00
markjcrane 03897edf95 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 f32d99377f If follow me is enabled then show it by default. 2016-02-26 14:35:58 -07:00
markjcrane e542a9aea3 Add a new permission follow_me_ignore_busy. 2016-02-26 14:13:32 -07:00
reliberate 3e658f56a4 Inbound Routes: Set column widths on form. 2016-02-25 18:45:27 -07:00
reliberate 9b9d8b4e3b Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -07:00
reliberate 7d6ef13fed Voicemail: Remove unnecessary echo. 2016-02-25 15:57:28 -07:00
reliberate 3b327be2dd Voicemail: Fixes to Greeting select box. Bypass browser password manager pop-up when saving. 2016-02-25 14:39:28 -07:00
reliberate 8da349c3e9 Voicemail: Provide a select box to choose a Greeting, instead of requesting the Greeting ID to be entered. 2016-02-25 12:06:45 -07:00
reliberate 05c7c909b6 Call Control: Hide Follow Me settings when not Enabled. 2016-02-25 11:16:36 -07:00
reliberate 92f61d91dc Edit: Allow selection of current file path. 2016-02-25 10:28:33 -07:00
reliberate da6b8b7c97 Call Control: Fix - Do not disable Call Forward On Busy and Call Forward No Answer when Do Not Disturb is enabled. 2016-02-25 10:03:08 -07:00
Alexey Melnichuk 1379c16e2e Fix. Works on php < 5.4.0 and short_open_tag=Off 2016-02-25 15:17:41 +03:00
reliberate dd07c65705 Edit: Customize defaults with Settings, add live preview on Mode and Font Size. 2016-02-25 01:19:24 -07:00
reliberate baf579c03e Edit: Added Find/Replace and Go To (Line) features in toolbar, rename Ace application folder. 2016-02-24 14:44:32 -07:00
reliberate da3112e0a5 Edit: root.php updated 2016-02-24 12:49:20 -07:00
reliberate 5ddd647875 Edit: Revamp using Ace editor (ace.c9.io). 2016-02-24 12:28:35 -07:00
markjcrane 48588d9ec3 Add domain_uuid to the CDR result set. 2016-02-23 19:42:10 -07:00
markjcrane 8b2cb82df7 If show all is used on the export then remove the domain name from the file name. 2016-02-23 19:33:16 -07:00
markjcrane c0ddb2d857 Add showall hidden option to the regular CDR search form. 2016-02-23 19:19:03 -07:00
markjcrane 3b035a46c1 Fix the SQL command when using the advanced search and improve security on how showall is being used. 2016-02-23 19:05:52 -07:00
markjcrane 7d5382ed6d Change a POST to a GET on the advanced search for CDR. 2016-02-23 18:15:07 -07:00
markjcrane 01a9438f4e Fix the checkbox on the show all for the advanced search. 2016-02-23 18:09:00 -07:00
markjcrane 7539244e49 Additional work to get the CDR to allow the show all to work with the regular search and advanced search. 2016-02-23 17:53:21 -07:00
markjcrane 6108009850 Allow admin access to the menu for dialplan -> destinations. 2016-02-23 11:10:27 -07:00
markjcrane 0a973bfd34 Add round brackets around the condition destination_number for inbound routes generated by destinations. 2016-02-22 14:28:45 -07:00
markjcrane af18c963c0 Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
markjcrane 8cbdc86391 Device add Mitel line functions that match the Mitel web interface. 2016-02-19 11:11:56 -07:00
FusionPBX ea07e944a7 Merge pull request #1442 from moteus/acl_flush_memcache
Fix. Clear memcache after edit ACL.
2016-02-16 08:53:29 -07:00
Alexey Melnichuk cf290cdd68 Fix. Clear memcache after edit ACL. 2016-02-16 14:02:00 +03:00
blackc2004 ddd1e35185 fix if_permission 2016-02-15 11:19:18 -08:00
markjcrane 4757d0e9d6 Add ability to the acl.conf.xml to read a description attribute. 2016-02-14 03:09:55 -07:00
markjcrane fc255818c6 If the user is in the superadmin or admin group and user group it was preventing the fax_forward number from being updated. 2016-02-11 00:19:44 -07:00
markjcrane bc6d44a6c1 Fax add a way to change the inbound fax file name. 2016-02-10 21:44:03 -07:00
markjcrane 93d02e85af Fix the check to see if domain_name is not set. 2016-02-10 17:15:31 -07:00
markjcrane 7716a09f54 XML CDR - if the domain_uuid is not found then attempt to use sip_req_host to get the domain name. If domain_name and domain_uuid are still empty then add the CDR record with the domain_uuid as null so there is a record of the call. 2016-02-10 13:54:15 -07:00
FusionPBX 6e95b9b363 Merge pull request #1435 from skyeblueiscool/patch-1
Update follow_me.php
2016-02-06 23:06:01 -07:00
FusionPBX 7cc0be12d2 Merge pull request #1433 from mafoo/BugFix-conference_center_rooms
Fix for when a conference room has no admins
2016-02-06 15:42:29 -07:00
markjcrane ec1b77853d Change the category to provision for provision ntp_server_primary, and ntp_server_secondary. 2016-02-06 14:53:31 -07:00
skyeblueiscool 1524775135 Update follow_me.php 2016-02-05 16:47:36 -08:00
mafoo 5c1da9533e Fix for when a conference room has no admins
If a conference room had no admins it would become impossible to see it in the GUI
This fix makes it possible for a admin or super admin to view rooms in this state.
this uses a new permission "conference_room_view_all"
2016-02-05 09:47:42 +00:00
markjcrane 7bcb324e58 Fix a minor mistake. 2016-02-04 23:39:08 -07:00
markjcrane b4f9a1308e Hide memcache on the system status page if FreeSWITCH is not installed. 2016-02-04 23:28:23 -07:00
mafoo b231e0ff84 made it possible to find phrases
fixed string replace not taking out spaces aswell
2016-02-04 16:19:27 +00:00
mafoo 92894bb157 fix for incorrect destinations 2016-02-04 15:49:03 +00:00
mafoo 90e9b0a149 Corrected selected statements 2016-02-03 17:32:07 +00:00
FusionPBX aacaaeb4f0 Merge pull request #1425 from mafoo/BugFix-Phrases
Fix for phrases are actually phrase_uuid not phrase_name.domain_uuid
2016-02-03 08:17:26 -07:00
mafoo 22fe132900 Fix for phrases are actually phrase_uuid not phrase_name.domain_uuid 2016-02-03 15:08:28 +00:00
Alexey Melnichuk f91735367e Fix. Save instead of empty value path to recordings for some sound options. 2016-02-03 10:28:12 +03:00
Alexey Melnichuk 134f44e4d4 Fix. Path to records in music on hold. 2016-01-28 13:17:30 +03:00
markjcrane ceacd5f156 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-27 15:56:42 -07:00
markjcrane d65982cfac Add a new permission extension_user_record to control who is able to see extension record. By default superadmin has this permission. 2016-01-27 15:56:22 -07:00
FusionPBX 633f836c42 Merge pull request #1413 from mafoo/BugFix-Phrases
phrases should be written out as there uuid
2016-01-26 10:38:43 -07:00
mafoo f5d16aebbc phrases should be written out as there uuid
not the name.domain_uuid format
2016-01-26 17:34:44 +00:00
markjcrane efa9af2b16 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-25 21:27:37 -07:00
markjcrane 5172809a86 Add Cisco and Linksys to the format_mac list. 2016-01-25 21:27:21 -07:00
FusionPBX 1e27c45fd7 Merge pull request #1406 from moteus/modules_no_esl
Fix. Display modules form if FS does not start.
2016-01-25 21:18:22 -07:00
markjcrane cd58b105cb More work on user assigned contacts. 2016-01-25 20:38:45 -07:00
markjcrane 2e306568e4 Disable default settings -> call center path by default. 2016-01-25 10:24:09 -07:00
markjcrane 3f23406438 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-22 11:11:23 -07:00