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
Denis Arh
25f04617f2
Add .editorconfig
2018-07-12 17:30:17 +02:00
Denis Arh
cecbcd0f2f
/.* for .gitignore
2018-07-12 17:23:29 +02:00
Denis Arh
7cbe00dd3b
Fix make spec task
2018-07-12 09:00:38 +02:00
Denis Arh
ac8735945c
Add deps & protoc to makefile
...
Took 11 minutes
2018-07-11 20:32:19 +02:00
Denis Arh
661f5d4e94
Makefile for specs generation
...
Took 2 minutes
Took 2 minutes
2018-07-11 20:18:09 +02:00
Denis Arh
b75becd960
Add pointer from chan to the last msg, add messages_queue table
2018-07-11 20:17:19 +02:00
Tit Petric
81b6f2e608
print debug route info on startup, alike gin/debug.
2018-07-10 14:59:05 +00:00
Tit Petric
7c6b6048ce
refenerate routes
2018-07-10 14:46:38 +00:00
Tit Petric
aa6b3e9461
update debug routes
2018-07-10 14:46:06 +00:00
Tit Petric
3be3a81865
print debug routes
2018-07-10 16:02:11 +02:00
Tit Petric
9f8e63f749
Merge branch 'master' of ssh://github.com/crusttech/crust
2018-07-06 11:24:50 +00:00
Tit Petric
37f85060ec
add project name, makefile
2018-07-06 11:24:41 +00:00
Denis Arh
44df058e1d
Remove broken tests, keep sample test file
...
Took 28 minutes
2018-07-06 13:00:49 +02:00
Tit Petric
504e799ba8
Merge branch 'master' of ssh://github.com/crusttech/crust
2018-07-06 10:57:26 +00:00
Tit Petric
b30a722a7b
update generator, code with warnings
2018-07-06 10:56:26 +00:00
Denis Arh
f9e91bd5a9
Add Dockerfile, .dockerignore
...
Took 1 hour 25 minutes
2018-07-06 12:49:33 +02:00
Tit Petric
ab943146d3
add warnings about codegen
2018-07-06 10:47:31 +00:00
Tit Petric
bc1f3aeb4c
fix constructors, skip password compare as it's a complex type
2018-07-06 10:32:07 +00:00
Tit Petric
4d62ca3290
fix rename websocket
2018-07-06 10:23:53 +00:00
Tit Petric
da66927241
update vendor
2018-07-06 10:20:51 +00:00
Tit Petric
788de33607
regenerate everything from spec
2018-07-06 10:19:05 +00:00
Tit Petric
0a5179edfb
update specs docs for autogen
2018-07-06 10:18:26 +00:00
Tit Petric
13b22759ee
update struct fields
2018-07-06 10:04:25 +00:00
Tit Petric
5d10fe07df
update generator
2018-07-06 10:03:05 +00:00
Tit Petric
593edff9b5
spec update
2018-07-06 09:31:40 +00:00
Denis Arh
ef46e643af
Add (suspended|archived|deleted)_at fields & logic everywhere
...
Took 1 minute
2018-07-06 10:22:19 +02:00
Denis Arh
2a6336ca72
Add go vet <..> to test.sh
...
Took 44 minutes
2018-07-06 10:20:41 +02:00
Denis Arh
64b7b21437
Implement user login & search
...
Took 21 minutes
2018-07-06 09:33:18 +02:00
Denis Arh
68dcdae73c
Add go test finder & runner
2018-07-06 09:11:20 +02:00
Denis Arh
341c845c80
Add password encryption for User.
...
Took 25 minutes
2018-07-06 09:10:53 +02:00
Tit Petric
2b68799544
update vendor, add types dependency for json data
2018-07-05 14:07:18 +00:00
Tit Petric
caa070364f
update types for content and module types
2018-07-05 14:06:28 +00:00
Tit Petric
0f21aea39c
recreate main type
2018-07-05 14:03:18 +00:00