3
0

16 Commits

Author SHA1 Message Date
Denis Arh
cd85f1b608 Add support for user creation 2018-08-05 23:23:47 +02:00
Denis Arh
136a837e18 Improve service & repo layer, add support for direct messages 2018-08-03 00:04:22 +02:00
Denis Arh
f51033e814 Add channel members/join/part/invite endpoints 2018-07-27 00:16:52 +02:00
Denis Arh
52dbc4c0c3 Fix naming (Id -> ID), add names to interface arguments 2018-07-26 20:29:09 +02:00
Denis Arh
d886a98740 Implements JWT authorization along with some refactoring
- introduces auth package, for common (sam, crm) auth handlers
 - routes are now generated inside server package, each handler got its own MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
 - there MountRoute methods are now called from non-generated code so we can inject services to (rest) controllers
2018-07-26 20:12:14 +02:00
Tit Petric
ddbe9ce952 upd(sam): larger refactor of field names, websocket pkg layout
- renamed all fields with Id to ID
- fixed spec file syntax error
- fix bindings for Team API url parameters
- change layout of websocket types->outgoing msg converter
- regenerate full codegen
2018-07-25 18:07:56 +02:00
Denis Arh
bc4205bff5 Stabilised messages endpoints, connected with message service 2018-07-22 08:58:54 +02:00
Tit Petric
44be095b3f fix(codegen): merge parameters from api parent and call 2018-07-20 11:05:58 +02:00
Denis Arh
6a3e38bc2b Update generated code with new version of spec tool 2018-07-20 10:50:40 +02:00
Denis Arh
031cc24a73 REST API endpoints cleanup 2018-07-19 22:16:51 +02:00
Tit Petric
0954e5c53d upd(codegen): spec update for nested message apis 2018-07-19 21:00:25 +02:00
Tit Petric
efecfd31b8 Merge branch 'master' of https://github.com/crusttech/crust 2018-07-19 20:24:50 +02:00
Denis Arh
18d7f4c3bf SAM messaging, basics 2018-07-19 18:51:43 +02:00
Tit Petric
3c0e208e06 del(websocket): move ws out of rest 2018-07-19 16:44:42 +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