85 Commits

Author SHA1 Message Date
Ad Schellevis
ef0da3ea59 System / Auth / Radius - add group (class) sync and user creation for RADIUS, closes https://github.com/opnsense/core/issues/6111 2022-11-10 15:29:50 +01:00
Josh Soref
8803cb64ab system: fix RADIUS config validation for port requirement 2022-07-18 15:46:29 +02:00
NOYB
14f3cb5214
Prevent Browser Auto Fill Username/Password (#5311) 2021-11-22 09:03:18 +01:00
Ad Schellevis
146166cc25 Authentication / LDAP (+TOTP), for consistency reasons keep ldap_sync_create_local_users on static system_authservers.php page, we currently don't have an option to manage dependancies in automatic fields. ref https://github.com/opnsense/core/issues/5116 2021-08-17 20:09:15 +02:00
Franco Fichtner
18ad4dbbd3 system: remove $main_buttons use #4216 2021-06-15 07:52:13 +02:00
Franco Fichtner
57b3cff9d4 src: more cleanups on static pages 2021-06-07 10:45:21 +02:00
kulikov-a
035319f15e
LDAP minor fixes (#4784)
Improve error handling in ldap authentication
2021-03-06 16:07:53 +01:00
Ad Schellevis
14496cb451 system_authservers.php: fix PHP Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/system_authservers.php on line 756
closes https://github.com/opnsense/core/issues/4242
2020-08-04 18:05:10 +02:00
Ad Schellevis
09c34b272f authservers: PHP Warning: implode(): Invalid arguments ... , closes https://github.com/opnsense/core/issues/3742 2019-10-05 17:57:07 +02:00
Ad Schellevis
b2affd161d LDAP, hook ssl/tls setup into system wide system_trust_configure() for https://github.com/opnsense/core/issues/3742 and cleanup settings. 2019-10-04 09:14:36 +02:00
Ad Schellevis
24b90841d1 Auth/LDAP: group sync, add support to limit groups which are in scope for sync. closes https://github.com/opnsense/core/issues/3471 2019-05-09 20:21:17 +02:00
Ad Schellevis
ccdd7f6586 auth / ldap, add group sync checkbox and help text for https://github.com/opnsense/core/issues/3471 2019-05-08 21:25:13 +02:00
Franco Fichtner
8f80173401 www: a few for #3218 2019-02-14 12:17:07 +01:00
Ad Schellevis
4a8e737ced fix some gettext() + html_safe, discussed c4c7f8d732 2019-02-03 20:04:08 +01:00
Ad Schellevis
9741e9874e system_authservers.php / radius, ldap: fix host validation, closes https://github.com/opnsense/core/issues/3067 2018-12-23 11:23:41 +01:00
Michael Steenbeek
71774ab376 Fix implicit Javascript global variable assignments (#2945) 2018-12-03 13:17:02 +01:00
Ad Schellevis
cfb5852599 Auth: LDAP+TOTP, closes https://github.com/opnsense/core/issues/1030
+ Add ldap+totp connector
+ Refactor local auth to always fetch user via getUser(), prevents different parameters for authenticate() call (less confusing, for a little overhead)
+ Fix settings form, a complete refactor doesn't fit my time scheme, but this doesn't make it worse then it is.
2018-10-30 20:50:01 +01:00
Ad Schellevis
1ddbb3bdbb Auth/LDAP, always add user DN to getLastAuthProperties() and optionally extend with properties available for the user, which might help ease debugging 2018-10-18 08:18:51 +02:00
Franco Fichtner
6a6e77c3d3 system: cleanup related to #2177 2018-06-23 17:28:01 +02:00
Franco Fichtner
fef90667ca system: authentication page consolidation for #2440 2018-06-03 19:04:36 +00:00
Franco Fichtner
64e2c610cc system: local security policy tweaks; closes #2390 2018-05-24 20:10:36 +00:00
Franco Fichtner
3509ec5df2 system: add back policy js hide/show #1929 2018-05-01 17:39:37 +00:00
Franco Fichtner
d13da15cb1 system: move password policy settings to local database server edit #1929
A few review spots and regression fixes as well.
2018-05-01 13:44:38 +00:00
Franco Fichtner
c2962ece8b system: cleanups related to #1929 2018-05-01 12:48:01 +00:00
Franco Fichtner
b78654eb98 system: remove authmode_fallback, allow multiple authmode #1929
Simplifies and alignes the code, although that is a backwards-
incompatible change that should never have happened.  Still a
few things to do and extensive testing.
2018-04-29 19:00:14 +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
Ad Schellevis
275989eeb3 ldap Authentication containers / keep dialog on page, switch to post type request and switch system_usermanager_settings_ldapacpicker.php to only send back a json response in stead of a page. closes https://github.com/opnsense/core/issues/2218 2018-02-26 21:40:14 +01:00
Franco Fichtner
44622dc97a www: "formselect" hasn't been around for a long time 2018-02-04 22:36:51 +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
d87c6ff556 Scripts: add a license generator for GitHub 2017-08-05 20:21:35 +02:00
Franco Fichtner
b0aa1be38d www: more cleanups possible for #1733 2017-07-22 16:52:50 +02:00
Eugen Mayer
2889e235b4 Implement startTLS for ldap #1346 (#1350)
* implement startTLS for ldap #1346
ignore the implementation in #1348 since it is a non-used replication

* fix the data-port of startTLS #1364
2017-01-25 18:17:13 +01:00
Franco Fichtner
6801b20c06 src: use the opportunity to scrub supurious ";;" spots 2017-01-07 10:46:06 +01:00
Franco Fichtner
f783f5c4e2 system: adjust LDAP container message a bit more 2016-12-07 19:14:05 +01:00
Franco Fichtner
d0f13284bf ldap: pretty up config and fix a help string 2016-12-05 07:49:50 +01:00
Franco Fichtner
b234d36f9e ldap: further tweaks according to user feedback
Puts LDAP back in into its supposed working state.
2016-11-29 07:47:23 +01:00
Ad Schellevis
2155d52f38 (theme/style) remove table-sort style, cleanup. 2016-10-17 18:53:55 +02:00
Franco Fichtner
c5ab052b67 system: url_safe() for #1168 2016-10-11 08:11:12 +02:00
Franco Fichtner
d988799a81 src: translations tweaks
Taking the liberty to use this as an opportunity to kill the
usage of "e-mail".

Suggested by: @Antonio-Prado
2016-08-15 07:31:18 +02:00
Ad Schellevis
59f43c120e (auth) move voucher to hotplug 2016-08-01 21:32:16 +02:00
Ad Schellevis
3ff2a47a74 (auth) add checkbox type for pluggable auth connectors in system_authservers.php 2016-08-01 21:24:01 +02:00
Ad Schellevis
b07fcd0597 (auth) extend system_authservers.php for pluggable auth connectors, remove totp properties (moved to connector) 2016-08-01 20:43:53 +02:00
Ad Schellevis
464f7d6dd9 js cleanup system_authservers.php for https://github.com/opnsense/core/issues/1005 2016-06-27 13:13:23 +02:00
Ad Schellevis
0b31dc522f add opnsense_standard_table_form class to forms 2016-05-20 17:09:58 +02:00
Ad Schellevis
ba0c25653e (auth) add totp to system_authservers.php, for https://github.com/opnsense/core/issues/449 2016-05-15 19:26:11 +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
Ad Schellevis
3d2247b448 (auth, vouchers) Vouchers, support for custom length / easier usernames and passwords. closes https://github.com/opnsense/core/issues/886 2016-04-11 22:30:29 +02:00