Commit Graph

5226 Commits

Author SHA1 Message Date
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
Pascal Jufer
ba3e5eb16a Clarify SQLite setup when running Directus locally (#5271) 2021-04-27 10:01:16 -04:00
Pascal Jufer
f19cf1070c Fix some points in SDK documentation (#5273)
* Change confusing statement about storage adapter

Mainly used to store auth token / expiration
Refresh tokens only in JSON mode

* Remove 'time' option in 1st example since described in 2nd example

* Add infos about options.refresh on Auth
2021-04-27 09:57:49 -04:00
João
1973969265 Update query.md 2021-04-27 10:51:46 -03:00
rijkvanzanten
3e89bcc239 v9.0.0-rc.61 v9.0.0-rc.61 2021-04-26 18:49:04 -04:00
rijkvanzanten
eb34ef50f7 Update package-lock 2021-04-26 18:35:24 -04:00
Rijk van Zanten
d25c35fee7 Add MailService (#5265)
* Create MailService

Fixes #5229, ref #3372, #4664, #4858, #5090, #3104, #3465, #2774, #3741

* Fix path to templates extensions

* Add mailservice example to hooks docs
2021-04-26 17:55:34 -04:00
rijkvanzanten
29797dfb97 Pass trx to items service in roles delete
Fixes #5244
2021-04-26 14:56:02 -04:00
rijkvanzanten
ad9ffb4647 Fix permissionsAction check in query read
Fixes #5257
2021-04-26 12:47:44 -04:00
rijkvanzanten
40ecaec4c7 Skip empty filters
Fixes #4471

Squashed commit of the following:

commit 58f7e60710808e927c636a0f0a8c7c91611e8fcb
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Mon Apr 26 12:34:15 2021 -0400

    Skip empty filters
2021-04-26 12:36:24 -04:00
rijkvanzanten
7a13c603a0 Fix batch deleting presets
Fixes #5234
2021-04-26 11:49:56 -04:00
João
63c45a6ae4 Fix SDK docs example 2021-04-26 11:37:25 -03:00
Rijk van Zanten
1d9c114c54 New translations en-US.yaml (Portuguese) (#5249) 2021-04-26 10:25:23 -04:00
Ben Haynes
13db4c7719 Better email line wraps 2021-04-26 09:54:56 -04:00
Rijk van Zanten
7262fafffa New Crowdin updates (#5233) 2021-04-24 17:10:02 -04:00
Rijk van Zanten
da5f1977c2 Update source file en-US.yaml (#5228) 2021-04-23 21:37:26 -04:00
rijkvanzanten
26850b08d3 Make unique error nicer on duplicate email invite
Fixes #5157
2021-04-23 19:06:41 -04:00
rijkvanzanten
4a942067fc Make migration logs more explicit 2021-04-23 18:04:59 -04:00
rijkvanzanten
5d338083da Fix tags in docs
Fixes #5140
2021-04-23 17:54:48 -04:00
Rijk van Zanten
f1e2338142 Add auth password policy / login attempts support (#5225)
* Check auth password policy on user modifications

* Show validation errors in drawer-batch

* Allow custom password policy, add placeholder

* Add UserSuspended exception

* Add user suspended error translation

* Move rate limiter creation into root helper

* Add login attempts support to authentication service

* Don't authenticate into settings service when checking password policy
2021-04-23 17:42:46 -04:00
rijkvanzanten
b769d67e51 Don't include user token by default, fix button names
Fixes #5216, fixes #5155
2021-04-23 16:06:16 -04:00
José Varela
6a28847e9a app: go back instead of push new route (#5168)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-23 15:15:48 +00:00
João
c2d634162e Typo on libvips 2021-04-23 11:59:52 -03:00
rijkvanzanten
3354066983 Add union type example to docs
Closes #5161

Squashed commit of the following:

commit 8ef6770185cf4d3bcdcda0c41e98a6f3ef0c4e1f
Merge: 775ceaccc 2ca5fdb86
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Apr 23 10:42:54 2021 -0400

    Merge branch 'main' into patch-1

commit 775ceaccc4
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Apr 23 10:41:59 2021 -0400

    Cleanup union type docs

commit 1000988c32
Author: neo7-studio-web <18073828+neo7-studio-web@users.noreply.github.com>
Date:   Tue Apr 20 15:01:02 2021 +0200

    Add a M2M GraphQL query example
2021-04-23 10:47:17 -04:00
Rijk van Zanten
2ca5fdb86c New Crowdin updates (#5212)
* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Estonian)
2021-04-23 10:12:12 -04:00
José Varela
5f425e4595 api: ignore singleton on validate-batch (#5209) 2021-04-23 12:48:25 +00:00
WoLfulus
48fbb6f255 Fix expiration check on the SDK 2021-04-23 08:05:10 -03:00
rijkvanzanten
d9b0fc1e33 v9.0.0-rc.60 v9.0.0-rc.60 2021-04-22 17:59:11 -04:00
rijkvanzanten
d4bb3441da Show 100+ when related-values has 100 items
Fixes #3743
2021-04-22 17:58:59 -04:00
Ben Haynes
5113f9269b Minimize status dot 2021-04-22 17:54:44 -04:00
João
af13cfe18e Change token and auth handling behavior. (#5203)
* change tokens and authentication handling/refresh

* update sdk docs
2021-04-22 17:54:30 -04:00