118 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
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
Franco Fichtner
d3376f7f10 src: webConfigurator -> web GUI 2016-12-19 07:16:08 +01:00
Franco Fichtner
85e6220415 system: deprecate 'enableserial' and refactor a bit
We don't need the flag anymore, it must be set through primary or
secondary console explicitly.
2016-11-26 13:09:32 +01:00
Franco Fichtner
a5fc46bd97 dnsmasq: refactor services_dhcpleases_configure() for #1266 2016-11-22 20:10:54 +01:00
Franco Fichtner
79da7c9a13 dnsmasq: pluginification 2016-11-19 08:52:34 +01:00
Franco Fichtner
3fcf1b3c36 unbound: pluginify 2016-11-18 18:27:36 +01:00
Franco Fichtner
715b636793 unbound: clean up includes and function usage
o consolidate "unbound_" prefix for unbound.inc for pluginification
o services.inc includes unbound.inc rightfully, a bit like a
  plugin would do in the future, but this also means we can
  zap all requires from top pages, which are entirely spurious.
o get_dns_servers() moves to system.inc because it is used by
  status_interfaces.php
o RIP read_hosts()
2016-11-14 11:28:01 +01:00
Franco Fichtner
408ebbef48 dnsmasq: same as previous with bits for #1256 2016-11-13 17:03:26 +01:00
Franco Fichtner
20b3939520 unbound: straighten out the dhcp reload mess, loosely refs #1256
This was done in early 16.7, seems to work fine so finish the
transition, dnsmasq is next...
2016-11-13 17:03:25 +01:00
Franco Fichtner
2d450939a0 system: consolidate previous
* system_console_configure() is really system_login_configure()+
* make a template for sudoers config setting
* move auth template generation to single spot
2016-10-26 07:17:58 +02:00
Ad Schellevis
f88eabc00b (pam) switch to pam, with the option to disable our pam helper and switch back to unix mode... for https://github.com/opnsense/core/issues/998 2016-10-25 20:36:55 +02:00
Franco Fichtner
686f6a9226 system: tweak previous
Prodded by: @fabianfrz
2016-08-19 10:30:31 +02:00
Franco Fichtner
273692e574 system: add sudo configure option to permit admins access; closes #990
This is especially useful for "sudo su" in manually created admins
to gain access to the console menu without compromising the root
password.
2016-08-19 08:07:59 +02:00