3
0

67 Commits

Author SHA1 Message Date
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
80f9e9b9bc upd(all): use factory.Database.MustGet over .Get 2018-07-17 18:23:02 +02:00
Denis Arh
2a44f1ba1e Remove panic() 2018-07-17 16:32:48 +02:00
Denis Arh
70a5042db5 SAM types, handlers, services, repositories implemented 2018-07-17 15:24:35 +02:00
Tit Petric
501ba88efc gofmt 2018-07-17 13:09:31 +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
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
837c10e448 update(all): moved codegen to root /codegen 2018-07-13 17:47:05 +02:00
Tit Petric
c01c75f420 add authenticators 2018-07-13 14:22:36 +02:00
Tit Petric
c963dd7a2f support typed url params, add create handlers 2018-07-13 13:37:55 +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
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
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
Denis Arh
44df058e1d Remove broken tests, keep sample test file
Took 28 minutes
2018-07-06 13:00:49 +02:00
Tit Petric
b30a722a7b update generator, code with warnings 2018-07-06 10:56:26 +00: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
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
64b7b21437 Implement user login & search
Took 21 minutes
2018-07-06 09:33:18 +02:00
Denis Arh
341c845c80 Add password encryption for User.
Took 25 minutes
2018-07-06 09:10:53 +02:00
Tit Petric
f9e7274f68 update invoke php with env 2018-07-05 13:03:09 +00:00
Tit Petric
1e46a4549a add capitalization for named paths 2018-07-05 13:51:51 +02:00
Tit Petric
55cf755292 add changelog property and persist errors import across files 2018-07-05 11:59:25 +02:00
Tit Petric
2e06e5b6cd regen proto/grpc 2018-07-05 11:58:52 +02:00
Tit Petric
12c0513410 generate changelog array just for complex fields 2018-07-05 11:57:47 +02:00
Tit Petric
695673ff63 complex fields 2018-07-05 11:57:28 +02:00
Tit Petric
1696e06d28 add basic change indicator 2018-07-05 11:46:39 +02:00
Tit Petric
2608f1940e impl team/org 2018-07-05 11:37:31 +02:00
Tit Petric
0778b0920d ws fix 2018-07-05 10:34:56 +02:00
Tit Petric
a5dd83efcf update routes 2018-07-05 10:34:50 +02:00
Tit Petric
77236125c3 remove merge capability from channel and move to team 2018-07-05 10:34:35 +02:00
Tit Petric
7e62de7045 implement most of the channel api 2018-07-05 10:34:07 +02:00
Tit Petric
e4c31f7bfa add some spacing, don't use base object receiver 2018-07-05 10:28:58 +02:00