Commit Graph

565 Commits

Author SHA1 Message Date
renovate[bot]
0207d78ffe update vue monorepo to v3.2.2 (#7355)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 17:43:55 -04:00
rijkvanzanten
9f4e855826 v9.0.0-rc.90 2021-08-11 13:46:49 -04:00
Pascal Jufer
cacd4f4ff1 Fix HTTP method for collections.createMany in SDK (#7304)
* Fix HTTP method for collections.createMany in SDK

* Post collections in data body

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-10 09:30:24 -04:00
renovate[bot]
b4a6d73835 update dependency rollup to v2.56.2 (#7303)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-10 08:56:38 -04:00
rijkvanzanten
dc9ede85ee v9.0.0-rc.89 2021-08-09 17:27:01 -04:00
renovate[bot]
1fa975e59f update vue monorepo to v3.2.1 (#7293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 21:20:38 +00:00
renovate[bot]
5ad5544bf4 update dependency vue to v3.2.0 (#7289)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 16:35:59 -04:00
Nicola Krumschmidt
e5683e0d0b Fix gitignore file in extension templates being deleted when publishing (#7279) 2021-08-09 12:00:09 -04:00
Nicola Krumschmidt
aca8c1078e Only loads app extensions if SERVE_APP is true (#7275)
This also ensures API/App only load their respective extensions in dev.
2021-08-09 09:44:27 -04:00
renovate[bot]
d1b851e34a update dependency ts-node to v10.2.0 (#7271)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 09:38:49 -04:00
renovate[bot]
e43065bc12 update dependency vue-router to v4.0.11 (#7272)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 09:38:35 -04:00
renovate[bot]
4449310c1a update dependency rollup to v2.56.1 (#7269)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 09:38:24 -04:00
Rijk van Zanten
90793d5645 Don't use tags interface for CSV filter (#7258)
Fixes #6778
2021-08-06 23:53:15 +02:00
renovate[bot]
4bd5c94669 update dependency rollup to v2.56.0 (#7208)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-05 09:25:32 -04:00
Rijk van Zanten
d0f6cb35e3 Support dynamic variables in conditional fields (#7202)
* Move accountability type to shared

* Rely on shared for parse-filter

* Install date-fns

* Support dynamic variables in conditional fields

Closes #7157
2021-08-05 01:51:15 +02:00
Jay Cammarano
61a994ea4f added .keep to common folder (#7196) 2021-08-04 16:15:02 -04:00
Jay Cammarano
1e16065bb0 Updated routes for SDK Settings, Relations, Collections, and Fields (#7192)
* draft

* enpoints tested(manually) and working

* Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* removed optional params

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-04 16:00:05 -04:00
renovate[bot]
293b655589 update dependency gatsby-source-filesystem to v3.11.0 (#7194)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-04 15:43:08 -04:00
Rijk van Zanten
b6fe51a4a7 Fix spec for default folder setting (#7172)
Fixes #7128
2021-08-04 00:37:22 +02:00
Rijk van Zanten
ef3d618d6c Add support for app-required field state (#7166)
* Add "required" option to fields

* Move some exceptions to shared

* Do client side validation for required

* Add conditional required support
2021-08-03 23:04:24 +02:00
rijkvanzanten
2a324dd40d v9.0.0-rc.88 2021-08-02 16:54:03 -04:00
Rijk van Zanten
a4767f80ab Fix nested fields check in validate-payload handler (#7135) 2021-08-02 13:32:04 -04:00
Nicola Krumschmidt
d27a673db8 Remove unused field-types.ts from shared (#7127)
The file is identical to fields.ts except for variable names.
2021-08-02 11:50:44 -04:00
Matteljay
fbcd50444c Auth patch to @directus/gatsby-source-directus (#7119)
Gatsby needs one-time access to the images at build time with the secure access token. With this security patch it is now no longer needed to have all Directus files continuously exposed to the public.

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-08-02 10:03:39 -04:00
renovate[bot]
fb0559c7c3 update dependency joi to v17.4.2 (#7117)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-02 10:00:39 -04:00
Nicola Krumschmidt
ed1eb6e95d Clean up type declarations in shared (#7100)
Hopefully typescript will fully support the "exports" field soon so we
can get rid of this.
2021-07-30 16:14:07 +00:00
renovate[bot]
74658cfbc3 update dependency npm-watch to v0.11.0 (#7090)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-30 09:29:22 -04:00
renovate[bot]
bf5adef9de update dependency chalk to v4.1.2 (#7093)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-30 09:28:14 -04:00
renovate[bot]
48ef5b1a9d update dependency @rollup/plugin-commonjs to v20 (#7094)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-30 09:26:43 -04:00
renovate[bot]
c113a54943 update dependency rollup to v2.55.1 (#7085)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-29 14:49:02 -04:00
rijkvanzanten
37575e4849 v9.0.0-rc.87 2021-07-28 17:15:59 -04:00
Jake Ruesink
81e19fa5ac Create index.js file for Gatsby Themes (#7044)
Gatsby does not always find the plugin unless there is an index.js file.
https://github.com/gatsbyjs/gatsby/issues/5559
https://github.com/gatsbyjs/gatsby/issues/14068
2021-07-28 12:53:20 -04:00
Rijk van Zanten
a85c4af4ea Fix mssql max-length doubling (#7041)
Fixes #5236
2021-07-28 18:05:16 +02:00
renovate[bot]
496db9269b update dependency rollup to v2.55.0 (#7028)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-28 09:53:48 -04:00
rijkvanzanten
3390430c04 v9.0.0-rc.86 2021-07-26 18:20:42 -04:00
renovate[bot]
5be0c2ca8c pin dependency lodash to 4.17.21 (#6985)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-26 18:20:27 -04:00
renovate[bot]
e3a3735621 pin dependency joi to 17.4.1 (#6983)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-26 18:08:33 -04:00
Rijk van Zanten
92e1ee77bd Add support for Conditional Fields (#6864)
* Add conditions field to directus_fields

* Add conditions configuration

* Apply conditional overrides

* Handle conditions in nested groups

* Fix reverse mutating conditions

* Start on filter setup interface

* Move field types/constants to shared

* [WIP] Updated client side filter validation

* Support logical operators in client validation step

* Use new validation util in conditions check

* Add nesting in filter seutp

* Add filter rule setup configurator

* Fixes that should've been done in the merge

* Strip out filter-settings interface

TBD in a new PR

* Move browser to index
2021-07-26 18:02:24 -04:00
renovate[bot]
5222e01d84 update dependency @rollup/plugin-node-resolve to v13.0.4 (#6951)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-07-26 15:21:23 -04:00
Aiden Foxx
27037f95c7 Fix quotes with schema default values (#6968)
* Added quote trimming to schema default values

* Add return type to stripQuotes function

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-07-26 16:37:45 +00:00
renovate[bot]
961bc80e13 update dependency knex-schema-inspector to v1.5.12 (#6976)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-26 12:20:31 -04:00
renovate[bot]
42a11c49a8 update dependency @rollup/plugin-commonjs to v19.0.2 (#6973)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-26 11:18:59 -04:00
renovate[bot]
72acb832d1 update dependency rollup to v2.54.0 (#6954)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-07-26 10:46:50 -04:00
Nicola Krumschmidt
32972f4c01 Move define extension functions to shared and expose them through extension-sdk (#6880)
* Move defineInterface to shared

* Split up utils into node and browser utils

* Move defineDisplay to shared

* Move defineLayout to shared

* Move defineModule to shared

* Add defineEndpoint and defineHook to define-extensions

* Expose define extension functions through extension-sdk

* Make route type of defineEndpoint more specific

* Simplify define extension functions

* Deduplicate types and local types definition

* Do not allow functional components in display handler

* Make interface options nullable

* Deduplicate extension types definition

* Fix utils/node exports
2021-07-22 17:02:29 +02:00
Bart van der Meeren
3a9475fba5 Fix SDK invite accept (#6925)
Post instead of patch.
2021-07-22 09:20:29 -04:00
Adrian Dimitrov
efe7b076a3 Add default-folder option (#3209)
* Allow set folder for imported files

* Allow passing folder in file/files component; Allow pick folder for file/files/image interfaces.

* Added folder system component for picking folders; Move folder picker the field from data to interface (file, files, image).

* Add custom folder interface; use props for interfaces file/files/image in upload component

* Allow set folder for imported files

* Allow passing folder in file/files component; Allow pick folder for file/files/image interfaces.

* Added folder system component for picking folders; Move folder picker the field from data to interface (file, files, image).

* Add custom folder interface; use props for interfaces file/files/image in upload component

* Update after rebase

* Add storage_default_folder setting, use folder when deploy file

* Fix files options; Add default label option for folder interface.

* Fix set folder for file

* UX

* Add migration for column, undo seed change

* Update nomanclature

* Make sure file library always submits folder, cleanup setting retrieval

* Use indexName on down migrate

* Fix import default folder, rename customPresets->folderPreset

* Rename interface import

* Use undefined as default folder

* Remove deprecated lang file

* Fix display of folder interface, treat null as value

* Move shared composable

* Remove unused ref

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-07-21 17:29:21 -04:00
Tim
2c9ff3bca6 Allow custom transformations of assets (#6593)
* Allow custom transformations of assets

This exposes one query parameter `transforms`, which is a JSON array of
shard transformation operations.

It also updates the asset presets. The UX for this still needs some work

* Rename options to arguments for presets

More explicit

* options -> arguments in setting spec

* Better errors for invalid JSON in asset presets

* Add limit to transforms query parameter

* Use flattened option for extra transforms

* Fix placeholder color of code input

* Allow "simple mode" aliases

* Add documentation

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-07-21 15:57:47 -04:00
renovate[bot]
89c981cb99 update dependency ts-jest to v27.0.4 (#6913)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 10:22:16 -04:00
renovate[bot]
8b2d19ddc6 update dependency rollup to v2.53.3 (#6903)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 10:00:34 -04:00
renovate[bot]
32fb5e3790 update dependency gatsby-source-filesystem to v3.10.0 (#6894)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-20 13:17:27 -04:00