3
0

362 Commits

Author SHA1 Message Date
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
Tit Petric
7b271da835 del(crm): remove manual jsontext handling 2018-09-02 22:36:44 +02:00
Tit Petric
72bbe50788 upd(crm): define params as JSON 2018-09-02 22:36:02 +02:00
Tit Petric
0a8a33f1db add(codegen): parseJSONText parser 2018-09-02 22:35:39 +02:00
Tit Petric
6e3ae267be upd(all): json parsers of request body 2018-09-02 21:35:20 +02:00
Tit Petric
bb02b827de upd(codegen): close request body, parse body as json 2018-09-02 21:34:41 +02:00
Tit Petric
4e4670ff40 upd(all): close request bodies 2018-09-02 21:33:39 +02:00
Tit Petric
c0866c7d94 add(crm): fields parameter when creating module 2018-09-02 21:19:33 +02:00
Tit Petric
82ffea3f1d upd(sam, crm): updates for new sigctx package 2018-09-02 20:14:14 +02:00
Tit Petric
f859f9a044 upd(vendor): upgrade sentimensrg ctx package 2018-09-02 20:13:57 +02:00
Denis Arh
2a55cc54c5 Moved CORS handler 1 level lower to catch all requests
Prior this, we failed to set CORS on invalid and expired JWT
2018-09-02 15:43:13 +02:00
Denis Arh
9707da5799 Update mocks to fix failing unit tests 2018-09-02 15:20:03 +02:00
Denis Arh
247d5d119a Lowcase path for sigctx pkg 2018-09-02 15:18:34 +02:00
Denis Arh
c053ea51de Set current user as message creator 2018-08-31 10:39:21 +02:00