Commit Graph

3781 Commits

Author SHA1 Message Date
reliberate 75717d1d60 Adminer: Fix and simplify previous auto-login feature (controlled by Default Setting). 2016-06-09 14:13:10 -06:00
markjcrane 57bbc8f7f7 Time to start using jsonb in the xml cdr table. 2016-06-08 19:25:51 -06:00
FusionPBX 960875e88a Update index.php
Comment out the adminer auto login.
2016-06-08 19:14:43 -06:00
markjcrane f931d3a291 Update adminer.php. 2016-06-08 18:52:06 -06:00
FusionPBX fa4643710c Update adminer.php
Update adminer.php
2016-06-08 18:38:27 -06:00
FusionPBX 8ee78f2149 Update adminer.php
Update Adminer to 4.2.5
2016-06-08 18:32:06 -06:00
Mafoo 7975d125e3 BugFix Convert call_center to ringback class (#1637) 2016-06-08 15:40:24 -06:00
Mafoo c5e1e2f36f BugFix-Double default moh (#1639)
because app_defaults now deals with detecting the default music we don't
need to forcefully put it on the list
if default is detected name it using the $text['opt-default']
2016-06-08 15:40:05 -06:00
Mafoo 27dc84b3b8 BugFix-remove-legacy-warning (#1638)
changed switch_music_on_hold->select to be more inline of usage
changed extension_edit to use new format
changed call_center_queue_edit to use new format while
https://github.com/fusionpbx/fusionpbx/pull/1637 is in testing
2016-06-08 15:15:36 -06:00
Mafoo 7e024a5521 BugFix-bad ref to $db in switch_recordings (#1636) 2016-06-08 13:43:10 -06:00
Mafoo e7b177a174 BugFix-moh class bad ref (#1635)
fixed incorrect referenced to the switch_recordings class
2016-06-08 13:27:23 -06:00
Mafoo d663891bd8 Enhance Ringback (#1590)
created new class to look after generating the list of ringbacks
available
adjusted MOH class so legacy method is still possible (just not recommend) and utilizes optgroups as well
converted ring_groups and ivr_menus to use new method
added translations
implemented list_recordings in switch_recordings class
2016-06-08 07:21:45 -06:00
markjcrane 9f902e435c Fix the call center queue active call list. 2016-06-07 13:35:18 -06:00
reliberate 77d6adf51a Command: Fix SQL insert statement generation (insert comma after null, use single-quotes instead of double). 2016-06-06 17:24:08 -06:00
reliberate 2ca4d5d1d9 Extension: Update assigned Device line password only if user has permission to view/edit Extension password. 2016-06-06 14:36:31 -06:00
FusionPBX 3454ba6853 Update xml_cdr_extension_summary.php
Add the domain_uuid.
2016-06-05 21:54:54 -06:00
FusionPBX c4532e782e Update xml_cdr.php
Use the class variables.
2016-06-05 21:53:28 -06:00
markjcrane 1c67d0baee Get the extensions then the summary array. 2016-06-05 17:53:12 -06:00
markjcrane 32e43d942f Remove the second quick_select variable that was accidently added. 2016-06-05 17:51:23 -06:00
markjcrane 01ae160e04 Adding user summary (extension summary) to the xml_cdr class. 2016-06-05 17:19:06 -06:00
FusionPBX fb8eee457f Update xml_cdr_inc.php
Work on the XML CDR export to CSV.
2016-06-03 19:47:35 -06:00
reliberate be76d25ff4 Dashboard: Tweak Device dashboard component styles. 2016-06-02 18:41:39 -06:00
markjcrane 1adb4c2672 Check for the adminer permission to increase security. 2016-06-02 09:54:47 -06:00
reliberate 427657c481 Adminer: Require authentication to access adminer.php file. 2016-06-02 09:31:27 -06:00
reliberate 30f437139c Theme: Additional settings to control domain name (selector), menu toggle icon, and logout icon color and hover colors separately.
Adminer: Added ability to login automatically.
2016-06-01 22:04:00 -06:00
markjcrane ee3ae4b7c2 If last_sent_callee_id_number is set use it as the destination_number. 2016-06-01 16:45:50 -06:00
markjcrane 102120d55e Prevent duplicate values from being saved in the vars.xml file and remove some trailing spaces and fix some of the indentation. 2016-06-01 15:31:33 -06:00
FusionPBX 9ef93aede1 Update app_config.php
Add the device_key_id permission.
2016-05-31 10:03:46 -06:00
FusionPBX 201ba2fb17 Update device_dashboard.php
To edit the key in the dashboard device_key_id permission is required.
2016-05-31 10:01:32 -06:00
FusionPBX ffb0131bb6 Update device_dashboard.php
Fix permissions and add the option to add and configure a device key.
2016-05-30 16:40:23 -06:00
FusionPBX fe004f37b9 Create device_dashboard.php
Add a new item for the dashboard device keys.
2016-05-28 19:52:28 -06:00
FusionPBX 09444288b1 Update ring_group_forward.php
Add a few more comments and indentation to the ring group dashboard.
2016-05-28 19:50:20 -06:00
FusionPBX 64590ad129 Update ring_group_forward.php
Make the ring group forward dashboard fit correctly for mobile devices.
2016-05-28 15:35:23 -06:00
FusionPBX 681776f913 Update device_edit.php
Show the selected user when editing a device.
2016-05-26 22:14:39 -06:00
FusionPBX fecd635688 Update app_languages.php
Fix the label and description for the singular 'user'.
2016-05-26 22:04:45 -06:00
FusionPBX 635ba86e44 Update device_edit.php
Set the device user label to singular.
2016-05-26 22:00:33 -06:00
FusionPBX 9ed3f42c81 Update device_edit.php
Remove the device user add button.
2016-05-26 21:54:20 -06:00
FusionPBX 6012dfd1a1 Update app_languages.php
Fix the translation on the description of the device user.
2016-05-26 21:49:44 -06:00
markjcrane c51ddbe82a Minor update. 2016-05-26 13:08:53 -06:00
markjcrane ae1de8ac4a This should complete work for setting module order for existing systems. 2016-05-26 12:51:53 -06:00
markjcrane 60555da7ee Add module order for modules that are already in the database without an order set. 2016-05-26 12:46:07 -06:00
markjcrane ef35214f93 Fix the syntax. 2016-05-26 11:28:30 -06:00
markjcrane c92606353e Remove save_module_xml() function and move it it into the modules class as the xml method. Eventual goal move everything out of switch.php. 2016-05-26 11:21:37 -06:00
markjcrane db697b8342 Adjust the order of the modules. 2016-05-26 11:01:03 -06:00
markjcrane 4c4a1bd15e Start using the module order. 2016-05-26 10:31:59 -06:00
Mafoo 71525c26b0 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 86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
FusionPBX 7f1873df99 Update switch_music_on_hold.php
Add missing forward slashes so the pattern will be correct for the preg_replace.
2016-05-25 17:42:56 -06:00
Mafoo b8e3070cdc Added basic searching for moh (#1614)
added basic searching for the default moh directory
added app_defaults so moh is configured/repairable with app_defaults
changed to use PROJECT_ROOT
changed template replacement to be encased in comment so xml will
validate
changed to use preg_replace so leading spaces and tabs can be stripped
(to output clean xml)
local_stream_conf dos2unixed
made default search consistent (they should all be music/default or
music not a mixture)
2016-05-25 14:12:17 -06:00
FusionPBX fb745afbb2 Update modules.php
Set a default order when adding the modules.
2016-05-24 23:42:05 -06:00
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