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
7ac8b9b5f7
Redone channel (un)deleting/(un)archiving
2018-10-31 08:36:09 +01:00
Tit Petric
8a2e07b2b4
fix(sam): nil pointer dereference race
2018-10-26 14:01:16 +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
cbc83cb515
Add support for commands
2018-10-04 18:03:08 +02:00
Denis Arh
bf8f6f4213
Extracted payloads from websocket pkg to internal/payload
2018-09-27 15:37:11 +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
2a357b1c93
Simplify & unify service initialization, calling, handling
2018-09-25 21:21:52 +02:00
Tit Petric
09e4e15306
upd(sam): refactory repo/svc for stateful contexts, L2
2018-09-20 17:23:09 +02:00
Denis Arh
e348b3e2f4
Remove User from SAM, refactor service initialization
2018-09-17 06:41:18 +02:00
Tit Petric
3e3af76b65
upd(sam): configs refactor
2018-09-11 17:50:29 +02:00
Tit Petric
16cc7a11f3
upd(all): restructure cmd, flags, startups
2018-08-23 11:15:23 +02:00
Tit Petric
9959ce8fba
fix(sam): go vet fix for ptr receiver
2018-08-15 18:15:12 +02:00
Denis Arh
f61b706559
Implements lst of users + active state
2018-08-07 19:35:14 +02:00
Denis Arh
baae815899
Implement event loop
2018-08-05 22:14:45 +02:00
Tit Petric
463afa77d0
upd(websocket): clean up main loop, expect encoded payloads
2018-07-30 00:38:06 +02:00
Denis Arh
34bf58d5b1
Simplify outgoing message encoding with json.Marshaler
2018-07-29 01:03:44 +02:00
Tit Petric
76d93e3a76
upd(sam/websocket): general cleanup re: dispatch, prepare byte send to not re-encode msgs
2018-07-25 19:28:56 +02:00
Tit Petric
ddbe9ce952
upd(sam): larger refactor of field names, websocket pkg layout
...
- renamed all fields with Id to ID
- fixed spec file syntax error
- fix bindings for Team API url parameters
- change layout of websocket types->outgoing msg converter
- regenerate full codegen
2018-07-25 18:07:56 +02:00
Denis Arh
d0ea82b683
Add WebSocket basic comm
2018-07-25 13:20:02 +02:00
Tit Petric
60b7f712b6
import some websocket groundwork
2018-07-19 20:19:57 +02:00