3
0

375 Commits

Author SHA1 Message Date
Denis Arh
e6c5468a59 More precise cookie baking 2018-09-24 07:51:19 +02:00
Denis Arh
89a149671e Add missing deps 2018-09-24 07:51:19 +02:00
Tit Petric
09e4e15306 upd(sam): refactory repo/svc for stateful contexts, L2 2018-09-20 17:23:09 +02:00
Tit Petric
49c4b0c434 upd(sam): refactor repository to split responsibility, L1 2018-09-20 16:39:32 +02:00
Denis Arh
bb190ab70d OIDC implementation 2018-09-18 16:39:38 +02:00
Denis Arh
9826f52be4 Realize should watch 'internal' dir for changes 2018-09-18 11:22:36 +02:00
Denis Arh
cdd72c8b90 POC OIDC implementation 2018-09-17 16:08:02 +02:00
Denis Arh
6e039e1782 Trying trings out with SATOSA 2018-09-17 16:01:05 +02:00
Denis Arh
e348b3e2f4 Remove User from SAM, refactor service initialization 2018-09-17 06:41:18 +02:00
Denis Arh
5bc9745106 Expanding ws payload names, some code cleanup 2018-09-14 20:16:52 +02:00
Denis Arh
f9a5047a03 Always fetch messages in desceding order 2018-09-14 20:16:52 +02:00
Tit Petric
639891c5ed fix(sam): undeclared parameter for channel join 2018-09-13 14:50:55 +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
91db6b37f7 Merge branch 'master' of ssh://github.com/crusttech/crust 2018-09-12 10:55:48 +02:00
Denis Arh
55aa5726f2 Stricter message types with MessageType* constants 2018-09-11 23:34:03 +02:00
Denis Arh
c4875688eb Attachment serving 2018-09-11 23:34:03 +02:00
Tit Petric
d31d0595da add(sam): example usage of an events broadcast 2018-09-11 20:47:07 +02:00
Tit Petric
48d47b95e8 upd(sam): refactor pubsub api 2018-09-11 20:35:45 +02:00
Tit Petric
cef9af9903 upd(sam): refactor pubsub, housekeeping 2018-09-11 20:17:26 +02:00
Tit Petric
33bdf429a5 upd(sam): refactor pubsub to repository 2018-09-11 18:12:41 +02:00
Tit Petric
67d342c8fc upd(codegen): gofmt all folders 2018-09-11 18:12:12 +02:00
Tit Petric
3e3af76b65 upd(sam): configs refactor 2018-09-11 17:50:29 +02:00
Tit Petric
dfd9985552 upd(config): add pubsub and websocket, singletons 2018-09-11 17:49:56 +02:00
Tit Petric
35679fc350 upd(crm): use global config pkg 2018-09-11 16:42:29 +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
Tit Petric
7c968b1ae2 add(config): import global config pkg 2018-09-11 16:37:14 +02:00
Tit Petric
dc478f614d upd(store): return reader/seeker with Open 2018-09-11 10:26:00 +02:00
Denis Arh
3906b6d838 Fragmentize makefile's docker image building 2018-09-10 18:51:14 +02:00
Tit Petric
16cb0913cb add(makefile): build auth docker image 2018-09-10 14:16:37 +02:00
Denis Arh
b04a681d81 Attachment serving 2018-09-10 12:25:36 +02:00
Denis Arh
e351c73a0a Serve attachment info alongside with message (rest & ws) 2018-09-09 13:09:56 +02:00
Denis Arh
0400451823 Add upload/attachment capabilities 2018-09-08 22:04:36 +02:00
Tit Petric
bf9ca1ac1e add(makefile): test.store target 2018-09-07 16:06:29 +02:00
Tit Petric
bc2fad874d upd(all): update vendor 2018-09-07 16:06:14 +02:00
Tit Petric
d6d497f16e add(store): import storage layer and tests 2018-09-07 16:05:51 +02:00
Tit Petric
a23137c14e fix(auth): resolve error with double registering flags 2018-09-04 15:53:49 +02:00
Tit Petric
42474fb37c add(realize): add auth to realize 2018-09-04 15:53:26 +02:00
Tit Petric
6fafd2e740 upd(crm,sam): update auth pkg usage 2018-09-04 15:38:48 +02:00
Tit Petric
6632a66299 upd(codegen): optionally generate README docs 2018-09-04 15:38:25 +02:00
Tit Petric
30d12b4041 upd(codegen): update some basic templates 2018-09-04 15:38:05 +02:00
Tit Petric
bdb0844a48 add(auth): separate webservice for auth 2018-09-04 15:37:43 +02:00
Tit Petric
d7cac7dbc1 upd(crm): order modules by created time asc 2018-09-04 11:21:18 +02:00
Tit Petric
ffa5f9995d upd(all): return error on parsing json body 2018-09-04 10:13:37 +02:00
Tit Petric
ec2213bf61 fix(crm,sam): vars come through path, get, post 2018-09-04 09:45:19 +02:00
Denis Arh
1b477d7cdc Make codegen.sh script macos compatible (again) 2018-09-03 16:29:34 +02:00
Denis Arh
5befc50a95 Subscribe user to the channel he just created 2018-09-03 08:27:37 +02:00
Denis Arh
4f6bf888bb Parse JSON from request payload only when is set to 2018-09-03 07:14:53 +02:00
Tit Petric
33887f5859 upd(all): error handling reading json request body 2018-09-02 22:39:15 +02:00
Tit Petric
29c9a8621b add(crm,sam): parseJSONText util func 2018-09-02 22:38:38 +02:00