130 Commits

Author SHA1 Message Date
Franco Fichtner
5fafceada9 system: tweak working for #1929 2018-04-29 21:16:14 +02:00
Franco Fichtner
ff60fe9cb3 system: add/update valiation for #2340 2018-04-12 22:50:36 +02:00
Franco Fichtner
e9c3be35d6 www: visual cleanups, unused class/style zapping #2290 2018-03-25 13:10:27 +00:00
Franco Fichtner
2caa7fae6a www: missing bits for previous; closes #2175 2018-03-17 16:19:14 +01:00
NOYB
9d96bdcbc7 Help For - Data For Attribute
Use original element (<div>/<small>) with "data-for" attribute.

The old jquery "for" attribute selectors can be removed once conversion to "data-for" attribute is complete (including plugins).

The old jquery selectors to remove once conversion is complete.
  opnsense_ui.js & head.inc
  $("*[for='" + $(this).attr('id') + "']")....
  $('[for*="help_for"]')....
2018-03-17 16:12:55 +01:00
Ad Schellevis
11363e4799 webui, add option to enable access log and fix lighttpd.log in the process. closes https://github.com/opnsense/core/issues/2248 2018-03-09 21:39:45 +01:00
Franco Fichtner
44622dc97a www: "formselect" hasn't been around for a long time 2018-02-04 22:36:51 +01:00
Franco Fichtner
04f8f972fb system: whitespace thingy 2018-02-01 08:26:23 +01:00
Franco Fichtner
4cdfe13bc4 openssh: prevent SFTP login for non-admins...
unless explicity configured.  We set "admins" in the default
config with also adds "wheel" underneath, but some systems may
not use "admins" so that doesn't work then.

PR: https://forum.opnsense.org/index.php?topic=6994.15
2018-01-31 21:19:10 +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
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
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
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
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
71df9cc1cc system: sort ciphers a bit, not perfect but easier to read 2017-12-29 13:23:26 +00:00
Franco Fichtner
19c4253b1c webgui: explain the confirm / recovery
PR: https://github.com/opnsense/core/issues/1347
2017-12-27 18:23:23 +01:00
Franco Fichtner
fa3ad8025a webgui: flip-flop on old and new URL in case something went wrong
The initial timeout of 20 seconds is long, but it's safer to wait so
that we're not bouncing back to the old web GUI before it goes down.

PR: https://github.com/opnsense/core/issues/1347
2017-12-27 17:55:20 +01:00
Franco Fichtner
5db9141a45 power: finally add that reboot wait dialog
And a few more tweaks in the other spots.
2017-12-20 08:14:16 +00:00
Franco Fichtner
0645d11653 webgui: reload stuff part 1 #1347
Reload the client side.  If we can't connect back, the second
part of this rework will make sure that the system reverts to
its former state and this reload will be able to pick it up.

While here kill the questionable login autocomplete toggle.
2017-12-20 07:33:41 +00:00
Franco Fichtner
086b91c04a firewall: move anti-lockout rule to advanced settings #1347 2017-12-16 13:28:58 +00:00
Franco Fichtner
6ab6267087 webgui: move settings around a bit #1347
Anti-lockout really has both SSH and web GUI as its targets,
which is a bit weird here.  Maybe we ought to split the options,
but for now move it a bit close to SSH.  A separate option makes
no sense at this point.  Maybe this is more of an advanced firewall
option?
2017-12-16 09:20:37 +00:00
Franco Fichtner
8839a087f1 system: fix in empty interface selections #1347 2017-12-07 12:44:04 +00:00
Franco Fichtner
d7e8f8a8cd webgui: small fix and reordering #1347 2017-12-01 17:04:13 +00:00
Franco Fichtner
60e4a462c2 webgui: same same but different #1347 2017-12-01 17:52:55 +01:00
Franco Fichtner
77458a2f64 openssh: feedback/discussion with @adschellevis for #1347 2017-12-01 11:19:41 +00:00
Franco Fichtner
9e209562d9 openssh: work on listen interface selection #1347 2017-11-29 00:04:54 +01:00
Franco Fichtner
bc261c67b8 webgui: add and use backend call
PR: https://github.com/opnsense/plugins/issues/236
2017-08-29 10:37:46 +02:00
Ad Schellevis
c14000892b Merge pull request #1766 from opnsense/license_generate
License overview generation for GitHub
2017-08-09 22:49:25 +02:00
Franco Fichtner
db1b20b893 openssh: feedback for #1750
Prodded by: @adschellevis
2017-08-09 14:24:45 +02:00
Franco Fichtner
0692e3ce59 src: more for previous, just restart unconditionally #1750 2017-08-08 17:50:50 +02:00
Franco Fichtner
62ac77d2f6 openssh: a bit more for #1750 2017-08-08 17:30:30 +02:00
Franco Fichtner
cc6444bf7f ssh: fix ssh installer anti-lockout on WAN/LAN-only setups
PR: https://github.com/opnsense/core/issues/1750
2017-08-08 17:16:16 +02:00
Franco Fichtner
c5d4002541 src: add Scott's e-mail everywhere 2017-08-05 20:57:29 +02:00
Franco Fichtner
d87c6ff556 Scripts: add a license generator for GitHub 2017-08-05 20:21:35 +02:00
Ad Schellevis
cb08677593 webgui, refactor rc.php_ini_setup into standard template, rename webuicompression to compression and split help text 2017-05-04 16:12:53 +02:00
Ad Schellevis
d71fbf0df0 webgui, allow use of output compression for dynamic content. in same cases saves approx. 90% of datatransfer to client, at some cpu cost. default Off 2017-05-04 10:48:41 +02:00
Franco Fichtner
d79c1acf57 system: fix crash report
If configd doesn't respond the JSON is not available, which we really
need a wrapper for doing this fallback all the time and maybe even
with error reporting inside that returned array.
2017-04-30 15:08:26 +02:00
Franco Fichtner
399b9090a4 dns: make DNS services fully pluggable #1491 2017-03-21 08:53:23 +01:00
Franco Fichtner
0f7c882cab openssh: work for #1480 2017-03-18 13:14:54 +01:00
Franco Fichtner
c3687a0c46 system: yes, but, no, but, yes, but... 2017-01-23 18:18:12 +01:00
Franco Fichtner
8d7757f269 system: move up and flip button default 2017-01-23 18:14:39 +01:00
Franco Fichtner
ed2ded1c04 system: make vt/sc configurable; closes #1343 2017-01-23 18:06:34 +01:00
Franco Fichtner
c687c9bb36 system: fix crash report in previous 2016-12-28 13:39:16 +01:00
Franco Fichtner
deda19dc61 system: tweak wording on previous 2016-12-28 13:32:09 +01:00
Ad Schellevis
99dac4ab7e (webconfigurator) optionally limit ciphers. closes https://github.com/opnsense/core/issues/1301 2016-12-27 17:23:01 +01:00
Franco Fichtner
041681bae2 system: extend sudo usage for no password mode 2016-12-21 00:17:50 +01:00
Franco Fichtner
ddca91c131 firewall: fix previous again 2016-12-20 15:17:40 +01:00
Franco Fichtner
d70e4b2652 firewall: glitch in previous 2016-12-20 15:06:46 +01:00
Franco Fichtner
7097b1d016 firewall: consolidate anti-lockout behaviour; closes #1304
Assume LAN unless we only have one interface and that is WAN.
If LAN is not there, no problem: the text will either show
WAN if it works or show LAN and do nothing.

We could argue that 1 interface that is not WAN or LAN is
possible and should receive anti-lockout too, but this would
change the previous behaviour too much and is not generally
possible from the GUI or console.
2016-12-20 14:23:51 +01:00