Denis Arh
e97cbcea51
Redo service mocking, add ch name & topic length validation
2018-10-30 09:31:47 +01:00
Tit Petric
07c5c866f5
upd(sam): codegen for permissions booleans
2018-10-29 14:22:33 +01:00
Denis Arh
f8c0ad36d1
Add FindThreads and expose it on websocket endpoint
2018-10-29 13:47:03 +01:00
Denis Arh
8c2d91122d
Fix tests, add new mock for auth/svc/users
2018-10-29 13:47:03 +01:00
Denis Arh
5006a14935
FindMessages now only selects messages from channles we have access to
2018-10-29 13:47:03 +01:00
Tit Petric
9a8bef927d
upd(tests): skip migrations in short mode, add t.Skip to crm
2018-10-29 10:56:18 +01:00
Denis Arh
ca7075dd38
Remove dup event sending on thread reply
2018-10-28 10:42:23 +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
Tit Petric
f78a35b989
add(all): protect metrics with basic auth
2018-10-26 12:43:36 +02:00
Tit Petric
adeefdbeaa
fix(all):
...
- config fixes for singleton values (most)
- add monitor into internal/metrics
- clean up cmd folders to remove monitor
- implement versions on all apps
2018-10-26 11:20:15 +02:00
Denis Arh
259e7bac4d
Improve user preloading for messages
2018-10-26 10:38:05 +02:00
Denis Arh
828e0d819b
Fix unread recording, remove dump leftovers
2018-10-26 10:37:53 +02:00
Denis Arh
a5872e1655
Add a bit of protection for messages fetch
2018-10-26 06:55:31 +02:00
Tit Petric
e36621f016
upd(all): parse uint64 from post arrays
2018-10-25 12:10:35 +02:00
Denis Arh
807ddc924f
Suppress user-preloading errors
2018-10-25 11:31:18 +02:00
Denis Arh
0b3ebc9996
Fix for message service - broadcast messages with loaded attachments
2018-10-25 11:09:25 +02:00
Tit Petric
31c38f683c
upd(all): json []uint64 should also be encoded as str
2018-10-25 10:52:13 +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
8347a645cb
Inc/dec reply counter on original message before sending payload back to clients
2018-10-23 12:58:57 +02:00
Denis Arh
98fb60cf59
Send proper payload back on message edit/delete
2018-10-22 15:12:26 +02:00
Denis Arh
91aa4d6e27
Prevent negative view counts
2018-10-22 15:11:52 +02:00
Denis Arh
6ea52301f4
Fix multipart codegen
2018-10-22 13:24:04 +02:00
Denis Arh
9e095282c5
Implement 'attach to thread'
2018-10-22 11:40:36 +02:00
Tit Petric
803b72d979
fix(sam): codegen for multipart, gofmt service
2018-10-22 11:12:32 +02:00
Denis Arh
7e2ed23f00
Broadcast updated original message on thread reply
2018-10-22 08:22:53 +02:00
Denis Arh
49ffcf3717
Improve update message service
2018-10-20 00:59:03 +02:00
Denis Arh
4f13e8304f
Implement message threads
2018-10-19 15:07:09 +02:00
Denis Arh
58d7506969
Channel creation & membership improvements
...
- channel creation service now handles membership payload
- channel creation service prevents non-unique membership constalations
- adding / removing members is disabled for groups (temp solution)
2018-10-18 10:23:26 +02:00
Denis Arh
9f013c9c9c
Direct channels & groups are now properly broadcasted to all new members
2018-10-17 04:24:12 +02:00
Tit Petric
e259a949b8
upd(all): codegen uint64 types with string encoding
2018-10-16 18:12:04 +02:00
Denis Arh
c5d70ef264
Simplified forced-subscription logic
2018-10-16 15:49:10 +02:00
Denis Arh
9621132629
Add ability to set type of the channel over rest request
2018-10-16 11:32:54 +02:00
Tit Petric
9f45660839
upd(sam): fields rename to camel case
2018-10-15 14:45:18 +00:00
Tit Petric
72076769d8
upd(sam): docs update for camel case parameter
2018-10-15 14:42:42 +00:00
Tit Petric
51ec92b176
upd(sam): update statik db schema
2018-10-15 14:42:13 +00:00
Denis Arh
602f77c2f1
Inject version & build-time info and show it on startup & on /version endpoint
2018-10-14 09:42:48 +02:00
Denis Arh
aebe0348b7
Percona v Maria
2018-10-13 19:03:37 +02:00
Denis Arh
9f419c2d47
Add basic support for unread messages
2018-10-13 18:02:21 +02:00
Denis Arh
abe9665446
Added missing service call context
2018-10-09 07:45:26 +02:00
Denis Arh
60ecb6a24a
Add type altering migration for messaging with updated statik files
2018-10-09 07:37:33 +02:00
Denis Arh
2924334f47
Fix statik tooling
2018-10-09 07:36:50 +02:00
Denis Arh
53940d6be9
Fix column type on migration tables
2018-10-09 07:34:20 +02:00
Denis Arh
6711cb9f9e
Add user struct to be sent alongside member info
2018-10-09 06:02:28 +02:00
Tit Petric
264ec19a9b
upd(all): disable codegen for crm/types, gofmt
2018-10-08 21:18:20 +00:00
Tit Petric
a6e648d4c1
upd(all): statik with no filemtime
2018-10-08 21:17:52 +00:00