Commit Graph

5309 Commits

Author SHA1 Message Date
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
Sebastian Kinzlinger
a4552e3752 Allow custom email subjects for invite and pw reset mail (#5446)
* Make email template overrides work

The ternary needs to be this way for custom email templates to be picked up.

* Allow custom subject lines for emails

Allow subject line to be passed into `inviteUser()` and `requestPasswordReset()`

* Fix typo

* Revert so only one change for PR

* fix typo

* Fix ts tests
2021-05-04 09:32:29 -04:00
Sebastian Kinzlinger
faa3ca7a06 Allow base Email override for standard emails (#5449)
* Make email template overrides work

The ternary needs to be this way for custom email templates to be picked up.

* Allow custom subject lines for emails

Allow subject line to be passed into `inviteUser()` and `requestPasswordReset()`

* Fix typo

* Fix typo

* eslint stuff

* Update users.ts
2021-05-04 09:31:13 -04:00
dependabot[bot]
db101e9660 Bump uuid from 3.3.2 to 8.3.2 (#5448)
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-05-04 09:30:52 -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
dependabot[bot]
e597fcff56 Bump npm-watch from 0.7.0 to 0.9.0 (#5445)
Bumps [npm-watch](https://github.com/M-Zuber/npm-watch) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/M-Zuber/npm-watch/releases)
- [Commits](https://github.com/M-Zuber/npm-watch/compare/v0.7.0...v0.9.0)

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:29 -04:00
dependabot[bot]
ff131966fc Bump normalize-path from 1.0.0 to 3.0.0 (#5444)
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-05-04 09:30:11 -04:00
dependabot[bot]
ac98d49653 Bump directory-tree from 2.2.7 to 2.2.9 (#5443)
Bumps [directory-tree](https://github.com/mihneadb/node-directory-tree) from 2.2.7 to 2.2.9.
- [Release notes](https://github.com/mihneadb/node-directory-tree/releases)
- [Commits](https://github.com/mihneadb/node-directory-tree/compare/2.2.7...2.2.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 09:29:49 -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
João
b20a394f51 Update SDK docs and code to match API (#5437) 2021-05-03 14:46:05 -04:00
Pyll Gomez
09b19b9191 Session store knex (#5432)
* Rotate JPG image on upload #4206

* fixes #3949 width/height generated for gif and tif

* API hooks for event added for auth.login #4079

* updated doc for api hooks for new auth.login event

* Style tweaks

* Update docs

* Tweak docs some more

* Spelling error

* Allow non-required flags and pass to hook

* SDK - Persistent login refresh fixes #4113

* Fixed #4145 SDK, Token Expired error

* Spell check

* Docs Spell check

* Docs Spell check

* Docs Spell check

* update docs for sdk-js

* To delete all expired session from db on login

* corrected the condition for the delete

* changed the from Date.now to new date .

* Move it inline

* Added Knex option for Session store

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-05-03 11:46:42 -04:00
dependabot[bot]
7817f8f9bb Bump liquidjs from 9.23.3 to 9.24.1 (#5429)
Bumps [liquidjs](https://github.com/harttle/liquidjs) from 9.23.3 to 9.24.1.
- [Release notes](https://github.com/harttle/liquidjs/releases)
- [Changelog](https://github.com/harttle/liquidjs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harttle/liquidjs/compare/v9.23.3...v9.24.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 09:58:13 -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
dependabot[bot]
8783e6f7a9 Bump graphql from 14.7.0 to 15.5.0 (#5426)
Bumps [graphql](https://github.com/graphql/graphql-js) from 14.7.0 to 15.5.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v14.7.0...v15.5.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:56:04 -04:00
dependabot[bot]
474ae2d20e Bump rollup from 2.45.0 to 2.46.0 (#5425)
Bumps [rollup](https://github.com/rollup/rollup) from 2.45.0 to 2.46.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.45.0...v2.46.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:55:39 -04:00
Aiden Foxx
f9a01d6684 [OracleDB] Extended schema-inspector to add AUTO_INCREMENT to columnInfo (#5408)
* Extended knex to add AUTO_INCREMENT to oracle columnInfo

* TS: Added missing return type
2021-05-03 09:34:45 -04:00
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