Commit Graph

5600 Commits

Author SHA1 Message Date
Rijk van Zanten
58e38b68ae Fixed issue in collection color reading for tables that weren't configured in directus yet (#6052)
Fixes #6050
2021-06-03 21:16:38 -04:00
rijkvanzanten
fe659ec32a Add downgrading notes
Closes #6051
2021-06-03 21:09:13 -04:00
Rijk van Zanten
79835d6c83 Fixed right click handler not extending beyond nav items (#6049)
Fixes #6016
2021-06-03 21:06:18 -04:00
Rijk van Zanten
5067410e09 Fixed issue that could trigger update actions of children on manual sorting of a parent o2m instance (#6048)
Fixes #6041
2021-06-03 21:02:47 -04:00
Rijk van Zanten
d4a367dd30 Update changelog.md 2021-06-03 19:32:35 -04:00
rijkvanzanten
2f0099e0db v9.0.0-rc.72 v9.0.0-rc.72 2021-06-03 19:30:40 -04:00
rijkvanzanten
c000c8a613 Revert dependency upgrades
Vue apparently had a small breaking change included in the patch release.

Squashed commit of the following:

commit f1e2635c20d4acef1752b8c2a357bbcfbb30a097
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Thu Jun 3 19:07:54 2021 -0400

    Revert dep upgrades
2021-06-03 19:12:01 -04:00
Rijk van Zanten
e1926ba5f7 Fix query during transaction in fk creation (#6045)
Fixes #6034
2021-06-03 17:48:13 -04:00
Tien Tran
b90e182db2 Reduce the image layers by combining RUN statements; and fix permission issue #6023 (#6044) 2021-06-03 17:35:42 -04:00
rijkvanzanten
4e02bdb94c Fix reactivity of new-collection action buttons 2021-06-03 17:32:27 -04:00
Rijk van Zanten
2270d870f9 Prevent foreign key constraint names from exceeding 64 characters (#6043)
* Add index name generator function

* Ensure foreign keys are 64 chars or less
2021-06-03 17:31:58 -04:00
Rijk van Zanten
0964b42ba4 Drop FK based on constraint name instead of column (#6042)
Fixes #6029
2021-06-03 16:32:39 -04:00
Rijk van Zanten
1cdbc91593 Handle illegal/corrupt relational rows better (#6040)
Fixes #6013
2021-06-03 15:26:02 -04:00
Rijk van Zanten
1b49dd0f3f Update one-clicks in readme/docs (#6037)
* Update one-clicks in readme/docs

* Fix width on deploy badges

* Tweak logo alignment

* Re-add section br

* Add updated button for DO
2021-06-03 14:41:12 -04:00
Rijk van Zanten
3a17b6646f New Crowdin updates (#6038)
* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Serbian (Latin))
2021-06-03 14:40:53 -04:00
Oreille
22f2e4662f Add support for adding a collection accent color (#5818)
* Added icon_color to directus_collections
Added migrations
Added color property to select-icon
Fixed select-icon placeholder

* Use icon color in collection header bar.

* Set `collection` and `note` fields to hald witdh

* Rename icon_color->color

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-03 13:04:19 -04:00
Mirko
09a9f5659e Pass onUploadProgress function through to the axios request (#6007)
The AxiosRequest config allows for an onUploadProgress function to be passed in. This is useful, if we want to
give users some kind of feedback about the progress of a potential file transfer. Currently, the sdk is only supporting
this via direct access to the transport method.

Co-authored-by: Mirko Nitschke <mnitscke93@gmail.com>
2021-06-03 12:44:06 -04:00
nickluger
979bf87921 Improve disabled state on the file interface (#6025)
* See discussion: https://github.com/directus/directus/discussions/5105

* Still allow downloading the file if the file interface is disabled.

* Allow editing the underlying file (as this is possible anyway via the
  files collection), but do not allow disassociating the current file
  or setting another file, which is the actual semantic meaning of
  `disabled` in this context.
2021-06-03 12:42:52 -04:00
Rijk van Zanten
367d958fb3 Update e2e-tests.yml
Only run e2e on main branch latest commit
2021-06-03 12:42:08 -04:00
Rijk van Zanten
e6364d99a4 Extract IPTC title and keywords (#6035)
* Fix title IPTC extraction

* Pull IPTC keywords as tags
2021-06-03 12:37:50 -04:00
Rijk van Zanten
32b714208b Upgrade dependencies (#6032)
* Apply minors/patches

* Apply (safe) major upgrades
2021-06-03 12:10:04 -04:00
Rijk van Zanten
f6741eae6b Fix wrong reference to not-yet-existing /backup endpoint (#6033) 2021-06-03 12:03:24 -04:00
Rijk van Zanten
521dfd3f8b New translations en-US.yaml (Finnish) (#6017) 2021-06-03 11:08:40 -04:00
dependabot[bot]
6a5879778c Bump sass from 1.34.0 to 1.34.1 (#6022)
Bumps [sass](https://github.com/sass/dart-sass) from 1.34.0 to 1.34.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.34.0...1.34.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-03 11:08:18 -04:00
dependabot[bot]
755efeeec7 Bump argon2 from 0.27.2 to 0.28.1 (#6021)
Bumps [argon2](https://github.com/ranisalt/node-argon2) from 0.27.2 to 0.28.1.
- [Release notes](https://github.com/ranisalt/node-argon2/releases)
- [Commits](https://github.com/ranisalt/node-argon2/compare/v0.27.2...v0.28.1)

---
updated-dependencies:
- dependency-name: argon2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-03 11:07:52 -04:00
dependabot[bot]
23bbaf61b8 Bump eslint from 7.26.0 to 7.27.0 (#6020)
Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.26.0...v7.27.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-03 11:07:25 -04:00
dependabot[bot]
f03b4e64de Bump @types/node from 15.6.0 to 15.9.0 (#6018)
* Bump @types/node from 15.6.0 to 15.9.0

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.6.0 to 15.9.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Fix type issues

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-03 11:07:03 -04:00
dependabot[bot]
f5caa91da1 Bump @google-cloud/storage from 5.8.4 to 5.8.5 (#6019)
Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 5.8.4 to 5.8.5.
- [Release notes](https://github.com/googleapis/nodejs-storage/releases)
- [Changelog](https://github.com/googleapis/nodejs-storage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-storage/compare/v5.8.4...v5.8.5)

---
updated-dependencies:
- dependency-name: "@google-cloud/storage"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-03 10:58:09 -04:00
Ben Haynes
8d5be5c607 Updated docs intro 2021-06-03 10:08:58 -04:00
Rijk van Zanten
5e79602031 New Crowdin updates (#6011)
* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Spanish)
2021-06-02 18:18:48 -04:00
Rijk van Zanten
9cf2567598 New Crowdin updates (#5981)
* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Serbian (Latin))
2021-06-02 13:38:34 -04:00
rijkvanzanten
97587a6e73 Update changelog 2021-06-02 13:32:17 -04:00
rijkvanzanten
44e443bf99 v9.0.0-rc.71 v9.0.0-rc.71 2021-06-02 13:28:26 -04:00
Rijk van Zanten
45730c6860 Resolve linter warnings (#6008) 2021-06-02 13:21:13 -04:00
nichols-green
f3d1561005 Added document for running directus on iis (#6006)
* Added document for running directus on iis

* Update iis.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-06-02 13:12:02 -04:00
nichols-green
e1e47453ef Changed PORT type from number to string (#6001) 2021-06-02 11:47:12 -04:00
Rijk van Zanten
77e00b7db4 Don't initialize database on file require (#6003) 2021-06-02 11:41:42 -04:00
Rijk van Zanten
02fc696c53 Fix env var validation in database loading step (#6002)
Fixes #5980
2021-06-02 11:17:50 -04:00
Pascal Jufer
a1ff311a66 Clean-up docker image (#5877)
* Update Docker image to execute as a non-root user (#5801)

* Move scripts to /usr/local/bin and change mode directly in Git

* Sync versions with api/package.json, remove yargs as it is already
installed globally

* No need for multi-stage image - move installation of Directus to actual
image

* Move WORKDIR instruction after USER instruction so we don't need to RUN
chmod

* Don't cache apk packages

* Add some comments and move EXPOSE and SHELL to bottom

Co-authored-by: Tien Tran <76130324+t7tran@users.noreply.github.com>
2021-06-02 10:15:07 -04:00
Rijk van Zanten
7f51ec9f16 Remove stray console.log in dependency (#5998)
Fixes #5987
2021-06-02 09:20:49 -04:00
dependabot[bot]
2b85976909 Bump marked from 2.0.5 to 2.0.7 (#5986)
Bumps [marked](https://github.com/markedjs/marked) from 2.0.5 to 2.0.7.
- [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.5...v2.0.7)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 09:07:21 -04:00
dependabot[bot]
ba10e4e3d8 Bump dompurify from 2.2.8 to 2.2.9 (#5985)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.8 to 2.2.9.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.8...2.2.9)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 09:06:58 -04:00
dependabot[bot]
142f375a80 Bump jest-environment-jsdom from 26.6.2 to 27.0.3 (#5984)
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 26.6.2 to 27.0.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v27.0.3/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 09:05:57 -04:00
dependabot[bot]
2d5a5d3639 Bump @typescript-eslint/parser from 4.23.0 to 4.26.0 (#5983)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.23.0 to 4.26.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.26.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 09:05:17 -04:00
dependabot[bot]
7993b2e869 Bump fs-extra from 9.1.0 to 10.0.0 (#5982)
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.0)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 09:04:14 -04:00
rijkvanzanten
a6a354a0ae v9.0.0-rc.70 v9.0.0-rc.70 2021-06-01 20:17:10 -04:00
rijkvanzanten
77b082c942 Remove changesets experiment 2021-06-01 20:12:28 -04:00
rijkvanzanten
6a9d0d4074 Update package-lock 2021-06-01 20:11:06 -04:00
Rijk van Zanten
9f2c0fa0ce Update changelog.md 2021-06-01 20:10:34 -04:00
rijkvanzanten
a73d6d2901 Improve formatting of changelog 2021-06-01 20:07:52 -04:00