3
0
Commit Graph

68 Commits

Author SHA1 Message Date
Tit Petric
297ffda5ad add(all): migrations for tests, statik update 2018-11-24 19:50:07 +00:00
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
0ee0951630 Add support for fetching pinned & bookmarked messages 2018-11-08 22:48:55 +01:00
Denis Arh
5b832bbea1 Implement mentions
Extends internal type and outgoing structs
2018-11-07 11:21:11 +01:00
Denis Arh
db5f7623e5 Message flag repo struct renamed (from reaction to messageFlag) 2018-11-07 11:21:11 +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
242408e83e Refactor and polish flags (reactions, pins & bookmarks) 2018-11-02 10:07:32 +01:00
Denis Arh
71986df8d3 More options for msg search queries 2018-11-01 14:34:08 +01:00
Denis Arh
52cd5d33da Move messages search rest endpoint under /search/messages, add controller, fix searching by query 2018-11-01 11:49:17 +01:00
Denis Arh
7ac8b9b5f7 Redone channel (un)deleting/(un)archiving 2018-10-31 08:36:09 +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
a5872e1655 Add a bit of protection for messages fetch 2018-10-26 06:55:31 +02:00
Denis Arh
44f0ca33e1 Cleanup record-view func signatures & types 2018-10-25 10:26:59 +02:00
Denis Arh
91aa4d6e27 Prevent negative view counts 2018-10-22 15:11:52 +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
Tit Petric
264ec19a9b upd(all): disable codegen for crm/types, gofmt 2018-10-08 21:18:20 +00: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
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
Tit Petric
74d9365123 upd(sam): events queue over channel 2018-09-27 11:06:43 +00:00
Denis Arh
9ff0de3546 Send member IDs alongside channel info 2018-09-26 20:30:28 +02:00
Denis Arh
f0b6be9ae6 Channel access protection 2018-09-26 19:23:55 +02:00
Tit Petric
1689228e31 upd(sam) explicit db inject from service 2018-09-25 13:38:43 +00:00
Denis Arh
c7a1f94972 remove user creation and login endpoints 2018-09-24 13:20:18 +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
e348b3e2f4 Remove User from SAM, refactor service initialization 2018-09-17 06:41:18 +02:00
Denis Arh
5bc9745106 Expanding ws payload names, some code cleanup 2018-09-14 20:16:52 +02:00
Denis Arh
f9a5047a03 Always fetch messages in desceding order 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
48d47b95e8 upd(sam): refactor pubsub api 2018-09-11 20:35:45 +02:00
Tit Petric
cef9af9903 upd(sam): refactor pubsub, housekeeping 2018-09-11 20:17:26 +02:00
Tit Petric
33bdf429a5 upd(sam): refactor pubsub to repository 2018-09-11 18:12:41 +02:00
Tit Petric
3e3af76b65 upd(sam): configs refactor 2018-09-11 17:50:29 +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
Tit Petric
daf92fd947 fix(all): resolve go critic issues 2018-08-27 13:55:48 +02:00
Denis Arh
257219d5f5 Asertized SAM tests 2018-08-24 12:05:23 +02:00
Tit Petric
af3a677ffb upd(sam tests): use namsral flag 2018-08-15 20:38:32 +02:00
Denis Arh
94aed69d37 Move EventQueueItem under types package 2018-08-05 23:35:55 +02:00