summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
Commit message (Collapse)AuthorAgeFilesLines
* Rather than setting the value directly, minimize exposure to eval() in ↵RELENG_2_3_2jim-p2017-02-071-2/+5
| | | | update_config_field() from wizard.php by constructing a variable reference, then set the value using the reference rather than passing user input through eval(). Fixes #7230
* Convert easyrule.php to use a confirmation landing page so that the ↵jim-p2017-02-072-22/+67
| | | | | | parameters can be submitted via POST. Also, remove the JavaScript confirmation box since it is now redundant. Fixes #7228 The confirmation page displays the submitted parameters for an extra user sanity check. Also fixed a bunch of page formatting issues that were not apparent because users rarely if ever saw output from the page.
* Encode the contents of pkg_filter before output. Fixes #7227jim-p2017-02-071-1/+1
|
* Encode 'from' and 'to' before output on pkg_mgr_install.php. Fixes #7225jim-p2017-02-071-1/+1
|
* The confirmation checkboxes on diag_resetstate.php should not be checked by ↵jim-p2017-01-171-2/+2
| | | | default.
* Add IPsec to the state table interface list.jim-p2017-01-121-0/+1
|
* Fix IPv4/IPv6 copy paste error in OpenVPN client-specific overrides. Ticket ↵jim-p2016-12-301-1/+1
| | | | #7053
* Fix field type for TFTP in DHCP server settingsjim-p2016-12-231-0/+1
|
* Fix variable name used to pre-fill the NTP orphan mode field, add ↵jim-p2016-12-231-1/+2
| | | | placeholder with the default while I'm here. Fixes #7034
* Fix display of the number of states in the firewall rules pageplumbeo2016-12-211-1/+1
| | | | | | For numbers greater than 1000 format_number() returns strings formatted like N.NNN K/M/G/T, that get cut to only the integer part if '%d' is used. (cherry picked from commit ef0e956e48ec1b97a307a546cbc24d00872cde1f)
* Fix up validation and encoding on Captive Portal status pages. Fixes #7019jim-p2016-12-175-46/+69
|
* Suppress error logging for Diag > Command Prompt so an error in user-entered ↵jim-p2016-12-161-1/+1
| | | | code doesn't offer to submit a crash report. A notice is still generated since PHP <7 doesn't yet have error_clear_last(). Fixes #6702
* Check for lo0 when reconfiguring VIPs on sync. Fixes #7010jim-p2016-12-131-1/+1
|
* Fix copy/paste error in variable test.jim-p2016-12-091-2/+2
|
* Fix #6918 Allow aliases with capital letters in rulesPhil Davis2016-11-142-2/+20
| | | | | | | | | | Expand the types of Form_IpAddress so that the caller can specify exactly what combination of IPv4, IPv6 address and alias is allowed for the field. Set the appropriate input pattern and hover help text. Only toLowercase() the entered value if it has a ":" in it - i.e. it looks like it is intended to be an IPv6 address (rather than an IPv4 or an alias name).
* Remove "use lowercase" hintPhil Davis2016-11-101-2/+2
| | | | | | | As it is no longer relevant, because the code now automatically converts to lowercase. (cherry picked from commit 6a54698517430760ddcbc84dd0476046d3926b31)
* Fix #6864 automatically convert IPv6 input to lowercasePhil Davis2016-11-101-0/+5
| | | | | | | | | | 1) As the user leaves the field, or presses Save, onChange will fire and convert the input string to lowercase. This saves the user havng to even think about it. 2) Provide some extra text that describes the expected format, to avoid them getting just "Please match the requested format" (cherry picked from commit d461ff40e364fc0ecc003b9f673cbad7c6a08f2f)
* Fix display advanced after input error for system_gateways_editPhil Davis2016-10-251-6/+6
| | | | | | | | | | | | | | Use case: 1) Edit a gateway that has no advanced settings (i.e. the Advanced section does not need to open on page load) - that works fine. 2) Modify the Gateway IP Address to something invalid like 1:2::z 3) Press Save The error is shown - "A valid gateway IP address must be specified" - good. The Advanced section is shown - not good. The problem is that after POSTing the page, and the resulting validation, finding an input error, and re-displaying the page, each of the $pconfig keys is set, even though set to the empty string "". So the isset() tests are true, and it gets the wrong idea. We only care about these parameters if they are not "". In this case !empty() gives the correct result, because although a value of 0 will be considered empty, 0 is not allowed by the front-end of the UI anyway (as it happens, these parameters are not allowed to be 0), so we never get that case. And by the way, I generally hate empty() because of having to think of all its quirks. (cherry picked from commit ebfcfeb59ab4093d6e0d60e95c880d3339e4789d)
* Better handle no dhcpv6 leases filePhil Davis2016-10-251-3/+10
| | | | (cherry picked from commit 2355c154b7598f937ba2121429659f5676ce4d96)
* Fix #6872 CP bandwidth 0 is no validPhil Davis2016-10-251-1/+1
| | | | | The front-end validation prevents zero from being entered. "Leave empty" is the way to specify no limit. (cherry picked from commit b7f2ebb5448f7992cceec899504bdd0a29058fb9)
* Fix typo: The input field is named source_hash_keyNewEraCracker2016-10-071-3/+3
| | | | (cherry picked from commit 870b9bc11b993ce8122b448083d29a04bcb30151)
* Spelling mistake "system_gateways.php"Colin Fleming2016-10-071-1/+1
| | | | | | Fix spelling mistake in "system_gateways.php" (cherry picked from commit 47180823dc0560801085a227abf512e265363b16)
* Revise merge errorSteve Beaver2016-10-031-41/+42
|
* Applied PR #3173 to correct merge errorSteve Beaver2016-10-031-53/+29
|
* Fixed #6835 by revising Javascript show/hideSteve Beaver2016-10-032-12/+30
| | | | (cherry picked from commit 850c3d8b9352e7467beca8502c24ca8d4fbbbd29)
* Make serial/UUID boldRenato Botelho2016-09-271-1/+1
|
* Show system platform and serial / UUIDRenato Botelho2016-09-271-0/+16
|
* Obscure RADIUS shared secret.jim-p2016-09-261-1/+1
|
* Obscured password field in system_authservers.php bind sectionStephen Beaver2016-09-261-1/+1
| | | | | | Fixed #6759 (cherry picked from commit 1c1f08f92e8841f7282280caeed7613edd810453)
* Ensure a mobile P2 is marked as such when saving.jim-p2016-09-241-0/+2
|
* Use wider display for pftop to fill up dead area. Output still looks OK with ↵jim-p2016-09-231-1/+1
| | | | | | narrower terminals as well. Some views were omitting important info at the narrower width
* Declare $config as a global in guiconfig.inc csrf_startup() function, to ↵jim-p2016-09-221-0/+1
| | | | properly respect the timeouts. Ticket #6803
* Apply #601 fix to firewall_nat.phpSteve Beaver2016-09-211-2/+4
| | | | (cherry picked from commit 4b0815f38a8a0f98519ca0c2bff7c81b6464e579)
* Fixed #6801Steve Beaver2016-09-211-1/+4
| | | | (cherry picked from commit 00098bc80b6f85eb74f2f3bc2b4eb7430614110d)
* Do not show certificates in drop-down list that are already contained in ↵skrude612016-09-211-1/+1
| | | | this CRL.
* Add missing \) and fix syntaxRenato Botelho2016-09-201-1/+1
|
* Sanitize 'zone' parameter on CP pagesRenato Botelho2016-09-2011-11/+11
|
* Merged #2975Stephen Beaver2016-09-143-146/+42
|
* Fixed #6788 by clearing only the first label in the cloned rowStephen Beaver2016-09-141-1/+2
| | | | (cherry picked from commit d38d215d1d9429d3a1a15708f92b14cf3a15b247)
* Fix up/catch up remote syslog areas. Fixes #6780jim-p2016-09-091-6/+46
|
* Remove some more dangling PPTP bits.jim-p2016-09-091-4/+0
|
* Fix description of the VPN remote log settingjim-p2016-09-081-1/+1
|
* Input boxes with setPattern validation should not contain escape characters ↵PiBa-NL2016-09-026-8/+8
| | | | | | as they are already properly considered 'lists of characters' even when not escaped. (cherry picked from commit 8ea3fd0569ac2b1681de5ba3fbc2a2cc20981ad6)
* Outbound nat overview, show alias popup and edit options on source and ↵PiBa-NL2016-09-021-3/+3
| | | | | | destination, for both the address and port. (cherry picked from commit d98e54b215a7798aa0cd9d8432340d6e6df762f5)
* -resolved syntax errorhamnur2016-08-311-4/+4
| | | | (cherry picked from commit 0a6ab475d80b580b09fefaf3ca346b08ec6a23c9)
* Clean up the text on diag_sockets.php. Fixes #6708jim-p2016-08-221-14/+12
|
* Clarify language on diag_tables.php. Fixes #6713jim-p2016-08-221-2/+4
|
* Use -l with traceroute6 to show both IP Addresses and Hostnames when ↵jim-p2016-08-221-0/+6
| | | | resolving hops. Add note about max ttl/hop limit in source comment. Fixes #6715
* Add output encoding to diag_dns.php for results returned from DNS. Fixes #6737jim-p2016-08-221-4/+4
|
* Fix syntax error on openvpn.widget.phpNewEraCracker2016-08-201-1/+1
|
OpenPOWER on IntegriCloud