8188 Commits

Author SHA1 Message Date
NOYB
816ddcbb57 Fix a typo 2018-01-27 08:53:38 +01:00
Franco Fichtner
8c3f09a593 firmware: almost here 2018-01-26 21:44:03 +01:00
Franco Fichtner
b99968fb00 ntp: use all time servers, prefer the first 2018-01-26 11:18:12 +01:00
Alexander Shursha
8ad0a66869 Optimize exec('/usr/local/bin/openssl version') 2018-01-26 07:54:16 +01:00
Ad Schellevis
d2a8576375 Dashboard/widgets, ready() triggered twice, replace with $(window).load() to prevent duplicate requests. closes https://github.com/opnsense/core/issues/2104 2018-01-25 22:03:24 +01:00
Ad Schellevis
75365a0a45
Merge pull request #2099 from NOYB/Firewall_Logs_Widget_Tweaks
Firewall Logs Widget Tweaks
2018-01-24 19:01:52 +01:00
Franco Fichtner
69929ee38b firewall: fix port range forward expansion; closes #2126 2018-01-24 07:41:19 +00:00
NOYB
0c19c7b08a Viewport User Scalable 2018-01-24 08:19:01 +01:00
Fabian Franz, BSc
4dd4e05864 openvpn: open links in a new tab (#2116) 2018-01-23 22:29:55 +01:00
NOYB
ad6e76b989 HTML Compliance - "navigation" "role" on Element <nav>
Warning: The navigation role is unnecessary for element nav.

HTML 5.1 2nd Edition
W3C Recommendation 3 October 2017
4.3.4. The nav element
http://www.w3.org/TR/html51/sections.html#the-nav-element

Allowed ARIA role attribute values: ‘navigation’ role (default - do not set) or ‘presentation’.

http://www.w3.org/TR/html51/dom.html#do-not-set
Note: In the majority of cases setting an ARIA role and/or aria-* attribute that matches the default implicit ARIA semantics is unnecessary and not recommended as these properties are already set by the browser.

In the December 2017 document "is unnecessary and not recommended" is bold emphasized.
HTML 5.2
W3C Recommendation, 14 December 2017
http://www.w3.org/TR/html5/dom.html#aria-authoring-requirements

According to HTML5 Accessibility dot com, Chrome, Edge, and Safari have full support for the <nav> element.  Firefox lacks only "Name/Description".  Given the state of IE in this regard it is difficult to understand why anyone using it with assistive/accessibility technology at this point.
http://html5accessibility.com/

Markup like <nav role="navigation"> and <button role="button"> is superfluous since the HTML elements themselves already explain their role.
2018-01-23 07:43:18 +01:00
NOYB
c3b9707fc5 Firewall Logs Widget Tweaks
Widget purpose is to provide an overview, i.e. abbreviated information, of the firewall log.  Details are available in the firewall log view.
  Source port is not all that interesting.  Consumes considerable space for not much value in this view.
  Remove seconds from time field.  Verbosity is available in the firewall log view.

Apply "table-condensed" class for better space utilization.

Settings:
  Provide some separation between check boxes and make their labels active.  Better accessibility and touch screen friendliness.
2018-01-22 16:18:28 -08: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
f509437f84 HTML Compliance - Attribute "content" value on Element <meta>
Error: A meta element with an http-equiv attribute whose value is X-UA-Compatible must have a content attribute with the value IE=edge.

The "Chrome=1" value was used to spawn Chrome Frame in IE 6,7,8,9.  However, "Google Chrome Frame was discontinued in January 2014", and think all IE<11 is beyond EOL.
So is this even needed/useful?

If needed/useful it would probably be better to support deployment by HTTP headers method instead.

Google Chrome Frame
https://en.wikipedia.org/wiki/Google_Chrome_Frame
2018-01-20 13:54:58 +01:00
Franco Fichtner
573612d48e intrusion detection: log drops and alerts causing them 2018-01-20 12:17:04 +01:00
Franco Fichtner
5e970ddf87 system: allow dots in certificate details 2018-01-19 16:18:56 +01:00
Franco Fichtner
73527b8844 web gui: label tweaking, do not mention recovery yet #1347 2018-01-19 08:38:02 +01:00
Franco Fichtner
795dd8bd72 web gui: add a warning dialog for #1347 2018-01-19 08:28:57 +01:00
Franco Fichtner
947718b44b firewall: fix booting alias resolve for #2102
While here, also honour ssl_no_verify and plug in force
usage in the right spot (currently unused but still).
2018-01-18 09:52:00 +01:00
Franco Fichtner
c371155455 rc: since configctl prints "OK" we need a sensible preamble 2018-01-17 11:24:10 +01:00
Franco Fichtner
3bf091ed51 dashboard: better fix for previous
Spotted by: @NOYB
2018-01-17 07:03:14 +00:00
Franco Fichtner
aad052a38c dashboard: revert previous, need to go the other way 2018-01-17 06:55:33 +00:00
NOYB
3f7ee41b53 Widgets Controls on Touch Screen
Touch events not working with the widget controls (link, buttons, drag/drop sort).
Add distance, delay and touch-action css for the widget controls to work with touch screen input.

Widget controls not working correctly with touch screen input
https://github.com/opnsense/core/issues/2092
2018-01-17 07:54:31 +01:00
Franco Fichtner
5e62a4d608 pkg: fix plist after rename 2018-01-17 07:48:27 +01:00
NOYB
dbc244aa17 Interfaces Widget Name & Title Link
Widget names are derived from the widget file base name, which in turn is used to obtain the widget title link.
This restores the original interfaces widget file base name, which fixes the broken title link.
2018-01-17 07:47:32 +01:00
Franco Fichtner
bba40c9789 firewall: fix 'aliases' is undefined error 2018-01-16 20:12:34 +01:00
Franco Fichtner
3869385096 rc: defer newwanip not exectued during boot
PR: https://forum.opnsense.org/index.php?topic=6891.0
2018-01-16 20:10:01 +01:00
Franco Fichtner
cd5e23360f rc: show argument for defer, order was wrong
PR: https://forum.opnsense.org/index.php?topic=6891.0
2018-01-16 17:58:49 +01:00
Franco Fichtner
73ad71d0f6 interfaces: tweak working for vlan hw filter; closes #2094 2018-01-16 15:57:14 +01:00
Franco Fichtner
461e28dce8 system: fix brain typo in routes MVC
PR: https://forum.opnsense.org/index.php?topic=6881.0
2018-01-16 11:37:44 +01:00
Franco Fichtner
585d251ae7 rc: annotate reason in the code, too 2018-01-15 22:01:47 +01:00
Franco Fichtner
d26c77a1ea rc: same fix for /tmp MFS
If users want read-only media they need to put their own
/etc/fstab entries into the system as the MFS options from
the config should not work under unknown conditions.
2018-01-15 21:59:59 +01:00
Franco Fichtner
653651046f firewall: move alias directory to persistent memory
PR: https://forum.opnsense.org/index.php?topic=6843.0
2018-01-15 18:44:07 +01:00
Franco Fichtner
39a22b7066 rc: we are stuck with these workarounds forever 2018-01-15 18:05:21 +01:00
Franco Fichtner
817d10955d rc: recover php.ini files just in case 2018-01-15 17:04:35 +00:00
Franco Fichtner
eaffc0edc4 rc: prevent /var MFS transition on install media after import 2018-01-15 17:30:59 +01:00
Franco Fichtner
56517b529a rc: remove 32 bit mmap allow workaround
The final 18.1 kernel will have the default switched for clarity.
2018-01-15 15:19:38 +01:00
Franco Fichtner
85ac021e56 rc: no, we need another mode for the full restore 2018-01-15 11:08:33 +01:00
Franco Fichtner
66d7e80dd1 rc: even more so, restore a non-existent root account 2018-01-15 11:02:16 +01:00
Franco Fichtner
7bbfc26329 rc: make password reset more consistent in `-h 0' mode
We want to be able to access the root account again after all.
2018-01-15 10:58:13 +01:00
Franco Fichtner
12bc6152d9 firmware: allow upgrade to 18.1.r2 directly 2018-01-15 10:22:30 +01:00
Franco Fichtner
c77fb1a8b0 opendns: always refresh the setting on save
PR: https://forum.opnsense.org/index.php?topic=6097.0
2018-01-15 08:30:06 +01:00
Franco Fichtner
7084582b85 firewall: use question symbol in hash description 2018-01-15 07:47:31 +01:00
Franco Fichtner
5783d102a7 high availability: remove mocked version string 2018-01-14 15:50:59 +01:00
Franco Fichtner
e22d26c322 firmware: tweak previous 2018-01-14 15:10:17 +01:00
Franco Fichtner
edbcdd0ffe rc: annotate boot ignore, there is probably a race
PR: https://forum.opnsense.org/index.php?topic=6843.0
2018-01-14 09:54:59 +01:00
Ad Schellevis
6e5c0fce0c Auth, extend authentication tester to display attributes. 2018-01-13 20:42:56 +01:00
Ad Schellevis
b164ac8d9e Auth/Radius, add RADIUS_FRAMED_IP_ADDRESS, RADIUS_FRAMED_IP_NETMASK and RADIUS_FRAMED_ROUTE attributes. 2018-01-13 20:39:06 +01:00
Ad Schellevis
5ba4869d46 Firmware, add mirror Aalborg University 2018-01-13 17:25:41 +01:00
Franco Fichtner
c43ef0963a rc: use literal * in shell invoke 2018-01-13 15:18:57 +01:00
Franco Fichtner
b4e47b42f9 plugins: no need for $config if not used 2018-01-13 15:15:21 +01:00