79 Commits

Author SHA1 Message Date
Franco Fichtner
7eadf5f447 openvpn: hardcode the RFC 7919 DH parameter #4722
This allows us to remove all DH handling remnants.  If people
want to use a separate content they will have to let us know,
but it seems unlikely.  The only impact seems to be a security
bump from 2k to 4k default.
2022-06-29 20:04:07 +02:00
Ad Schellevis
62f1a9d811 Refactor web application security measures, closes https://github.com/opnsense/core/issues/5481 2022-01-17 17:15:14 +01:00
johnaheadley
06fb809eb6 OpenVPN wizard server cert check (#3634) 2019-08-07 17:01:58 +02:00
Franco Fichtner
a90a920598 wizard: translate typehint as well 2019-05-05 11:08:19 +02:00
Franco Fichtner
8d0072e775 system: only use rrd where needed 2019-04-23 17:18:53 +02:00
Franco Fichtner
772c8e0de6 wizard: render subnet selections as full separate items 2018-12-30 11:47:55 +01:00
Franco Fichtner
42cb5b1970 wizard: small UI corrections 2018-12-30 11:28:37 +01:00
Franco Fichtner
dab3d803d4 wizard: and more... 2018-12-28 14:38:16 +01:00
Franco Fichtner
88a5b1e664 wizard: a bit more 2018-12-28 14:36:24 +01:00
Michael Steenbeek
d27cc83642 Change foreach loops that don't use values to use array_keys() 2018-12-18 14:37:11 +01:00
Michael Steenbeek
7ad3d8dff6 Replace some trivial double quotes with single ones 2018-11-23 14:36:44 +01:00
Michael Steenbeek
19ce1c57a4 Replace uncommon <> notation with != 2018-11-23 14:36:44 +01:00
Franco Fichtner
cd9630897f wizard: correct header 2018-11-23 10:41:32 +01:00
Michael Steenbeek
552fed10d7 Fix HTML errors (#2943) 2018-11-23 10:38:39 +01:00
Michael Steenbeek
9f7ca43981 Change tabs to spaces 2018-11-22 12:03:54 +01:00
Michael Steenbeek
5d49c6afcd PHP: Fix lots of refs to undefined vars (#2952) 2018-11-22 09:22:57 +01:00
Franco Fichtner
7c853d62a9 src: get rid of get_configured_interface_list() 1/2 2018-09-11 21:14:53 +02:00
Ad Schellevis
7f0b486dbb Firewall/alias, replace legacy alias usage and move transitional code into model for https://github.com/opnsense/core/issues/1858
This code keeps the legacy aliases functional until switched (migrated) to the new ones, improves isAlias() performance which was in 18.7r2 and removes some code duplication.
2018-07-23 20:31:42 +02:00
Franco Fichtner
18422bd9fc system: tweak previous 2018-06-19 06:06:01 +00:00
Franco Fichtner
79bf33a1ca system: better dhparam support including RFC 7919 2018-06-19 07:51:29 +02:00
Franco Fichtner
076eb9ffe9 wizard: add element IDs for javascript; closes #2186 2018-05-23 20:16:46 +00:00
Franco Fichtner
e9c3be35d6 www: visual cleanups, unused class/style zapping #2290 2018-03-25 13:10:27 +00:00
Franco Fichtner
b074216e93 www: style updates, less strong/bold markup #2290 2018-03-25 10:08:53 +00:00
Franco Fichtner
3560810303 openvpn: adapt wizard as well #2266
* Port autoselect doesn't work for TCP
* Could still add remote networks
2018-03-18 19:19:57 +00:00
NOYB
6ef9a127ff HTML Compliance - Attribute "type" on Element <script>
Warning: The type attribute is unnecessary for JavaScript resources.

HTML5: Edition for Web Authors
http://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html
The default, which is used if the attribute is absent, is "text/javascript".

The Script element
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type.
2018-01-22 19:13:34 +01:00
NOYB
76aab5cb52 HTML Compliance - Obsolete table attributes
width, align, valign, cellpadding, cellspacing, border, summary

Error: The width attribute on the table element is obsolete. Use CSS instead.
Error: The align attribute on the table element is obsolete. Use CSS instead.
Error: The valign attribute on the table element is obsolete. Use CSS instead.
Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
Error: The border attribute on the table element is obsolete. Use CSS instead.
Error: The summary attribute on the table element is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table; or, simplify the structure of the table so that no description is needed.
2018-01-04 18:26:02 +01:00
Franco Fichtner
ae79fa4f51 wizard: adhere to defaults in the xml
Instead of using the config values even if set...
2017-12-28 11:32:31 +01:00
Franco Fichtner
420cbc6e07 wizard: cleanup for #2007 2017-12-27 11:26:59 +01:00
Franco Fichtner
a48167c403 wizard: add unbound to wizard, remove dnssec from default #1962 2017-12-18 21:55:48 +00:00
Franco Fichtner
c5d4002541 src: add Scott's e-mail everywhere 2017-08-05 20:57:29 +02:00
Franco Fichtner
965b6eba53 wizard: improve previous 2017-06-09 08:21:29 +02:00
Franco Fichtner
03e59623ba openvpn: do not offer external CA for selection; closes #1467 2017-03-12 11:08:10 +01:00
Franco Fichtner
4f3239c7b3 wizard: use fixup spare parts to construct required functionality 2017-02-13 18:59:33 +01:00
Franco Fichtner
540f537a2e wizard: typo in previous 2017-02-13 09:45:49 +01:00
Franco Fichtner
1f3458ecac wizard: tweak previous 2017-02-13 09:44:00 +01:00
Franco Fichtner
7b6ab76964 wizard: somewhat restyle and improve UX 2017-02-13 09:21:06 +01:00
Franco Fichtner
367d2e201b wizard: s/break/die 2017-02-11 17:00:46 +01:00
Franco Fichtner
6ba6098b50 wizard: no not allow unknown xml selection 2017-02-11 16:56:22 +01:00
Franco Fichtner
53bf702269 wizard: adjustments and naming alignments for previous #1359 2017-02-11 14:42:01 +01:00
Franco Fichtner
593d7525ae wizard: do not interpret passed values for #1359 2017-01-28 23:37:41 +01:00
Alexander Shursha
858b12e807 Translate wizards. 2017-01-17 09:41:34 +01:00
Franco Fichtner
0e03967cf5 www: strip plugins.inc from frontend 2016-10-01 10:50:03 +02:00
Franco Fichtner
2a76c4ab9f wizard: add language selection; closes #648 2016-09-27 21:58:09 +02:00
Franco Fichtner
47c3fee71e openvpn: missed plugins.inc dependency on previous 2016-08-28 12:47:34 +02:00
Franco Fichtner
6c0c6b6b3f wizard: fix misalignment of titles
PR: https://forum.opnsense.org/index.php?topic=3305
2016-07-08 09:55:51 +02:00
Ad Schellevis
4e3b66c257 zapp pfsense-utils.inc 2016-06-20 16:59:19 +02:00
Franco Fichtner
f6b554f87e www: consistent use of <?=, some escapes while at it; closes #986 2016-06-11 07:45:49 +02:00
Franco Fichtner
93de08bd36 src: clean up global 'g' handling, still more work to do 2016-05-30 08:36:18 +02:00
Ad Schellevis
7ab0b3463f (legacy) www: strip action attribute from forms where not needed, closes https://github.com/opnsense/core/issues/929 2016-05-12 19:45:28 +02:00
Ad Schellevis
38a5562c92 (legacy) forgot to plug these into wizard.php 2016-03-18 13:35:42 +01:00