Commit Graph

6513 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
reliberate 7a80051a4f Theme: Restore display: inline-block on login body. 2016-04-28 13:05:34 -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 54df7b8d12 add tls, support ldaps 2016-04-25 22:22:03 -05: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 9986d2875b fix so maradb 10.1 install can create the database. 2016-04-25 21:34:44 -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 1497c7cb7e small orm bug fix 2016-04-25 21:12:39 -05:00
Harry G. Coin aaf6bb8f96 Fix to cure uninitialized variable warnings whenever schema is called.
Also many minor warning bug fixes in schema.php
Might as well take the plunge and go to default show warnings.
Uninitialized variable and small bug fixes install fusionpbx
2016-04-25 21:09:14 -05:00
Harry G. Coin 93cee9d479 Patch to support sendmail, qmail, mail.
Also allow port to be set without munging host string (easier to change from 25/465/custom/etc).
2016-04-25 20:58:28 -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 48876aa39b Users: Correct username input field type (from 'txt' to 'text'). 2016-04-25 15:07:42 -06: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
reliberate 7531cc15e5 Theme: Add input[type=email] to styles. 2016-04-25 10:26:17 -06:00
FusionPBX 3b73e0c1d1 Update user_dashboard.php
Add an inline if statement to the user dashboard.
2016-04-22 13:43:02 -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
FusionPBX 06f6f1302e Merge pull request #1553 from moteus/intercept_direction
Add. optional intercept only inbound/outbound calls.
2016-04-18 22:54:03 -06:00
FusionPBX 4230d3b414 Merge pull request #1450 from daniel-lucio/patch-3
Wrong variable in freeswitch.email
2016-04-18 21:20:44 -06:00
Alexey Melnichuk 15fbc21b4d Add. optional intercept only inbound/outbound calls.
Note.
  * `inbound` is call to some extension
  * `outbound` is call from some extension to external number.

Currently there no way to find call from extension to extension as `outbound`
2016-04-18 16:06:27 +03: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 2b1ede0b70 Only set switch default settings for variables that are enabled. 2016-04-15 19:44:55 -06:00
markjcrane 406c36b6b4 Only set the SESSION variables from default settings for the switch category. 2016-04-15 19:39:55 -06:00
markjcrane a59bfe1021 Change the object name install_fusionpbx.php uses dbh instead of db. 2016-04-15 19:31:47 -06:00
markjcrane 157f49a303 Update the install to set the default setting session variables. 2016-04-15 19:27:19 -06:00
markjcrane df9d9a5e9d Fix the redirect on two more files. 2016-04-15 18:40:23 -06:00
markjcrane f03cbc7b1a Fix the install path for the redirect. 2016-04-15 18:39:12 -06:00
markjcrane 49a53db5d1 If the event socket information is not set then use the defaults. 2016-04-15 18:22:28 -06:00
markjcrane 3efb6881db Add missing 'this' 2016-04-15 18:07:47 -06:00
markjcrane e8640966fd Add the switch default settings in a more efficient way. 2016-04-15 17:59:34 -06:00
markjcrane 4a564a1215 Use a more efficient way to add the default settings. 2016-04-15 09:24:55 -06:00
markjcrane b3ba1aaf6f Use intuitive names for the arrays and move one of the queries out of the loop. 2016-04-15 00:47:49 -06:00
markjcrane 69d36b806d Add class_exists 2016-04-14 23:23:14 -06:00
markjcrane fdc0435ab3 Update groups.php. 2016-04-14 23:12:57 -06:00
markjcrane 6828efb12c Update the scripts class. 2016-04-14 23:09:49 -06:00
markjcrane 2e875b106b Missed two of the $db connections. 2016-04-14 23:05:05 -06:00
markjcrane 4702530944 Remove the global $db connection in switch.php. Future will move all of these functions to php class methods. 2016-04-14 23:00:36 -06:00