Commit Graph

7154 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
reliberate
e31985db96 Login: Add IDs to submit buttons. 2016-04-13 16:32:40 -06:00
reliberate
8b0c01c772 Theme: Integrate settings to control button styles and form input styles.
Dashboard: Remove table row hover and pointer cursor if not linked.
2016-04-11 17:52:58 -06:00
reliberate
a887eab36a Fun Stuff: http://pasteboard.co/1ormWYp.png
Login: Add settings to style Reset Password (and related) text links, add (disabled) settings to display domain name field.
Theme: Add settings to control login box border size, color, radius and padding.  Explicitly defined placeholder text color/opacity (where possible).
2016-04-07 19:35:39 -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
d824e80f06 Fix. send fax file as PDF in response message 2016-04-05 13:48:50 +03:00
markjcrane
7f082bdef3 Add a missing permission on backup. 2016-04-04 19:51:22 -06:00
markjcrane
25da5713be Update the yealink timezone settings. 2016-04-04 19:50:05 -06:00
markjcrane
9c9e59a0c3 Fix the changes to the Cisco SPA templates. 2016-04-04 12:18:04 -06:00
markjcrane
6aea821381 Build the apps array so that the groups class defaults method can use it for the group permissions. 2016-04-03 13:18:45 -06:00
markjcrane
f6920838c7 Add a default group check. 2016-04-03 11:54:09 -06:00
markjcrane
4292386b6c Add users and groups php class. 2016-04-03 11:47:06 -06:00
markjcrane
233fb08d32 Prevent switch duplicates. 2016-04-02 20:28:45 -06:00
markjcrane
2156d17da8 Rename to the switch_settings class. 2016-04-02 20:11:51 -06:00
markjcrane
3fff96ee68 Set some of the switch directories to enabled false. 2016-04-02 19:57:37 -06:00
markjcrane
e3d1514f2b Add a missing semi-colon. 2016-04-02 19:42:18 -06:00
markjcrane
0eafc921b7 Update the database connection. 2016-04-02 19:41:16 -06:00
markjcrane
b5fbf389dd Change the switch class to freeswitch. 2016-04-02 19:37:37 -06:00
markjcrane
637a3fadb5 Rename the EventSocket file to math current naming standard. 2016-04-02 19:24:32 -06:00
markjcrane
51ea37ed18 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane
7fa92ef54f Fix a syntax problem on the new class. 2016-04-02 19:13:49 -06:00
markjcrane
562f000356 Add a new switch class with a method to get the directories needed for FreeSWITCH and add them to default settings -> switch category. 2016-04-02 17:53:51 -06:00
markjcrane
3ad26f1965 Change expire["sofia_conf"] to expire["sofia"] and expire["acl_conf"] to expire["acl"]. Then add a default value to prevent nil errors when the conf.lua script has not been updated. 2016-04-02 08:32:43 -06:00
markjcrane
ed6bba7250 Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-02 08:23:18 -06:00
reliberate
4a4517a5ab Functions: Enhance img_spacer() function.
Dialplan Edit: Integrate img_spacer() to fix row divider.
Default/Domain/User Settings: Use img_spacer() function for color swatches.
Contact Times: Adjust for recent changes on img_spacer() function.
2016-04-01 19:44:26 -06:00
markjcrane
c7ac0febda Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-04-01 13:37:30 -06:00
markjcrane
0e74ce140b Fix the cisco load or image on the 7940 and 7960 templates. 2016-04-01 13:37:22 -06:00
reliberate
9cfedbf2e9 Function: Created key_press function to dynamically generate key detection javascript.
Voicemail: Ctrl+A checks all checkboxes, pressing Delete deletes the checked Voicemails.
Editor: Integrated key_press function.
Command: Integrated key_press function.
2016-03-31 17:11:37 -06:00
FusionPBX
688b65867e Merge pull request #1521 from moteus/mysql_escape
Fix. use `mysqli_real_escape_string` instead or deprecated `mysql_real_escape_string`
2016-03-31 09:04:35 -06:00
reliberate
5ad7291333 Default Settings: Enhance swatch display on color values. 2016-03-30 17:43:57 -06:00
FusionPBX
e241bd383a Merge pull request #1527 from moteus/menu_array_default_arg
Fix. Use default value in function definition.
2016-03-30 08:49:29 -06:00