3
0
Commit Graph

15 Commits

Author SHA1 Message Date
Tit Petric
16cc7a11f3 upd(all): restructure cmd, flags, startups 2018-08-23 11:15:23 +02:00
Tit Petric
4e710855b8 add(cmd/crm): import monitor 2018-08-21 13:02:45 +02:00
Tit Petric
7cd9f99be6 upd(cmd/crm): update with monitor, pprof 2018-08-21 13:02:30 +02:00
Denis Arh
c02fec809f Redo auth flags 2018-07-28 12:01:33 +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
80f9e9b9bc upd(all): use factory.Database.MustGet over .Get 2018-07-17 18:23:02 +02:00
Tit Petric
f450bdaba6 upd(main): keep go-spew sticky in vendor 2018-07-17 18:10:38 +02:00
Tit Petric
2b9903701a upd(main): restructure flags 2018-07-17 11:32:00 +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
43d11428fe Make CRM configurable through .env and part of realize config 2018-07-17 10:52:01 +02:00
Tit Petric
5aae6e9001 upd(all): move rest implementation into subpkg 2018-07-16 00:35:01 +02:00
Tit Petric
2892ef818d configure actual sql connections as they should be 2018-07-05 11:17:02 +02:00
Tit Petric
9eeffef679 rename import paths 2018-07-05 10:44:14 +02:00
Tit Petric
a21de65eb4 import crm entry point 2018-07-01 01:46:37 +02:00