Commit Graph

3781 Commits

Author SHA1 Message Date
Alexey Melnichuk f6a923f5d7 Fix. Export valid values for settings in provision template. (#1685) 2016-06-20 11:40:22 -06:00
FusionPBX e058dd8c74 Update device_dashboard.php
Hide the 'apply' button on the devices keys dashboard until its ready.
2016-06-19 10:00:01 -06:00
FusionPBX 0db15c3fab Update device_edit.php
Hide this until its ready.
2016-06-19 09:56:18 -06:00
FusionPBX 82a59f1810 Update ivr_menu_edit.php
Change the ivr_menu_ringback to default back to the original default of music on hold.
2016-06-19 09:39:47 -06:00
FusionPBX 207f3031ff Update ring_group_edit.php
Set the default ring_group_ringback to ${us-ring}
2016-06-19 09:35:21 -06:00
markjcrane 2ac9047648 Update device_edit.php change user_uuid to device_user_uuid. 2016-06-17 17:45:42 -06:00
markjcrane e5020a842b Rename user_uuid device_user_uuid in the devices table. Add an apply button to the key dashboard and provision button to the device edit. 2016-06-17 17:34:31 -06:00
Alexey Melnichuk 704cf23194 Fix. Display key type in `Profile` app. (#1658) 2016-06-17 12:43:51 -06:00
Alexey Melnichuk 0741488073 Add. Support provision programmable keys for Escene devices. (#1674) 2016-06-17 10:43:27 -06:00
Mafoo a821493e39 BugFix-missing PROJECT_PATH for download files (#1675) 2016-06-17 09:22:54 -06:00
FusionPBX 5f1d64bd61 Update xml_cdr.php
Fix the order by number alias addition by grouping it with ( and ).
2016-06-15 11:48:53 -06:00
Alexey Melnichuk 97d6bd24d8 Fix. Display correct info for extensions with number-alias. (#1665) 2016-06-15 11:39:09 -06:00
FusionPBX a44a9c0a91 Update xml_cdr_extension_summary.php
Update the extension summary to use the new class. Add an option to export to CSV.
2016-06-14 22:51:38 -06:00
FusionPBX 08ceeece82 Update xml_cdr.php
Update the xml cdr class to generate a complete extension / user summary array.
2016-06-14 22:44:34 -06:00
FreeMe 036d8200a5 Update app_languages.php (#1664)
Added Ukraine fields
2016-06-14 20:21:15 -06:00
FusionPBX fd32603eed Update gateways.php
Fix the sytnax ont the gateways list show it shows the gateway list.
2016-06-14 19:52:57 -06:00
FusionPBX 052d2c53e9 Update gateway_edit.php
Add a missing ) on gateway_edit.php.
2016-06-14 19:32:50 -06:00
FusionPBX 79f73a81bb Update gateways.php
Add missing brackets.
2016-06-14 19:27:15 -06:00
FusionPBX 1f09ffc115 Update gateways.php
Add an 'or domain_uuid is null' if permission gateway_domain is given to the group.
2016-06-14 11:14:06 -06:00
FusionPBX 521bf62695 Update gateway_edit.php
If permission to view all gateways then add an 'or domain_uuid is null'
2016-06-14 11:10:53 -06:00
FusionPBX dccb0e5dc4 Update app_defaults.php
Ensure the values are reset after each loop through local_stream.con.xml attributes.
2016-06-14 11:06:29 -06:00
Alexey Melnichuk e03a91a1d9 Fix. Select correct key in listbox in device edit form. (#1659) 2016-06-14 08:28:57 -06:00
markjcrane 96d5cd24d2 Add domain_uuid to the music on hold table. 2016-06-13 18:13:23 -06:00
markjcrane 7aa072c1fb Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-13 17:52:52 -06:00
markjcrane f20b16b27a Add the missing curly brackets. 2016-06-13 17:52:35 -06:00
Mafoo a559e51dff BugFix-default moh for source mode (#1657)
populate the default moh for switch source installs
set comment indents as preferred
2016-06-13 17:48:36 -06:00
markjcrane 03c6c1c320 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-06-13 17:45:01 -06:00
markjcrane 6a58bb97dd Update app_defaults for muisc on hold so it reads local_stream.conf.xml and loads the information in the database. Remove music_on_hold_category. 2016-06-13 17:44:15 -06:00
reliberate a36db08adf Command: Remove blank option from handler select element. 2016-06-13 16:58:52 -06:00
reliberate 2d5caa1be1 Voicemail Greetings: Fix style effecting radio button padding. 2016-06-13 15:27:57 -06:00
reliberate b27ce8f430 MOH: Fix style issue during playback. 2016-06-13 14:53:17 -06:00
reliberate 860f2fa88e Call Flows: Restore missing quote in app_languages.php. 2016-06-13 13:05:55 -06:00
FreeMe 2972dbe80b Update app_languages.php (#1656)
Corrected 'uk' field to Ukraine not english.
2016-06-13 10:58:23 -06:00
FreeMe 3dea45aaaf Update app_languages.php (#1655)
Filled in Romanian and UK fields
2016-06-13 07:36:55 -06:00
FusionPBX 70ad798d32 Update call_flows.php
Update call_flows.php rename anti to alternate.
2016-06-12 14:24:35 -06:00
FusionPBX 724f060321 Update index.php
Disable the auto login if the default setting-> adminer -> auto_login is not set.
2016-06-12 00:15:43 -06:00
FusionPBX e9ce02147a Update xml_cdr.php
In the xml_cdr class change method xml_array from $row to $key. Key is more descriptive and should prevent bugs in the future.
2016-06-11 16:17:35 -06:00
FreeMe 6bd0fc573a Update app_languages.php (#1651)
Multilingual support for new features
2016-06-11 15:57:01 -06:00
FreeMe 7bc15229b5 Update call_flow_edit.php (#1652)
Allows the page to become multilingual
2016-06-11 15:23:49 -06:00
FusionPBX 586b03cdb2 Update app_languages.php 2016-06-11 11:08:21 -06:00
FusionPBX 61ab9f5932 Update app_languages.php
Set temporary transltations for label-sound and label-alternate_sound
2016-06-11 10:19:16 -06:00
FusionPBX 7529c36731 Update call_flow_edit.php
Fix the call flow alternate sounds so it saves to the database and its value is displayed when loading the form.
2016-06-11 09:49:22 -06:00
FusionPBX ca6b094f1e Update call_flow_edit.php
Correct the SQL insert and updates and put the call flow sound and alternate sound into the order that matches the web interface.
2016-06-11 09:29:56 -06:00
FusionPBX 5349ae273e Update app_languages.php
Change the labels to sound and alternate_sound.
2016-06-11 09:14:30 -06:00
FusionPBX 1360ba4d4f Update call_flow_edit.php
Rename the call flows using anti to alternate.
2016-06-11 09:06:12 -06:00
FusionPBX e3526deb41 Update app_config.php
Change call_flow_sound_on to call_flow_sound. Call flow anti to alternate and call_flow_sound_off to call_flow_alternate_sound.
This changes make it more consistent with the front end. For the few developers that have the call_flow_sound_on and call_flow_sound off I offer the these alter table statements.
ALTER TABLE v_call_flows RENAME COLUMN call_flow_sound_on to call_flow_sound;
ALTER TABLE v_call_flows RENAME COLUMN call_flow_sound_off to call_flow_alternate_sound;
2016-06-11 09:04:42 -06:00
Alexey Melnichuk 03e62d9e91 Add. Support sound prompts on call flow. (#1645)
This file uses new way to load recordings from DB.
2016-06-11 07:33:16 -06:00
FusionPBX cd5baa1df5 Update xml_cdr_inc.php
Only check the select count if there is a default setting that instructs it to do so as it is slow on a large number of records.
2016-06-11 07:15:11 -06:00
FusionPBX 2cbc5f34f3 Update device_dashboard.php
Fix device key dashboard edit only.
2016-06-10 12:23:01 -06:00
markjcrane 17e921c140 Change the permission name from device_username to device_user. 2016-06-10 11:02:17 -06:00
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