Thursday, June 06, 2024
support@conference.yunohost.org
June
Mon Tue Wed Thu Fri Sat Sun
          1
2
3
4
5
6
7 8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
             

[16:42:26] <rodinux> what idea to have name like this...
[16:42:26] <rodinux> Hello, I have some time problems with specific fullname users `argument value 'Géraldine D’Autheville' for 'fullname' doesn't match pattern '^([^\W_]{1,30}[ ,.'-]{0,3})+$'`
[16:42:27] <rodinux> Ok I could put Géraldine d'Autheville
[17:13:19] <rodinux> For this one I don't know how to do !! Warning: argument value 'Jean-christian d’Autheville' for 'fullname' doesn't match pattern '^([^\W_]{1,30}[ ,.'-]{0,3})+$'
[17:17:58] <rodinux> well I undestand why
[18:54:17] <tituspijean> mmmh that may not be where the test is done, let me check
[18:54:17] <tituspijean> ah yeah it's on line 75 of `/usr/share/yunohost/actionsmap.yml`
[18:54:17] <tituspijean> @rodinux:matrix.orgIf you want to check if allowing the typographical apostrophe, you can try adding it on lines 40 and 41 of `/usr/lib/python3/dist-packages/yunohost/user.py`
[18:54:18] <tituspijean> `^([^\W_]{1,30}[ ,.'’-]{0,3})+$`
[21:13:51] <rodinux> > <@titus:pijean.ovh> mmmh that may not be where the test is done, let me check

Thanks a lot, but it not a real big problem... it doesn't matter, I just didn't put it. It could be a source of error after upgrades perhaps...