3
0

331 Commits

Author SHA1 Message Date
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
Tit Petric
0c43a6a9ea ws(all): moving some code around 2018-08-29 18:07:45 +02:00
Tit Petric
f5c3c4184b upd(crm): define service interfaces in service pkg 2018-08-29 17:56:08 +02:00
Tit Petric
1a6a200010 upd(crm): inject service dependencies like sam 2018-08-29 17:54:39 +02:00
Tit Petric
fe2e97105f upd(all): new handlers/requests structure 2018-08-29 17:22:31 +02:00
Tit Petric
08736dd0f8 add(auth): TokenEncoder interface parth of auth pkg 2018-08-29 17:22:01 +02:00
Tit Petric
ca47286a60 upd(codegen): refactor for handlers/requests separation 2018-08-29 17:20:46 +02:00
Tit Petric
4dc7f1a2f9 add(all): metrics exporter for prometheus 2018-08-27 15:48:37 +02:00
Tit Petric
48ea1503de upd(build): add docker, docker-push 2018-08-27 13:59:54 +02:00
Tit Petric
daf92fd947 fix(all): resolve go critic issues 2018-08-27 13:55:48 +02:00
Denis Arh
257219d5f5 Asertized SAM tests 2018-08-24 12:05:23 +02:00
Tit Petric
279f503702 add(auth): optional jwt debug key on startup 2018-08-23 13:03:42 +00:00
Tit Petric
a830b93bc7 upd(all): new config options 2018-08-23 12:06:47 +00:00
Tit Petric
5e76b12901 add(crm): load fields from database 2018-08-23 11:32:47 +00:00
Tit Petric
53014f9b24 add(crm): database table for crm_fields 2018-08-23 11:07:12 +00:00
Tit Petric
53080cfbe8 upd(crm): spec and regenerate types 2018-08-23 11:06:28 +00:00
Tit Petric
1b2a9d8f37 upd(codegen): add json to spec gen, omitempty 2018-08-23 11:05:44 +00:00
Tit Petric
1fb4a8aaae fix(make): codegen paths to spec 2018-08-23 11:02:06 +00:00
Tit Petric
58ca01e842 upd(realize): turn off vet 2018-08-23 10:22:07 +00:00
Tit Petric
dbad271e95 fix(crm, sam): empty flags fix 2018-08-23 10:21:56 +00:00
Tit Petric
16cc7a11f3 upd(all): restructure cmd, flags, startups 2018-08-23 11:15:23 +02:00
Tit Petric
7c62652761 upd(vendor): import updated vendor 2018-08-23 11:14:28 +02:00
Tit Petric
49b7eb6684 upd(crm): refactored db handles in repo 2018-08-23 09:43:11 +02:00
Tit Petric
a46b4fbf93 upd(sam): pubsub events with redis option 2018-08-21 13:05:08 +02:00
Tit Petric
8265d4f3c3 add(sam): import pubsub service 2018-08-21 13:04:14 +02:00
Tit Petric
c86a6efaea upd(vendor): import redigo, update other 2018-08-21 13:03:43 +02:00
Tit Petric
8d125a0650 upd(vendor): import redigo, update other 2018-08-21 13:03:30 +02:00
Tit Petric
4e710855b8 add(cmd/crm): import monitor 2018-08-21 13:02:45 +02:00
Tit Petric
7cd9f99be6 upd(cmd/crm): update with monitor, pprof 2018-08-21 13:02:30 +02:00
Tit Petric
466d90d523 upd(cmd/sam): register pprof after main routes 2018-08-21 13:02:06 +02:00
Tit Petric
f8e73a9218 upd(rbac): clean up tests 2018-08-16 19:04:51 +02:00
Tit Petric
f1337bc487 upd(rbac): add resource grants and checkaccess 2018-08-16 18:49:18 +02:00