Commit Graph

6494 Commits

Author SHA1 Message Date
markjcrane
c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
markjcrane
15a1ecbcea State the full path for which. 2016-04-28 15:35:46 -06:00
markjcrane
cd5aa88c1c Add the full path to the commands by using 'which' 2016-04-28 15:17:19 -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
reliberate
3b1a6aa34a Theme: Restore display: inline-block on login body. 2016-04-28 13:05:34 -06: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
cb98d74ccd add tls, support ldaps 2016-04-25 22:22:03 -05: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
b9285e81fe fix so maradb 10.1 install can create the database. 2016-04-25 21:34:44 -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
4fad23f4aa small orm bug fix 2016-04-25 21:12:39 -05:00
Harry G. Coin
42a78d8d5e 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
8f17c47071 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
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
b4c5c79a4d Users: Correct username input field type (from 'txt' to 'text'). 2016-04-25 15:07:42 -06: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
reliberate
bb93aea5ba Theme: Add input[type=email] to styles. 2016-04-25 10:26:17 -06:00
FusionPBX
6a1a208864 Update user_dashboard.php
Add an inline if statement to the user dashboard.
2016-04-22 13:43:02 -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
FusionPBX
cdba087744 Merge pull request #1553 from moteus/intercept_direction
Add. optional intercept only inbound/outbound calls.
2016-04-18 22:54:03 -06:00
FusionPBX
5b779b5882 Merge pull request #1450 from daniel-lucio/patch-3
Wrong variable in freeswitch.email
2016-04-18 21:20:44 -06:00
Alexey Melnichuk
07b2858852 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
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
f1ac6eb9bd Only set switch default settings for variables that are enabled. 2016-04-15 19:44:55 -06:00
markjcrane
6a8ee0e075 Only set the SESSION variables from default settings for the switch category. 2016-04-15 19:39:55 -06:00
markjcrane
31b6597c19 Change the object name install_fusionpbx.php uses dbh instead of db. 2016-04-15 19:31:47 -06:00
markjcrane
12420d1534 Update the install to set the default setting session variables. 2016-04-15 19:27:19 -06:00
markjcrane
343abf2511 Fix the redirect on two more files. 2016-04-15 18:40:23 -06:00
markjcrane
c99caf57bb Fix the install path for the redirect. 2016-04-15 18:39:12 -06:00
markjcrane
7a8587184c If the event socket information is not set then use the defaults. 2016-04-15 18:22:28 -06:00
markjcrane
403ab64339 Add missing 'this' 2016-04-15 18:07:47 -06:00
markjcrane
2b5075b2f4 Add the switch default settings in a more efficient way. 2016-04-15 17:59:34 -06:00
markjcrane
8731afb5e2 Use a more efficient way to add the default settings. 2016-04-15 09:24:55 -06:00
markjcrane
9dac571bdb 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
4b55af24f7 Add class_exists 2016-04-14 23:23:14 -06:00
markjcrane
3ecb6afea2 Update groups.php. 2016-04-14 23:12:57 -06:00