Commit Graph

274 Commits

Author SHA1 Message Date
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
Rijk van Zanten
6cce246b92 Prefix union type name with collection name (#3847)
Fixes #3835
2021-01-29 10:56:41 -05:00
rijkvanzanten
5632bd0ea7 Only check existense of user password when using password auth
Fixes #3831
2021-01-28 11:52:59 -05:00
rijkvanzanten
9bf8b5242c Fix modifying payloads from before hooks
Fixes #3776
2021-01-27 12:48:46 -05:00
rijkvanzanten
154ec3977b Don't crash on upload of corrupted files 2021-01-25 19:03:25 -05:00
rijkvanzanten
99052add83 Treat no password as invalid 2021-01-25 17:46:51 -05:00
rijkvanzanten
b6524b20eb Tweak perf values 2021-01-20 21:26:46 -05:00
rijkvanzanten
d98300d528 Fix graphql response type 2021-01-14 12:52:57 -05:00
rijkvanzanten
05f0bc967e Turn hash into type
Fixes #3542
2021-01-12 17:08:19 -05:00
rijkvanzanten
f00a38737b Delete collections item first
Fixes #3593
2021-01-12 16:23:30 -05:00
rijkvanzanten
7fa977f002 Warn instead of crash on failed exif/iptc/icc extraction
Fixes #3535
2021-01-12 11:10:17 -05:00
Rijk van Zanten
64da0cadc3 Merge pull request #3645 from mehmetuken/create-hook
Create event emitter take out transaction scope.
2021-01-11 08:37:00 -07:00
Mehmet Tüken
ce21ce54ee emit create event take out transaction scope. 2021-01-11 09:18:43 +03:00
Mehmet Tüken
238d741c45 Delete item first and check permission. 2021-01-10 12:00:06 +03:00
rijkvanzanten
0cbf5ee418 Tweak thresholds of /health 2020-12-21 17:16:07 -05:00
rijkvanzanten
809f9bc09b Only return full data for admin users 2020-12-21 15:23:26 -05:00
rijkvanzanten
9974cb6050 Add health endpoint 2020-12-21 15:22:39 -05:00
rijkvanzanten
bbae89d633 Minor code cleanup 2020-12-16 16:57:26 -05:00
rijkvanzanten
651263cbde Merge branch 'main' into Kinzi/main 2020-12-16 16:54:54 -05:00
rijkvanzanten
578b761ded Add auto-purge option
And add cache-control header when auto purge is disabled

Fixes #3425
2020-12-16 14:26:38 -05:00
rijkvanzanten
83b003b5ff Fix scale/precision not saving properly
Fixes #3368
2020-12-14 19:28:14 -05:00
rijkvanzanten
e0da67fef7 Fix default value on create for boolean fields
Fixes #3398
2020-12-11 17:48:03 -05:00
Igor Savin
7cddb458cb Run prettier across app and api 2020-12-08 02:22:00 +02:00
rijkvanzanten
e8c2a61277 Fix wrong import 2020-11-27 20:58:10 -05:00
rijkvanzanten
1b3aa5a059 Finish m2a setup 2020-11-27 17:31:00 -05:00
rijkvanzanten
1f88cd4a32 Add relational nested updates to API 2020-11-27 13:44:57 -05:00
Sebastian Kinzlinger
ececd1e633 Update users.ts
Use custom acceptUrl if present. Fallback to directus default url.
2020-11-17 11:05:48 +02:00
rijkvanzanten
a17c3ce6db Start on m2a-builder interface 2020-11-16 15:38:59 -05:00
rijkvanzanten
e30170ab0a Fix asset permission check when you don't have settings
Fixes #887
2020-11-13 12:18:23 -05:00
rijkvanzanten
f8c64d5cd4 Pass item key in update before hook
Fixes #987
2020-11-13 10:44:48 -05:00
rijkvanzanten
ae0fcc28fe Use dropdown for boolean default value 2020-11-11 16:10:33 -05:00
rijkvanzanten
393078cc98 Prevent sorting on illegal fields
Fixes #955
2020-11-11 15:05:53 -05:00
rijkvanzanten
e02365e5c3 Treat MySQL 0000-00-00 as null 2020-11-11 14:50:00 -05:00
rijkvanzanten
3a8c44e0df Support variables in GraphQL
Fixes #903
2020-11-10 13:19:13 -05:00
rijkvanzanten
7c140012a9 Provide schema in hooks 2020-11-09 19:08:33 -05:00
rijkvanzanten
555f977af7 Fix assets not loading 2020-11-09 19:04:25 -05:00
rijkvanzanten
56979b3ae3 Add overview support to mysql 2020-11-09 18:20:37 -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
57b7b3db06 Update user invite UX, add accept invite route
Fixes #886, closes #891
2020-11-05 18:54:52 -05:00
rijkvanzanten
31dadde0c2 Add permissions to /assets endpoint
Fixes #887
2020-11-05 18:22:15 -05:00
rijkvanzanten
1c7b0d9425 Update system key constraints
Fixes #790, fixes #885
2020-11-05 11:59:01 -05:00
rijkvanzanten
a30da7e4c0 Update primary key checks for new versino of schema inspector 2020-11-04 15:18:45 -05:00
rijkvanzanten
2f3e406022 Fix too strict update permission check
Fixes #817
2020-11-04 11:02:38 -05:00
Nicola Krumschmidt
20a02f05bd Use knex instance property in MetaService class 2020-11-04 12:19:50 +01:00
rijkvanzanten
e5d70ebde2 Fix nested m2m updates
Fixes #849
2020-11-03 17:51:16 -05:00
rijkvanzanten
39d9b34248 Fix default value check
Fixes #854
2020-11-03 15:39:49 -05:00
Ben Haynes
ee4f3df78a fixes #866 2020-11-03 12:24:33 -05:00
rijkvanzanten
a11e2800b6 Fix permissions not using preset variables 2020-11-02 16:19:05 -05:00
rijkvanzanten
cd920fde51 Add server ping to GraphQL
Fixes #801, ref #501
2020-10-29 18:12:20 -04:00