3
0
Commit Graph

412 Commits

Author SHA1 Message Date
Tit Petric
d54aae2e4b add(sam): migrations code start 2018-10-02 16:22:52 +02:00
Tit Petric
d5f1e50b0f add(codegen): codegen permission lists for sam 2018-10-01 15:00:57 +02:00
Tit Petric
56c4da0778 add(rbac): operations definitions 2018-10-01 15:00:31 +02:00
Tit Petric
8d84f8ec03 add(sam): resource hints for org/chan/team 2018-10-01 15:00:04 +02:00
Tit Petric
66229f6a40 add(sam): per-entity permissions list 2018-10-01 14:59:27 +02:00
Denis Arh
4c405e5abd Fix makefile to push docker images to the right endpoints 2018-09-29 18:00:11 +02:00
Denis Arh
8a0cdc7e65 Updated dockerfiles to fit dockerhub autmated build proc 2018-09-29 16:24:51 +02:00
Denis Arh
a60a673fd5 Update deps 2018-09-29 16:22:10 +02:00
Denis Arh
0238d5dd39 Add /var to .gitignore 2018-09-29 12:03:12 +02:00
Denis Arh
9d9c10044b Improve attachment handling
- flexible meta data struct for uploaded files
 - prevew generator (images only for now)
 - using outgoing types for return data (to cover attachment url generation in one place)
2018-09-29 12:02:19 +02:00
Denis Arh
73a32eaf7a Remove debug symbols 2018-09-29 08:49:57 +02:00
Denis Arh
a7f54fb100 Handle missing files (previews) 2018-09-28 16:01:44 +02:00
Denis Arh
12d6557cfe Remove _test suffix from package name 2018-09-28 15:45:18 +02:00
Denis Arh
2715e5a3f7 Refactor event sending + add user preloading 2018-09-27 19:11:01 +02:00
Denis Arh
6f2a270ece Removing chan/member dependency from auth pkg 2018-09-27 19:09:36 +02:00
Denis Arh
9b0c425390 Check access to attachments 2018-09-27 18:24:33 +02:00
Denis Arh
5f7abc2187 Link services & event loop 2018-09-27 18:09:56 +02:00
Denis Arh
bf8f6f4213 Extracted payloads from websocket pkg to internal/payload 2018-09-27 15:37:11 +02:00
Denis Arh
4788e61c07 Apply new repo/svc patterns to auth pkg 2018-09-27 14:43:15 +02:00
Denis Arh
7a037b2b2b Add SATOSA ID to users and update oidc flow, user repository
In addition to that, all user columns are now explicitly selected
2018-09-27 14:43:15 +02:00
Tit Petric
60a222cd4e upd(codegen): check if generator exists 2018-09-27 12:36:46 +00:00
Tit Petric
74d9365123 upd(sam): events queue over channel 2018-09-27 11:06:43 +00:00
Denis Arh
0b687269dc Revert deleted rest handlers 2018-09-26 21:28:09 +02:00
Denis Arh
62fde6443a Remove redundant logging on pubsub message event 2018-09-26 21:01:33 +02:00
Denis Arh
87ba0a281d Push list of channels and users when new ws connection opens 2018-09-26 20:54:27 +02:00
Denis Arh
9ff0de3546 Send member IDs alongside channel info 2018-09-26 20:30:28 +02:00
Denis Arh
f0b6be9ae6 Channel access protection 2018-09-26 19:23:55 +02:00
Denis Arh
17a3f9461e Data structure naming clenaup 2018-09-26 16:49:51 +02:00
Denis Arh
2a357b1c93 Simplify & unify service initialization, calling, handling 2018-09-25 21:21:52 +02:00
Denis Arh
685ecc56fa Fix test mock file generation 2018-09-25 21:20:49 +02:00
Denis Arh
89a4b9a675 Revert part of refactoring, fix attachment loading 2018-09-25 21:09:01 +02:00
Tit Petric
1689228e31 upd(sam) explicit db inject from service 2018-09-25 13:38:43 +00:00
Denis Arh
c781664fa6 Remove dump leftovers 2018-09-25 07:31:09 +02:00
Denis Arh
59d8856d30 Replace panic on feedSessions() error with log 2018-09-25 07:30:18 +02:00
Denis Arh
a7431fd8aa Copy ca-certificates.crt form builder 2018-09-25 07:29:21 +02:00
Denis Arh
c7a1f94972 remove user creation and login endpoints 2018-09-24 13:20:18 +02:00
Denis Arh
42fbfcb898 Add certificates to the docker image 2018-09-24 07:51:19 +02:00
Denis Arh
e6c5468a59 More precise cookie baking 2018-09-24 07:51:19 +02:00
Denis Arh
89a149671e Add missing deps 2018-09-24 07:51:19 +02:00
Tit Petric
09e4e15306 upd(sam): refactory repo/svc for stateful contexts, L2 2018-09-20 17:23:09 +02:00
Tit Petric
49c4b0c434 upd(sam): refactor repository to split responsibility, L1 2018-09-20 16:39:32 +02:00
Denis Arh
bb190ab70d OIDC implementation 2018-09-18 16:39:38 +02:00
Denis Arh
9826f52be4 Realize should watch 'internal' dir for changes 2018-09-18 11:22:36 +02:00
Denis Arh
cdd72c8b90 POC OIDC implementation 2018-09-17 16:08:02 +02:00
Denis Arh
6e039e1782 Trying trings out with SATOSA 2018-09-17 16:01:05 +02:00
Denis Arh
e348b3e2f4 Remove User from SAM, refactor service initialization 2018-09-17 06:41:18 +02:00
Denis Arh
5bc9745106 Expanding ws payload names, some code cleanup 2018-09-14 20:16:52 +02:00
Denis Arh
f9a5047a03 Always fetch messages in desceding order 2018-09-14 20:16:52 +02:00
Tit Petric
639891c5ed fix(sam): undeclared parameter for channel join 2018-09-13 14:50:55 +02:00
Tit Petric
7bf78fb4e0 upd(all): refactor
- moved rbac store and config to internal pkg,
- split auth authenticators to internal pkg,
- add rbac config object to internal/config,
- update package imports and references for auth,
- clean up main with pkg aliases
2018-09-13 12:05:06 +02:00