fusiondirectory issueshttps://gitlab.fusiondirectory.org/fusiondirectory/fd/-/issues2021-01-29T20:49:02Zhttps://gitlab.fusiondirectory.org/fusiondirectory/fd/-/issues/5931Use date HTML5 input type for DateAttribute2021-01-29T20:49:02ZbmortierUse date HTML5 input type for DateAttributeFrom #5910
> The hard decision is whether to replace our date input by the type=date HTML5 input. Here is the support matrix: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#Browser_compatibility
>
> All major bro...From #5910
> The hard decision is whether to replace our date input by the type=date HTML5 input. Here is the support matrix: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#Browser_compatibility
>
> All major browsers seem to support it, and I expect most of them will have a better interface than our old fashion datepicker. It would mean switching from d.m.Y to YYYY-MM-DD format for POST value. We may keep d.m.Y as internal value to avoid confusing webservice and internal code (but I do think YYYY-MM-DD is a better and more widely used format).
>
> For outdated browser, they would in this case show a text input field and users would have to "guess" they need to enter YYYY-MM-DD format. We can detect this case in javascript and maybe add a text to explain this, or even try to add the old datepicker (but that means adapt its code to support YYYY-MM-DD format). We can use pattern attribute to force NNNN-NN-NN format (with N an integer), which is more widely supported (IE>=10).
I think we should migrate DateAttribute to HTML5 and to `YYYY-MM-DD` internal format. It may break external tools relying on the webservice.
It could break some internal features but this seems unlikely.
I think we should drop the JS datepicker entirely.
This should be done in a major release, so either %"FusionDirectory 1.4" or 1.5.FusionDirectory 1.4bmortierbmortierhttps://gitlab.fusiondirectory.org/fusiondirectory/fd/-/issues/5694Cannot add a group to "users and groups" field in sudo role2017-11-09T10:20:30ZbmortierCannot add a group to "users and groups" field in sudo role### Description
Can only choose between users when adding to sudo role. Groups are not displayed.
### Distribution Name and Version
Debian 9
### FusionDirectory Version
1.2
### PHP version used
7.0.23-1~dotdeb+8.1
### Origin of p...### Description
Can only choose between users when adding to sudo role. Groups are not displayed.
### Distribution Name and Version
Debian 9
### FusionDirectory Version
1.2
### PHP version used
7.0.23-1~dotdeb+8.1
### Origin of php packages
dotdebFusionDirectory 1.2.1bmortierbmortier