Commit Graph

205 Commits

Author SHA1 Message Date
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
rijkvanzanten
5bedda945c Warn, don't error, on missing PKs in schema
Fixes #3251
2020-12-07 18:24:33 -05:00
rijkvanzanten
d352609a50 Add support for custom migrations extension 2020-12-02 15:51:58 -05:00
rijkvanzanten
e3d289b7a4 Add CLI bootstrap command 2020-12-02 15:27:54 -05:00
Nicola Krumschmidt
7a36dd3d0a Remove unused required properties 2020-12-01 18:51:27 +01:00
rijkvanzanten
0dbaefcb4c Add default nested limit 2020-11-27 19:16:44 -05:00
Rijk van Zanten
da84dbbc71 Merge pull request #3173 from patvong/patvong/no-limit-to-relationnal-fields
Fetching the relational fields were incorrectly bounded to a maximum of 100 items.
2020-11-27 18:58:07 -05:00
rijkvanzanten
0cdc85e607 Revert global width
Needs some more thinking / experimentation
2020-11-27 18:28:07 -05:00
rijkvanzanten
665ab42c5d Merge branch 'main' into m2a-interface 2020-11-27 13:55:06 -05:00
Pat Vongphrachanh
e2e524d324 Fetching the relational fields were incorrectly bounded to a maximum of 100 items. 2020-11-23 16:52:38 -05:00
rijkvanzanten
023424d2b0 Fix import of exception 2020-11-23 10:52:18 -05:00
rijkvanzanten
e07fc813f9 Show table in PK service exception
Ref #3130
2020-11-23 10:51:05 -05:00
rijkvanzanten
c8f9831eb1 Throw error if table doens't have primary key
Fixes #3130
2020-11-23 10:49:42 -05:00
rijkvanzanten
0002393486 Allow nested objects in env vars
FE: DB_SSL__CA=example
2020-11-20 15:19:38 -05:00
rijkvanzanten
4f29681fa2 Fix lookup 2020-11-18 12:39:26 -05:00
rijkvanzanten
168e96ed03 Support field scoping in fields parameter 2020-11-17 11:27:09 -05:00
rijkvanzanten
dca88cefa6 Fix seed creation on SQLite 2020-11-13 17:30:36 -05:00
rijkvanzanten
137fba838d Fix conceal on user 2020-11-12 18:22:04 -05:00
rijkvanzanten
982fa6aded Cast permissions validation as json
Should fix #965
2020-11-12 10:57:55 -05:00
rijkvanzanten
cd2ebfdf8b Set to NULL instead of DEFAULT
Fixes #915
2020-11-11 08:52:12 -05:00
rijkvanzanten
8cbdfb409b Use prefetched schema info 2020-11-09 17:13:48 -05:00
rijkvanzanten
528112314d Remove outdated tests, fix imports 2020-11-09 12:29:01 -05:00
rijkvanzanten
ad56b8b556 Rename schema to specs, add schema package 2020-11-09 11:19:03 -05:00
rijkvanzanten
ee5211ce02 Fix nesting parent item recursively
Fixes #906
2020-11-06 14:15:26 -05:00
rijkvanzanten
dd4db04066 Change webhook url from varchar to text
Fixes #881
2020-11-05 16:10:04 -05:00
rijkvanzanten
1c7b0d9425 Update system key constraints
Fixes #790, fixes #885
2020-11-05 11:59:01 -05:00
rijkvanzanten
b02c2d85d5 Add more descriptive error on startup on empty DB 2020-11-04 17:28:29 -05:00
rijkvanzanten
a30da7e4c0 Update primary key checks for new versino of schema inspector 2020-11-04 15:18:45 -05:00
rijkvanzanten
f1289a66dc Use csv of strings for permissions fields 2020-11-04 11:31:04 -05:00
rijkvanzanten
3a620fe1f8 Fix migrations reading .ts files 2020-10-30 15:50:00 -04:00
rijkvanzanten
1b0d381161 Fix seeder data, run migrations on install through cli 2020-10-30 11:52:16 -04:00
rijkvanzanten
fa866c39df Remove unneeded migrations 2020-10-29 16:03:35 -04:00
rijkvanzanten
d8339ae70d Merge branch 'main' into assets 2020-10-29 16:03:04 -04:00
rijkvanzanten
d21dfa74ba Add system fields for all collections 2020-10-29 15:42:26 -04:00
rijkvanzanten
9c04c92aa4 Add system flag to system rows 2020-10-29 14:51:05 -04:00
rijkvanzanten
f82b80c292 Stringify nested json 2020-10-29 14:26:59 -04:00
rijkvanzanten
b54f9a9ab1 Add defaults to migrations 2020-10-29 14:22:22 -04:00
rijkvanzanten
bcb4041ff9 Add migrations 2020-10-29 14:05:36 -04:00
rijkvanzanten
0f729a5d6b Move preview defaults to app 2020-10-29 13:39:39 -04:00
rijkvanzanten
d3ca132fad Move system relations out of db 2020-10-29 13:29:07 -04:00
rijkvanzanten
ee9baf02c0 Move system fields out of DB 2020-10-29 13:06:37 -04:00
rijkvanzanten
3bf7f6e6a8 Add migration for removing FK constraint to collections 2020-10-28 17:30:09 -04:00
rijkvanzanten
23fd029687 Move system collection rows out of DB 2020-10-28 16:26:46 -04:00
Nicola Krumschmidt
8b601c5b60 Pass knex instance to applyFilter
This fixes a regression introduced in #786.
When using a SQLite database, items could not be updated any more.
This is due to knex by default only allowing a single connection for
SQLite databases and the item update operation using applyFilter inside
a transaction which tries to use a different knex instance to connect to
the database.
2020-10-28 00:33:53 +01:00
rijkvanzanten
3d08409290 Merge branch 'main' into assets 2020-10-26 19:44:50 +01:00
rijkvanzanten
b4f82efcee Return project branding in /server/info endpoint at all times 2020-10-26 18:52:51 +01:00
Nicola Krumschmidt
3052b850ef Remove field.meta.required property 2020-10-22 18:52:45 +02:00
Nicola Krumschmidt
151df2b63c Make Storage Asset Presets options required 2020-10-22 18:50:06 +02:00
rijkvanzanten
f583fae41a Allow setting now() as default value
Fixes #742
2020-10-21 13:28:33 +02:00
rijkvanzanten
51c2eb0af9 Set default value for modified on column
Fixes #716
2020-10-21 13:06:36 +02:00