Commit Graph

3781 Commits

Author SHA1 Message Date
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