3
0

579 Commits

Author SHA1 Message Date
Tit Petric
ffa2d1b8ed upd(system): rename tables, fix tests 2018-11-24 18:57:08 +00:00
Tit Petric
5a747d746f del(sam): remove unused proto file 2018-11-24 18:56:31 +00:00
Tit Petric
e596e5227f fix(crm): unmarshal chart, fix page tests 2018-11-22 11:30:54 +01:00
Tit Petric
b9cd623221 upd(codegen): build generators once, rename 2018-11-21 16:04:28 +01:00
Tit Petric
491efca67b del(codegen): remove all go:generate macros 2018-11-21 15:54:13 +01:00
Tit Petric
ea885657dd upd(codegen): remove go generate 2018-11-21 15:51:56 +01:00
Tit Petric
155d381d9b del(crm): remove crm/data (cleanup) 2018-11-21 15:01:39 +01:00
Tit Petric
9feda8823b upd(sam): rename generated perms files, move codegen 2018-11-21 15:01:12 +01:00
Tit Petric
f8bdda0313 upd(v2 codegen): add perm generator, rename 2018-11-21 14:58:55 +01:00
Denis Arh
e5ff3ae7b3 Improve type-set generator, apply to system, sam 2018-11-21 07:02:57 +01:00
Denis Arh
02eebb5cfc Add /page/tree, generated set types 2018-11-21 05:50:07 +01:00
Denis Arh
297533e03c Add <T>Set ([]*<T>) type generator 2018-11-21 05:49:30 +01:00
Denis Arh
1116148b81 Switch back to []string (no support for unmarshaling to []uint64) 2018-11-20 12:05:29 +01:00
Denis Arh
8c488b83b0 Count unread messages on mark-as-unread 2018-11-19 08:52:32 +01:00
Denis Arh
43a7a054b3 Reissue & extend cookies on /auth/check 2018-11-19 06:32:48 +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
Tit Petric
6e8591ec8f upd(crm): return fields from content list/read, tests 2018-11-15 15:18:17 +01:00
Tit Petric
fc654d5880 fix(crm docs): page specs title for pageEdit 2018-11-15 10:50:04 +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
Tit Petric
5df33d692f upd(crm): add chart tests, fix tests 2018-11-12 19:35:53 +01:00
Tit Petric
7ddff35ed5 upd(all): dep ensure update 2018-11-12 19:19:34 +01:00
Tit Petric
9494271380 add(crm): chart mock api and statik codegen 2018-11-12 15:40:18 +01:00
Tit Petric
3e7898fbac add(rbac):
- multi delete resources
- check access over multiple resources
- tests
2018-11-12 15:38:35 +01:00
crustcrm1
3cdf428e8f Fixed example JSON for charts API calls 2018-11-12 12:16:25 +01:00
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