Commit Graph

801 Commits

Author SHA1 Message Date
markjcrane d516db8b30 Make sure the array exists before using it in group_permissions.php. 2016-04-28 21:18:26 -06:00
markjcrane bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
markjcrane f204f6189e State the full path for which. 2016-04-28 15:35:46 -06:00
markjcrane 1509a8ea11 Add the full path to the commands by using 'which' 2016-04-28 15:17:19 -06: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 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 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
FusionPBX 3b73e0c1d1 Update user_dashboard.php
Add an inline if statement to the user dashboard.
2016-04-22 13:43:02 -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 4a564a1215 Use a more efficient way to add the default settings. 2016-04-15 09:24:55 -06:00
markjcrane 6e5fe31303 Schema use $this->$db instead of $db. 2016-04-14 21:51:11 -06:00
markjcrane f16259f268 Work on the install. 2016-04-14 21:14:40 -06:00
markjcrane 5ca4307ef1 Combine some of the default settings. 2016-04-14 20:11:47 -06: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
reliberate 2732c4253a Dashboard: Remove unnecessary inline cursor style, minor mods.
Call Routing: Minor mods.
2016-04-12 10:20:40 -06:00
Nate 3fbf656c0f Merge pull request #1544 from moteus/dashboard_session_count
Fix. Display session count on User Dashboard.
2016-04-12 10:10:52 -06:00
Alexey Melnichuk 5971e716c4 Add. Make `Channels` link that point to `Active calls` 2016-04-12 16:25:06 +03:00
Alexey Melnichuk c8a12bf254 Fix. Display session count on User Dashboard.
Also it does not request information about all active calls which can be quite huge.
2016-04-12 16:18:19 +03:00
Alexey Melnichuk 8fe3e4c583 Fix. Display `Switch Uptime` on User Dashboard. 2016-04-12 15:42:17 +03:00
reliberate 1f1f8abd03 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 7e8920d196 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 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 debf81d9e2 Default/Domain/User Settings: Handle boolean value for menu_main_icons setting. 2016-04-05 17:24:22 -06:00
markjcrane bd1f5b4388 Run upgrade to call app defaults. 2016-04-03 13:46:46 -06:00
markjcrane f3a0a8b153 Add a default group check. 2016-04-03 11:54:09 -06:00
markjcrane c5d295ef2a Add users and groups php class. 2016-04-03 11:47:06 -06:00
markjcrane 65a2cec4ab Update install freeswitch commented out copy scripts and create config lua as they handled in other code. Update install fusionpbx adding switch directories and creating groups handled in other code. When testing is completed will be removed from the code. 2016-04-03 08:39:47 -06:00
markjcrane 7d61371bc9 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
markjcrane 11f4fea479 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
FusionPBX 933406c4f6 Merge pull request #1530 from moteus/install_new_db
Fix. Install with create new database for PgSQL/MySQL
2016-04-02 00:44:26 -06:00
FusionPBX cc4ef905a9 Merge pull request #1519 from moteus/install_config_lua
Fix. Generate same `config.lua` on install as on Upgrade.
2016-04-02 00:40:52 -06:00
reliberate 14973b5c97 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
reliberate a390e41910 Dashboard: Minor visual adjustment on Voicemail block. 2016-03-31 18:13:16 -06:00
markjcrane db122a3da6 Allow deleting system default groups. 2016-03-31 11:01:39 -06:00
reliberate b8814206b9 Dashboard: Enable relevant System Counts block for Admin. 2016-03-31 10:30:30 -06:00
reliberate 38e349a1e6 User Edit: Fix logic used on Enabled field. 2016-03-31 09:48:30 -06:00
reliberate ee100c6769 Default Settings: Enhance swatch display on color values. 2016-03-30 17:43:57 -06:00
reliberate a9db46254b Default Settings: Added ability to toggle the enabled state of checked settings. 2016-03-30 16:44:51 -06:00
reliberate 83f1a19abb Dashboard: Include settings in app_defaults to display Call Routing and Ring Group Forwarding controls for the users group. 2016-03-30 15:53:12 -06:00
reliberate 428bd04def Dashboard: Corrected app_defaults to create missing Dashboard entries in Default Settings. 2016-03-30 15:42:25 -06:00
reliberate 91b736ff2c Dashboard: Added settings to app_defaults to enable certain blocks in the dashboard by default. 2016-03-30 15:32:06 -06:00
reliberate 539489640b Dashboard: Integrate Settings to control theme/style of Dashboard elements. 2016-03-30 14:41:45 -06:00