3
0
Commit Graph

54 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
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
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
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
deddcb1c5d Message length validation 2018-10-30 09:48:39 +01:00
Denis Arh
f8c0ad36d1 Add FindThreads and expose it on websocket endpoint 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
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
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
9f419c2d47 Add basic support for unread messages 2018-10-13 18:02:21 +02:00
Denis Arh
910b5589dd Channel membership improved 2018-10-07 18:42:54 +02:00
Denis Arh
9d9c10044b Improve attachment handling
- flexible meta data struct for uploaded files
 - prevew generator (images only for now)
 - using outgoing types for return data (to cover attachment url generation in one place)
2018-09-29 12:02:19 +02:00
Denis Arh
2715e5a3f7 Refactor event sending + add user preloading 2018-09-27 19:11:01 +02:00
Denis Arh
5f7abc2187 Link services & event loop 2018-09-27 18:09:56 +02:00
Denis Arh
17a3f9461e Data structure naming clenaup 2018-09-26 16:49:51 +02:00
Denis Arh
2a357b1c93 Simplify & unify service initialization, calling, handling 2018-09-25 21:21:52 +02:00
Tit Petric
1689228e31 upd(sam) explicit db inject from service 2018-09-25 13:38:43 +00:00
Denis Arh
c781664fa6 Remove dump leftovers 2018-09-25 07:31:09 +02:00
Tit Petric
09e4e15306 upd(sam): refactory repo/svc for stateful contexts, L2 2018-09-20 17:23:09 +02:00
Tit Petric
49c4b0c434 upd(sam): refactor repository to split responsibility, L1 2018-09-20 16:39:32 +02:00
Denis Arh
5bc9745106 Expanding ws payload names, some code cleanup 2018-09-14 20:16:52 +02:00
Tit Petric
7bf78fb4e0 upd(all): refactor
- moved rbac store and config to internal pkg,
- split auth authenticators to internal pkg,
- add rbac config object to internal/config,
- update package imports and references for auth,
- clean up main with pkg aliases
2018-09-13 12:05:06 +02:00
Tit Petric
d31d0595da add(sam): example usage of an events broadcast 2018-09-11 20:47:07 +02:00
Denis Arh
b04a681d81 Attachment serving 2018-09-10 12:25:36 +02:00
Denis Arh
e351c73a0a Serve attachment info alongside with message (rest & ws) 2018-09-09 13:09:56 +02:00
Denis Arh
0400451823 Add upload/attachment capabilities 2018-09-08 22:04:36 +02:00
Denis Arh
c053ea51de Set current user as message creator 2018-08-31 10:39:21 +02:00
Tit Petric
f5c3c4184b upd(crm): define service interfaces in service pkg 2018-08-29 17:56:08 +02:00
Denis Arh
baae815899 Implement event loop 2018-08-05 22:14:45 +02:00
Denis Arh
136a837e18 Improve service & repo layer, add support for direct messages 2018-08-03 00:04:22 +02:00
Denis Arh
baae430adc Refactor repository, add support for transactions 2018-07-30 06:56:03 +02:00