3
0

140 Commits

Author SHA1 Message Date
Denis Arh
1ce5b355ae Improves presence/activity handling over websocket 2019-04-27 14:20:33 +02:00
Denis Arh
980b6d581c Refactor JWT encoder/handler
Handler is no longer passed as argument into routes etc but initialized in the Init()
and stored into auth.DefaultJwtHandler.
2019-04-27 13:17:37 +02:00
Tit Petric
2952cebb62 upd(internal): encode ChannelID as string 2019-04-26 18:37:56 +02:00
Denis Arh
dc2dd4c787 Add missing userID field to output payload 2019-04-26 17:15:23 +02:00
Denis Arh
3026a594ed Decupling system & messaging, removing Organisation type mess 2019-04-26 14:37:23 +02:00
Denis Arh
bc181ee9a2 User list is no longer sent on ws connect 2019-04-26 13:51:23 +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
ed078ce456 Move cmd execution to REST endpoint, remove /echo, add /me 2019-04-26 07:18:18 +02:00
Denis Arh
2132d1fdca Add url/param signing capapbilities to support access to attachments 2019-04-25 18:24:41 +02:00
Denis Arh
11def550c6 Refactor JWT init flow 2019-04-18 19:55:37 +02:00
Denis Arh
c4104488e5 More strict ext-auth protocols, remove jwt cookie + small fixes 2019-04-18 19:53:02 +02:00
Denis Arh
d18473568e Basic credentials set/check 2019-04-09 08:58:31 +02:00
Denis Arh
68538e93a2 Make db connect faster (remove initial delay) and more robust 2019-04-09 08:56:05 +02:00
Denis Arh
6719d2cdf8 Move role/rule reset code out of repository to CLI command 2019-04-03 23:09:34 +02:00
Denis Arh
ee4b66e53d Fix makefile, add updated mockfiles
Remove `make test`, we do not want it to test codegen files
Add make `test.internal`
2019-04-03 18:09:13 +02:00
Denis Arh
d5212f267c Refactor credentials, migrate to /auth/external/ (from /social) 2019-04-03 18:07:14 +02:00
Denis Arh
b84ed43f27 Refactored settings 2019-04-03 17:46:39 +02:00
Tit Petric
3f24e99ba3 fix(internal): test suite updates 2019-04-03 13:50:15 +02:00
Tit Petric
272593329a add(internal): store file upload utilities 2019-04-03 13:49:57 +02:00
Tit Petric
439100f53e add(internal): http client import 2019-04-03 13:49:40 +02:00
Tit Petric
7ea763373e upd(internal): return Allow for testing context 2019-04-03 13:47:33 +02:00
Tit Petric
46a0a9fe25 upd(all): ctx to database connector for ctrl+c 2019-04-03 13:33:14 +02:00
Tit Petric
1fae71c5b7 upd(internal): regenerate resources mocks 2019-03-21 15:13:22 +01:00
Denis Arh
78763c715d Refactor permission resources 2019-03-16 23:56:45 +01:00
Tit Petric
22e88c1698 fix(system): fix tests in system, closes #67 2019-03-15 01:50:29 +01:00
Tit Petric
e8d2be4968 upd(all): update mocks 2019-03-15 00:31:25 +01:00
Tit Petric
a8c5cc227d upd(internal): remove unused operations and scope 2019-03-14 23:45:48 +01:00
Tit Petric
d934513dbd del(rbac): removed pdp implementation, closes #90 2019-03-14 23:02:19 +01:00
Tit Petric
61a27afba6 upd(all): database clients split by services 2019-03-14 22:29:19 +01:00
Tit Petric
e0de29c201 upd(all): restructure middleware 2019-03-14 22:29:19 +01:00
Tit Petric
ef1507920e upd(all): move around system routes, routes print 2019-03-14 22:29:19 +01:00
Tit Petric
df5fb8c7fc add(internal): routes.Print and metrics.MountRoutes 2019-03-14 22:29:19 +01:00
Tit Petric
be4faf54ed upd(internal): support multiple database configs 2019-03-14 22:29:19 +01:00
Mitja Zivkovic
9bc361f1d1 fix(internal): rules tests are run in transaction 2019-03-13 20:22:02 +01:00
Denis Arh
1c74f30b19 Fail fast on permission check in case of invalid identity 2019-03-13 07:18:01 +01:00
Denis Arh
e352f065c3 Add /permissions/effective endpoint, missing operations 2019-03-12 17:51:18 +01:00
Denis Arh
c6bb0afc9f Basic checks added 2019-03-12 08:48:03 +01:00
Mitja Zivkovic
9f494a37f9 upd(messaging) channel permission checks 2019-03-12 01:01:03 +01:00
Denis Arh
5e14803b58 Fix logging in subscription check 2019-03-12 00:30:01 +01:00
Denis Arh
d8c2594fa8 Fix application resource presets 2019-03-11 18:39:54 +01:00
Denis Arh
de53206c27 Fix handling wildcarded lookups on global resources 2019-03-11 14:12:27 +01:00
Denis Arh
93eb629d06 Refactor subscription checking, add interval checks (1/24h) 2019-03-11 11:46:29 +01:00
Mitja Zivkovic
b6ac8f9305 upd(internal): permission check order 2019-02-28 19:48:38 +03:00
Mitja Zivkovic
f1df2dbb9e add(internal): rules.resources mock 2019-02-27 23:36:10 +03:00
Mitja Zivkovic
aa39d4e052 upd(internal): rules test with savepoint 2019-02-27 20:47:38 +01:00
Mitja Zivkovic
ff22af4b33 upd(system): check service grant permissions 2019-02-27 09:20:55 +01:00
Denis Arh
9bed5005c6 Add permission checking capabilities, closes #43, #42, #44 2019-02-26 23:22:21 +01:00
Denis Arh
6985608449 Add system role everyone, closes #55 2019-02-26 21:32:28 +01:00
Mitja Zivkovic
2ecc83c52e upd(messaging): add permission checking 2019-02-25 17:11:54 +01:00