3
0
Commit Graph

105 Commits

Author SHA1 Message Date
Denis Arh
e5ff3ae7b3 Improve type-set generator, apply to system, sam 2018-11-21 07:02:57 +01:00
Denis Arh
8c488b83b0 Count unread messages on mark-as-unread 2018-11-19 08:52:32 +01:00
Denis Arh
eabd0b2314 Tweak security rules for channel fetching 2018-11-15 17:14:17 +01:00
Denis Arh
f51f0f80a5 Unreads, channel (and message) activity capabilities extended 2018-11-15 16:46:33 +01:00
Denis Arh
277b7412d1 Add support for unread in threads 2018-11-15 16:46:33 +01:00
Denis Arh
0f1f545b90 Add thread participants to msg struct 2018-11-14 05:57:55 +01:00
Denis Arh
01dee6f85c Fix sec check for channel join/part 2018-11-13 16:05:26 +01:00
Denis Arh
d74825b40e Add security checks for channel, membership updating 2018-11-13 13:56:56 +01:00
Denis Arh
c5f49b347e Fix channel changing system messages 2018-11-13 11:03:43 +01:00
Denis Arh
5b832bbea1 Implement mentions
Extends internal type and outgoing structs
2018-11-07 11:21:11 +01:00
Denis Arh
8dd11b6b0e Send back changed message 2018-11-06 10:07:20 +01:00
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
67c1a47b16 Message pin/reaction events are now sent standalone (w/o message obj) 2018-11-02 18:19:45 +01:00
Denis Arh
242408e83e Refactor and polish flags (reactions, pins & bookmarks) 2018-11-02 10:07:32 +01:00
Denis Arh
c0c0a88aeb Allow nameless (groups) channels 2018-10-31 13:07:30 +01:00
Denis Arh
2fb769ab57 Fix *%!s(MISSING)* when channel is created 2018-10-31 10:12:24 +01:00
Denis Arh
af204260c4 Add missing repo call for unarchiving 2018-10-31 09:37:09 +01:00
Denis Arh
7ac8b9b5f7 Redone channel (un)deleting/(un)archiving 2018-10-31 08:36:09 +01:00
Denis Arh
a14980bb5e Disable message lenght validation 2018-10-30 12:21:45 +01:00
Denis Arh
77011522bc Flip order of chan-deleted and msg-about-chan-deleted events
This will force clients to unsubscribe from deleted channels and ignore the chan-delete message.
2018-10-30 11:52:47 +01:00
Denis Arh
cc1e914987 Improved system messages on channel rename/join/part... 2018-10-30 09:54:17 +01:00
Denis Arh
deddcb1c5d Message length validation 2018-10-30 09:48:39 +01:00
Denis Arh
e97cbcea51 Redo service mocking, add ch name & topic length validation 2018-10-30 09:31:47 +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
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
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
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
Denis Arh
44f0ca33e1 Cleanup record-view func signatures & types 2018-10-25 10:26:59 +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
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
Denis Arh
c5d70ef264 Simplified forced-subscription logic 2018-10-16 15:49:10 +02: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
9f419c2d47 Add basic support for unread messages 2018-10-13 18:02:21 +02:00
Denis Arh
6711cb9f9e Add user struct to be sent alongside member info 2018-10-09 06:02:28 +02:00
Denis Arh
0f9f2e08f9 Channel join/part/invite through REST 2018-10-07 20:22:34 +02:00
Denis Arh
910b5589dd Channel membership improved 2018-10-07 18:42:54 +02:00
Denis Arh
c3457807e7 Extend event service & event queue item to support subscription types
On top of 'channel-type' subscriptions we had, we now support 'user-type' subscriptions to handle
subscription requests (ie: we want this specific user to be subscribed to that specific channel)
2018-10-07 08:31:21 +02:00
Denis Arh
b07cbbbdd7 Cleanup, comments improved 2018-10-07 08:28:46 +02:00