3
0

31 Commits

Author SHA1 Message Date
Denis Arh
4f13e8304f Implement message threads 2018-10-19 15:07:09 +02:00
Denis Arh
64aee5a25b Improve rval for /check endpoint (now uses outgoing.User) 2018-10-14 09:44:11 +02:00
Denis Arh
602f77c2f1 Inject version & build-time info and show it on startup & on /version endpoint 2018-10-14 09:42:48 +02:00
Denis Arh
60ecb6a24a Add type altering migration for messaging with updated statik files 2018-10-09 07:37:33 +02:00
Denis Arh
2924334f47 Fix statik tooling 2018-10-09 07:36:50 +02:00
Denis Arh
53940d6be9 Fix column type on migration tables 2018-10-09 07:34:20 +02:00
Tit Petric
a6e648d4c1 upd(all): statik with no filemtime 2018-10-08 21:17:52 +00:00
Tit Petric
102a162108 add(all): database migrations prod 2018-10-08 16:04:20 +02:00
Denis Arh
910b5589dd Channel membership improved 2018-10-07 18:42:54 +02:00
Denis Arh
6f2a270ece Removing chan/member dependency from auth pkg 2018-09-27 19:09:36 +02:00
Denis Arh
bf8f6f4213 Extracted payloads from websocket pkg to internal/payload 2018-09-27 15:37:11 +02:00
Denis Arh
4788e61c07 Apply new repo/svc patterns to auth pkg 2018-09-27 14:43:15 +02:00
Denis Arh
7a037b2b2b Add SATOSA ID to users and update oidc flow, user repository
In addition to that, all user columns are now explicitly selected
2018-09-27 14:43:15 +02:00
Denis Arh
c7a1f94972 remove user creation and login endpoints 2018-09-24 13:20:18 +02:00
Denis Arh
e6c5468a59 More precise cookie baking 2018-09-24 07:51:19 +02:00
Denis Arh
bb190ab70d OIDC implementation 2018-09-18 16:39:38 +02:00
Denis Arh
cdd72c8b90 POC OIDC implementation 2018-09-17 16:08:02 +02:00
Denis Arh
e348b3e2f4 Remove User from SAM, refactor service initialization 2018-09-17 06:41:18 +02:00
Tit Petric
7bf78fb4e0 upd(all): refactor
- moved rbac store and config to internal pkg,
- split auth authenticators to internal pkg,
- add rbac config object to internal/config,
- update package imports and references for auth,
- clean up main with pkg aliases
2018-09-13 12:05:06 +02:00
Tit Petric
ca1f5330fd fix(auth): fix middleware for metrics 2018-09-11 16:38:47 +02:00
Tit Petric
5372966ed0 upd(auth): update to use global config pkg 2018-09-11 16:37:38 +02:00
Denis Arh
0400451823 Add upload/attachment capabilities 2018-09-08 22:04:36 +02:00
Tit Petric
a23137c14e fix(auth): resolve error with double registering flags 2018-09-04 15:53:49 +02:00
Tit Petric
bdb0844a48 add(auth): separate webservice for auth 2018-09-04 15:37:43 +02:00
Tit Petric
08736dd0f8 add(auth): TokenEncoder interface parth of auth pkg 2018-08-29 17:22:01 +02:00
Tit Petric
279f503702 add(auth): optional jwt debug key on startup 2018-08-23 13:03:42 +00:00
Tit Petric
16cc7a11f3 upd(all): restructure cmd, flags, startups 2018-08-23 11:15:23 +02:00
Denis Arh
5a347dddb5 Types structs reduced & simplified 2018-07-29 16:37:41 +02:00
Denis Arh
1b06a0ffdb Implement JWT expiration 2018-07-28 12:16:33 +02:00
Denis Arh
c02fec809f Redo auth flags 2018-07-28 12:01:33 +02:00
Denis Arh
d886a98740 Implements JWT authorization along with some refactoring
- introduces auth package, for common (sam, crm) auth handlers
 - routes are now generated inside server package, each handler got its own MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
 - there MountRoute methods are now called from non-generated code so we can inject services to (rest) controllers
2018-07-26 20:12:14 +02:00