107 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
3ae9866ea7 src: consistent use of readonly as xhtml 2018-01-02 14:47:46 +01:00
Franco Fichtner
ebb191d106 system: ugly regression in save_close :D #2000 2017-12-17 19:56:16 +00:00
Franco Fichtner
d33b998e1e system: id != value, tweak label #2000 2017-12-17 20:45:26 +01:00
Ad Schellevis
2d76299e68 add save & close to user edit, closes https://github.com/opnsense/core/issues/2000 2017-12-17 19:15:40 +01:00
Franco Fichtner
145c7c8f24 system: translate default language indicator 2017-11-28 13:51:26 +01:00
Franco Fichtner
f9823e0ad3 src: whitespace cleanup 2017-09-25 10:06:16 +02:00
Franco Fichtner
b605812b71 system: user-based language, no wonder nobody wants works on this ;)
PR: https://github.com/opnsense/core/issues/1218
2017-09-21 22:05:04 +00:00
Franco Fichtner
d87c6ff556 Scripts: add a license generator for GitHub 2017-08-05 20:21:35 +02:00
Franco Fichtner
ee0c1705a1 openvpn: allow local group enforcement #1748
While there, strip a bit of legacy cruft.
2017-07-30 12:34:28 +02:00
Franco Fichtner
a54b359f49 system: add email and comment field to users; closes #1731
While there, improve navigation and signaling a bit.
2017-07-23 19:33:34 +02:00
Franco Fichtner
8ad27fbe88 system: all user group no longer exists #1733 2017-07-22 15:47:11 +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
0e9b8f1668 system: improve ssh key newline write; closes #1648 2017-05-18 20:35:59 +02:00
Franco Fichtner
1c037c4753 system: while the former is good, users probably want "more" #1639
Add a clickable unhide button in an extra table row for the QR code
when it is available only.  Makes the help text the help text only.
2017-05-12 09:35:28 +02:00
Ad Schellevis
c7d8d109ba OTP, add note, closes https://github.com/opnsense/core/issues/1639 2017-05-12 08:43:49 +02:00
Franco Fichtner
a2381e6cd9 system: do not prompt for password on user edit
PR: https://lists.opnsense.org/pipermail/users/2017-March/000062.html
2017-03-28 13:48:56 +02:00
Franco Fichtner
4f88afdfb9 system: fix scrambled password user add; closes #1468 2017-03-12 10:44:51 +01:00
Ad Schellevis
0829a34cef align max username length, ref 4036f87375/sys/sys/param.h (L103) 2017-02-26 17:20:44 +01:00
Franco Fichtner
eff961d561 system: clarify usage of this checkbox 2017-02-16 10:23:11 +01:00
Franco Fichtner
66d982fd16 system: allow random password reset; closes #1351 2017-02-16 09:03:02 +01:00
Franco Fichtner
32f7856261 users: allow to change password for imported users
We import those users with a random password.  We can always let
the user define another one and use it...
2017-01-26 09:16:24 +01:00
Franco Fichtner
d3376f7f10 src: webConfigurator -> web GUI 2016-12-19 07:16:08 +01:00
Franco Fichtner
85e4bef09a system: protect all JS with html_safe(); closes #1285 2016-11-30 16:02:11 +01:00
Valentin Deville
235049b9ce Fix bug in some languages with quotes 2016-11-30 16:02:11 +01:00
Franco Fichtner
408790170f acl: more changes for #1037 2016-11-23 21:43:06 +01:00
Franco Fichtner
9205427c8e system: simplify ACL translation for #1037 2016-11-23 21:13:57 +01:00
Franco Fichtner
6855a212d5 system: remove mention of extended account usage
It's only partially true and will be compeltely wrong in
the mid-term future.  ;)
2016-10-04 08:29:50 +02:00
Franco Fichtner
289c349ba3 www: switch to absolute redirects #1168 2016-09-24 09:03:45 +02:00
Franco Fichtner
d569a8e180 access: allow root disable and prevent to disable own user
PR: https://forum.opnsense.org/index.php?topic=3684
2016-09-19 07:49:35 +02:00
Ad Schellevis
b56bcf8392 wrap gettext() , closes https://github.com/opnsense/core/issues/1181 2016-09-14 10:29:50 +02:00
Franco Fichtner
35ec2adc3a src: add portable url_safe() like we have exec_safe(); closes #1068 2016-08-22 08:16:38 +02:00
Franco Fichtner
a52ec237b1 system: fixup scattered gettext() usage in the user manager 2016-08-17 19:23:34 +02:00
Franco Fichtner
a0c0a25434 system: small translation tweaks 2016-08-16 21:22:59 +02:00
Franco Fichtner
768d5e8113 system: prevent user from deleting itself; closes #1031
Bravely assisted by: @ShaRose
2016-07-23 18:11:27 +02:00
Ad Schellevis
5f27b92ce3 cleanup js in system_usermanager.php for https://github.com/opnsense/core/issues/1005 2016-06-27 14:02:56 +02:00
Fabian Franz
cd724c2bd9 create qrcode in the browser instead of an external service 2016-06-12 12:42:08 +02:00
Ad Schellevis
de5a42e059 (usermanager) fix otp qrcode link, solves error on first request. 2016-06-06 13:00:30 +02:00
Franco Fichtner
0ddccb7cd1 ui: tooltip placement and button alignment; closes #959 2016-05-26 21:24:45 +02:00
Ad Schellevis
89ea14d243 (ui) change (+) alignment in system_usermanager.php 2016-05-20 17:35:21 +02:00
Ad Schellevis
0b31dc522f add opnsense_standard_table_form class to forms 2016-05-20 17:09:58 +02:00
Ad Schellevis
e74f0c2a42 (auth) refactor user/group privilege management 2016-05-19 18:41:22 +02:00
Franco Fichtner
4fc57390f7 contrib: move Base32 implementation to own subdir 2016-05-16 19:43:39 +02:00
Ad Schellevis
08d84231c7 (auth) add otp seed input to usermanager, https://github.com/opnsense/core/issues/449 2016-05-16 13:18:46 +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
956a13f60f (user manager) add datepicker + small html style issues, closes https://github.com/opnsense/core/issues/552 2016-05-10 17:38:23 +02:00
Franco Fichtner
9989097dd8 src: second part of restyle done 2016-04-01 16:05:35 +02:00