Denis Arh
f51f0f80a5
Unreads, channel (and message) activity capabilities extended
2018-11-15 16:46:33 +01:00
Tit Petric
fdf24b3e2c
Refactor for new system service
...
- upd(all): indent spec.json files on all apps
- upd(auth): rename auth app to cmd
- upd(sam): move orgs, teams to system
- upd(system): extend spec.json for check
- upd(codegen): include system/
- upd(codegen): always generate spec files
- upd(sam): references from auth to system
2018-11-05 12:04:04 +01:00
Denis Arh
71986df8d3
More options for msg search queries
2018-11-01 14:34:08 +01:00
Denis Arh
7ac8b9b5f7
Redone channel (un)deleting/(un)archiving
2018-10-31 08:36:09 +01:00
Denis Arh
f8c0ad36d1
Add FindThreads and expose it on websocket endpoint
2018-10-29 13:47:03 +01:00
Denis Arh
6a348f8e55
Pack can(Edit|Reply|Delete) flags with outgoing message
2018-10-28 10:14:28 +01:00
Tit Petric
8a2e07b2b4
fix(sam): nil pointer dereference race
2018-10-26 14:01:16 +02:00
Denis Arh
44f0ca33e1
Cleanup record-view func signatures & types
2018-10-25 10:26:59 +02:00
Denis Arh
2ec5934d2e
User/channel activity echoing service
2018-10-24 17:17:31 +02:00
Denis Arh
62fa9c4704
Improve session connection handling (presence)
2018-10-24 16:02:52 +02:00
Denis Arh
573e8914ed
Broadcast number of user connections to ws + other ws improvements
2018-10-23 21:23:38 +02:00
Denis Arh
44f212e3ea
Fix websocket disconnection due to misconfiguration
2018-10-23 13:19:32 +02:00
Denis Arh
4f13e8304f
Implement message threads
2018-10-19 15:07:09 +02:00
Denis Arh
9f013c9c9c
Direct channels & groups are now properly broadcasted to all new members
2018-10-17 04:24:12 +02:00
Denis Arh
c5d70ef264
Simplified forced-subscription logic
2018-10-16 15:49:10 +02:00
Denis Arh
9f419c2d47
Add basic support for unread messages
2018-10-13 18:02:21 +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
cbc83cb515
Add support for commands
2018-10-04 18:03:08 +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
Tit Petric
74d9365123
upd(sam): events queue over channel
2018-09-27 11:06:43 +00: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
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
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
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
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
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
Tit Petric
91db6b37f7
Merge branch 'master' of ssh://github.com/crusttech/crust
2018-09-12 10:55:48 +02:00
Denis Arh
55aa5726f2
Stricter message types with MessageType* constants
2018-09-11 23:34:03 +02:00
Denis Arh
c4875688eb
Attachment serving
2018-09-11 23:34:03 +02:00
Tit Petric
48d47b95e8
upd(sam): refactor pubsub api
2018-09-11 20:35:45 +02:00
Tit Petric
cef9af9903
upd(sam): refactor pubsub, housekeeping
2018-09-11 20:17:26 +02:00
Tit Petric
33bdf429a5
upd(sam): refactor pubsub to repository
2018-09-11 18:12:41 +02:00
Tit Petric
3e3af76b65
upd(sam): configs refactor
2018-09-11 17:50:29 +02:00
Tit Petric
dfd9985552
upd(config): add pubsub and websocket, singletons
2018-09-11 17:49:56 +02:00
Denis Arh
b04a681d81
Attachment serving
2018-09-10 12:25:36 +02:00
Denis Arh
e351c73a0a
Serve attachment info alongside with message (rest & ws)
2018-09-09 13:09:56 +02:00
Denis Arh
5befc50a95
Subscribe user to the channel he just created
2018-09-03 08:27:37 +02:00
Tit Petric
16cc7a11f3
upd(all): restructure cmd, flags, startups
2018-08-23 11:15:23 +02:00
Tit Petric
a46b4fbf93
upd(sam): pubsub events with redis option
2018-08-21 13:05:08 +02:00
Tit Petric
9959ce8fba
fix(sam): go vet fix for ptr receiver
2018-08-15 18:15:12 +02:00
Denis Arh
79ca22b9a8
Use id instead of cid in JSON fields for incomming messages
2018-08-07 21:31:44 +02:00
Denis Arh
636d2c05c7
Support for channel add through WS
2018-08-07 21:11:42 +02:00