3
0
Commit Graph

78 Commits

Author SHA1 Message Date
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
8dd11b6b0e Send back changed message 2018-11-06 10:07:20 +01:00
Tit Petric
170c0a13ee upd(sam): spec.js naming convention update 2018-11-05 16:14:31 +01:00
Tit Petric
3963aa9653 fix(sam): spec for attachments 2018-11-05 15:09:54 +01:00
Tit Petric
72e34f77d7 add(system): user, teams and orgs apis, refactor auth 2018-11-05 13:38:25 +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
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
6a348f8e55 Pack can(Edit|Reply|Delete) flags with outgoing message 2018-10-28 10:14:28 +01:00
Tit Petric
e36621f016 upd(all): parse uint64 from post arrays 2018-10-25 12:10:35 +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
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
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
Tit Petric
e259a949b8 upd(all): codegen uint64 types with string encoding 2018-10-16 18:12:04 +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
Denis Arh
abe9665446 Added missing service call context 2018-10-09 07:45:26 +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
377ecf8f0f Wrap (cast) message REST output to outgoing.Message(Set) 2018-10-07 07:31:27 +02:00
Denis Arh
4e47fea7c9 Wrap (cast) channel REST output to outgoing.Channel(Set) 2018-10-04 19:44:09 +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
a7f54fb100 Handle missing files (previews) 2018-09-28 16:01:44 +02:00
Denis Arh
9b0c425390 Check access to attachments 2018-09-27 18:24:33 +02:00
Denis Arh
0b687269dc Revert deleted rest handlers 2018-09-26 21:28:09 +02:00
Denis Arh
17a3f9461e Data structure naming clenaup 2018-09-26 16:49:51 +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
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
Tit Petric
639891c5ed fix(sam): undeclared parameter for channel join 2018-09-13 14:50:55 +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
Denis Arh
c4875688eb Attachment serving 2018-09-11 23:34:03 +02:00
Denis Arh
b04a681d81 Attachment serving 2018-09-10 12:25:36 +02:00
Denis Arh
0400451823 Add upload/attachment capabilities 2018-09-08 22:04:36 +02:00
Tit Petric
6fafd2e740 upd(crm,sam): update auth pkg usage 2018-09-04 15:38:48 +02:00
Tit Petric
ffa5f9995d upd(all): return error on parsing json body 2018-09-04 10:13:37 +02:00
Tit Petric
ec2213bf61 fix(crm,sam): vars come through path, get, post 2018-09-04 09:45:19 +02:00
Denis Arh
4f6bf888bb Parse JSON from request payload only when is set to 2018-09-03 07:14:53 +02:00
Tit Petric
33887f5859 upd(all): error handling reading json request body 2018-09-02 22:39:15 +02:00
Tit Petric
29c9a8621b add(crm,sam): parseJSONText util func 2018-09-02 22:38:38 +02:00
Tit Petric
6e3ae267be upd(all): json parsers of request body 2018-09-02 21:35:20 +02:00
Tit Petric
4e4670ff40 upd(all): close request bodies 2018-09-02 21:33:39 +02:00
Tit Petric
0c43a6a9ea ws(all): moving some code around 2018-08-29 18:07:45 +02:00