3
0

41 Commits

Author SHA1 Message Date
Tit Petric
78f9b7b53a upd(vendor): update vendor 2019-04-26 22:11:28 +02:00
Denis Arh
d5212f267c Refactor credentials, migrate to /auth/external/ (from /social) 2019-04-03 18:07:14 +02:00
Tit Petric
0c1bfbf2f7 upd(all): vendor update 2019-04-03 13:58:56 +02:00
Tit Petric
4af204aabe upd(all): vendor update 2019-03-21 15:12:49 +01:00
Mitja Zivkovic
9bc361f1d1 fix(internal): rules tests are run in transaction 2019-03-13 20:22:02 +01:00
Denis Arh
9bed5005c6 Add permission checking capabilities, closes #43, #42, #44 2019-02-26 23:22:21 +01:00
Tit Petric
ad0d22f3ea all(vendor): update vendor 2019-01-14 10:41:14 +01:00
Denis Arh
bdaf0e2d8e Add all sso releated deps 2019-01-14 10:40:52 +01:00
Tit Petric
77d2ebe1dc upd(all): vendor update 2019-01-09 18:56:43 +01:00
Denis Arh
d0398ec56f Initial record reporting endpoint 2018-12-10 21:06:21 +01:00
Denis Arh
491c97db83 Vendors updated 2018-12-10 15:25:18 +01:00
Tit Petric
7ddff35ed5 upd(all): dep ensure update 2018-11-12 19:19:34 +01:00
Tit Petric
f78a35b989 add(all): protect metrics with basic auth 2018-10-26 12:43:36 +02:00
Tit Petric
8e30f82d03 upd(vendor): import dockertest 2018-10-03 12:59:35 +02:00
Tit Petric
77a6fbf6be add(vendor): add new files 2018-10-02 16:29:29 +02:00
Tit Petric
6c1bc068c6 upd(vendor): update vendor 2018-10-02 16:28:51 +02:00
Denis Arh
a60a673fd5 Update deps 2018-09-29 16:22:10 +02:00
Denis Arh
89a149671e Add missing deps 2018-09-24 07:51:19 +02:00
Tit Petric
bc2fad874d upd(all): update vendor 2018-09-07 16:06:14 +02:00
Tit Petric
f859f9a044 upd(vendor): upgrade sentimensrg ctx package 2018-09-02 20:13:57 +02:00
Tit Petric
4dc7f1a2f9 add(all): metrics exporter for prometheus 2018-08-27 15:48:37 +02:00
Tit Petric
7c62652761 upd(vendor): import updated vendor 2018-08-23 11:14:28 +02:00
Tit Petric
8d125a0650 upd(vendor): import redigo, update other 2018-08-21 13:03:30 +02:00
Tit Petric
61bc2f96e2 upd(vendor): dep update 2018-08-03 17:20:06 +02:00
Denis Arh
43b416e369 Update titpetric/factory 2018-08-02 22:25:27 +02:00
Tit Petric
49bfdc26f8 add(vendor): gomock 2018-07-30 06:56:03 +02:00
Tit Petric
9bfa4a0554 upd(all): update vendored code 2018-07-29 23:22:36 +02:00
Denis Arh
3768cddbe7 Update titpetric/factor 2018-07-28 09:03:50 +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
6e30992a67 upd(vendor): factory database context, resputil logger 2018-07-23 17:22:10 +02:00
Tit Petric
a7957fa804 add(vendor): import gorilla/websocket 2018-07-19 20:19:20 +02:00
Tit Petric
a583363724 update vendor 2018-07-17 20:57:48 +02:00
Tit Petric
a1cccd23d3 upd(vendor): update factory db with MustGet() 2018-07-17 18:09:13 +02:00
Tit Petric
ea03b5a1ec upd(vendor): update database profiler 2018-07-17 12:05:16 +02:00
Tit Petric
04154f97f7 add(vendor): import namsral/flag 2018-07-17 11:31:28 +02:00
Tit Petric
70fcdb1f42 make dep.update 2018-07-13 13:29:50 +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
Tit Petric
2b68799544 update vendor, add types dependency for json data 2018-07-05 14:07:18 +00:00
Tit Petric
2892ef818d configure actual sql connections as they should be 2018-07-05 11:17:02 +02:00
Tit Petric
f5233246b0 import updated vendor with grpc/protoc imports 2018-06-08 18:56:47 +02:00
Tit Petric
2751cc33f7 import vendor 2018-06-03 20:26:47 +02:00