Phone number validation and search#24486
Conversation
e25ca41 to
0d63b89
Compare
|
As per opening post, the lib to validate/unify phone numbers needs a default region. Best I have in mind is an admin setup warning about the missing region and until that is set only allow Opinions on this? @MorrisJobke @rullzer @ChristophWurst |
Would the locale be more accurate than the language? Like if one sets |
Doesn't sound too bad IMO. |
0fd3621 to
f543a19
Compare
|
Anyone an idea about:
|
6b4bac2 to
d6e3367
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
…er API directly Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
d6e3367 to
d0750df
Compare
|
Added a repairstep to validate the existing entries. This is now ready to review. |
Signed-off-by: Joas Schilling <coding@schilljs.com>
22576e7 to
354c5ff
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 299: failuresqliteShow full logmariadb10.4-php7.4Show full logmysql8.0-php7.4Show full logpostgres11-php7.4Show full log |
giggsey/libphonenumber-for-phpAdd giggsey/libphonenumber-for-php 3rdparty#539Use https://giggsey.com/libphonenumber/ to find valid testing numbers
Search API
POST ocs/v2.php/cloud/users/search/by-phone{ "location": "DE", "search": { "Unique-Idenifier-For-Contact-1": [ "0711/25 24 28-90" ], "Unique-Idenifier-For-Contact-2": [ "+49 711/25 24 28-91", "0049 711/25 24 28-92" ] } }{ "ocs": { "meta": { "status": "ok", "statuscode": 200, "message": "OK" }, "data": { "Unique-Idenifier-For-Contact-1": "admin@localhost/" } } }