Commit Graph

626 Commits

Author SHA1 Message Date
renovate[bot]
e57d0f6c2d Update vue monorepo to v3.2.9 (#7842)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 13:08:22 -04:00
renovate[bot]
2d7b20fb75 Update dependency pino to v6.13.2 (#7860)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 11:50:21 -04:00
Nitwel
909d7f922d parse created arrays in parseFilter (#7883) 2021-09-07 11:15:15 -04:00
renovate[bot]
698580a661 Update dependency knex to v0.95.11 (#7819)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-03 18:31:22 -04:00
Azri Kahar
b125cd2837 fix type for deep query with underscore prefix (#7815) 2021-09-03 12:01:34 -04:00
rijkvanzanten
a6e88183e9 v9.0.0-rc.92 2021-09-02 21:53:23 -04:00
renovate[bot]
a1ccc189b5 Update vue monorepo to v3.2.8 (#7785)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-02 19:52:24 +00:00
Dieter Luypaert
da6f492a44 Expose logger through ExtensionContext (#7777)
Fixes #7737.
2021-09-02 13:46:51 -04:00
renovate[bot]
5757d96912 Update dependency knex-schema-inspector to v1.6.0 (#7769) 2021-09-01 21:22:27 -04:00
renovate[bot]
e50b75a4b7 Update vue monorepo to v3.2.7 (#7766)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-01 19:24:06 -04:00
Nicola Krumschmidt
ef8f81aaf4 Disable attribute inheritance for all layout components (#7749)
* Disable attribute inheritance for all layout components

This prevents vue from polluting the DOM with unused state props.

* Disable attribute inheritance in layout templates
2021-09-01 09:02:50 -04:00
renovate[bot]
f1fa6e44e1 Update dependency knex-schema-inspector to v1.5.15 (#7718)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 17:47:50 -04:00
renovate[bot]
4e3bc9d964 Update gatsby monorepo to v3.13.0 (#7728)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 17:47:22 -04:00
Nicola Krumschmidt
a137a44e24 Update layout templates to new layouts system (#7726) 2021-08-31 12:41:50 -04:00
Nicola Krumschmidt
f99b97720e Rework layout extension component management (#7489)
* Rework layout extension component management

* Move cards layout to new system

* Move calendar layout to new system

* Move map layout to new system

* Use new useLayout everywhere

* Remove useLayoutState composable
2021-08-31 10:55:46 -04:00
Nicola Krumschmidt
ffded1a050 Expose package.json from shared and extensions-sdk (#7713) 2021-08-31 10:04:03 -04:00
Nicola Krumschmidt
4d8e9d7297 Improve API extension context types (#7714) 2021-08-31 09:11:59 -04:00
renovate[bot]
4bde1d7455 Update dependency knex-schema-inspector to v1.5.14 (#7708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-30 20:39:24 -04:00
Nicola Krumschmidt
2a82927423 Add support for typescript extensions to extension-sdk (#6881)
* Add support for scaffolding typescript extensions to extensions-sdk

* Add support for building typescript extensions to extensions-sdk

* Fix type issues in extension templates

* Expose types of extensions-sdk

* Add language option to create-directus-extension
2021-08-30 10:57:43 -04:00
Nicola Krumschmidt
6286edf6a9 Remove /custom subpath for endpoints and add a way to customize the endpoint subpath (#7695)
* Remove /custom subpath for endpoints

* Add a way to customize the endpoint subpath
2021-08-30 10:09:12 -04:00
Nicola Krumschmidt
d2ca0d094c Rename extension-sdk to extensions-sdk (#7282)
While it is never nice to rename an already published package,
this allows us to reserve the "@directus/extension-" prefix for official extensions.
2021-08-27 13:48:19 -04:00
rijkvanzanten
1d83587f01 Add contributors to package.json 2021-08-27 11:57:12 -04:00
renovate[bot]
e3ae897df9 update jest monorepo to v27.1.0 (#7656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-27 11:42:34 -04:00
Nicola Krumschmidt
2569724ce8 Replace system provide with composables (#7668) 2021-08-27 11:18:39 -04:00
Nicola Krumschmidt
d64ca14348 Explicitly set catch parameters to any type (#7654)
This fixes not being able to build the repo due to type issues
introduced by the Typescript 4.4 option "useUnknownInCatchVariables",
which is enabled by default in strict mode.
2021-08-27 10:33:30 -04:00
Nicola Krumschmidt
114dd5e3e3 Fix create-directus-extension internal dep versions (#7665) 2021-08-27 10:30:34 -04:00
Nicola Krumschmidt
40f8d2ef99 Fix extension CLI not executing any command (#7667) 2021-08-27 10:27:14 -04:00
renovate[bot]
071e313bce update dependency typescript to v4.4.2 (#7638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 21:53:07 +00:00
renovate[bot]
f4ed9d27e2 update dependency date-fns to v2.23.0 (#7637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 17:39:06 -04:00
Nicola Krumschmidt
ba43e3139e Add create-directus-extension package (#7329)
* Make spinner success message bold in extension cli

* Expose extension-sdk cli functions

* Add create-directus-extension package

* Bump version

* Fix type fun times

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-26 17:32:27 -04:00
Nicola Krumschmidt
8dead37a0c Allow json imports and replace NODE_ENV env var when building extensions (#7627)
* Replace NODE_ENV env var when building extensions

* Add json plugin to extension build chain
2021-08-26 16:24:43 -04:00
Nicola Krumschmidt
0230174b84 Enable browser module resolution when building app extensions (#7624)
Fixes #7620
2021-08-26 10:56:32 -04:00
Nicola Krumschmidt
e7af9f5b5d Share vue-router between App and extensions (#7629)
It is very unlikely that we will ever stop using vue-router.
Without this it is not possible to use useRouter() in extensions.
2021-08-26 10:36:33 -04:00
renovate[bot]
56ad9eeab7 update dependency nock to v13.1.3 (#7595)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-25 11:37:40 -04:00
renovate[bot]
1ef1e13407 update vue monorepo to v3.2.6 (#7579)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 14:01:54 -04:00
renovate[bot]
28fd3bf369 update vue monorepo to v3.2.5 (#7576)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-24 12:47:04 -04:00
rijkvanzanten
8f943a34f9 v9.0.0-rc.91 2021-08-23 16:08:06 -04:00
renovate[bot]
19ed19be72 update dependency ts-jest to v27.0.5 (#7453)
* update dependency ts-jest to v27.0.5

* update dependency @types/jest to v27

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 10:43:44 -04:00
renovate[bot]
cfa94b4bd4 update dependency rollup to v2.56.3 (#7542)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-23 09:37:19 -04:00
renovate[bot]
44a9ac013a update dependency @types/js-yaml to v4.0.3 (#7529)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-22 16:07:11 -04:00
renovate[bot]
764f3d1b0d update dependency nock to v13.1.2 (#7530)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-22 16:06:35 -04:00
Jacob Rienstra
07848b73af Image auth (#7528)
* basic gatsby source plugin fix

* update import of sdk

* remove tar

* auth for images

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-20 16:54:52 +00:00
Sam Milledge
e1cbfc4ca4 Fix SDK request url in fields update one request (#7514)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-20 09:59:58 -04:00
renovate[bot]
1ef34d060d pin dependency gatsby-source-graphql to 3.12.0 (#7524)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-20 09:53:35 -04:00
Jacob Rienstra
cbefa74070 Update dependencies of gatsby-source-directus (#7523)
* basic gatsby source plugin fix

* update import of sdk

* remove tar

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-20 13:45:37 +00:00
Rijk van Zanten
ebb810b9af Explicitly nullify user/role when the other is set in presets (#7512)
Fixes #7366
2021-08-20 00:15:43 +02:00
renovate[bot]
05b3f27b78 pin dependency jest-environment-jsdom to 27.0.6 (#7504)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-19 12:52:43 -04:00
Rob
8c965ba1e7 Fix SDK Tests (#7469)
* POST instead of PATCH for invite accept test

* Replace Jest JSDOM environment

Using `jest-environment-jsdom-global` didn't seem to bring any used advantages over the default `jest-environment-node`

* remove mockdate, use modern jest fake timers

* update package lock

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Jay Cammarano <67079013+jaycammarano@users.noreply.github.com>
2021-08-19 10:51:45 -04:00
Oreille
49e4a9b0de Don't allow empty filter for non-string types. Add null filter. (#7501) 2021-08-19 10:02:54 -04:00
renovate[bot]
67e9b94f10 update dependency gatsby-source-filesystem to v3.12.0 (#7482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-18 15:19:26 -04:00