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
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
Denis Arh
d4c6020174
Add support for .dbname for struct generator
2018-07-12 19:01:19 +02:00
Denis Arh
2039032dc8
Add /create endpoint, merge /archive & /move with /edit
2018-07-12 18:31:47 +02:00
Denis Arh
9c0da01c8c
Fix watcher's path for realize
2018-07-12 18:31:07 +02:00
Denis Arh
bdd14dd4d7
README file with setup instructions, first draft
2018-07-12 17:40:43 +02:00
Denis Arh
fca62c8f5f
Add .env file reading capabilties and ability to config sam via env variables
...
For dsn & addr: explicit config via flag has priority over env variables. Final failsafe is hardcoded default values
Env variables:
- SAM_DB_DSN
- SAM_HTTP_ADDR
2018-07-12 17:36:54 +02:00
Denis Arh
61aaf45c04
Makefile cleanup & structurize
...
- makefile is now divided in sections
- remove separate test.sh and added 3 additional tasks (qa, qa.test & qa.vet)
- add realize tool (watch & rebuild) along with .realize.yaml config
2018-07-12 17:33:35 +02:00
Denis Arh
ed8482c803
Remove .env and add .env.sample with sample values
2018-07-12 17:31:04 +02:00