Commit Graph

2416 Commits

Author SHA1 Message Date
Rijk van Zanten
0dbc0d3b36 Default active list to null, remove self-toggle (#5470)
Fixes #5414
2021-05-04 19:48:31 -04:00
Tyler Forest-Hauser
3f0d7457c3 Allow for filtering by false booleans (#5469) 2021-05-04 19:46:31 -04:00
rijkvanzanten
23f647ce22 Prevent saving permissions during save
Fixes #5454
2021-05-04 19:14:34 -04:00
Rijk van Zanten
eda19a8eb2 Fix users not adhering to field permissions (#5467)
* Update package once again

* Format remaining md files

* Fix permissions not disabling fields on users

Fixes #5411
2021-05-04 18:56:41 -04:00
rijkvanzanten
010eabad27 Format remaining md files 2021-05-04 18:52:08 -04:00
Rijk van Zanten
d43f2f630c Decode HTML entities in formatted values display (#5466)
* Decode HTML entities in formatted values display

Fixes #5410

* Add missing dependency
2021-05-04 18:29:02 -04:00
Rijk van Zanten
af228b99bc New Crowdin updates (#5465)
* New translations en-US.yaml (Polish)

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

* New translations en-US.yaml (German)

* New translations en-US.yaml (Finnish)
2021-05-04 18:06:23 -04:00
Rijk van Zanten
d1de1f0d58 Add calendar layout (#2893)
* Setup layout boilerplate

* Install calendar

* Render events based on date filter

* Style calendar toolbar

* Add layout options

* Start adding timeGrid, add todo list

* Persist viewInfo to preset

* Add dnd

* Fix linter warnings
2021-05-04 16:51:35 -04:00
Rijk van Zanten
9faa2a4e21 New Crowdin updates (#5439)
* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Malay)
2021-05-04 09:53:24 -04:00
dependabot[bot]
24890e0377 Bump dompurify from 2.2.7 to 2.2.8 (#5447)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.7...2.2.8)

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:41 -04:00
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