38 Commits

Author SHA1 Message Date
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
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
d87c6ff556 Scripts: add a license generator for GitHub 2017-08-05 20:21:35 +02:00
Ad Schellevis
69510a5fad legacy ui pages cleanup for https://github.com/opnsense/core/issues/1733 2017-07-22 15:01:26 +02:00
Franco Fichtner
0c514cee09 Revert "Allow CNAME overrides for unbound (#1617)"
This reverts commit d3492abdef2798716abfb65ece46b3ff758b14d2.
Per author request: CNAME does not fully work in unbound at
this point.
2017-05-10 17:37:47 +02:00
Jorge Schrauwen
d3492abdef Allow CNAME overrides for unbound (#1617)
* Allow CNAME overrides for unbound

We allow for CNAME to be used in the host override for unbound.
This closes #1614.

* Make sure the cname field is filled in on edit.
2017-05-05 22:29:30 +02:00
Ad Schellevis
52b95b80c0 (legacy) cancel button behaviour, closes https://github.com/opnsense/core/issues/1099 2016-12-12 21:34:03 +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
f39ce32b96 services: url_safe() for #1168 2016-10-11 08:23:59 +02:00
Ad Schellevis
527566bc2a better to hide fields for digfferent types, loosly related to https://github.com/opnsense/core/issues/1041 2016-06-27 10:42:38 +02:00
Franco Fichtner
217c0c9b35 dns: fix AAAA record save
PR: https://forum.opnsense.org/index.php?topic=3092.0
2016-05-25 18:12:54 +02:00
Ad Schellevis
0b31dc522f add opnsense_standard_table_form class to forms 2016-05-20 17:09:58 +02:00
Ad Schellevis
67b827a84f html correction 2016-03-04 12:07:12 +01:00
Ad Schellevis
6f417404b3 (legacy) refactor services_unbound_host_edit.php 2016-02-24 16:06:57 +01:00
Franco Fichtner
6ee8eb7812 src: remove a whole lotta nop
Lookie how far we've come...
2016-02-03 08:43:06 +01:00
Franco Fichtner
6e3e407d85 services: rename shorcut_section to better reflect its purpose; closes #674 2016-01-18 09:30:34 +01:00
Franco Fichtner
d4ff81bbbc services: bring back service widgets for dns 2016-01-18 09:29:38 +01:00
Manuel Faux
87014246c0 UX: changed delete icon from "X" to "trash" 2016-01-10 12:06:48 +01:00
Manuel Faux
57b8d60d59 unbound: removed no-duplicate host restriction
Previously it was not possible to add two host override entries for the same
host-domain combination. Technically this restriction does not exist neither
within unbound nor DNS.
2016-01-08 08:55:54 +01:00
Manuel Faux
23c805dc54 unbound: Fixed inconsistent code formatting 2015-12-11 14:37:53 +01:00
Manuel Faux
920217e104 unbound: Corrected copyright notes 2015-12-11 14:35:57 +01:00
Manuel Faux
9eae686a16 Merge branch 'master' of https://github.com/opnsense/core into unbound-overrides 2015-12-10 23:28:22 +01:00
Manuel Faux
c632424ec7 unbound: Added different DNS RRs to be overwritten
Added the possibility to overwrite MX records by unbound DNS resolver.
2015-12-10 23:25:45 +01:00
Manuel Faux
12353e8f74 unbound: Separated DNS overrides from General settings
Put Host and Domain Overrides to separate configuration section of unbound DNS
resolver.
2015-12-10 18:46:47 +01:00
Franco Fichtner
86d50f8793 www: remove the need for manual $pgtitle #461 2015-12-08 19:45:59 +01:00
Franco Fichtner
54b97dfad5 menu: more consolidation for #461 2015-12-02 09:35:55 +01:00
Franco Fichtner
829c503a9a src: last sweep through crash reports for 15.7.7 2015-08-05 08:59:57 +02:00
Ad Schellevis
01645087f5 (legacy) add missing dependencies 2015-07-24 10:07:47 +00:00
Ad Schellevis
4f33b50c2d (legacy) move services.inc out of fbegin.inc to pages with service shortcut 2015-07-22 09:47:07 +00:00
Ad Schellevis
7418af459b (legacy) add additional check on $input_errors as part of cleanup notices 2015-07-06 16:58:36 +00:00
Ad Schellevis
ba800ae6c8 (legacy) fix check on $savemsg and $input_errors 2015-07-06 14:43:02 +00:00
Ad Schellevis
c0449191f4 (legacy) $jsevents["body"]["onload"] is never set 2015-07-06 13:28:46 +00:00
Ad Schellevis
fe5ae1b7b2 cleanup requires + small typo's 2015-03-23 20:47:12 +00:00
Jos Schellevis
f2a0a7e636 More cleanups.. and still not done 2015-01-01 14:11:03 +00:00
Franco Fichtner
a8641315f3 services: apply whitespace cleanups 2014-12-28 12:09:46 +01:00
Franco Fichtner
727453c076 src: move all files (again)
Make "src" the implicit "/usr/local" so that nobody can
sneak in weird files in the base file system or potentially
overwrite them.

This is the last time, I swear...  :)
2014-12-10 16:42:39 +01:00