Commit Graph

187 Commits

Author SHA1 Message Date
a64a3291ce New "service_name" attribute in the configuration file. 2024-06-28 16:04:29 +02:00
2b33f362dd Change a few rules regarding registration (login regex, password length). 2024-06-27 03:45:00 +02:00
11f5b0872b Users can now safely change their email address. 2024-06-26 01:33:58 +02:00
bbf7a9a80e tmp 2024-06-14 16:16:56 +02:00
ca4cb9e231 Migration script: done. 2024-06-08 20:35:41 +02:00
111adae98f Migration: draft. 2024-06-08 19:23:20 +02:00
4ac27e2db1 Be more precise: Trigger::IndexCached 2024-06-01 03:37:08 +02:00
7e6c733075 Next version of DODB, some API changes. 2024-06-01 02:44:53 +02:00
d790caa4e1 Client: do not raise exceptions on expected possible errors. 2024-05-07 10:54:25 +02:00
a3368d0228 Use libsodium. Cryptographic configuration is WIP. 2024-05-02 01:16:01 +02:00
d0a058e0fb PasswordTooLong 2024-05-01 00:30:49 +02:00
c2f5c5e98c Log when indexes are being recreated. 2024-04-28 23:22:07 +02:00
1987316df0 Add "HOME" envvar while invoking the mailer for password recovery. 2024-03-24 01:00:02 +01:00
6c352cf5ae Chomp Base64 emails. 2024-03-19 02:03:55 +01:00
af696b8768 AskPasswordRecovery now compliant with the netlib.re interface. New email index. 2024-03-19 01:49:30 +01:00
2df24a583e (minor) change the way logs are printed. 2024-03-17 23:16:18 +01:00
5ac733cbc3 UserID: from Int32 to UInt32. 2024-03-16 05:45:15 +01:00
95b7b76f6c (minor) put some comments to show how to use the Process API. 2024-02-20 23:26:33 +01:00
4b21c8bec1 Do not print KeepAlive messages by default. 2024-02-20 23:24:52 +01:00
4c07699082 Implement Keep Alive messages. 2024-02-20 17:14:37 +01:00
66ebcb662d Add authentication by token. 2024-02-17 18:26:23 +01:00
4a10456f27 Search: try to match the email address too. 2024-02-17 18:13:12 +01:00
494b0b3719 Running processes: add a "HOME" envvar (may be required in some environments). 2024-02-16 02:04:12 +01:00
4f84b4c5d6 Forbid the authentication of a user until he validates his email address. 2024-02-11 20:25:08 +01:00
a2f5442565 Print which file descriptor we are talking to (or are receiving from). 2023-07-02 12:11:31 +02:00
95c4af02f0 Small contribution. 2023-06-16 01:28:10 +02:00
e3f52ff088 Client: validation + get user. 2023-06-15 02:43:24 +02:00
ecc2290a09 Client: better error messages for register operation. 2023-06-15 01:11:16 +02:00
03b0b7a95b Client can now register users. 2023-06-15 00:41:22 +02:00
719e47a28d Register: fix login regex. 2023-06-15 00:40:59 +02:00
9ce976afc6 Client: permissions implemented. 2023-06-15 00:02:53 +02:00
9c75522d01 Can now authenticated from the client. 2023-06-14 20:16:42 +02:00
2024325092 DeleteUser now returns a UserDeleted response. 2023-06-14 18:39:36 +02:00
00c202a63a New DecodeToken request. 2023-06-14 18:39:23 +02:00
538faf5004 Client now is simpler (a single function parses responses). 2023-06-14 18:37:16 +02:00
da641a6d3d Remove redundant error messages. 2023-06-14 03:25:19 +02:00
b047a3fd6f All explicit errors in requests are now dedicated errors. 2023-06-14 02:07:03 +02:00
71cbb1d519 Invalid credentials error message. 2023-06-14 01:51:55 +02:00
d66afffc15 Errors now have dedicated messages. 2023-06-14 01:46:38 +02:00
33b47766e5 s/shared key/secret key/ + new bootstrap request + some cleaning. 2023-06-13 23:40:34 +02:00
186edd2ca0 s/UserID | Nil/UserID?/ and allow simple users to read their permissions. 2023-06-13 18:37:58 +02:00
f58de2ce36 Load a file to get the AuthD::Service definition. 2023-06-13 03:24:08 +02:00
f6311be77f Change message numbers. 2023-06-13 03:15:08 +02:00
fb65c32848 Remove messages: GetContacts ListUsers UpdatePassword ReplaceProfile. 2023-06-13 02:32:15 +02:00
3d8d74e8b7 Some inconsistencies have been dealt with. Authorization rules are documented. 2023-06-13 01:32:54 +02:00
67adb6ef51 Removing "phone" and EditContact message (ModUser could be used instead). 2023-06-12 23:24:49 +02:00
3e807ad63e Fix ModUser logic. 2023-06-12 20:54:04 +02:00
cb358ef1de More fine-grained authorizations and remove useless message GetUserByCredentials. 2023-06-12 14:40:03 +02:00
b98399e030 Simplification is done. Still some minor inconsistencies to fix. 2023-06-12 01:56:31 +02:00
af22ea8d18 Register: require at least 20-byte passwords. 2023-06-12 01:55:06 +02:00