3
0
Commit Graph

149 Commits

Author SHA1 Message Date
Tit Petric
6d5b0070b2 add(crm): add db migration for links 2018-11-25 12:58:46 +01:00
Tit Petric
2f54a483b8 add(crm): content links table (one to many) 2018-11-25 12:58:19 +01:00
Tit Petric
6a3fd9bc3b upd(codegen): follow golang standard pkg layout 2018-11-25 11:41:46 +01:00
Tit Petric
556a61b914 upd(crm): test update for table rename 2018-11-24 19:49:35 +00:00
Tit Petric
e596e5227f fix(crm): unmarshal chart, fix page tests 2018-11-22 11:30:54 +01:00
Tit Petric
491efca67b del(codegen): remove all go:generate macros 2018-11-21 15:54:13 +01:00
Tit Petric
155d381d9b del(crm): remove crm/data (cleanup) 2018-11-21 15:01:39 +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
1116148b81 Switch back to []string (no support for unmarshaling to []uint64) 2018-11-20 12:05:29 +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
Tit Petric
5df33d692f upd(crm): add chart tests, fix tests 2018-11-12 19:35:53 +01:00
Tit Petric
9494271380 add(crm): chart mock api and statik codegen 2018-11-12 15:40:18 +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
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
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
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
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
Tit Petric
ae9e60b967 upd(all): codegen docs update 2018-11-05 13:37:49 +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
Tit Petric
9a8bef927d upd(tests): skip migrations in short mode, add t.Skip to crm 2018-10-29 10:56:18 +01:00
Tit Petric
f78a35b989 add(all): protect metrics with basic auth 2018-10-26 12:43:36 +02:00
Tit Petric
adeefdbeaa fix(all):
- config fixes for singleton values (most)
- add monitor into internal/metrics
- clean up cmd folders to remove monitor
- implement versions on all apps
2018-10-26 11:20:15 +02:00
Tit Petric
e36621f016 upd(all): parse uint64 from post arrays 2018-10-25 12:10:35 +02:00
Tit Petric
068af15e40 add(crm): implement page reorder api, list pages by selfID 2018-10-25 11:52:11 +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
Tit Petric
c6bc3ae53e fix(crm): fix url path for content apis 2018-10-20 22:56:22 +02:00
Tit Petric
e259a949b8 upd(all): codegen uint64 types with string encoding 2018-10-16 18:12:04 +02:00
Tit Petric
2a29c50085 add(crm): module and pagination parameters for content list 2018-10-16 13:01:44 +02:00
Tit Petric
43c36f9964 upd(crm): return page on module content items 2018-10-16 12:39:48 +02:00
Tit Petric
ef5e56717b add(crm): page info for modules 2018-10-16 12:31:20 +02:00
Tit Petric
bbed522266 upd(crm): return module info from pages 2018-10-16 11:56:11 +02:00
Tit Petric
e926b6a05a upd(crm): fix tests for pages 2018-10-15 17:25:34 +02:00
Tit Petric
ad6cf16e4b add(crm): import implementation for pages 2018-10-15 14:46:35 +00:00
Tit Petric
909bd6d82e upd(crm): codegen db schema 2018-10-15 14:46:03 +00:00
Tit Petric
b3ec256dfe upd(crm): update db page table indexes 2018-10-15 14:23:58 +00:00
Tit Petric
251ac16b2d add(crm): import page table 2018-10-15 13:30:29 +00:00
Denis Arh
602f77c2f1 Inject version & build-time info and show it on startup & on /version endpoint 2018-10-14 09:42:48 +02:00
Tit Petric
14b8b6d20e fix(crm): nil pointer dereference 2018-10-09 10:43:14 +02:00