3
0
Commit Graph

428 Commits

Author SHA1 Message Date
Denis Arh
910b5589dd Channel membership improved 2018-10-07 18:42:54 +02:00
Denis Arh
c3457807e7 Extend event service & event queue item to support subscription types
On top of 'channel-type' subscriptions we had, we now support 'user-type' subscriptions to handle
subscription requests (ie: we want this specific user to be subscribed to that specific channel)
2018-10-07 08:31:21 +02:00
Denis Arh
b07cbbbdd7 Cleanup, comments improved 2018-10-07 08:28:46 +02:00
Denis Arh
377ecf8f0f Wrap (cast) message REST output to outgoing.Message(Set) 2018-10-07 07:31:27 +02:00
Denis Arh
5df6aea791 More accurate rules for realize 2018-10-07 07:30:50 +02:00
Denis Arh
ff7d8bbfd3 Notify everyone when new public channel is created or updated 2018-10-04 20:00:09 +02:00
Denis Arh
4e47fea7c9 Wrap (cast) channel REST output to outgoing.Channel(Set) 2018-10-04 19:44:09 +02:00
Denis Arh
62ac171501 Fix docker image tags 2018-10-04 19:24:44 +02:00
Denis Arh
b09d309f81 Fix broken build after dep update 2018-10-04 19:05:43 +02:00
Denis Arh
cbc83cb515 Add support for commands 2018-10-04 18:03:08 +02:00
Denis Arh
9b67f504f4 Add *.iml to .gitignore 2018-10-04 18:03:08 +02:00
Tit Petric
8e30f82d03 upd(vendor): import dockertest 2018-10-03 12:59:35 +02:00
Tit Petric
eeb118efe5 add(sam): database container for running migrations 2018-10-03 12:59:22 +02:00
Tit Petric
b8b530ed17 add(makefile): test.sam.db target 2018-10-02 16:31:42 +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
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