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
47dfbd8ab3
Increase activity/heartbeat rate from connected (ws) user to 60s
2019-04-27 16:02:28 +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
980b6d581c
Refactor JWT encoder/handler
...
Handler is no longer passed as argument into routes etc but initialized in the Init()
and stored into auth.DefaultJwtHandler.
2019-04-27 13:17:37 +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
c297b173eb
upd(all): lock migrations table
2019-04-26 22:11:28 +02:00
Tit Petric
60ab73b03e
add(messaging): webhooks implementation
2019-04-26 22:11:28 +02:00
Tit Petric
f79f94da88
add(messaging): webhooks db migrations
2019-04-26 22:11:28 +02:00
Denis Arh
3026a594ed
Decupling system & messaging, removing Organisation type mess
2019-04-26 14:37:23 +02:00
Denis Arh
8f7c7651a0
Fix integration tests
2019-04-26 14:00:12 +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
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
Denis Arh
11def550c6
Refactor JWT init flow
2019-04-18 19:55:37 +02:00
Denis Arh
259090c075
Remove obsolete statik.go files
2019-04-03 18:32:23 +02:00
Denis Arh
b84ed43f27
Refactored settings
2019-04-03 17:46:39 +02:00
Tit Petric
44e8f2d6bc
add(messaging): import webhook type
2019-04-03 15:27:47 +02:00
Tit Petric
fdc1e36239
upd(messaging): type updates, tests
2019-04-03 15:09:23 +02:00
Tit Petric
106bbd19ae
add(messaging): message.Meta is typed struct now
2019-04-03 15:09:05 +02:00
Tit Petric
b6b1d5211e
add(messaging): webhook permission resource
2019-04-03 15:08:01 +02:00
Tit Petric
ec736aecd9
fix(messaging): fix stutters, Init(), errors
2019-04-03 15:05:23 +02:00
Tit Petric
8315c76b75
upd(messaging): tests import
2019-04-03 15:02:11 +02:00
Tit Petric
7e8cb4b04a
fix(messaging): repository stutters
2019-04-03 14:55:59 +02:00
Tit Petric
971c5899ee
upd(messaging): repository tests import
2019-04-03 14:55:42 +02:00
Tit Petric
e27720dc93
upd(all): codegen update handlers/request pkgs
2019-04-03 14:45:38 +02:00
Tit Petric
1bb9422714
del(all): remove unused/defunct mocks
2019-04-03 13:54:30 +02:00
Tit Petric
a173071bbc
upd(all): migrations to goware/static, closes #106
2019-04-03 13:45:40 +02:00
Tit Petric
46a0a9fe25
upd(all): ctx to database connector for ctrl+c
2019-04-03 13:33:14 +02:00
Denis Arh
ea810696b1
Improve channel loading, preload members & tweak/test permissions
2019-04-02 17:45:15 +02:00
Tit Petric
37f24d01fb
fix(messaging): import codegen files
2019-03-31 16:51:54 +02:00
Denis Arh
78763c715d
Refactor permission resources
2019-03-16 23:56:45 +01:00
Tit Petric
8a10839070
fix(all): better system Init, flags
2019-03-15 02:17:58 +01:00
Tit Petric
0ab9cc71da
fix(all): fix Init function, required as-is
2019-03-15 01:50:58 +01:00
Tit Petric
f39fa72bad
fix(messaging): systemService Init change
2019-03-15 00:31:43 +01:00
Tit Petric
e8d2be4968
upd(all): update mocks
2019-03-15 00:31:25 +01:00
Tit Petric
4bc3452961
del(messaging): permissions_test, invalid coupling
2019-03-15 00:28:31 +01:00
Tit Petric
1dab0e4830
upd(messaging): remove old perms.gen.go files
2019-03-14 23:45:34 +01:00
Tit Petric
6934917da0
upd(all): merge fix/coupling-issues-stage-1
2019-03-14 22:45:04 +01:00
Tit Petric
9b7006b954
upd(all): named db objects available for tests
2019-03-14 22:29:19 +01:00
Tit Petric
61a27afba6
upd(all): database clients split by services
2019-03-14 22:29:19 +01:00