68 Commits

Author SHA1 Message Date
Franco Fichtner
5eb4ac6143 interaces: killed wrong note 2022-08-30 15:35:51 +02:00
Franco Fichtner
2f1a92c075 interfaces: interfaces_hardware() for interface settings page 2022-08-30 15:31:14 +02:00
oittaa
5fd93bde41
Use random_bytes() from PHP 7.0+ and simplify the voucher generation (#5659)
* Use random_bytes() from PHP 7.0+
* Simplify voucher generation
2022-03-30 09:44:01 +02:00
Franco Fichtner
56e11a869b system: avoid array_walk() use loosely related to #5540
While here feed $pconfig back the normalized value for proper GUI display.
2022-02-04 13:08:42 +01:00
Franco Fichtner
b4b350ebca interfaces: improve wording a bit more 2022-02-02 08:11:51 +01:00
Ad Schellevis
68138c2973 Interfaces: Settings - improve mesage a bit for https://github.com/opnsense/core/issues/5521 2022-01-31 10:31:53 +01:00
Ad Schellevis
f041bb8ceb Interfaces: Settings - add a note about where these settings apply, closes https://github.com/opnsense/core/issues/5521 2022-01-31 09:57:54 +01:00
Franco Fichtner
766dc45283 system: remove system_arp_wrong_if() in favour of #5467
It applies all sysctls on interfaces settings save but there
isn't much of a point splitting the functionality or hardcoding
yet another spot with the required sysctls.
2022-01-17 12:37:15 +01:00
Gabriel Mazzocato
80dc51e541
Fix DUID - LL description in Settings | Interfaces (#4521) 2020-12-14 10:57:07 +01:00
Ad Schellevis
8855e26867 Revert "Improve IPS mode help to avoid blocking network access, issue #4257 (#4271)"
This reverts commit 02d05f7278ccbfff6a2f3691d0663cb03c1767a8.
2020-09-18 14:25:43 +02:00
OliverO2
02d05f7278
Improve IPS mode help to avoid blocking network access, issue #4257 (#4271) 2020-09-18 10:42:36 +02:00
Martin Wasley
5ed15ca47c interafces: move settings for dhcp6c to system_advanced_network
PR: https://github.com/opnsense/core/pull/4096
2020-05-10 08:25:59 +02:00
Franco Fichtner
d87ce014d9 interfaces: bring back special IPv6 vars 2020-05-06 16:54:58 +02:00
Martin Wasley
1963eef793 Add EN DUID Generation using Opnsense PEN. (#3436) 2019-05-02 19:46:52 +02:00
Michael Steenbeek
2c61e068a2 Small fixes (#3096) 2019-01-04 09:26:16 +01:00
Franco Fichtner
ccd0f07fa8 interfaces: clear a faulty automatic DUID; closes #3061 2018-12-28 18:23:38 +01:00
Martin Wasley
59ec7b7449 DUID-LL Generator fix
Timestamp is not used for DUID-LL only mac address.
2018-12-27 09:46:24 +01:00
Franco Fichtner
5568b35958 interfaces: read and write DUID correctly; closes #3029 2018-12-11 14:07:07 +00:00
Franco Fichtner
6b848aba4a interfaces: do not offset DUID by two bytes for now
It's not clear what this actually does.  is_duid() fails.
2018-12-09 07:08:18 +01:00
Franco Fichtner
1051b38584 system: pass IP down 2018-12-09 06:23:51 +01:00
Franco Fichtner
83f66de6ed system: protect mac call 2018-12-09 06:20:36 +01:00
Michael Steenbeek
5d49c6afcd PHP: Fix lots of refs to undefined vars (#2952) 2018-11-22 09:22:57 +01:00
Franco Fichtner
1e5f236722 www: reformat headers with recent changes
We want an unified format for all pages eventually... :)
2018-11-16 07:55:46 +01:00
marjohn56
d46d2a6edc interfaces: multiple type DHCP DUID support and generation; closes #2602 2018-10-31 20:40:50 +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
Franco Fichtner
73ad71d0f6 interfaces: tweak working for vlan hw filter; closes #2094 2018-01-16 15:57:14 +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
marjohn56
bff4ace717 interfaces: allow the user to fix the dhcp6 duid; closes #2021
The existing DUID may be recalled and stored in the
config file or else a new DUID may be created.
2017-12-28 10:26:20 +01: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
Franco Fichtner
5a21a07ab4 interfaces: fix missing help toggle in settings
Reported by: Simon Brunet
2016-09-19 08:56:07 +02:00
Ad Schellevis
4e3b66c257 zapp pfsense-utils.inc 2016-06-20 16:59:19 +02:00
Ad Schellevis
845cb7aff1 add opnsense_standard_table_form class to forms (2) 2016-05-20 18:13:49 +02:00
Ad Schellevis
7ab0b3463f (legacy) www: strip action attribute from forms where not needed, closes https://github.com/opnsense/core/issues/929 2016-05-12 19:45:28 +02:00
Franco Fichtner
aeb8d52ed7 firewall: migrate ip options that require the firewall 2016-04-07 22:34:26 +02:00
Franco Fichtner
eb53c06567 system: migrate ip version prefer option #832 2016-04-07 22:20:57 +02:00
Franco Fichtner
dec52fa605 interfaces: prune some settings while investigating #832
o polling is going away
o idiomaitic way to enable/disable arp handling
o where does ip version prefer really fit in?
o unhide checkbox captions, as redundant as they may seem
2016-04-07 22:05:50 +02:00
Ad Schellevis
67b827a84f html correction 2016-03-04 12:07:12 +01:00
Ad Schellevis
2fc3baa930 (legacy) make disablevlanhwfilter optional + redirect on successful save in system_advanced_network.php 2016-03-02 17:11:26 +01:00
Ad Schellevis
ec5d6b12c8 (legacy) zap setup_microcode 2016-02-15 17:50:09 +01:00
Olivier Paroz
a18f6df78c "device polling" changes also require a reboot
The changes won't happen until the interface is re-configured, just like for the other settings.
2016-01-28 17:26:30 +01:00
Franco Fichtner
d41b5a7456 src: reindent copyright block to four spaces 2015-12-29 20:22:41 +01:00
Franco Fichtner
86d50f8793 www: remove the need for manual $pgtitle #461 2015-12-08 19:45:59 +01:00
Ad Schellevis
41c79bfc58 (legacy) htmlencode formdata system_advanced_network.php 2015-12-04 17:01:06 +01:00
Ad Schellevis
bf021e83dc (legacy) refactor system_advanced_network.php 2015-12-04 14:30:14 +01:00
Franco Fichtner
6948906adf menu: convert settings tabs to submenu; closes #402 2015-09-26 09:00:49 +02:00
Franco Fichtner
ee5672b984 www: filter_configure() has no return value 2015-09-14 17:22:42 +02:00
Franco Fichtner
d5f56a07b4 src: whitespace sweep 2015-09-11 10:22:11 +02:00