3
0

31 Commits

Author SHA1 Message Date
Denis Arh
0c919d9146 Implements /search/threads 2019-04-27 19:31:45 +02:00
Denis Arh
d96a6c8abc Revert []string=>[]uint64 change for channel members
Due to golang's inability do decode uint64 slice from string slice, we're expecting
string input for members (for now): https://github.com/golang/go/issues/15624
2019-04-27 16:08:02 +02:00
Denis Arh
ba8b77e4e1 Cleanup attachment serving logic
Remove old workarounds in rest/handlers and replace them with
simple func(http.ResponseWriter, *http.Request) that we return
from controller functions
2019-04-27 15:25:56 +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
eae4643274 Fix requred fields, create chan members type 2019-04-27 10:43:26 +02:00
Tit Petric
98a3fc059e upd(all): regenerate handlers 2019-04-26 22:11:28 +02:00
Tit Petric
60ab73b03e add(messaging): webhooks implementation 2019-04-26 22:11:28 +02:00
Denis Arh
b0239761f7 User/chan/messaging activity refactored 2019-04-26 13:34:35 +02:00
Denis Arh
f8e7a2133d Add status stubs 2019-04-26 11:46:33 +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
Denis Arh
2132d1fdca Add url/param signing capapbilities to support access to attachments 2019-04-25 18:24:41 +02:00
Tit Petric
e27720dc93 upd(all): codegen update handlers/request pkgs 2019-04-03 14:45:38 +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
50cbd71a00 Serve /permissions/effective (crm, messagign) without any middleware checks 2019-03-13 07:19:26 +01:00
Denis Arh
e352f065c3 Add /permissions/effective endpoint, missing operations 2019-03-12 17:51:18 +01:00
Denis Arh
79229ef1f1 Append suffix to receiver name to avoid naming colision
Names starting with letter r colided with r for *http.Request
2019-02-28 23:51:36 +01:00
Mitja Zivkovic
fd511e703e add(messaging): check service access permissions 2019-02-26 10:24:10 +01:00
Mitja Zivkovic
2ecc83c52e upd(messaging): add permission checking 2019-02-25 17:11:54 +01:00
Mitja Zivkovic
8cc4551efc upd(system): add Permissions API 2019-02-21 20:48:06 +01:00
Mitja Zivkovic
2bcf294191 fix(messaging): removed double permission word in path 2019-02-19 09:21:38 +07:00
Mitja Zivkovic
654201aa73 upd(messaging): permission API with DB 2019-02-15 20:32:15 +01:00
Mitja Zivkovic
f155f48bdf upd(messaging): permissions to rules 2019-02-14 16:28:39 +01:00
Tit Petric
087196f571 clean(all): gocritic warnings cleanup 2019-02-05 16:14:28 +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