Rijk van Zanten
b7d87e581a
System permissions for app access ( #4004 )
...
* Pass relations through schema, instead of individual reads
* Fetch field transforms upfront
* Fix length check
* List if user has app access or not in accountability
* Load permissions up front, merge app access minimal permissions
* Show app access required permissions in permissions overview
* Show system minimal permissions in permissions detail
* Fix app access check in authenticate for jwt use
* Fix minimal permissions for presets
* Remove /permissions/me in favor of root use w/ permissions
* Fix logical nested OR in an AND
* Use root permissions endpoint with filter instead of /me
* Allow filter query on /permissions
* Add system minimal app access permissions into result of /permissions
* Remove stray console log
* Remove stray console.dir
* Set current role as role for minimal permissions
* Fix no-permissions state for user detail
* Add filter items function that allows altering existing result set
2021-02-11 12:50:56 -05:00
Rijk van Zanten
693e770ca3
Make filename disk readonly ( #3883 )
...
Fixes #3863
2021-02-01 10:24:27 -05:00
Rijk van Zanten
5a019b4284
Implemented Union Types in GraphQL ( #3852 )
...
* Fetch correct amount of data
* Allow system required data to be returned in items service
* Fetch non-requested required data, find type through context
Fixes #3718
2021-01-29 16:23:33 -05:00
rijkvanzanten
f1bd175e16
Remove limit temp for all nested collections
2021-01-27 17:30:16 -05:00
rijkvanzanten
040af268d7
De-dupe parent records when filtering on joins
...
Fixes #3798
2021-01-27 10:42:44 -05:00
Ben Haynes
9a9d0d9789
fix settings field defaults
2021-01-25 19:33:56 -05:00
rijkvanzanten
8af48c16e4
Fix m2o limit, fix wildcard permission check
...
Fixes #3791
2021-01-25 17:04:13 -05:00
Ben Haynes
36d5fafbf7
add default system divider color
2021-01-13 17:57:22 -05:00
rijkvanzanten
05f0bc967e
Turn hash into type
...
Fixes #3542
2021-01-12 17:08:19 -05:00
rijkvanzanten
ea1853acfb
Alias joins to prevent naming conflicts in nested queries
...
Fixes #3294
2020-12-08 17:55:40 -05:00
rijkvanzanten
996e9f34ac
Fix lang import, use system-languages interface on users
2020-12-08 13:39:50 -05:00
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