Commit Graph

48 Commits (1a83d49eca1f2d99cc45ff222cffcef6246a983c)

Author SHA1 Message Date
Philippe Pittoli 1a83d49eca
Merge pull request #12 from Lukc/master
IPC.cr API updates.
2019-07-12 16:00:35 +02:00
Luka Vandervelden 1ab7409b18 Very basic initial spec. 2019-06-29 03:56:06 +02:00
Luka Vandervelden e9e2b65729 password_hash is masked in server responses. 2019-06-29 03:55:40 +02:00
Luka Vandervelden 505171ff7b Avoids passwd corruption on #mod_user. 2019-06-29 03:55:23 +02:00
Luka Vandervelden 3038e7d076 Missed IPC.cr update.
Duh~, hopefully we’ll soon have automated tests.
2019-06-29 02:43:31 +02:00
Luka Vandervelden 908f028322 Update to new crystal-jwt APIs. 2019-06-28 18:20:34 +02:00
Luka Vandervelden 66e2eaad48 IPC.cr API updates. 2019-06-06 01:16:52 +02:00
Philippe Pittoli 8c8b55c7fd
Merge pull request #11 from Lukc/master
Updates to match libipc APIs’ updates.
2019-06-05 22:46:22 +02:00
Luka Vandervelden 96134ba876 libipc API updates. 2019-06-05 22:38:08 +02:00
Luka Vandervelden a31bd4c940 Updates for the new libipc APIs. 2019-06-05 22:35:35 +02:00
Luka Vandervelden b96322cab5 Merge branch 'master' of github.com:FartingNicoNyanCats/authd 2019-06-05 22:31:00 +02:00
Luka Vandervelden d7f54062fc Updates for new libipc APIs. 2019-06-05 22:30:29 +02:00
Luka Vandervelden 49449956c3 Database integrity fix. 2019-05-30 11:27:23 +02:00
Philippe Pittoli 448f7a3796
Merge pull request #10 from Lukc/master
WIP ModUserRequest
2019-05-29 22:03:15 +02:00
Luka Vandervelden c642851165 Avatar update through ModUserRequest. 2019-05-29 19:45:03 +02:00
Luka Vandervelden 6a19ff604a ModUser request. 2019-05-29 16:06:11 +02:00
Luka Vandervelden a83c3c8e5c WIP Passwd#mod_user 2019-05-29 15:35:14 +02:00
Luka Vandervelden 8b03bc4da1 WIP Passwd#mod_user 2019-05-29 15:30:23 +02:00
remydev 13b28f0064
Merge pull request #9 from Lukc/master
New client request + grooming.
2019-03-04 20:11:17 +01:00
Luka Vandervelden c137bd343a Fixing obsolete requires. 2019-02-19 20:45:19 +01:00
Luka Vandervelden 87b90c1768 AuthD::Client#get_user?(login, password) added. 2019-02-16 22:06:56 +01:00
Luka Vandervelden 66ac26b46e Avatars re-added, I guess. 2019-01-14 21:46:40 +09:00
Luka Vandervelden 136bb589f5 User#avatar removed.
Removed because that information was not present in passwd anyway.
2019-01-09 03:52:21 +09:00
Luka Vandervelden 6d3ef91526 Adding missing groups to tokens.
Also removing a few deprecated FIXMEs.
2019-01-09 03:05:37 +09:00
Luka Vandervelden 1f85aab84c GetUser requests. 2019-01-08 01:04:20 +09:00
Luka Vandervelden 58e8bd28a6
Merge pull request #8 from Lukc/master
Crecto replacement.
2018-12-30 01:09:31 +09:00
Luka Vandervelden ddb8edacbb Coding style. 2018-12-19 21:57:48 +09:00
Luka Vandervelden a7a1c54161 WIP registration. 2018-12-19 21:54:19 +09:00
Luka Vandervelden 313536f996 Variable naming.
Some breaking changes in the communications with authd (some request
attributes renamed), but projects using AuthD::Client shouldn’t see
anything.
2018-12-17 12:39:01 +09:00
Luka Vandervelden 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
Philippe Pittoli 9a949f7841
Merge pull request #2 from Lukc/master
WIP IPC
2018-12-01 15:02:20 +01:00
Luka Vandervelden 2cbb515ab0 Shard update. 2018-12-01 07:31:01 +09:00
Luka Vandervelden 621135ce5a Finished conversion to a libIPC-based microservice. 2018-11-13 02:51:21 +09:00
Luka Vandervelden 37fdc6332d Merge branch 'master' of github.com:FartingNicoNyanCats/authd 2018-10-10 04:49:16 +09:00
Luka Vandervelden d1e9445a11 WIP of prototype authd using IPC instead of HTTP. 2018-10-10 04:46:34 +09:00
Philippe Pittoli 2d06060105
Merge pull request #1 from Lukc/master
Various.
2018-09-24 22:14:42 +02:00
Luka Vandervelden abc364e212 chomp() used instead of gsub where possible. 2018-09-24 22:10:24 +02:00
Luka Vandervelden 3498320721 JWT key import. 2018-09-23 16:34:56 +02:00
Luka Vandervelden ba5821052c Database setup SQL query added to README. 2018-09-23 16:20:42 +02:00
Luka Vandervelden 20fa7650dd DataBase connection check during startup. 2018-09-23 16:17:48 +02:00
Luka Vandervelden 22d392268a Not enforcing port number anymore. 2018-09-23 16:02:35 +02:00
Luka Vandervelden 3d5dd30d82 Improved password imports. 2018-09-22 23:10:14 +02:00
Luka Vandervelden ee69c365ba User -> AuthD::User, authd_user : AuthD::User 2018-09-22 21:42:21 +02:00
Luka Vandervelden db209117f8 Authd library added to provide an auto-check middleware. 2018-09-22 21:25:03 +02:00
Luka Vandervelden a92b94cccb Primitive adduser tool added. 2018-09-22 21:24:44 +02:00
Luka Vandervelden 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
Luka Vandervelden 9561a180d7 Improved configuration CLI. 2018-09-22 19:46:48 +02:00
karchnu 4d5b1fdcf0 initial commit 2018-09-22 17:08:28 +00:00