Commit Graph

5256 Commits

Author SHA1 Message Date
José Varela
72b516a678 api: use current connection on collection service (#5369)
Allow to retrieve collections in the middle of a transaction
2021-04-29 10:32:16 -04:00
dependabot[bot]
167b41bf7a Bump marked from 2.0.1 to 2.0.3 (#5354)
Bumps [marked](https://github.com/markedjs/marked) from 2.0.1 to 2.0.3.
- [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.1...v2.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 10:05:52 -04:00
dependabot[bot]
d5a701ba8d Bump date-fns from 2.20.1 to 2.21.1 (#5353)
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.20.1 to 2.21.1.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.20.1...v2.21.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 09:57:22 -04:00
dependabot[bot]
e336f4421d Bump @types/node from 14.14.37 to 15.0.1 (#5352)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.37 to 15.0.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-04-29 09:57:07 -04:00
Martijn Boland
d9baa0b92d Also join o2m relations when not in subquery but at non-root level (#5338) 2021-04-28 22:21:56 +00:00
Rijk van Zanten
a64a5a124a Add files.upload hook (#5334)
* Allow events to be disabled

* Add files.upload, silence create/update on upload

Fixes #4728

* Document files.upload hook
2021-04-28 17:54:03 -04:00
rijkvanzanten
98c9b9a9ff Ignore invalid array filter values as well
Ref #4471
2021-04-28 15:29:21 -04:00
rijkvanzanten
45ff82c0f1 Fix template rendering on new item creation in relational context
Fixes #5326
2021-04-28 15:21:28 -04:00
rijkvanzanten
c225bbf762 Fix password policy check for no requirements
Fixes #5310
2021-04-28 14:51:17 -04:00
Sebastian Flick
a48b0fbd28 Setting the default date to today is a bad idea (#5332)
If a user selects a year, the day and month are set to today's day and month. This is a very bad idea since people want to sort entries by date. Most of the time only the year is of interest. The entries will be sorted then by the time and day when the were created...
This commit should set the values to the same by default.
2021-04-28 14:49:32 -04:00
Aiden Foxx
da826e2a1a Update oracledb.ts (#5331)
As explained in the code comment, Oracle doesn't return "AUTO_INCREMENT", causing `authorization.ts` to throw a error that primary keys are required values.
2021-04-28 14:07:15 -04:00
Rijk van Zanten
a4e2c499e8 New Crowdin updates (#5306)
* New translations en-US.yaml (French)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Arabic)
2021-04-28 12:56:42 -04:00
Aiden Foxx
dc973d37f4 Update oracledb.ts (#5327)
As defined by Oracle, NULLABLE should return "Y" or "N":

https://docs.oracle.com/cd/B19306_01/server.102/b14237/statviews_2094.htm
2021-04-28 14:53:17 +00:00
Ben Haynes
57208d7ebc Fixes #5311 2021-04-28 10:42:31 -04:00
dependabot[bot]
b741c14408 Bump chalk from 1.1.3 to 4.1.1 (#5317) 2021-04-28 14:08:35 +00:00
fissben
56909c3161 Add info about mysql 8 setting up (#5319) 2021-04-28 09:27:23 -04:00
dependabot[bot]
0bb930adb8 Bump eslint-plugin-prettier from 3.3.1 to 3.4.0 (#5318) 2021-04-28 09:22:30 -04:00
dependabot[bot]
f1214150e3 Bump simple-git-hooks from 2.3.1 to 2.4.1 (#5316) 2021-04-28 09:18:56 -04:00
dependabot[bot]
b24eb4f7aa Bump gatsby-source-filesystem from 3.3.0 to 3.4.0 (#5315) 2021-04-28 09:18:29 -04:00
dependabot[bot]
a3590c1706 Bump @types/fs-extra from 8.1.1 to 9.0.11 (#5314) 2021-04-28 09:18:06 -04:00
YannickMol
8145bc05b1 Update styles.md (#5325) 2021-04-28 08:51:35 -04:00
Ben Haynes
31113a3087 Fixes #5241 2021-04-27 18:56:03 -04:00
Rijk van Zanten
872f4ec0e4 New Crowdin updates (#5304)
* Update source file en-US.yaml

* New translations en-US.yaml (French)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Thai)
2021-04-27 17:46:22 -04:00
Rijk van Zanten
2240b402c3 New Crowdin updates (#5303)
* Update source file en-US.yaml

* New translations en-US.yaml (French)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Portuguese, Brazilian)

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Thai)

* Update source file en-US.yaml
2021-04-27 17:22:37 -04:00
rijkvanzanten
6adc51383c Fix duplicate values in sort column causing havoc
Fixes #2921
2021-04-27 17:22:22 -04:00
rijkvanzanten
81f488fc8e Rename required->allow null 2021-04-27 17:22:22 -04:00
Ben Haynes
40719cbbed Fixes #5295 2021-04-27 16:59:57 -04:00
Daniel Westman
9097641bf5 Add the ability to provide custom liquid layouts and partials (#5269)
* Add ability to provide custom liquid layouts and partials

* Allow overriding partilas with customs

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-27 20:41:31 +00:00
rijkvanzanten
292dcedb14 Fix close button on public role permissions detail
Fixes #5298
2021-04-27 16:38:17 -04:00
rijkvanzanten
207eda1d2d Fix login with non-existing user
Fixes #5299
2021-04-27 16:28:49 -04:00
Rijk van Zanten
84f4a1da01 Add singular/plural collection name translations (#5302)
* Add singular/plural options to collection translations

* Use singular/plural item names in related values

* Use singular / plural names on item detail

* Use singular/plural for drawer item

* Fix translation
2021-04-27 16:22:52 -04:00
Rijk van Zanten
451cdac8ef Add options for create/select (#5301)
* Hide add/select based on permissions

Fixes #4874

* Add enable create/select options to interfaces
2021-04-27 15:13:22 -04:00
dependabot[bot]
f5f6f325f7 Bump uuid from 3.3.2 to 8.3.2 (#5292)
Bumps [uuid](https://github.com/uuidjs/uuid) from 3.3.2 to 8.3.2.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v3.3.2...v8.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 15:11:23 -04:00
dependabot[bot]
f1bed254be Bump express-pino-logger from 5.0.0 to 6.0.0 (#5288)
Bumps [express-pino-logger](https://github.com/pinojs/express-pino-logger) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/pinojs/express-pino-logger/releases)
- [Commits](https://github.com/pinojs/express-pino-logger/compare/v5.0.0...v6.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 14:58:06 -04:00
rijkvanzanten
c3c1337346 Ignore file extensions in assets endpoint path
Fixes #4067
2021-04-27 12:10:34 -04:00
José Varela
9d432efb34 app: show file preview on drawer-item (#5289)
if the related collection is `directus_files` we could show the preview
of the file.

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-27 12:02:03 -04:00
cynova
56d634ce16 handle enter key for existing sessions (#5277)
* handle enter key for existing sessions

* replace with more declarative approach

Co-authored-by: Sean Goff <sean318@hotmail.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-27 12:01:40 -04:00
dependabot[bot]
f99396c4d1 Bump @google-cloud/storage from 5.8.3 to 5.8.4 (#5293)
Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 5.8.3 to 5.8.4.
- [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.3...v5.8.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 12:00:51 -04:00
dependabot[bot]
23824fd4f5 Bump mitt from 1.2.0 to 2.1.0 (#5282)
Bumps [mitt](https://github.com/developit/mitt) from 1.2.0 to 2.1.0.
- [Release notes](https://github.com/developit/mitt/releases)
- [Commits](https://github.com/developit/mitt/compare/1.2.0...2.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 15:59:01 +00:00
dependabot[bot]
08f025801c Bump gatsby-source-filesystem from 3.2.0 to 3.3.0 (#5291)
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 3.2.0 to 3.3.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.3.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-04-27 15:56:02 +00:00
rijkvanzanten
33f5927e38 Add missing email subjects
Fixes #5275
2021-04-27 11:34:32 -04:00
rijkvanzanten
7eebb08eec Remove clear icon for disabled interfaces
Fixes #5279
2021-04-27 11:32:17 -04:00
José Varela
1a8526adab app: fix audio controls not showing (#5286) 2021-04-27 11:04:10 -04:00
dependabot[bot]
e5eb65ac37 Bump @types/codemirror from 0.0.108 to 0.0.109 (#5290)
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror) from 0.0.108 to 0.0.109.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/codemirror)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 10:22:51 -04:00
dependabot[bot]
0e7c1989ed Bump stylelint-config-standard from 21.0.0 to 22.0.0 (#5284)
Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 21.0.0 to 22.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/21.0.0...22.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 10:16:50 -04:00
dependabot[bot]
f0e9e4ad5b Bump eslint-config-prettier from 8.1.0 to 8.3.0 (#5283)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.1.0 to 8.3.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.1.0...v8.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 10:16:06 -04:00
dependabot[bot]
0a8317c1e2 Bump marked from 2.0.1 to 2.0.3 (#5287)
Bumps [marked](https://github.com/markedjs/marked) from 2.0.1 to 2.0.3.
- [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.1...v2.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-27 10:14:31 -04:00
rijkvanzanten
b13c464c1e Remove express-graphql 2021-04-27 10:13:32 -04:00
Rijk van Zanten
05df21dd9b Update dependabot.yml
@paescuj Apparently this is needed to have it actually update `package.json` as well! Only updating the lock file in the root doesn't do us any good 🙂 

Still hoping it'll support npm 7's workspaces 👀 but we'll have to wait and see
2021-04-27 10:10:53 -04:00
Pascal Jufer
b2ad7a726f Enable dependabot to keep track of package updates (#5272) 2021-04-27 10:02:20 -04:00