Few GUI tweaks on unbound ACL page
Fix multiple issues on unbound advanced options GUI:
- Drop many wrong key assignments to pconfig- Add missing keys to pconfig- Deal fine with boolean parameters- Mark subsystem dirty to require apply button- Drop calls to enable_change()- Remove unecessary js function enable_change()...
Allow hostnames in bulk import since they are valid entries in a network type alias.
Merge pull request #1242 from ExolonDX/branch_master_01
Fix PHP script closing tag placement.
Convert almost all /sbin/sysctl calls to php functions
Fix indent
Add missing $g to global, as noted on pull request 1249
Change Cancel button to call history.back() as done in Firewall Rules, the current method has issues with IE 11, it should fix #3728
Also check and verify the package server's SSL certificate if using HTTPS. Issue 484Our current XMLRPC client version doesn't have support on its own to validate this in a way we can use to test in a usable for printing an error message. For now, a cURL query to the XMLRPC URL is used in its place.
More refinements to the unofficial package repository warning ( Issue #484 ) -- Now also shows on Dashboard and installed package list. Cleaned up some code and shuffled things around to avoid unnecessary repetition.
Detect if an unofficial package repository is in use and warn the user. Part of issue #484 (more to go)
Stop calling auto_login() here since it's already called inside setup_serial_port()
Fix #3725:
- Fix match_filter_field() and also simplify logic- Fix $filterfieldsarray initialization- Avoid to have double spaces on filterfieldsarray['act']- Fix filter on Firewall Logs
Add a BETA key for PBI signature check, this will be replaced by the final one before RELEASE. Ticket #3365
Set default serial speed to 115200 for 2.2, fixes #3715
Merge pull request #1238 from DasTestament/master
Update vpn_openvpn_server.php
Update vpn_openvpn_client.php
Merge pull request #1241 from Gertjanpfsense/master
Fix dscp values and provide a config upgrade to fix values stored in config.xml. This is a proper fix for #3688
Tidy up misc. XHTML
"diag_dns.php" Tidy up "equals sign"
"services_captiveportal.php" Add space to OPTION tagUpdate HTML Boolean operatorClose INPUT and BR tags
"services_captiveportal_hostname.php" Update ALIGN to MIDDLE
"services_captiveportal_vouchers.php"...
Update status_captiveportal.php
Don't ask to select a zone if there is only ONE.
removed comments
Merge pull request #1218 from razzfazz/nat_add_missing_protocols_master
Remove also . and / from graph
Remove more backticks
Fix status_rrd_graph_img.php and also improve it:
- Remove escapeshellarg that broke command line- Only remove dangerous chars to avoid command injection- Replace all `hostname` calls by php_uname('n')- Replace all `date` calls by strftime()- Add $_gb to collect possibly garbage from exec return
Make sure single quotes are encoded and avoid javascript injection
Fix indent and whitespaces
Simplify logic, add some protection to user input parameters
Fix whitespaces and indent
We need to allow subdirectories under /usr/local/pkg, here is the proper fix
Change the option for webconfig login autocomplete from opt-in to opt-out, also bump config version and write a function to keep the current status on upgrades
Fix syntax error
Protect servicestatusfilter parameter with htmlspecialchars()
Protect rssfeed parameters with htmlspecialchars()
Avoid directory traversal on restorefullbackup
Fix core dump on viewing invalid package log
Remove . and / from pkg name to avoid directory traversal
Remove id=0 from miniupnpd menu and shortcut
Avoid directory traversal when reading package xml files, also check if file exists before try to read it
Make sure variables are escaped, also replace exec calls to run rm by unlink_if_exists()
Remove useless code, variable is set again on next line
Escape parameters passed to shell_exec()
Be more careful with host parameter and make sure it's escaped when call shell functions
Validate starttime and stoptime format
Default values for verb if it is not set when edit
a bit of refactoring
forgot to sync _server.php with _client.php naming style
patchpack1
-Fix #3401 (Added tun option "Disable IPv6" -Added new options: route-nopull, route-noexec, verb;
Make the byte counts on OpenVPN status human readable rather than huge unformatted numbers.
Replace Header() calls by lowercase
Merge pull request #1229 from ExolonDX/branch-master_06
Merge pull request #1228 from ExolonDX/branch_master_05
Bring the code of captiveportal up to speed with its module counterpart requirments
Fix #3665, show IPSec tunnel description on status page
Fix a typo on variable name
Fix td class
remove extra .
Be more precise to match members of a bridge interface, it should fix #3637
Do not allow interface group name to be bigger than 15 chars, helps ticket #3208
Add some protection to parameters that come through _GET
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...
Update "pkg_edit.,php"
"custom_php_after_head_command", if the PHP code also containsJavaScript ("squid_auth.xml" for example) then this will cause HTMLerrors, as you are not supposed to have anything between the closingHEAD tag and the opening BODY tag....
Whitespace fixes
Allow the user to select "None" for OpenVPN client certificate, so long as they supply and auth user/pass. Ticket #3633
Just use ID here instead.
Various fixes to diag_dump_states.php (Add interface column, some extra validation safety, etc). Should fix #2121
Update csrf-magic to 1.0.4
Merge pull request #1226 from ExolonDX/branch_master_04
Merge pull request #1225 from ExolonDX/branch_master_03
Merge pull request #1224 from ExolonDX/branch_master_02
Tidy up "status_queues.php" XHTML
Add closing BODY and closing HTML tags if "traffic shaping is notconfigured."
Tidy up "status_openvpn.php" XHTML
Move the closing FORM tag after the PHP check if there are any OpenVPNinstances.
Tidy up "diag_dns.php" XHTML
Move the "=" sign into the first table cell, this allows the output toline up in the second cell,Tidy up the table from the "resolution time" output.
Tidy up "crash_reporter.php" XHTML
Tidy up Paragraph tagsClose INPUT tags
Merge pull request #1219 from nagyrobi/patch-13
Fix filename
remove openbgpd bits from system_gateways_edit and system.inc. The packagematch is case-sensitive and hasn't matched the openbgpd package's name inat least 5 years, so it doesn't do anything. It's far from functional inany useful manner even fixing that issue.
Drop a note on the page about how to repair a failed mirror.
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....
Merge pull request #1220 from ExolonDX/branch_master_01
Tidy up "diag_tables.php" XHTML
Add BODY tagAdd ACTION to FORM tagAdd CDATA section to SCRIPTSRemove NAME from OPTION tag, not valid in XHTMLUpdate HTML Boolean operatorsAdd SUMMARY to TABLEClose IMG tag and add ALTMove closing Anchor tag into PHP staement...
Unset iflist and iflist_disabled
Update services_ntpd.php
Add validation for the case of no server specified, fall back to pool.ntp.org
Show disabled interface when it was already part of interface group, it avoids to show a random interface instead and let user to add it by mistake. It should fix #3680
bring protocols on NAT edit page more in line with rule edit page
Merge pull request #1217 from nagyrobi/patch-15
Merge pull request #1212 from ExolonDX/branch_master_04
Merge pull request #1211 from ExolonDX/branch_master_03
Merge pull request #1210 from ExolonDX/branch_master_02
Merge pull request #1209 from ExolonDX/branch_master_01
Update services_ntpd_gps.php
Fixed MRC->RMC typos in sentence types, display and fine-tuning for SureGPS card.
Use script-friendly gmirror status output to build this info, old method was breaking output when the mirror was being rebuilt.
Make logging of pass rules opt-in rather than opt-out
Split the setting of logging pass and block into 2 separate settings. Maybe this can be extended to control even the user rules?
Trim whitespaces from options text and fix #3674
Tidy up "system_firware" XHTML
Remove WRAP from TEXTAREA and add Javascript to add wrap hard
Tidy up Ampersand XHTML
Deprecate Ampersand in Anchor tags