3
0
Commit Graph

28 Commits

Author SHA1 Message Date
Denis Arh
2ad7b466f1 Refactor JWT/ctx, include role membership 2019-05-12 23:40:39 +02:00
Denis Arh
d3f7335e25 Fix tests, add temp testing workarounds, permissiong service mocks 2019-05-10 13:05:47 +02:00
Denis Arh
9e043b34fd Resource/operation combo whitelist (refactored validation) 2019-05-10 11:33:32 +02:00
Denis Arh
904937535d Move webhook operations to service resource 2019-05-10 11:31:17 +02:00
Denis Arh
2a4054c9bc Implement permission provisioning and watchers
Remove rule reset from roles cli command
Add generic "provision" command for each binary and (re)set perm. rules
Permission rules are now separated and part of AccessControl service

Facility for watchers was added.
2019-05-10 09:49:07 +02:00
Denis Arh
4dece123a5 Refactor all services & controllers and implement new a/c pattern 2019-05-09 16:55:18 +02:00
Denis Arh
aea9741a2b Improve logging, migrate to zap, use requestID
- migrate from log to go.uber.org/zap package
 - add requestID header with sticky log field
 - push logging via context to REST controllers & HTTP middleware
 - enhance request/resnpose logging
 - add service logging framework
 - add ZapProfiler for db query profiling
2019-05-07 21:18:23 +02:00
Tit Petric
60ab73b03e add(messaging): webhooks implementation 2019-04-26 22:11:28 +02:00
Denis Arh
3026a594ed Decupling system & messaging, removing Organisation type mess 2019-04-26 14:37:23 +02:00
Denis Arh
8f7c7651a0 Fix integration tests 2019-04-26 14:00:12 +02:00
Denis Arh
b0239761f7 User/chan/messaging activity refactored 2019-04-26 13:34:35 +02:00
Denis Arh
d533cca1d5 Move message filtering to /search endpoint 2019-04-26 09:34:23 +02:00
Denis Arh
1a8a7da000 New & improved channel histroy rest endpoint params 2019-04-26 07:35:19 +02:00
Tit Petric
44e8f2d6bc add(messaging): import webhook type 2019-04-03 15:27:47 +02:00
Tit Petric
ec736aecd9 fix(messaging): fix stutters, Init(), errors 2019-04-03 15:05:23 +02:00
Tit Petric
8315c76b75 upd(messaging): tests import 2019-04-03 15:02:11 +02:00
Tit Petric
7e8cb4b04a fix(messaging): repository stutters 2019-04-03 14:55:59 +02:00
Tit Petric
971c5899ee upd(messaging): repository tests import 2019-04-03 14:55:42 +02:00
Tit Petric
1bb9422714 del(all): remove unused/defunct mocks 2019-04-03 13:54:30 +02:00
Denis Arh
ea810696b1 Improve channel loading, preload members & tweak/test permissions 2019-04-02 17:45:15 +02:00
Denis Arh
78763c715d Refactor permission resources 2019-03-16 23:56:45 +01:00
Tit Petric
0ab9cc71da fix(all): fix Init function, required as-is 2019-03-15 01:50:58 +01:00
Tit Petric
f39fa72bad fix(messaging): systemService Init change 2019-03-15 00:31:43 +01:00
Tit Petric
e8d2be4968 upd(all): update mocks 2019-03-15 00:31:25 +01:00
Tit Petric
4bc3452961 del(messaging): permissions_test, invalid coupling 2019-03-15 00:28:31 +01:00
Tit Petric
6934917da0 upd(all): merge fix/coupling-issues-stage-1 2019-03-14 22:45:04 +01:00
Tit Petric
99acac156f upd(all): refactor imports, system service api 2019-03-14 22:22:16 +01:00
Tit Petric
a971142b73 upd(all): move repository and service to internal 2019-03-14 22:21:34 +01:00