Commit Graph

3617 Commits

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