Commit Graph

1031 Commits

Author SHA1 Message Date
dependabot[bot]
596e846a06 Bump gatsby-source-filesystem from 3.5.0 to 3.6.0 (#5889)
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@3.6.0/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 10:02:42 -04:00
rijkvanzanten
c3589d138f Remove remaining leftovers from deprecated single query param 2021-05-25 11:38:33 -04:00
dependabot[bot]
266b1bb4b5 Bump liquidjs from 9.24.1 to 9.25.0 (#5865)
Bumps [liquidjs](https://github.com/harttle/liquidjs) from 9.24.1 to 9.25.0.
- [Release notes](https://github.com/harttle/liquidjs/releases)
- [Changelog](https://github.com/harttle/liquidjs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harttle/liquidjs/compare/v9.24.1...v9.25.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 08:28:08 -04:00
rijkvanzanten
925c3fa3fa Fix range requests in s3 driver
Fixes #5380
2021-05-24 16:13:00 -04:00
TheAzack9
48cdf6e083 Authorization token is null in gatsby plugin (#5848)
It creates a 401 unauthorized when trying to use a token :)
2021-05-24 10:15:13 -04:00
dependabot[bot]
17c043715d Bump @types/node from 15.3.1 to 15.6.0 (#5847)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.3.1 to 15.6.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 09:22:23 -04:00
dependabot[bot]
ef318f580d Bump marked from 2.0.3 to 2.0.5 (#5846)
Bumps [marked](https://github.com/markedjs/marked) from 2.0.3 to 2.0.5.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.3...v2.0.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 09:22:08 -04:00
dependabot[bot]
e59c56f61c Bump @lnfusion/gatsby-source-graphql from 0.0.3 to 0.0.4 (#5845)
Bumps [@lnfusion/gatsby-source-graphql](https://github.com/lnfusion/gatsby-source-graphql) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/lnfusion/gatsby-source-graphql/releases)
- [Commits](https://github.com/lnfusion/gatsby-source-graphql/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 09:21:49 -04:00
dependabot[bot]
7a344c53e3 Bump cli-table3 from 0.5.1 to 0.6.0 (#5843)
Bumps [cli-table3](https://github.com/cli-table/cli-table3) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/cli-table/cli-table3/releases)
- [Changelog](https://github.com/cli-table/cli-table3/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cli-table/cli-table3/compare/v0.5.1...v0.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 09:20:52 -04:00
rijkvanzanten
eb68195cd5 Default ACL to undefined instead of ''
Fixes #5435
2021-05-21 21:47:41 -04:00
rijkvanzanten
5704cd46d2 Set resumable false to destStream in GCS 2021-05-21 21:19:14 -04:00
Matteo Gazzoni
32f4fcf0c7 select only real tables (and not views) in mssql (#5816)
* select only real tables (and not views) in mssql

* add table_catalog check

* Add changeset

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-05-21 21:11:19 +00:00
Rijk van Zanten
362652ff8f Add changesets (#5805)
* Install changeset dependencies

* Setup changesets
2021-05-21 12:19:49 -04:00
dependabot[bot]
08f95cb3d7 Bump aws-sdk from 2.902.0 to 2.911.0 (#5800)
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.902.0 to 2.911.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.902.0...v2.911.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-21 10:06:50 -04:00
dependabot[bot]
10c5b6c558 Bump @types/node from 15.0.2 to 15.3.1 (#5796)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.0.2 to 15.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-21 10:05:52 -04:00
Aiden Foxx
017646a834 Fixed double root on storage.get (#5788) 2021-05-20 10:26:57 -04:00
dependabot[bot]
b820440052 Bump strip-indent from 3.0.0 to 4.0.0 (#5780)
Bumps [strip-indent](https://github.com/sindresorhus/strip-indent) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/strip-indent/releases)
- [Commits](https://github.com/sindresorhus/strip-indent/compare/v3.0.0...v4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-20 09:00:48 -04:00
Rijk van Zanten
9335372400 Foreign Key Constraints (#5615)
* Bump knex-schema-inspector

* Fix cli role name attr

* Update relation type

* Restructure relations

* Restructure relations table

* Update api type for relation record

* Fetch relations in new structure

* Update schema-inspector

* Use new relations schema structure in api

* Update relations GETters

* Add default value to one deselect

* Add create relationship on existing field

* Add updating existing relationship

* Add delete relations

* Add relations query resolver

* Add graphql mutations for relations

* Fix reading from wrong name

* Fix wrong method name

* No idea why this flip flops every install

* Update relation type

* Accept null in use-collection composable

* Use new relations structure in translations

* Use new relations structure in new-collection

* Start updating field detail store

* Renames for new relations structure

* Silently ignore passed collection/field in relation update

* Fix setting pk field in m2o relational setup

* Small tweaks in o2m setup

* Fix m2m setup

* Tweak m2o setup

* Fix m2a setup

* Allow null for related collection (m2a)

* Fix languages code name

* Fix migration default value

* Fix relational cleanup in collections/fields

* Fix transaction problem in field delete

* Fix inserting relational o2m items

* Don't execute updateByQuery on empty item set

Fixes #5710, fixes #5070

* Show referential action input on m2o

* Finish language for m2o

* Show triggers config on o2m

* Delete items on one_deselect_item delete

* Fix naming, show relational trigger config on m2m

* Tweak language, add setup to m2a

* Fix linter warnings

* Add trigger setup for translations

* fix Edit non-schema relationship issue

* Sync existing on_delete triggers in o2m setup

* Add migration to setup foreign key constraints

* Update illegal FK values before setting constraint

* Fix MySQL unsigned vs not-unsigned in FK creation

* Use pretty names for labels in relational triggers

* Prefix auto-junction when system table

Fixes #5493

* Add system foreign key triggers

Fixes #5749

* Update docs
2021-05-19 12:29:16 -04:00
dependabot[bot]
054718551f Bump gatsby-source-filesystem from 3.4.0 to 3.5.0 (#5756)
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@3.5.0/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 08:50:33 -04:00
dependabot[bot]
378b30345e Bump cosmiconfig from 6.0.0 to 7.0.0 (#5738)
Bumps [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/davidtheclark/cosmiconfig/releases)
- [Changelog](https://github.com/davidtheclark/cosmiconfig/blob/main/CHANGELOG.md)
- [Commits](https://github.com/davidtheclark/cosmiconfig/compare/6.0.0...v7.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-18 13:46:04 +00:00
rijkvanzanten
1d7e977eb8 v9.0.0-rc.69 2021-05-17 18:21:49 -04:00
rijkvanzanten
8e8f93ac62 Pull parseDefaultValue from new location
Fixes #5733
2021-05-17 15:36:39 -04:00
dependabot[bot]
41f0298ae4 Bump yargs from 16.2.0 to 17.0.1 (#5715)
Bumps [yargs](https://github.com/yargs/yargs) from 16.2.0 to 17.0.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v16.2.0...v17.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 10:15:11 -04:00
dependabot[bot]
0180555872 Bump @rollup/plugin-commonjs from 17.1.0 to 19.0.0 (#5718)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 17.1.0 to 19.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v19.0.0/packages/commonjs)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-17 09:38:14 -04:00
rijkvanzanten
8a94ff06ed v9.0.0-rc.68 2021-05-15 11:28:39 -04:00
rijkvanzanten
4885cd0ca5 v9.0.0-rc.67 2021-05-14 23:07:20 -04:00
rijkvanzanten
cad0e7b904 v9.0.0-rc.66 2021-05-14 18:52:46 -04:00
rijkvanzanten
6f51fa4483 Bump githead 2021-05-14 16:29:36 -04:00
rijkvanzanten
24621f3934 v9.0.0-rc.65 2021-05-14 16:27:03 -04:00
dependabot[bot]
b53c195c9c Bump rollup from 2.46.0 to 2.47.0 (#5667)
Bumps [rollup](https://github.com/rollup/rollup) from 2.46.0 to 2.47.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.46.0...v2.47.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 09:51:10 -04:00
dependabot[bot]
588289ade1 Bump ts-jest from 26.5.4 to 26.5.6 (#5649) 2021-05-13 09:23:54 -04:00
dependabot[bot]
3b50562089 Bump @types/yargs from 15.0.13 to 16.0.1 (#5648) 2021-05-13 09:23:26 -04:00
dependabot[bot]
46bf3992f8 Bump dotenv from 8.2.0 to 9.0.2 (#5647) 2021-05-13 09:23:06 -04:00
dependabot[bot]
5d37571ee7 Bump open from 8.0.7 to 8.0.8 (#5646) 2021-05-13 09:22:21 -04:00
WoLfulus
d8caf221ed CLI 2.0 (#5376)
* merge components

merge args, parser, docs, formatter, help and handlers

* change directus command and add auto debug

* output format fixes

* adds back some reformatted and documented commands

* better help output format

* refactor all output flow

* export cli types

* more formatting fixes and param rework

* fix table spacing

* add yaml formatting and fix string colors

* finished formatting docs

* remove log

* remove package-lock

* update dependency versions

* fix command description

* workaround typescript loading

* module loading fixes
added command error
rename human to table
fix disconnect usage

* add typescript loader

redirect execution to local package if installed locally
added command alias `directus-ctl`

* fix module load directories

* reimplement stdin pipe to work on linux

* fix sdk server info type

* info command

* Fix stdin bug
Disable community extensions to discourage use for now
Added template to config files
Added password stdin to connect to instances
Fixed typescript command load

* Added command suggestions and QOL features

* Linter fixes

* Add command hints

* Separate positional options

* Add back delete many, fix delete one location

* Change score logic

* Add whoami util command

* Add short online docs

* Fix typo

* Fix typo

* Update commands

* Param consistency fix and docs update

* Create commands

* Update package.json version

* Update package-lock

* Fixed several linting problems

* Update dependencies

* Update lock

* Remove locked dependencies

* Stop conflicts when in home directory

* Package lock update and npm audit fix

* Fix formatting errors

* Comment out extending cli section until we figure out cli ext

* Update readme

* Tweak dev/build/prebuild script naming

* Use up to date deps

* Fix dependency version in lock (fix build)

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-05-12 20:38:30 +00:00
dependabot[bot]
bec1362b9f Bump @rollup/plugin-node-resolve from 11.2.1 to 13.0.0 (#5590)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 11.2.1 to 13.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v13.0.0/packages/node-resolve)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 09:33:24 -04:00
João
4366194ac3 fix sdk server info type (#5584) 2021-05-10 12:50:19 -04:00
dependabot[bot]
24b5e5ff45 Bump commander from 6.2.1 to 7.2.0 (#5569)
* Bump commander from 6.2.1 to 7.2.0

Bumps [commander](https://github.com/tj/commander.js) from 6.2.1 to 7.2.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v6.2.1...v7.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Fix breaking changes in commander

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-05-10 11:33:19 -04:00
rijkvanzanten
a86c0832b0 v9.0.0-rc.64 2021-05-07 16:36:58 -04:00
rijkvanzanten
5df6696bc0 v9.0.0-rc.63 2021-05-07 14:42:29 -04:00
Rijk van Zanten
b6964fa1a1 Add XML export (#5526) 2021-05-07 12:55:03 -04:00
dependabot[bot]
2bb3ddb67a Bump aws-sdk from 2.900.0 to 2.902.0 (#5532)
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.900.0 to 2.902.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.900.0...v2.902.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 10:04:55 -04:00
Rijk van Zanten
c4ae4b66cc Finalize interface names (#5521)
* Rename button-links->presentation-links

* Rename checkboxes->select-multiple-checkbox

* Rename code->input-code

* Rename checkboxes files

* Rename color->select-color

* Rename divider->presentation-divider

* Rename dropdown-multiselect->select-multiple-dropdown

* Rename hash->input-hash

* Rename icon->select-icon

* Rename image->file-image

* Rename m2a-builder->list-m2a

* Rename many-to-many->list-m2m

* Rename many-to-one->select-dropdown-m2o

* Rename markdown->input-rich-text-md

* Rename notice->presentation-notice

* Rename one-to-many->list-o2m

* Rename radio-buttons->select-radio

* Rename repeater->list

* Rename text-input->input

* Rename textarea->input-multiline

* Rename toggle->boolean

* Rename tree-view->list-o2m-tree-view

* Rename wysiwyg->input-rich-text-html

* Use correct interfaces in system defaults

* Rename collection->system-collection

* Rename collections->system-collections

* Rename display-template->system-display-template

* Rename field->system-field

* Rename interface->system-interface

* Rename interface-options->system-interface-options

* Rename scope->interface-scope

* Rename tfa-setup->system-mfa-setup

* Fix oversights

* Remove old todo

* Some more tweaks

* Add migration, fix dropdown name in system use

* Merge numeric + input

* Replace dropdown->select-dropdown in app use

* Merge slug->input, user->select-dropdown-m2o

* Fix type issue

* Fix seeder field name
2021-05-06 16:49:32 -04:00
dependabot[bot]
a97166fd18 Bump @types/node from 15.0.1 to 15.0.2 (#5508)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.0.1 to 15.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 14:06:15 +00:00
dependabot[bot]
6dbcf9ff13 Bump ora from 3.4.0 to 5.4.0 (#5511)
Bumps [ora](https://github.com/sindresorhus/ora) from 3.4.0 to 5.4.0.
- [Release notes](https://github.com/sindresorhus/ora/releases)
- [Commits](https://github.com/sindresorhus/ora/compare/v3.4.0...v5.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 09:40:17 -04:00
Oreille
da1c3ed9a3 Added support for PostgreSQL identity column (#5502) 2021-05-05 17:52:41 -04:00
dependabot[bot]
1c5b4a0157 Bump aws-sdk from 2.884.0 to 2.900.0 (#5478)
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.884.0 to 2.900.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.884.0...v2.900.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 09:59:44 -04:00
rijkvanzanten
010eabad27 Format remaining md files 2021-05-04 18:52:08 -04:00
dependabot[bot]
e597fcff56 Bump npm-watch from 0.7.0 to 0.9.0 (#5445)
Bumps [npm-watch](https://github.com/M-Zuber/npm-watch) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/M-Zuber/npm-watch/releases)
- [Commits](https://github.com/M-Zuber/npm-watch/compare/v0.7.0...v0.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 09:30:29 -04:00
João
b20a394f51 Update SDK docs and code to match API (#5437) 2021-05-03 14:46:05 -04:00