Commit Graph

3459 Commits

Author SHA1 Message Date
markjcrane
18df3effec Fix a filesize warning for provisioning using strlen instead. 2016-04-28 15:06:16 -06:00
FusionPBX
e97782fbee 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
markjcrane
7b413a8058 Update the xml_cdr php class to get it operational. 2016-04-27 23:51:53 -06:00
markjcrane
8d9d76f7dc Add a new xml_cdr php class. 2016-04-27 13:24:59 -06:00
Harry G. Coin
09e6d2e3d7 last fixes needed to support mariadb 10.1 2016-04-25 22:20:31 -05:00
Harry G. Coin
7442f32a53 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
fd313a7c66 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
64eeca8e2d 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
179f4840a8 include omitted column name, partial fix to support mariadb 10.1. 2016-04-25 20:44:30 -05:00
Harry G. Coin
96e71eadf7 ensure the directory variable actually has a directory name. 2016-04-25 20:40:23 -05:00
Harry G. Coin
91a92d8e5e \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
89e5ecbcdf 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
b1becf5f17 Theme: Revert CSS change.
Contacts: Change email input field type to 'text' instead of 'email'.
2016-04-25 10:34:39 -06:00
markjcrane
81746f1233 Minor change to contact edit. 2016-04-22 10:35:27 -06:00
markjcrane
2fd1a44842 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
3758d84216 Add the lan acl as a default again. 2016-04-19 00:21:52 -06:00
markjcrane
a54772c406 Restore the path to config.lua. 2016-04-16 00:44:10 -06:00
markjcrane
09d304a1aa Use the connect method in the constructor. 2016-04-16 00:27:24 -06:00
markjcrane
a2b6f24a36 Get the db_type, db_username, db_password, and more using the constructor. 2016-04-16 00:21:01 -06:00
markjcrane
ca06335136 Set the full path to the config.lua script. 2016-04-15 23:16:19 -06:00
markjcrane
7277ed8f49 Set the sciprt directory from the session variable. 2016-04-15 19:57:29 -06:00
markjcrane
abb6a9b770 Get the database connection for save_phrases_xml.php. 2016-04-15 19:52:21 -06:00
markjcrane
69d36b806d Add class_exists 2016-04-14 23:23:14 -06:00
markjcrane
6828efb12c Update the scripts class. 2016-04-14 23:09:49 -06:00
markjcrane
cfb1b28a54 Add a contructor to the dialplan class. 2016-04-14 22:34:10 -06:00
markjcrane
ed06174cda Set extension summary to use GET instead of POST. 2016-04-14 21:11:05 -06:00
markjcrane
fbc3ac5e70 Remove the last contact_email field that was deprecated. 2016-04-14 20:13:40 -06:00
markjcrane
7fc9e44768 Update the extension summary in preparation to expand it further. 2016-04-14 15:08:16 -06:00
markjcrane
ea0c3e9220 Make the advanced -> command execute page more compact. 2016-04-14 14:50:06 -06:00
markjcrane
8b5e166eda 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
969889cc98 Add. allowed_extension array to specify allowed files in email. 2016-04-14 17:38:33 +03:00
reliberate
53b07c67f7 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
e0dd9e299f 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
af457337ae Merge pull request #1541 from moteus/parse_imap_text
Improve mail parse
2016-04-12 12:39:37 -06:00
reliberate
2732c4253a Dashboard: Remove unnecessary inline cursor style, minor mods.
Call Routing: Minor mods.
2016-04-12 10:20:40 -06:00
reliberate
9c8576ee50 Call Control: Fix wrapping when mini paging controls visible. 2016-04-08 11:00:58 -06:00
Alexey Melnichuk
889b8f9998 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
dfacd41817 Command: Disable Find/Replace control, not compatible with Bootstrap. 2016-04-07 15:20:06 -06:00
reliberate
2ca9bd75e4 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
75ec879ff9 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
8863db89fd Fix. get text part of email message with single part email. 2016-04-07 13:11:24 +03:00
markjcrane
0bef8e2e5a Fix IVR Menu say and tone for long greeting. 2016-04-06 01:38:30 -06:00
markjcrane
5339bee11d contact_group_uuid value is not working get the value from the database. 2016-04-06 00:39:27 -06:00
markjcrane
daedac51fc Fix the contact group delete button. 2016-04-06 00:33:52 -06:00
markjcrane
c38ff886e5 Fix assigning groups to contacts. 2016-04-06 00:27:57 -06:00
markjcrane
2b5480f894 Remove the lan access control list as its not needed by default. 2016-04-06 00:14:53 -06:00
markjcrane
12067b8aea Update the script.php class use session event socket information for now. 2016-04-04 23:27:41 -06:00
markjcrane
4ac03a8d1a Add a missing permission on backup. 2016-04-04 19:51:22 -06:00
Alexey Melnichuk
dc2265b788 Fix. Check string before build sql when do copy dialplan extension. 2016-04-04 14:41:18 +03:00
markjcrane
ff7e5323b5 Get the script_dir path from event socket. 2016-04-03 09:47:58 -06:00