3
0

173 Commits

Author SHA1 Message Date
Tit Petric
a7957fa804 add(vendor): import gorilla/websocket 2018-07-19 20:19:20 +02:00
Tit Petric
3c0e208e06 del(websocket): move ws out of rest 2018-07-19 16:44:42 +02:00
Tit Petric
2222c53158 upd(generator): add docs from spec files 2018-07-19 16:39:09 +02:00
Tit Petric
a583363724 update vendor 2018-07-17 20:57:48 +02:00
Tit Petric
80f9e9b9bc upd(all): use factory.Database.MustGet over .Get 2018-07-17 18:23:02 +02:00
Tit Petric
8753c18e0b Merge branch 'master' of https://github.com/crusttech/crust 2018-07-17 18:14:40 +02:00
Tit Petric
b393bdbfdf upd(crm): update api spec, implement apis 2018-07-17 18:14:15 +02:00
Tit Petric
1b7d50b52d upd(codegen): run documentation gen too 2018-07-17 18:11:03 +02:00
Tit Petric
f450bdaba6 upd(main): keep go-spew sticky in vendor 2018-07-17 18:10:38 +02:00
Tit Petric
a1cccd23d3 upd(vendor): update factory db with MustGet() 2018-07-17 18:09:13 +02:00
Denis Arh
2a44f1ba1e Remove panic() 2018-07-17 16:32:48 +02:00
Denis Arh
65a458eab2 README.md updated 2018-07-17 15:29:14 +02:00
Denis Arh
70a5042db5 SAM types, handlers, services, repositories implemented 2018-07-17 15:24:35 +02:00
Denis Arh
152f089148 Fix tools (macos compat.) 2018-07-17 15:24:16 +02:00
Tit Petric
501ba88efc gofmt 2018-07-17 13:09:31 +02:00
Tit Petric
27e69eb7b8 upd(rbac): groundwork for users APIs 2018-07-17 13:09:18 +02:00
Tit Petric
b84d61ff18 add timeouts for RBAC requests 2018-07-17 12:36:21 +02:00
Tit Petric
235574bf42 upd(all): pass context from http request to service bridge 2018-07-17 12:23:57 +02:00
Tit Petric
ea03b5a1ec upd(vendor): update database profiler 2018-07-17 12:05:16 +02:00
Tit Petric
e9a3d51cfa add(rbac): initial rbac import 2018-07-17 11:32:11 +02:00
Tit Petric
2b9903701a upd(main): restructure flags 2018-07-17 11:32:00 +02:00
Tit Petric
04154f97f7 add(vendor): import namsral/flag 2018-07-17 11:31:28 +02:00
Tit Petric
5a49d7f64f Merge branch 'master' of https://github.com/crusttech/crust 2018-07-17 11:10:55 +02:00
Tit Petric
5c6d05b9ff update(all): use namsral/flag in main 2018-07-17 11:09:06 +02:00
Denis Arh
9c05a271f7 Service & repository implementation for CRM field & module 2018-07-17 11:06:40 +02:00
Denis Arh
3bbb094e84 Add Name & Type to types.Field 2018-07-17 11:03:34 +02:00
Denis Arh
601f512667 Fix codegen macos issues and update Makefile to use codegen.sh 2018-07-17 10:56:47 +02:00
Denis Arh
43d11428fe Make CRM configurable through .env and part of realize config 2018-07-17 10:52:01 +02:00
Denis Arh
7ec3ddcf25 No need for .env, developer should copy it from .env.sample 2018-07-17 10:47:48 +02:00
Tit Petric
fdf2f6ca41 autogen: docs update 2018-07-16 00:39:41 +02:00
Tit Petric
5aae6e9001 upd(all): move rest implementation into subpkg 2018-07-16 00:35:01 +02:00
Tit Petric
7d11062c3c add(crm, sam): service layer, subpackages 2018-07-16 00:14:50 +02:00
Tit Petric
b68337c111 upd(codegen): generate subpackages 2018-07-16 00:13:45 +02:00
Tit Petric
657ef15cf5 fix: codegen template path update 2018-07-13 20:28:28 +02:00
Tit Petric
837c10e448 update(all): moved codegen to root /codegen 2018-07-13 17:47:05 +02:00
Tit Petric
b65a9ab396 use go build directly 2018-07-13 14:35:57 +02:00
Tit Petric
2b3dcf16b5 generate authenticator 2018-07-13 14:26:17 +02:00
Tit Petric
c01c75f420 add authenticators 2018-07-13 14:22:36 +02:00
Tit Petric
b186b94033 update codegen for crm 2018-07-13 14:02:55 +02:00
Tit Petric
c963dd7a2f support typed url params, add create handlers 2018-07-13 13:37:55 +02:00
Tit Petric
70fcdb1f42 make dep.update 2018-07-13 13:29:50 +02:00
Tit Petric
37f40682ab update codegen 2018-07-13 13:23:31 +02:00
Tit Petric
0d25af4434 regenerate readme with docs 2018-07-13 13:22:42 +02:00
Tit Petric
e48be7d8e6 update specs 2018-07-13 13:22:10 +02:00
Denis Arh
0ed147639f Add product description to README.md 2018-07-13 10:30:20 +02:00
Denis Arh
6676d3a37c Implement channel CRUD++
/channel/remove changed to /channel/delete (pending /channel/:id)
2018-07-12 20:03:47 +02:00
Denis Arh
ae14c23225 Apply new templates (form parsing, db tag) to all structs & requests 2018-07-12 19:35:47 +02:00
Denis Arh
fd8efa0b2a Always generate db tag (either from dbname or name) 2018-07-12 19:33:24 +02:00
Denis Arh
d7d7ac3208 Add call to ParseForm() to get values from POST payload 2018-07-12 19:18:31 +02:00
Denis Arh
efb42bd036 Extended channel struct to cover all (db) fields 2018-07-12 19:01:49 +02:00