summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets
Commit message (Collapse)AuthorAgeFilesLines
* IPsec Widget allow for old settings that have no iketypePhil Davis2014-12-301-1/+1
| | | | | as mentioned in https://forum.pfsense.org/index.php?topic=84527.msg471919#msg471919 This change makes it work like similar if tests in /usr/local/wwwvpn_ipsec.php, and code in /etc/inc/vpn.inc that effectively defaults to ikev1 when iketype is not specified. This should make the code here be executed and make $ikeid get the correct value to be used in later code.
* Display tunnel description on IPsec widgetPhil Davis2014-12-261-45/+49
| | | | | | | | There was not even code to attempt to display the description. Also, when I first created a phase1 and there were no phase2 yet, the widget spat out the warning for the line: foreach ($config['ipsec']['phase2'] as $ph2ent){ ... So I enclosed that in a block: if (isset($config['ipsec']['phase2'])) { ... } Tabbing that block in makes the diff look big when there really is little change - a diff ignoring spacing will look much nicer!
* Oops remove variable with same name unused!Ermal LUÇI2014-12-241-1/+1
|
* Add checks for ghost phase2 and no need to check for number of phase2 hereErmal LUÇI2014-12-241-3/+3
|
* Correct skipping of disabled tunnelsErmal LUÇI2014-12-241-1/+1
|
* Correct status counter of inactive tunnelsErmal LUÇI2014-12-241-0/+8
|
* Oops do not override ipsec status array!Ermal LUÇI2014-12-231-2/+2
|
* Merge pull request #1397 from phil-davis/patch-15Chris Buechler2014-12-221-27/+25
|\
| * Interfaces widget remove blank line if no IPv4 addressPhil Davis2014-12-201-2/+1
| | | | | | | | If the interface had an IPv6 address but no IPv4 address, there was a blank line where the IPv4 address would have been. There is no need for that, and one day IPv4 will be old legacy and systems will routinely have no IPv4 addresses at all - they will all be IPv6. Might as well make that look ordinary on the display now. The br goes in the div so we can put it in and out from the AJAX also.
| * Interfaces widget create all divPhil Davis2014-12-201-25/+24
| | | | | | All div for the various things need to be created here, so that later AJAX can switch the necessary things on/off and write a new IPv4 or IPv6 address into the div when an interface acquires an address.
* | Merge pull request #1400 from phil-davis/patch-17Chris Buechler2014-12-221-10/+46
|\ \
| * | Handle firewall log widget display formatsPhil Davis2014-12-211-10/+46
| |/ | | | | | | | | | | | | | | | | | | the same way for the initial display and for updated rows done by Java Script. Now we receive the source IP and port, destination IP and port, all in separate fields so they can be put together in whatever combination for display. IPv6 displayed addresses are shown inside "[ ]" so that any following port has the standard syntax like "[a:b::c:d]:123" - this makes it obvious that the last numbers are a port number, and not part of the IPv6 address. The "title" has IP+Port - that is displayed when hovering over the box in general. The href to diag_dns.php has hover text "Reverse Resolve with DNS" and the "?host=" sends just the IP address (without IPv6 square brackets). The text displayed in the link is the IP address (with square brackets if an IPv6 address). For the destination column, if there is a destinaion port, it is displayed in ordinary text ":port" after the IP address. The blank not-displayed row at the end of the table is removed - this fixes the problem with counting the rows of the table where rows would disappear at each update.
* | Correct dashboard with new ipsec generationErmal LUÇI2014-12-221-24/+43
|/
* Tidy up "widgets" XHTMLColin Fleming2014-12-144-10/+16
| | | | | | | | Add CDATA sections to scripts Add ALT to image tags and close image tags DIV tag cannot be inside a STRONG tag, so swap them around SCRIPT cannot be part of TR tag, so place the SCRIPT inside a TD tag but hide it.
* Use proper listr class for Gateways Widget StatusPhil Davis2014-12-051-1/+6
| | | | | The Gateways Widget Status was not using the listr class, and so it was missing the borders for the right and bottom of its box. Use the listr class. Then use javascript to explicitly set the background-color to match the status, overriding the white that is specified in listr.
* Fix gateway widget status updatePhil Davis2014-12-051-1/+1
| | | Redmine #4077
* Use IPv4 for ntpq if IPv6 not allowed in widget #4074Phil Davis2014-12-041-2/+7
| | | Similar code here. Shame it was not in a subroutine called from both places, but not about to re-engineer that now:)
* fix IPsec widget status display after recent changes broke it. Ticket #4045Chris Buechler2014-11-251-10/+15
|
* fix up textChris Buechler2014-11-221-1/+1
|
* Define a local boolean var for showact to avoid security issues, also pass ↵Renato Botelho2014-11-181-9/+11
| | | | order parameter trough htmlspecialchars()
* Fix whitespace and indentRenato Botelho2014-11-181-23/+38
|
* Merge pull request #1331 from phil-davis/patch-2Renato Botelho2014-11-181-1/+3
|\
| * Reintroduce graphcounter var to traffic_graphs.widget.phpPhil Davis2014-11-071-1/+3
| | | | | | | | | | This counter got lost in commit https://github.com/pfsense/pfsense/commit/ee965a5c7bf37b852795e1201688e3b20bf3d8d1 But the code at line 174 was still using it to offset the start time of each shown graph by 2 seconds, which I guess helps the graph data collection requests back to the pfSense to be staggered, not all having to be serviced at almost exactly the same time. I noticed this while having a quick look at all the traffic graph widget code to see if there was an obvious place where the 2x bandwidth graphing problem happens. The "* 2" here in line 174 has nothing to do with that!
* | Make sure $cpzoneid is defined and use it to call pfSense_ipfw_Tableaction() ↵Renato Botelho2014-11-131-6/+13
| | | | | | | | and pfSense_ipfw_getTablestats(). Also fix fieldnames for captiveportal_hostnames. It should fix #4001
* | Do not display the disabled tunnels since they are not needed in the widget. ↵Ermal2014-11-121-45/+25
| | | | | | | | Ticket #3955
* | Commit the other part of the fix for Ticket #3955Ermal2014-11-121-1/+1
| |
* | Oops do the right thing here by passing proper argument rather than breaking ↵Ermal2014-11-121-1/+4
| | | | | | | | the ipsec status page. Ticket #3955
* | Change copyright statement to reflect realityJim Thompson2014-11-1022-0/+48
|/
* Use a better method of finding disks for SMART.jim-p2014-11-041-1/+1
| | | | Old code was inaccurate and also listed entries that were symlinks to other disks
* Back to use listr instead of vncellt since it has small fonts and mitigate ↵Renato Botelho2014-10-281-9/+8
| | | | changes of go outside the sidget. It should fix #3937
* Simplify logicRenato Botelho2014-10-281-21/+20
|
* Remove unecessary variablesRenato Botelho2014-10-281-5/+3
|
* Whitespace and indentRenato Botelho2014-10-281-59/+85
|
* Fix the log widget to lookup hosts by DNS using a link rather than AJAX. ↵jim-p2014-10-161-2/+2
| | | | Quick fix for now. Ticket #3829
* fix syntaxjim-p2014-09-181-1/+1
|
* Merge pull request #1280 from ExolonDX/branch_master_04Renato Botelho2014-09-161-1/+1
|\
| * Tidy up "gateways.widget.php" XHTMLColin Fleming2014-09-141-1/+1
| | | | | | | | Remove invalid "summary" attribute from TD tag
* | Tidy up "interfaces.widget.php" XHTMLColin Fleming2014-09-141-3/+2
|/ | | | | | Remove duplicate closing TR tag DIV tag cannot be enclosed in a B (bold) tag Change class and style
* Show friendly namesErmal2014-09-111-1/+1
|
* Remove extra charErmal2014-09-111-1/+1
|
* Correct widget displaying of status for tunnelsErmal2014-09-111-1/+2
|
* Properly display number of mobile usersErmal2014-09-111-1/+1
|
* Try to make the ipsec widget usable againErmal2014-09-101-11/+18
|
* Fix traffic graph widget default autoscalePhil Davis2014-09-011-2/+4
| | | | so the radio buttons selection allows only 1 to be selected and the setting is then saved. Forum: https://forum.pfsense.org/index.php?topic=81166.msg
* Merge pull request #1261 from CharlieMarshall/improveInterRenato Botelho2014-08-281-19/+17
|\
| * Remove blank line if only an ipv6 address is in useCharlieMarshall2014-08-281-3/+7
| |
| * improve/tidy up interfaces widgetCharlieMarshall2014-08-281-16/+10
| |
* | Merge pull request #1268 from CharlieMarshall/gatewayWidgetRenato Botelho2014-08-281-33/+13
|\ \
| * | improve look of gateways widgetCharlieMarshall2014-08-251-33/+13
| | |
* | | fix display of traffic graphCharlieMarshall2014-08-251-9/+1
|/ /
OpenPOWER on IntegriCloud