Commit Graph

6486 Commits

Author SHA1 Message Date
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
markjcrane 317a47582e Update the scripts class. 2016-04-14 23:09:49 -06:00
markjcrane e9415fd26c Missed two of the $db connections. 2016-04-14 23:05:05 -06:00
markjcrane 8392bdeafa 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
markjcrane a6cd585315 Update the constructor and $db connection handling in the groups and switch_settings classes. 2016-04-14 22:38:28 -06:00
markjcrane c2ecb23413 Add a contructor to the dialplan class. 2016-04-14 22:34:10 -06:00
markjcrane 45c391ab76 Update domains and schema classes. 2016-04-14 22:10:47 -06:00
markjcrane d34d709e37 Schema use $this->$db instead of $db. 2016-04-14 21:51:11 -06:00
markjcrane 5799ce6497 Work on the install. 2016-04-14 21:14:40 -06:00