Commit Graph

5293 Commits

Author SHA1 Message Date
rijkvanzanten
c653b16729 v9.0.0-rc.62 v9.0.0-rc.62 2021-05-03 09:32:25 -04:00
Pascal Jufer
b312ab84f5 Small fixes and addition in docs (#5417) 2021-05-02 08:42:01 -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
a3898fa321 Add SESSION_STORE options (#5403)
* Allow configuring the session storage driver

Fixes #3814

* Document SESSION_STORE env var

* Add missing dependency

* Docs tweak
2021-04-30 18:18:39 -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
João
c62d30b816 Fix weird authentication/refresh flow in the SDK (#5399) 2021-04-30 13:33:24 -04:00
rijkvanzanten
aad350e7e5 Bump schema inspector 2021-04-30 12:14:18 -04:00
dependabot[bot]
e7c5a9f35e Bump @lukeed/uuid from 1.0.1 to 2.0.0 (#5384)
Bumps [@lukeed/uuid](https://github.com/lukeed/uuid) from 1.0.1 to 2.0.0.
- [Release notes](https://github.com/lukeed/uuid/releases)
- [Commits](https://github.com/lukeed/uuid/compare/v1.0.1...v2.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 14:44:56 +00: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
dependabot[bot]
34583bf0e4 Bump normalize-path from 1.0.0 to 3.0.0 (#5389)
Bumps [normalize-path](https://github.com/jonschlinkert/normalize-path) from 1.0.0 to 3.0.0.
- [Release notes](https://github.com/jonschlinkert/normalize-path/releases)
- [Changelog](https://github.com/jonschlinkert/normalize-path/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonschlinkert/normalize-path/compare/1.0.0...3.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 14:33:50 +00:00
dependabot[bot]
0ad699d25f Bump @types/js-yaml from 4.0.0 to 4.0.1 (#5388) 2021-04-30 14:32:45 +00:00
dependabot[bot]
99ccc90fd7 Bump @types/sharp from 0.27.3 to 0.28.0 (#5387) 2021-04-30 10:04:13 -04:00
dependabot[bot]
0bee49a355 Bump fs-extra from 7.0.1 to 9.1.0 (#5390)
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 7.0.1 to 9.1.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/7.0.1...9.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 09:33:32 -04:00
Pascal Jufer
1a39b4bc6d lint-staged: Reintroduce Prettier for md files (#5382) 2021-04-30 08:44:47 -04:00
Pascal Jufer
26ca4a7717 Docs: Remove dead link, add reference to whole introduction guide (#5383)
instead
2021-04-30 07:36:10 -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
74861e6f81 Add default display template for directus_files
Fixes #5364
2021-04-29 20:40:52 -04:00
rijkvanzanten
cd565c2e60 Fix patch handler of rest /folders
Fixes #5351
2021-04-29 20:16:52 -04:00
rijkvanzanten
53f2d690dc Add comment 2021-04-29 20:13:36 -04:00
rijkvanzanten
9cc89ecb88 Add missing translation key
s
2021-04-29 18:09:20 -04:00
rijkvanzanten
3c5c0a043c Fix error handler not being recognized 2021-04-29 18:09:04 -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
9b3814545d Speed up on-commit eslint fix 2021-04-29 16:18:40 -04:00
rijkvanzanten
ba98f23d3d Fix TS errors 2021-04-29 16:18:09 -04:00
rijkvanzanten
3c0e41e881 Add linter workflow in actions 2021-04-29 16:08:14 -04:00
rijkvanzanten
fb31653ade Fix remaining stylelint problems 2021-04-29 16:08:14 -04:00
Aiden Foxx
c255afd7f1 Update get-local-type.ts (#5375) 2021-04-29 20:00:17 +00:00
rijkvanzanten
801e868554 Fix remaining eslint errors
h/t @paescuj
2021-04-29 15:55:12 -04:00
rijkvanzanten
5b7bd55d68 Update package-lock 2021-04-29 13:02:08 -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
Pascal Jufer
40eba791fa Fix & enhance linting (#5312)
* Enhance eslint config

* Config with sensible settings for typescript and vue,
  including comments
* Differentiate between js/ts files
* Lint .eslintrc.js itself
* Update lint-related packages
  Note: This is required to solve the following error:
    Error: Failed to load plugin 'prettier-vue' declared in '.eslintrc.js#overrides[1]': Cannot find module '@vue/compiler-sfc'

* Only check related files on "npm run lint:stylelint"

* Otherwise stylelint will fail (e.g. on *.d.ts files)
* Also ingore some directories

* Continue on error when linting (show output of both)

* Update package.json

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2021-04-29 12:01:17 -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]
57ae282b57 Bump js-yaml from 4.0.0 to 4.1.0 (#5357)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.0.0...4.1.0)

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