Commit Graph

16 Commits

Author SHA1 Message Date
e47f7e7f75 Registration dates sent to clients on GetUser and similar. 2020-04-15 11:39:34 +02:00
Philippe PITTOLI
189e22902e Recording user registration and last connection dates. 2020-03-23 06:54:45 +01:00
Philippe PITTOLI
bd68148924 Password Recovery. 2020-02-23 20:37:50 +01:00
Philippe PITTOLI
8ddf5cf316 User contact activation done. 2020-01-22 14:43:58 +01:00
Philippe PITTOLI
bef2e73fff Contact informations. 2020-01-22 01:55:57 +01:00
b5c055b553 Major update that includes various breaking changes.
- backend is now a DODB::DataBase, not a passwd and group file anymore.
- extras have been removed. A WIP User#profile field exists, that can be
  a JSON::Any. No profile validation has been implemented as of this
  commit.
- authd now provides permission over resources, which is more precise
  than checking whether a user is part of a group.
- permissions are now checked through authd once again: tokens don’t
  hold permissions anymore.
- tokens are now minimal authentication “keys” to prove who you are and
  nothing more.
2019-12-15 23:38:49 +01:00
c2fa282b7d Split "passwd" to a shard. 2019-11-17 15:56:35 +01:00
7798d119ed Grooming, preparing for split. 2019-11-17 15:50:26 +01:00
e9e2b65729 password_hash is masked in server responses. 2019-06-29 03:55:40 +02:00
c642851165 Avatar update through ModUserRequest. 2019-05-29 19:45:03 +02:00
8b03bc4da1 WIP Passwd#mod_user 2019-05-29 15:30:23 +02:00
66ac26b46e Avatars re-added, I guess. 2019-01-14 21:46:40 +09:00
136bb589f5 User#avatar removed.
Removed because that information was not present in passwd anyway.
2019-01-09 03:52:21 +09:00
6a008daf87 Crecto replacement.
Replaced by a `passwd` and `group` files reader that both follow UNIX
format. Only difference with a live system will be the password hash
field, which is stored in `passwd` instead of a dedicated `shadow` file
(and which is likely encoded differently).
2018-12-17 08:56:03 +09:00
ee69c365ba User -> AuthD::User, authd_user : AuthD::User 2018-09-22 21:42:21 +02:00
8275a77576 Various.
- JWT key can be set from command-line (through a file).
  - User class split to a separate file to allow use by other tools.
  - Minor style changes.
2018-09-22 21:23:50 +02:00