Fix lineup of copyright lines
and module names and other bits of formatting and typos in headercomment sections.
Welcome 2015
IPsec Widget allow for old settings that have no iketype
as mentioned in https://forum.pfsense.org/index.php?topic=84527.msg471919#msg471919This 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....
Display tunnel description on IPsec widget
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){ ......
Oops remove variable with same name unused!
Add checks for ghost phase2 and no need to check for number of phase2 here
Correct skipping of disabled tunnels
Correct status counter of inactive tunnels
Oops do not override ipsec status array!
Merge pull request #1397 from phil-davis/patch-15
Merge pull request #1400 from phil-davis/patch-17
Correct dashboard with new ipsec generation
Handle firewall log widget display formats
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....
Interfaces widget remove blank line if no IPv4 address
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....
Interfaces widget create all div
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.
Tidy up "widgets" XHTML
Add CDATA sections to scriptsAdd ALT to image tags and close image tagsDIV tag cannot be inside a STRONG tag, so swap them aroundSCRIPT cannot be part of TR tag, so place the SCRIPT inside a TD tag buthide it.
Use proper listr class for Gateways Widget Status
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 update
Redmine #4077
Use IPv4 for ntpq if IPv6 not allowed in widget #4074
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 #4045
fix up text
Add .inc file for gmirror status widget to give it a better title and link to the management page.
Define a local boolean var for showact to avoid security issues, also pass order parameter trough htmlspecialchars()
Fix whitespace and indent
Merge pull request #1331 from phil-davis/patch-2
Make sure $cpzoneid is defined and use it to call pfSense_ipfw_Tableaction() 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. Ticket #3955
Commit the other part of the fix for Ticket #3955
Oops do the right thing here by passing proper argument rather than breaking the ipsec status page. Ticket #3955
Change copyright statement to reflect reality
Reintroduce graphcounter var to traffic_graphs.widget.php
This counter got lost in commit https://github.com/pfsense/pfsense/commit/ee965a5c7bf37b852795e1201688e3b20bf3d8d1But 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....
Use a better method of finding disks for SMART.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 changes of go outside the sidget. It should fix #3937
Simplify logic
Remove unecessary variables
Whitespace and indent
Fix the log widget to lookup hosts by DNS using a link rather than AJAX. Quick fix for now. Ticket #3829
fix syntax
Merge pull request #1280 from ExolonDX/branch_master_04
Tidy up "gateways.widget.php" XHTML
Remove invalid "summary" attribute from TD tag
Tidy up "interfaces.widget.php" XHTML
Remove duplicate closing TR tagDIV tag cannot be enclosed in a B (bold) tagChange class and style
Show friendly names
Remove extra char
Correct widget displaying of status for tunnels
Properly display number of mobile users
Try to make the ipsec widget usable again
Fix traffic graph widget default autoscale
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/improveInter
Remove blank line if only an ipv6 address is in use
Merge pull request #1268 from CharlieMarshall/gatewayWidget
improve/tidy up interfaces widget
improve look of gateways widget
fix display of traffic graph
Revert "improve/tidy up interfaces widget"
I pushed it accidentally, will wait a fixed version of the patch
This reverts commit b75192e3bc851e80d6bfd33c12849dbc269039fb.
Merge pull request #1232 from N0YB/Widget_Gateways
Merge pull request #1236 from N0YB/Widget_Services_Status
Convert almost all /sbin/sysctl calls to php functions
Simplify logic, add some protection to user input parameters
Fix whitespaces and indent
Protect servicestatusfilter parameter with htmlspecialchars()
Protect rssfeed parameters with htmlspecialchars()
Remove Status Verbiage. Consumes too much realestate in widget. Status icon without the verbiage is sufficient in widget view.
Better string check
Replace Header() calls by lowercase
Remove htmlspecialchars() call for a fixed string.
Populate gateway address field with tilde if there is no address or friendly interface.
This is to match the update data.
Tidy up misc. widgets XHTML
captive_portal_status.widget.phpRemove NAME from TABLE tag, not valid in XHTML
carp_status.widget.phpAdd missing closing TD tag
dyn_dns_status.widget.php andinstalled_packages.widgete.phpUpdate TD class to single line
load_balancer_status.widget.php...
Bring in proper gmirror support for the GUI and notifications.Made a general gmirror library to perform various gmirror tasks and get information, using some of the former widget logic to start. Updated widget to use this new code.Added a Diag > GEOM Mirrors page that displays information about existing mirrors and perform various management tasks. Current actions include rebuilding a drive, forgetting disconnected mirror drives, insert/remove, deactivate/activate, clearing medatada. It's now possible to use the GUI to rebuild a failed mirror by performing a forget, then insert action to replace a missing/dead drive....
Use script-friendly gmirror status output to build this info, old method was breaking output when the mirror was being rebuilt.
Merge pull request #1205 from ExolonDX/branch_master_59
Merge pull request #1203 from ExolonDX/branch_master_56
Merge pull request #1168 from ExolonDX/branch_master_16
Display space usage for all mounted filesystems, not just /. Also display FS type and indicate if it's a RAM disk.
Update SCRIPT tags.
Add CDATA sections to SCRIPT tags in various files
Tidy up "log.widget.php" XHTML
Add CR to SCRIPTUpdate HTML Boolean operatorsMove NOWRAP into CLASS statementDeprecate Ampersand in Anchor tagsAdd dummy row to TBODY, but don't display it.
Tidy up "status_graph" XHTML
Move "fbegin.inc" between BODY and SCRIPTAdd CDATA sections to SCRTIPSUpdate HTML Boolean operatorsRemove EMBED, propriietary tag, replace with OBJECTAdd SUMMARY to TABLESAdd missing closing P tagClose INPUT tags
add guiconfig to widgets not including it. ticket #3498
Fix firewall log widget rule lookup to consider tracker id.
Tidy up "system_information.widget.php" XHTML
Add CDATA secttions to scriptRemove link to CSS file and place it in HEAD.INC and add "type"
javascript normalization
removed duplicate type=text/javascriptadded type for <script>
Merge pull request #1031 from ayvis/master-br-patch
replaced uppercase html tags with lowercase
Detect Zones and Cores for thermal sensors using regex, it fixes #3337
replaced uppercase html tags with lowercasejs files saved as UTF-8 / LFlanguage="JavaScript" deprecated, replaced with type="text/javascript"
Merge branch 'master-br' of https://github.com/ayvis/pfsense into ayvis-master-br
standardize URLs
standardize on https on www.pfsense.org
xhtml Compliancereplaced <br>, <br/> and </br> with <br />
Merge pull request #938 from nagyrobi/patch-12
Create ntp_status.widget.php
Update ntp_status.widget.php
fixed tail path
Updated errorneous paths. Sorry.
Dedicated widget which has a javascript clock showing the server time accurately, and based on NTP's running state displays information about sync source, GPS state etc. It refreshes contents every minute, without reloading the entire page.
Create ntp_status.inc
NTP widget helper
Add an option to force a gateway to be down, it fixes #2847
added missing quotes
thx rbgarga
Allow setting a default scale type preference for the traffic graphs widget
I originally submitted this at https://redmine.pfsense.org/issues/2994but it seems that is not used for commits now so I am adding it here.It works great on my box, and I can't see these changes causing any...
Use _vip as identified for CARP vip IPs to allow easier upgrade code. This way only ipaliases on carp need to be upgraded.
Provide proper interface for getting carp status
Remove references to _vip interface and provide proper configuration for carp on FreeBSD 10. Still some places to deal with this and certainly missing upgrade code