Helped make the ajax more robust to check for non json return types
Revert "Added JSON checks for widgets to prevent parsing errors."
This reverts commit e63aee854214c93fd0cba71f7023c194942c1ca9.
Added JSON checks for widgets to prevent parsing errors.
(cherry picked from commit 63f686bde3e95eed8d2223d00e5f6403a5ef2d4c)
Fixed #78962.3 is slightly different than 2.4 with different variables so thisfix is different than the 2.4 version.
roll back for 2_3 for picture widget
Fixed #7896Handled the case where there is no picture and made it simpler to loada picture.
(cherry picked from commit dc91c9490a61c374b4358a3a328019f3e0e150ab)
Fixed #7714Added JS code to formate the date/time for UCT
(cherry picked from commit 893b609111be502233a7a4ad6804fff1e4779a03)
remove image from rss widget
Fixed #7811
Fixed #7804Replace Math.trunc with Math.floor to make IE happy
fixed #7795By changing var name to no longer conflict with ipsec widget
(cherry picked from commit 3ed475b11dfcb2999a71195987495ccf05808127)(cherry picked from commit bc2772c18ef2aa9a32b941fcf79c0c160fad7666)
Backport 2.4 getstats format for ease of maintenance
Fix system information widget display order
Avoid JS error by always rendering mobile ipsec DIV, even if empty
Fixed JSON format in IPSec widet per Kill Bill (Thanks!)
Revise CPU load display to eliminate sleep in AJAX call
No longer experimental so comment removed
Speedup package related calls to get_pkg_info() since now we have a script that update metadata periodically
Convert firewall logs widget to centralized refresh system
COnvert thermal sensor widget to central refresh system
COnvert dyndns widget to central refresh system
Added refresh icon to version display
Add refresh icon to system info widget version display
Show user when pkg metadata was updated
System info widget prepared for background version checks
COmpleted conversion of dashboard widget to ventralized refresh system
Re-wrote ipsec widgt to return JSON formatted AJAX data
First part of dashboard update system
Adding widget and login css files
Change IPsec widget tunnel status to handle newer strongSwan childid format. Fixes #7499
(cherry picked from commit 4de753e52d8bbc732f23f90dd77df1707fbc3912)
Move uniqueid read to a function system_get_uniqueid()
auth_check lowers cpu usage for checking if the user has permission for the page requested when used in place of guiconfig, especially useful for frequent requests like those made by stats and traffic widgets
(cherry picked from commit c07071cbcadd1c9de9951d9ba497b73752ee52cc)
Let he user know if all selected interfaces are down
in the interface statistics widget.At the moment, if all the selected interfaces are down, the widget will just display no columns. That will make users wonder what happened.(cherry picked from commit b22fceb2d7973b8c80a55b4ec492819ddd5ae9f9)
Fix interface down in interface statistics widget
If an interface is down, the widget would write the interface description in a column heading but then omit the stats items. So later columns (to the right) would have the headings and stats items out of line....
Redmine #7318 None button for widget filters
(cherry picked from commit fba53b438540eb544c43adf4598e07320a910347)
Handle widgets having no items selected for display
(cherry picked from commit 405dfaad144de90a6e401354b80b82baf5ae3d59)
Remove bonus end td tag in interface statistics widget(cherry picked from commit 9795332b0e101b4c500c3c75a8ea02325364fc17)
Spelling
space/tab
Add Netgate ID display to system info widget
Avoid invalid arg error when saving WoL widget
when there are no WoL entries(cherry picked from commit 66a5b767b1b533f6ce508a125404a2d8e3353c41)
Merge pull request #3580 from doktornotor/patch-9
Fix display of BIOS only on Sytem Info widget
Show BIOS information in the system info widget, if it exists in kenv.
System Info Widget enable All button when disable firmware check is set
If system firmware disablecheck is set, then the click event for the filter "All" button is also not included in the JS, so the "All" button is not effective.
The setTimeout for systemStatusGetUpdateStatus() can be moved up just below where it is declared and inside the existing "if" that conditionally includes that function - no need for it to be inside events.push...
Fix #7317 Widget Filter All button gateways widget RELENG_2_3
Reduce numeric precision in gateways widget to single decimal place (Feature #6841)
Further internationalization
Add missing internationalization
Revise gateway widget config form
Allow hiding of gateways in Gateways Widget
Sometimes there are gateways that I do not care about, so it is handy tobe able to save some space on the dashboard by hiding them.This uses similar code structure taken from service_status widget. Imade the Save and Clear buttons and all that stuff use the same styles...
Fix #7317 Widget Filter All button
(cherry picked from commit 7067e174c27a1fe9b23d13806f1e52ce9bc2aaee)
Fix #7306 Correctly filter log widget entries by interface description(cherry picked from commit 27bc5848cfea95f97f70a4fe0c30da6319794a9a)
Set new blog URL (https://www.netgate.com/blog/) as default for RSS widget
(cherry picked from commit 294f14f7897f973f1fa2a1506cfdd9117b5daf65)
Redmine #7301 Provide word-break opportunity for dynamic DNS host names
Signed-off-by: Phil Davis <phil.davis@inf.org>(cherry picked from commit 138e79d42cb1771e3b8fcc727270187f5c7ee7db)
Show PPPoE/PPTP/L2TP uptime on the Interfaces widget (Feature #6032)(cherry picked from commit dc0f5e46a03e0ea797fb74df03e09c58f44a5c1a)
Use | to separate dyndns IPv4 fields on cache file as done by rfc2136 items and for all IPv6 items
Remove another leftover
Fix NTP widget to show server time (Issue #7245)
System Information widget filter gettext()
(cherry picked from commit f5d762f90924510c097a9065dff135dab01f46f0)
System Information Widget Filter
(cherry picked from commit 718b3b0b1b75de09a87866cb37b5a0752643283a)
Add to NTP GPS processing of PGRMF sentence
(cherry picked from commit 6924a2bf34a70cd33284a28ca3575f33f9834375)
traffic-graphs, setting to keep updating them while invisible- allow showing different graphs to be shown on different browser tabs (dont use localstorage for graphs to query)- show interface name in graph instead of realname
Parse GPS initialization commands, extended status for GPSs other than SureGPS and make optional.- Parse GPS initialization commands for explicitly configured GPS commands- Add extended GPS status if GPGSV or GPGGA are explicitly configured- Add config option to toggle extended status...
Fix copy-paste of ipsec.widget.php file name
Noticed while looking in widget code, might as well fix it.(cherry picked from commit a80ce1a7e03ca4fa61f83166b747b4f72dddd4ba)
Fix #7134 Interface Stats widget ifdescrs not defined
When doing testing I had the Interfaces widget open as well as Interface Statistics. $ifdescrs was already populated as an array by the Interfaces widget, so Interface Statistics had (accidentally) gained the benefit....
Protect against forech errors if this function does not return an array. Fixes #7134
Add filter to SMART status widget
(cherry picked from commit 22e8fa1f6aec0b1536f0c07e1573ac78a291891f)
Remove get_openvpnent_key()
(cherry picked from commit 27bf84fc10d723deebb814a38ee9303014b41711)
Add Filter to OpenVPN Widget
(cherry picked from commit a670560bf9a3de550e9e4e20df4ffe1ed2d4f05c)
Only show the DHCP Leases Status link if DHCP server is enabled
Does not make sense otherwise, can only contain stale data.(cherry picked from commit 8ed692516534248e58a20aec70f8cf3035d35348)
Fix #7126 RFC2136 links
(cherry picked from commit 47b35618f025082b5504eae5518d89c772ae8bd5)
Add filter to Dynamic DNS Status Widget
(cherry picked from commit 5f8a3dc09e550f3aa2ef086c03e7133f78756913)
Add filter to Interfaces Widget
(cherry picked from commit 35310a493f19d6758747cbc8e9961c2ca3395246)
Add filter to Interface Statistics widget
(cherry picked from commit 84a7e840eac8f62a95ccb900089faf14a9a9fc65)
Add filter to WoL widget
(cherry picked from commit d82c5cbf4f693d70e55b5a484a34ea84f88fa250)
Tidy up "<script>" tags
Tidy up <script> tags by adding TYPE attribute
(https://doc.pfsense.org/index.php/Developer_Style_Guide#HTML_Specific_Rules)
(cherry picked from commit 463456964709015d4b1c591aa4251c831a39c71d)
Display Dyn DNS type if description not found
(cherry picked from commit 7b3d8a4b8cee0588ed2ccd272588026002369433)
Remove excess loops in DynDNS Widget
(cherry picked from commit b84126b5e74473b1e6a576f38da2149a95ab03fc)
Services widget filter checkboxes
(cherry picked from commit ada6bfa7ca68169408b80af6325afe3948ee85f7)
Correctly report unmonitored gateway status
If an alternate monitor IP has been entered and saved, then the userchecks "Disable Gateway Monitoring" and saves, the alternate monitor IPis retained in the config - that is handy for when unchecking "Disable...
Fix ntp gps status- trim sat in use- gps ok for GPGLL- lat & lon direction for GPGGA & GPGLL- sat in use text position fixed
(cherry picked from commit fdb0479758339e083f7745d738c9999d86af150f)
Use empty()(cherry picked from commit 605a9e6c1f1fae786468b81bf7c911a874048fad)
Fix CPU update period in System Information widget
This only updates after the refresh period set in System - General Setup - Dashboard update period; should not be hardcoded.(cherry picked from commit 827c3f1e2bd99a4b27e65d0fa317bcb3b8944943)
Feature #3151 Disable gateway monitoring actions
without disabling gateway monitoring.
This allows the user to continue to monitor the gateway with dpinger, sothey can see how it is performing, but for the system not to take anyreal action if the latency/loss exceeds the given limits....
Backport Cloudflare and Gratis plus passwords in base64 DynDNS changes
Note: corresponding change to upgrade_config.inc to come in master tocorrectly implement the upgrade_155_to_156 code, that is master only andwill become upgrade_158_to_159
Do not truncate IPv6 addresss in NTP widget (Bug #4815)(cherry picked from commit cd2c59c9839e38fa7cbd4ae217fe14883b086145)
Captive portal: use "Admin Reset" as termination cause when disconnecting a user from admin UI
When a user is disconnected by the administrator using the pfSense captive portal status page or widget set the value of the Acct-Terminate-Cause in the RADIUS accounting stop packet to "Admin Reset" (6) as per RFC 2866....
Fixed #6922Added code for IPv6 Dynamic DNS
Make serial/UUID bold
Show system platform and serial / UUID
Merged #2975
Move copyright from ESF to Netgate
change traffic graphs to use d3.js
Fix syntax error on openvpn.widget.php
(cherry picked from commit 516e609ccb7a39fb27f52a69f11eee68f86974df)
Text typos in openvpn.widget.php(cherry picked from commit 8da4847472e03195aeb73a1acedbc27f8af520d1)
Revise widget refresh timing
(cherry picked from commit 134ee13df54280441c25b047b406628eeebbb8db)
Added control to set dashboard widget refresh periodStart each widget refresh system after a short random delay to prevent all widgets hitting the server at the exactsame timeFix issues wherein two widgets were resetting the refresh timer from the AJAX call, not the call-back function, thereby risking stepping on themselves...
Completed #6723\by making the OpenVPN widget update dynamically
(cherry picked from commit f30e6bd49c773de28b5ec143add30fc900e7874d)
Code style and comments
No functional change - just making style consistent
(cherry picked from commit 9d3e8723171c727cf43338bd8e95ab2bb7e6a66c)