60 Commits

Author SHA1 Message Date
Franco Fichtner
1ca149fdcc dhcp: remove ddnsupdate static mapping switch
From a top-down perspective it only makes sense if ddns is enabled
globally, but in this case someone went copy+paste a bit too much.

Since now we force ddns-hostname from global state it makes sense
to tie the static override to this as well instead of making a sub-
switch for global functionality for an optional field to smoothen
the expected result.

If this override is actually useful is another question entirely.
2022-06-28 14:21:07 +02:00
Franco Fichtner
00a86f74db interfaces: shorten list() action where we can 2022-02-02 22:58:39 +01:00
Franco Fichtner
934f40bbd9 dhcp: convert the last two #4749 2022-02-02 21:49:56 +01:00
Gareth Owen
3ca57fae8b
DHCP: Update DNS with hostname only static entries (#4689)
DHCP static mappings that have a hostname configured but no IP address,
now update the Outbound DNS entry with the IP assigned from the pool
2021-08-12 16:52:45 +02:00
Franco Fichtner
57b3cff9d4 src: more cleanups on static pages 2021-06-07 10:45:21 +02:00
Ad Schellevis
c4e8018fc9 Services / DHCPv4 - static entries: add "none" option to gateway setting. Although I really don't like how "none" is a valid option, it will be more consistent with the overal experience. closes https://github.com/opnsense/core/issues/4843 2021-03-18 20:20:37 +01:00
Ad Schellevis
6c1b8a993e DHCPDv4: hostname validation should include domain, missed interface domain. ref https://github.com/opnsense/core/issues/4544 2020-12-23 15:00:56 +01:00
Ad Schellevis
51c04e7abf DHCPDv4: hostname validation should include domain. closes https://github.com/opnsense/core/issues/4544 2020-12-23 14:33:24 +01:00
Gauss23
184b126cb1
DHCPv4: Removed the need for a static IP being outside of the pool (#4447) 2020-12-02 19:48:42 +01:00
Franco Fichtner
b2560c6eb4 services: split code to get rid of shallow services.inc #3736 2019-10-01 08:33:15 +02:00
Franco Fichtner
6be4951dbf dhcp: typo spotted by @azdps 2019-09-30 07:10:48 +02:00
Franco Fichtner
2993ae8dcc dhcp: factually correct annotation, no clobbering of existing strings 2019-09-29 15:15:33 +02:00
Northguy
0b40897fd3 Fix dhcp leases help text (#3488) 2019-05-17 15:26:25 +02:00
Björn Kalkbrenner
e9cb9c0862 dhcp: added TFTP bootfile-name (fix for #3074, introduced with 8e361f3051aa) (#3420) 2019-04-15 17:27:23 +02:00
Björn Kalkbrenner
8e361f3051 dhcp: added TFTP bootfile-name
PR: https://github.com/opnsense/core/pull/3074
2019-03-05 07:11:55 +01:00
Franco Fichtner
9704e0d217 www: html_safe() for value=; closes #3218 2019-02-14 15:22:28 +01:00
Ad Schellevis
4a8e737ced fix some gettext() + html_safe, discussed c4c7f8d732 2019-02-03 20:04:08 +01:00
Franco Fichtner
a4b4db95b3 dnsmasq: add DNSSEC option, several cleanups; closes #2275
* As discussed a long time ago stop mentioning "DNS Forwarder"
* Remove strong tags from Dnsmasq form
* DNSSEC option, off by default
* Some GUI elements flattened
* Advanced button tweaks

Tested using: http://en.conn.internet.nl/connection/
2018-11-24 15:30:19 +01:00
Franco Fichtner
af5f90c6de dhcp: remove get_interface_subnet() usage 2018-11-13 09:42:29 +01:00
Ad Schellevis
fa461dd77c dhcp/language, align messages (same message used in 3 places) 2018-10-04 08:15:05 +02:00
Franco Fichtner
574bd308be src: remove trailing dot workaround by removing trailing dots 2018-09-16 11:44:13 +02:00
Ad Schellevis
d0458d50ae dhcpd / staticmap, remove unused inputs, see https://github.com/opnsense/core/pull/2651 2018-08-21 20:28:52 +02:00
Franco Fichtner
e9c3be35d6 www: visual cleanups, unused class/style zapping #2290 2018-03-25 13:10:27 +00: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
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
5d584a9d3d menu: convert DHCP interface tabs to entries for #1928 2017-11-19 14:45:40 +01:00
Franco Fichtner
b0aa1be38d www: more cleanups possible for #1733 2017-07-22 16:52:50 +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
Ad Schellevis
8e0583e993 dhcp server / static leases, issue with loading settings into form. closes https://github.com/opnsense/core/issues/1568 2017-04-29 12:23:01 +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
4a7ff2456f unbound: simply reload on /etc/hosts change 2016-11-21 07:58:15 +01:00
Franco Fichtner
57fb95f8a9 dhcp: url_safe() redirects for #1168 2016-10-10 08:56:16 +02:00
Fabian Franz
5c48a7696d translation fixes + moved a curly bracket 2016-07-07 08:08:13 +02:00
Ad Schellevis
0b31dc522f add opnsense_standard_table_form class to forms 2016-05-20 17:09:58 +02:00
Franco Fichtner
1282156b4a dhcp: improve a translation 2016-04-20 07:50:43 +02:00
Ad Schellevis
67b827a84f html correction 2016-03-04 12:07:12 +01:00
Ad Schellevis
9fe3e40108 (legacy) prevent some notices in refactored dhcp code 2016-02-22 20:10:48 +01:00
Ad Schellevis
654e3d4d0c (legacy/dhcp) add all_help button 2016-02-22 18:26:02 +01:00
Ad Schellevis
1e884f54b9 (legacy) refactor services_dhcp_edit.php 2016-02-15 16:21:02 +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
Fabian Franz
67d418a9ee translation fixes 2016-01-30 13:30:27 +01:00
Ad Schellevis
a7e4762b9c (legacy) fix html errors, remove $closehead 2016-01-27 18:18:05 +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
07923379b6 services: properly hook up dhcp services 2016-01-18 09:29:38 +01:00
Franco Fichtner
86d50f8793 www: remove the need for manual $pgtitle #461 2015-12-08 19:45:59 +01:00
Fabian Franz
6612086c21 fixes for #427 2015-11-10 18:38:42 +01:00
Ad Schellevis
465e699e71 (legacy) dependency cleanups related to functions.inc / interfaces.inc 2015-07-22 16:56:38 +00:00