Commit Graph

2406 Commits

Author SHA1 Message Date
Rijk van Zanten
412781758f New Crowdin updates (#5415)
* New translations en-US.yaml (Polish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

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

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

* New translations en-US.yaml (Finnish)
2021-05-03 16:37:53 -04:00
dependabot[bot]
f3dc4a3a69 Bump codemirror from 5.60.0 to 5.61.0 (#5428)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.60.0 to 5.61.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.60.0...5.61.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 09:57:57 -04:00
rijkvanzanten
c653b16729 v9.0.0-rc.62 2021-05-03 09:32:25 -04:00
Rijk van Zanten
0df96b3d8a Refresh permissions more eagerly in settings (#5404)
* Update package-lock (again?)

* Reload permissions close too

Fixes #5307
2021-04-30 18:56:21 -04:00
Rijk van Zanten
81f4c25c9b New Crowdin updates (#5401)
* Update source file en-US.yaml

* New translations en-US.yaml (Polish)
2021-04-30 16:43:10 -04:00
Rijk van Zanten
5ee5737ec2 Add file upload on m2m (#5402)
* Show upload modal when using m2m to files

Fixes #5246

* Cleanup file check on drawer item
2021-04-30 16:42:59 -04:00
Rijk van Zanten
f3574deae0 Ask for value when changing nullable to not-nullable (#5400)
* Add ContainsNullValues exception abstraction

* Add dialog for null values when disabling non-null

Fixes #2934

* Add translation for CONTAINS_NULL_VALUE error

* Make dialog title translated
2021-04-30 15:27:18 -04:00
Rijk van Zanten
71866d0b49 New Crowdin updates (#5381)
* New translations en-US.yaml (Bulgarian)

* Update source file en-US.yaml

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Polish)
2021-04-30 10:34:35 -04:00
Pascal Jufer
1a39b4bc6d lint-staged: Reintroduce Prettier for md files (#5382) 2021-04-30 08:44:47 -04:00
Jian Liao
c438917096 Issue 5344 (#5346)
* add more ignore pattern for git

* revert the change for api/.gitignore

* fix issue-5344 support autofocus on first non-readonly form field on open drawer

* fix use a more accurate variable name

* Rename autofocusonfirstitem to autofocus

Co-authored-by: Jian Liao <jianliao@adobe.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-30 01:13:55 +00:00
rijkvanzanten
9cc89ecb88 Add missing translation key
s
2021-04-29 18:09:20 -04:00
rijkvanzanten
b2d863e9a0 Fix main imports 2021-04-29 17:18:45 -04:00
rijkvanzanten
99fcf12e73 Fix linter workflow 2021-04-29 16:24:31 -04:00
rijkvanzanten
fb31653ade Fix remaining stylelint problems 2021-04-29 16:08:14 -04:00
rijkvanzanten
801e868554 Fix remaining eslint errors
h/t @paescuj
2021-04-29 15:55:12 -04:00
Pascal Jufer
acd41eb0be Syntax fixes (#5367)
* Declare return types on functions

And a very few other type related minor fixes

* Minor syntax fixes

* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
2021-04-29 12:11:43 -04:00
Rijk van Zanten
ccd03c9ad4 New Crowdin updates (#5363)
* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Greek)
2021-04-29 11:05:07 -04:00
dependabot[bot]
3aae334171 Bump rimraf from 2.7.1 to 3.0.2 (#5355)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 2.7.1 to 3.0.2.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Changelog](https://github.com/isaacs/rimraf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v2.7.1...v3.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 10:33:37 -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
rijkvanzanten
45ff82c0f1 Fix template rendering on new item creation in relational context
Fixes #5326
2021-04-28 15:21:28 -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
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
Ben Haynes
57208d7ebc Fixes #5311 2021-04-28 10:42:31 -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
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
rijkvanzanten
292dcedb14 Fix close button on public role permissions detail
Fixes #5298
2021-04-27 16:38:17 -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
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
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
rijkvanzanten
3e89bcc239 v9.0.0-rc.61 2021-04-26 18:49:04 -04:00
rijkvanzanten
7a13c603a0 Fix batch deleting presets
Fixes #5234
2021-04-26 11:49:56 -04:00
Rijk van Zanten
1d9c114c54 New translations en-US.yaml (Portuguese) (#5249) 2021-04-26 10:25:23 -04:00
Rijk van Zanten
7262fafffa New Crowdin updates (#5233) 2021-04-24 17:10:02 -04:00
rijkvanzanten
26850b08d3 Make unique error nicer on duplicate email invite
Fixes #5157
2021-04-23 19:06:41 -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
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
rijkvanzanten
d9b0fc1e33 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