Revert "Combine RTT and Loss so that IPV6 addresses do not cause spillage into other widgets." - until I find the code that does ajax as well.
This reverts commit 1d09d6dbcd80546aec7bc3a91d3c862b00662662.
Combine RTT and Loss so that IPV6 addresses do not cause spillage into other widgets.
Don't use $pconfig in widgets, it has unintended side effects.
Merge pull request #42 from Joecowboy/master
.
Update usr/local/www/widgets/javascript/cpu_graphs.js
making small fixes on jQuery code
Unbreak a number of explode() replacements which required preg_split()
The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.Replacing it surpresses all the warnings
Fix botched tag, add some line breaks
Remove a second, redundant temperature block (there is already one higher up that appears to be functional, this one is not.)
Change system info widget fields from <input> to <span> so they don't appear editable, and we aren't bound by their width constraints. (One long one was messing up table width).
Merge pull request #37 from Joecowboy/master
Dashboard widget fixes and mods
Increased the Uptime input field size from 30 to 50 because it was truncating the uptime tweak output text I made.
Update usr/local/www/widgets/widgets/system_information.widget.php
Disabled the line jQuery('#' + graph['spans'][count - 1]).fadeIn(500); causing javascript error exception to be thrown while displaying span
Added Temperature back in
Tweaked the bar graph width.
Do not redirect on saving services status widget, the headers have been sent by this point and it can't happen.
Require guiconfig.inc
Removing scriptaculous effects, now we use jQuery UI for visual effects
Fix errors caused by javascript code processed by jquery .html() method.
Converting javascript code from scriptaculous to jQuery
Fix display of CARP widget to properly show Disabled status, bring code more in line with the carp status page, and clean it up a bit.
Add missing ?, fix uname display. Fixes #1960
Add relayd to Status > Services and widget. Add capability to kill when restarting instead of a simple reload. Implements #1913
Convert prototype code to jQuery
Change mbuf output on dashboard to read total/max, instead of current/total, to give a more useful view. Also only use a single netstat command instead of two.
Fixup OpenVPN status a bit to properly handle SSL servers using a /30 (no server directive) and also be a little more verbose about what is happening, if we can tell.
Rework OpenVPN status, show status for shared key servers.
More html fine tuning
Add the IPv6 addresses to the interfaces status widget
Do a more strict check on the return value of the download function. Fixes #1309
Fix update check fix. Skipped a parameter.
Make update check a little more robust. Timeout after a few seconds, and if we get a non-200 http code, ignore the response.
Remove any previous file with the same name as the one that will be downloaded. This avoid the gui to always show update availble even though the site could not be reached.
Resolves #1263. Use correct config toggle for detecting alternate url for firmware.
Catch the OpenVPN widget up to the status page code for killing clients.
Sort installed packages in a case insensitive way on the widget and installed packages list.
Whitespace fixes
Sort services on the services status page and widget.
Fix HTML errors reported by Eclipse using PHP perspective
fix CP dashboard widget
Add $nocsrf = true;
Use convert_friendly_interface_to_friendly_descr in the wol widget, just like on the main page. Ticket #1103
Use strtoupper here
Use correct lock.
Add contributed WOL widget. Resolves #1103
Replace the LB status widget completely with one that supports the current LB system.
make rebrand-friendly
Deactivate cpu graph. Will bring back in 2.1
include broadcast address to allow dhcp to work.
Ticket #1023. Correct the widget code bringing it full speed with latest carp code.
Avoid exec() and use php calls.
Fix case of variable name for swap usage. Ticket #477
Ticket #980. Bring CP widget up to date. Also bind lighty for CP to 127.0.0.1 it should not be accessible otherwise.
Don't use pconfig in a widget, it can cause issues with other widget settings.
Sync service status widget code with service status page. Fixes #984
Remove unnecessary (and unclosed) form tag.
desc to descr in Load Balancer config, so they gain CDATA protection and standardize field names. Ticket #320.
Fix graph staggering, the old method was causing the graphs to diverge in update intervals over time.
Show the product_name as the slice "name" for rebrands. Cosmetic only.
Show status as Gathering data rather than unknown since the later seems to scary people!
Ticket #876. Show all gateways even though apinger is not monitoring them, for various reasons, this removes user confusion in the status pages.
More fixes to status services.
Update gateway status properly when fetched via AJAX.
Show the architecture after the version number.
Show the CPU Frequency on the dashboard if it's not running at full speed (due to powerd)
Fix dashboard version check for nanobsd
Make some non functional changes, mostly to keep up with latest gw changes. Related to Ticket #666
Reorganize code to be able to actually use the lookup_gateway_ip_by_name() function to find even dynamic gateways ip.
Actually show other data with gateways status.
Correctly control status of gateways. These code is tripled in these pages not sure what is the best solution.
Add nanobsd size to system info widget after platform.
Fixes #536. More fixes and optimizations on the various functions and status pages used for gateways [groups].
Previous commit also fixed traffic graph state changing, so re-enable that as well.
Add first revision of rewritten OpenVPN status widget to 2.0 resolves #496.
Relocate some NanoBSD functions to a central place. Change NanoBSD diagnostics and system info widget to use the new code. Ticket #533 and some prerequisite parts of Ticket #534.
Update system information widget to use new version checking mechanism.
Redo most of the ppp interface handling to be consistent with the other mpd5 configurations. This way there is no more special handling for ppp around.
Fix auto update checking and showing always there is an update available.
AJAX-ify the gmirror status widget. Add license header while I'm here.
Fix typo
Change variable name to avoid clobbering one by the same name in the Dashboard. Fixes all kinds of fun Dashboard issues. Any widget directly after the Services Status one would mess up in some way.
Show a 3G icon when item is a serial type interface
Fix services status widget to use the same code as the services status page. Might need to move this into a common file in the near future to avoid code duplication.
Ticket #294. Add necessary include.
fix Firewall Logs widget settings save.
Ticket #285
Add priv.defs.inc to authgui.inc
Rework includes a bit
Show all widgets. Remove - button as there is no save mechanism at all for this widget.
Formatting cleanups. Increase buffer size
Rework includes/require. This saves about 4 megabytes.Simplify get_memory(). Tested on mips/i386
Give more room to the interfaces td (40%)
Reviewed-by: scott@ and billm@
Add a line on sys info widget for NanoBSD boot slice if the platform is nanobsd
Fix includes for the widget too.
Bring captive portal widget up to date with changes.