Denis Arh
a08d7c181a
Reconnect websockets to API & server
2020-11-07 08:16:32 +01:00
Denis Arh
fc74d44563
go vet fixes
2020-11-05 19:57:47 +01:00
Denis Arh
ecb7f52c31
Improve error creation & handling by API
2020-11-04 14:18:33 +01:00
Denis Arh
f7070b4fa5
Fix tests, improve constraint checking
2020-09-06 15:37:19 +02:00
Denis Arh
c8d552e6a6
Implement new store infrastructure
2020-08-24 15:40:15 +02:00
Denis Arh
7505d870c0
Refactor WS init
2020-01-18 07:05:34 +01:00
Denis Arh
29902db2b1
Refactor & improve application initialization
2020-01-18 07:05:10 +01:00
Denis Arh
608c4fe91d
Refactor channel repo
2019-10-29 10:06:14 +01:00
Denis Arh
ebfa4cbffd
Move internal/payload to pkg/payload
2019-10-01 17:51:39 +02:00
Denis Arh
62aa794b84
Move internal/auth to pkg/auth
2019-10-01 17:47:43 +02:00
Denis Arh
aa5fc27d85
Remove internal/ from messaging
2019-09-09 13:04:12 +02:00
Denis Arh
aabff3df6e
Add sentry wrapper, improve recover() logic
2019-08-14 17:07:56 +02:00
Denis Arh
ba3b59acd3
Unread refactoring, moving logic to backend
2019-07-19 22:03:39 +02:00
Denis Arh
b006cb8784
Additional ws session check before writing
...
Avoiding reported "invalid memory address or nil pointer dereference"
2019-07-16 09:01:01 +02:00
Denis Arh
60ad32e440
Add support for error (panic) reporting through Sentry
2019-07-03 16:35:06 +02:00
Denis Arh
bb447ee795
Chan & thread unread fixes
2019-06-25 08:45:22 +02:00
Denis Arh
22476933f4
Improve cli env setup & running
2019-05-26 08:41:20 +02:00
Denis Arh
36b32fa2fe
Move logger package from internal to pkg
2019-05-24 13:30:48 +02:00
Denis Arh
243052402d
More flexible "messaging", move to Corteza
...
- more control over starting procedure, cli commands...
- fix package paths
- renaming symbols, comments, strings from Crust to Corteza
2019-05-24 12:42:04 +02:00
Denis Arh
4dece123a5
Refactor all services & controllers and implement new a/c pattern
2019-05-09 16:55:18 +02:00
Denis Arh
aea9741a2b
Improve logging, migrate to zap, use requestID
...
- migrate from log to go.uber.org/zap package
- add requestID header with sticky log field
- push logging via context to REST controllers & HTTP middleware
- enhance request/resnpose logging
- add service logging framework
- add ZapProfiler for db query profiling
2019-05-07 21:18:23 +02:00
Denis Arh
47dfbd8ab3
Increase activity/heartbeat rate from connected (ws) user to 60s
2019-04-27 16:02:28 +02:00
Denis Arh
e9475feda0
Implement basic logic for /status endpoint
...
Currently it gets a list of connected users from websocket session store
and popuplates array of statuses:
[{"userID":"83947155491913829","status":"online","icon":"","message":""},
{"userID":"85008081418715239","status":"online","icon":"","message":""}]
2019-04-27 14:41:46 +02:00
Denis Arh
1ce5b355ae
Improves presence/activity handling over websocket
2019-04-27 14:20:33 +02:00
Denis Arh
3026a594ed
Decupling system & messaging, removing Organisation type mess
2019-04-26 14:37:23 +02:00
Denis Arh
e2bbdda1f5
Channel list is no longer sent on ws connect
2019-04-26 13:54:03 +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
1a8a7da000
New & improved channel histroy rest endpoint params
2019-04-26 07:35:19 +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
43a5693ee5
Move list of commands from WS initial payload to /commands REST endpoint
2019-04-26 06:16:34 +02:00
Tit Petric
6934917da0
upd(all): merge fix/coupling-issues-stage-1
2019-03-14 22:45:04 +01:00
Tit Petric
99acac156f
upd(all): refactor imports, system service api
2019-03-14 22:22:16 +01:00
Denis Arh
e352f065c3
Add /permissions/effective endpoint, missing operations
2019-03-12 17:51:18 +01:00
Denis Arh
5650a10b23
Add access check to websocket route
2019-02-26 15:32:30 +01:00
Tit Petric
f10c3cfbe7
upd(all): s/sam/messaging, del: build-proto.sh
2019-02-05 15:51:15 +01:00
Tit Petric
e9609287a9
upd(messaging): update import paths
2019-02-05 15:15:08 +01:00
Tit Petric
06f75376bc
upd(sam): rename to messaging
2019-02-05 15:09:52 +01:00