3
0

550 Commits

Author SHA1 Message Date
crustcrm1
21b4e366fc Added example JSON for charts API calls 2018-11-12 12:14:49 +01:00
crustcrm1
a4a144c786 API documentation for Charts - small fixes 2018-11-10 19:03:14 +01:00
crustcrm1
364593dc2c API documentation for Charts - added styling for JSON blocks 2018-11-10 18:59:03 +01:00
crustcrm1
6571bba458 API documentation for Charts 2018-11-10 18:57:12 +01:00
Tit Petric
21ba44dcf0 add(crm): migration for related types 2018-11-09 19:33:43 +01:00
Tit Petric
a2347e5ba3 add(crm): charts api definition on modules 2018-11-09 18:58:25 +01:00
Tit Petric
f6eefa4182 fix(makefile): paths for rbac and store tests 2018-11-09 18:58:01 +01:00
Tit Petric
5f9136bd67 upd(crm): fix tests, fix issue in sql limit 2018-11-09 17:56:55 +01:00
Tit Petric
a39d2866ed upd(crm): api call to query module contents 2018-11-09 17:47:40 +01:00
Tit Petric
3ad72640bb upd(internal):
- don't provide fault db connection setting
- prefix is optional, check if we have it
2018-11-09 16:15:51 +01:00
Tit Petric
3d1d6cc934 add(make): test.system, test.system.db 2018-11-09 15:15:57 +01:00
Tit Petric
6077d0d8a3 upd(crm):
- ownership of content records from identity
- return user structure with content rows
- add migrations for crm and system to tests
- empty users table for tests
- extend tests with user info checks
- fix tests in short mode (no testing.M.Skip())
2018-11-09 14:54:38 +01:00
Tit Petric
29c6277e18 upd(system):
- rename repository APIs to remove stutter
- use sqlx/types.JSONText to remove coalesceJson
2018-11-09 14:52:12 +01:00
Tit Petric
f7917d151d upd(system): don't expose satosaId in json 2018-11-09 14:08:17 +01:00
Tit Petric
d146db08c2 add(crm): migrations go generate 2018-11-09 13:41:56 +01:00
Tit Petric
df6dcd53fa add(crm): migration for crm_content ownership 2018-11-09 13:34:12 +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
f9fd9428fc fix(crm): update url links to match params 2018-11-06 13:37:04 +01:00
Tit Petric
e8537a0dd2 upd(crm): renamed generic 'id' fields to 'objID' 2018-11-06 13:19:04 +01:00
Denis Arh
b678bff3c1 Fix confix example & realize config 2018-11-06 10:39:05 +01:00
Denis Arh
6c021fb3f9 Fix makefile, dockerfile auth=>system 2018-11-06 10:13:08 +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
8bf8c0dcf6 fix(system): fix compile error after refactor 2018-11-05 13:46: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
ae9e60b967 upd(all): codegen docs update 2018-11-05 13:37:49 +01:00
Tit Petric
d1fba3b3b1 add(codegen): docs codegen for all 2018-11-05 13:37:18 +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
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
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
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