8095 Commits

Author SHA1 Message Date
NOYB
4a7bcae7af HTML Compliance - Attribute "for" on Element <div>
Error: Attribute "for" not allowed on element "div" at this point.
Attributes for element "div": http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-div-element

HTML attribute reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
The "Output" element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output

Attributes for element "output": http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-output-element
2018-01-06 10:52:17 +01:00
Franco Fichtner
02c5ee48dd make: annotate package dependency for `license' target 2018-01-05 23:09:43 +01:00
Ad Schellevis
736cf38924 Firewall/VIP, add gateway option for pppoe interfaces, for https://github.com/opnsense/core/issues/2060 2018-01-05 17:25:57 +01:00
Franco Fichtner
945b866df8 system: play whac-a-mole with the serial number #1581 2018-01-05 08:57:54 +01:00
NOYB
b2f4cfa7c1 HTML Compliance - Attribute "type" on Element <i>
Error: Attribute "type" not allowed on element <i> at this point.
2018-01-05 08:36:26 +01:00
NOYB
06f6c5dbf4 HTML Compliance - Obsolete table attributes - II (few stragglers)
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-05 07:43:34 +01:00
NOYB
fad631bb04 Eliminate 300 ms Tap Delay
Implement touch-action: manipulation CSS property to eliminate 300 ms tap delay.

Does not prevent zoom.  Zoom still available by pinch.  Only prevents double tap zoom in order to eliminate the 300 ms tap delay.

What Exactly Is..... The 300ms Click Delay
https://www.telerik.com/blogs/what-exactly-is.....-the-300ms-click-delay

Mozilla developers page.  Updated Oct 25, 2017.
https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action

W3C Recommendation - The touch-action CSS property
http://www.w3.org/TR/pointerevents/#the-touch-action-css-property
2018-01-04 22:06:43 +01:00
Ad Schellevis
579d5f2510 firewall/alias, proper cleanup after kill, https://github.com/opnsense/core/issues/2051 2018-01-04 18:57:29 +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
54410fe38f interfaces: auto-lock problematic interfaces; closes #2002 2018-01-04 14:06:45 +00:00
Franco Fichtner
6ccadfb55e mvc: make enabled checks consistent
Spotted by: @dharrigan
2018-01-04 13:36:19 +01:00
Franco Fichtner
48b164a1a6 system: fix previous, also #1930 2018-01-03 21:21:59 +00:00
Franco Fichtner
6382cbe319 firmware: reload syslog, closes #1930
The syslog reload is kind of graceful so let's try the
cleanest approach before reengineering the world.
2018-01-03 22:11:15 +01:00
Ad Schellevis
a3b48d2ee1 Firewall/Alias, change caption, see https://github.com/opnsense/core/issues/2042#issuecomment-354916478 2018-01-02 22:10:18 +01:00
Franco Fichtner
38609386fb menu: fix DHCPv4 menu context in pools and static mappings 2018-01-03 07:08:12 +00:00
Franco Fichtner
999b0899a1 make: rework style passes 2018-01-03 06:34:08 +00:00
NOYB
1680e68f15 HTML Compliance - Element <button> Descendant of <a> Element
Error: The element button must not appear as a descendant of the a element.

Specification:
http://w3c.github.io/html/textlevel-semantics.html#the-a-element
"Allowed ARIA role attribute values: link (default - do not set), button, checkbox, radio, switch, tab or treeitem"
"The <a> element may be wrapped around entire paragraphs, lists, tables, and so forth, even entire sections, so long as there is no interactive content within (e.g., buttons or other links)."
2018-01-03 07:29:47 +01:00
David Harrigan
7f7941c6e3 Allow input fields to render as readonly.
-=david=-
2018-01-02 15:06:52 +01:00
Franco Fichtner
3ae9866ea7 src: consistent use of readonly as xhtml 2018-01-02 14:47:46 +01:00
Franco Fichtner
fd7d59c856 firewall: natural language translation for previous
It's ok to use breaking spaces, comma-separated values read ok.
2018-01-02 10:51:17 +01:00
Franco Fichtner
3109b519e5 src: regenerate dhparam files 2018-01-02 10:51:17 +01:00
Ad Schellevis
4ac6fae7da Firewall/Nat outbound, change caption 2018-01-02 08:46:44 +01:00
Franco Fichtner
81a6424f72 firewall: natural CSV for previous 2018-01-02 07:28:26 +01:00
Ad Schellevis
30366b8bee Firewall/Nat, cleanup outbound overview page, ditch some old code 2018-01-01 20:10:52 +01:00
Ad Schellevis
1955d26b80 Firewall/Nat missing localhost and vpn networks for default outbound rules, https://github.com/opnsense/core/issues/1326 2018-01-01 20:07:34 +01:00
Franco Fichtner
35b80ddc78 mvc: fix typo 2018-01-01 19:45:29 +01:00
Franco Fichtner
936b0461f7 LICENSE: regenerate 2018-01-01 12:08:47 +01:00
Franco Fichtner
369a5e40fe web proxy: backend reconfigure is a reload
PR: https://github.com/opnsense/plugins/issues/454
2018-01-01 12:08:38 +01:00
Franco Fichtner
8f706cb62b Happy new year! 2018-01-01 12:02:04 +01:00
Ad Schellevis
dd589009f4 Firewall/rule parsing, move plugin init code to it's own function, for easier reuse. 2018-01-01 11:48:05 +01:00
Franco Fichtner
eb666c0212 web proxy: flip setup.sh order on restart 2017-12-31 14:44:55 +01:00
Franco Fichtner
b5f0902407 interfaces: tweak previous
It boils down to trigger during specific requests or don't.
2017-12-31 13:59:58 +01:00
marjohn56
d36f0f4f62 dhcp6c - Use Reasons
Use the REASONS given by dhcp6c when it calls its script. This then only calls newipv6 when 'REQUEST' is the reason.

RENEW, REBIND or INFO do not have changes to the leases, therefore no call to update is needed and this prevents reloading which can affect VPNs, Unbound etc.

On RELEASE or EXIT, once again newipv6 is called as the lease addresses should have been removed by dhcp6c.
2017-12-31 13:47:35 +01:00
Franco Fichtner
617dcaee88 interfaces: small selected bug, reorder settings for clarity 2017-12-31 13:46:16 +01:00
Franco Fichtner
ba725881f8 interfaces: simplify previous 2017-12-31 12:26:55 +01:00
marjohn56
7762f4e7c5 Set dhcp6c vlan Priority
Certain ISP's, Orange France for example use a VLAN, it is a requirement that the dhcpv6 packets are sent with a different priority, in Orange Frances case it is 6.

This PR allows the user to select whether or not to enable the setting of the VLAN priority for dhcpv6 packets and the value to use.

The is then used in the filter.lib.inc to add the extra set-prio value when the fillter is created.

This PR requires the the sysctl net.link.vlan.mtag_pcp be set to 1.
2017-12-31 12:07:53 +01:00
Franco Fichtner
080219e270 firmware: after requested new sorting, plugins went in twice
PR: https://forum.opnsense.org/index.php?topic=6722.0
2017-12-31 11:54:31 +01:00
Franco Fichtner
99ac5f6fb0 mvc: fix class name in doc; usual header prettification 2017-12-31 10:28:52 +01:00
Franco Fichtner
8d569f2cb7 proxy: provide mutable force restart hook for reconfigure
It's a bit tricky to get this right.  More testing needed, but
shouldn't intruduce regressions.  It could, but if the code works
it will not.  ;)
2017-12-30 23:55:10 +01:00
Franco Fichtner
99c783a934 web proxy: use the mutable service controller
We still want to refactor the calls to provide a soft-reload
as indicated here...
2017-12-30 23:22:02 +01:00
Franco Fichtner
5646749c83 intrusion detection: use mutable service controller 2017-12-30 23:14:45 +01:00
Ad Schellevis
34e7a98df3 Firewall/Nat, missed no nat/rdr on carp 2017-12-29 17:25:07 +01:00
Franco Fichtner
5e87c80fee Revert "interfaces: add a no default value for #2032"
Looks like this was already misbehaving even before we added
the explicit PCP change.  Probably since FreeBSD 11.0.

This reverts commit 4d9533d05e918d14117975f4b74ae337f370adc6.
2017-12-29 15:33:44 +00:00
Franco Fichtner
4d9533d05e interfaces: add a no default value for #2032 2017-12-29 16:09:54 +01:00
Franco Fichtner
398a335179 system: do not wrap action buttons 2017-12-29 15:31:10 +01:00
Franco Fichtner
71df9cc1cc system: sort ciphers a bit, not perfect but easier to read 2017-12-29 13:23:26 +00:00
Franco Fichtner
e38b845725 firewall: prune help text trivia and make "pure nat" a checkbox 2017-12-29 13:02:15 +00:00
Franco Fichtner
6b24c4ba57 system: fix openssl binary path #51 2017-12-29 12:35:16 +01:00
Ad Schellevis
9af1ae60db Firewall/snat, add default sticky option for outbound nat rules. https://github.com/opnsense/core/issues/1326 2017-12-29 12:05:23 +01:00
Franco Fichtner
8928b99b92 filter: small cleanups 2017-12-29 10:42:48 +00:00