Commit Graph

2579 Commits

Author SHA1 Message Date
renovate[bot]
7efb7152b9 chore(deps): update dependency marked to v2.1.1 (#6330)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:46:21 -04:00
renovate[bot]
a908de2f23 chore(deps): update dependency typescript to v4.3.3 (#6329)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:46:21 -04:00
renovate[bot]
0d692460b7 chore(deps): update dependency vue-router to v4.0.9 (#6327)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:46:21 -04:00
renovate[bot]
fb738c246b fix(deps): pin dependencies (#6323)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:46:21 -04:00
Rijk van Zanten
2009297e72 New Crowdin updates (#6309)
* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Arabic)
2021-06-17 15:46:21 -04:00
Rijk van Zanten
74799990be Fix emitter on input options (#6318)
Fixes #6312
2021-06-16 11:31:34 -04:00
dependabot[bot]
dae9d97557 Bump sass from 1.35.0 to 1.35.1 (#6305)
Bumps [sass](https://github.com/sass/dart-sass) from 1.35.0 to 1.35.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.35.0...1.35.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 10:26:51 -04:00
Rijk van Zanten
895e6b4f0c New Crowdin updates (#6268)
* New translations en-US.yaml (French)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Turkish)

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

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Hindi)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Arabic)

* 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 (Indonesian)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Mongolian)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Serbian (Latin))

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

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (German)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Hindi)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Mongolian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Portuguese, Brazilian)
2021-06-15 17:11:01 -04:00
Nicola Krumschmidt
ee95fa3dfd Fix environment info in github issue templates (#6288) 2021-06-15 14:09:21 -04:00
Rijk van Zanten
092a3266ed Fixed issue that would prevent the "Import from URL" functionality to work in a many to many interface (#6289)
Fixes #6287
2021-06-15 14:08:59 -04:00
Nicola Krumschmidt
4f9ae6591e Add workaround for vite auto-replacement in docs (#6284) 2021-06-15 10:55:20 -04:00
dependabot[bot]
57617ffdc5 Bump sass from 1.34.1 to 1.35.0 (#6273)
Bumps [sass](https://github.com/sass/dart-sass) from 1.34.1 to 1.35.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.34.1...1.35.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 13:24:36 +00:00
rijkvanzanten
68774e6f14 v9.0.0-rc.76 2021-06-14 17:12:51 -04:00
Rijk van Zanten
df6ba71b20 New Crowdin updates (#6266)
* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Serbian (Latin))
2021-06-14 16:25:23 -04:00
rijkvanzanten
7eafaec2bd Fix char esc in i18n 2021-06-14 16:25:06 -04:00
rijkvanzanten
95f4b1c521 Fix console log usages in linter 2021-06-14 15:10:50 -04:00
Rijk van Zanten
706f4af68b Fixed issue that could cause the HTML interface to emit a change on first load (#6264)
* Don't emit changes on first content setter

Fixes #6218

* Fix type issues
2021-06-14 14:45:54 -04:00
Rijk van Zanten
35a304fd0a Fixed issue that would prevent the m2o from working on foreign keys with no meta row (#6263)
* Fix m2o reading from optional value

Fixes #6207

* Use optional chaining
2021-06-14 14:32:25 -04:00
Rijk van Zanten
8d0206a149 Fixes issue that would prevent the layout from refreshing on batch operations (#6262)
Fixes #6249
2021-06-14 14:08:24 -04:00
Rijk van Zanten
57bf7b8e6a New Crowdin updates (#6210)
* New translations en-US.yaml (Mongolian)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Serbian (Latin))
2021-06-14 13:31:18 -04:00
Nicola Krumschmidt
0ca7f8c6eb Fix collection selection in system-collections interface (#6258) 2021-06-14 10:41:19 -04:00
masterwendu
2174d9e971 #6217 fix missing styling of tinymce (#6236)
* #6217 fix missing styling of tinymce

* #6217 remove unused css imports
2021-06-14 10:24:17 -04:00
dependabot[bot]
b0dfdc34a8 Bump cropperjs from 1.5.11 to 1.5.12 (#6240)
Bumps [cropperjs](https://github.com/fengyuanchen/cropperjs) from 1.5.11 to 1.5.12.
- [Release notes](https://github.com/fengyuanchen/cropperjs/releases)
- [Changelog](https://github.com/fengyuanchen/cropperjs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fengyuanchen/cropperjs/compare/v1.5.11...v1.5.12)

---
updated-dependencies:
- dependency-name: cropperjs
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 10:05:41 -04:00
Nicola Krumschmidt
427b339e04 Fix proxying to the app from a subpath (#6212) 2021-06-11 11:23:27 -04:00
Nicola Krumschmidt
a137bbd9e8 Chore cleanup (#6213)
* Log vite env directly

* Remove istanbul comments
2021-06-11 11:22:26 -04:00
rijkvanzanten
d041053ce7 Remove comment 2021-06-11 09:48:01 -04:00
dependabot[bot]
cd2e24d82c Bump vuedraggable from 4.0.1 to 4.0.3 (#6197)
* Bump vuedraggable from 4.0.1 to 4.0.3

Bumps [vuedraggable](https://github.com/SortableJS/Vue.Draggable) from 4.0.1 to 4.0.3.
- [Release notes](https://github.com/SortableJS/Vue.Draggable/releases)
- [Commits](https://github.com/SortableJS/Vue.Draggable/commits)

---
updated-dependencies:
- dependency-name: vuedraggable
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* Update vite as well

* Update vite, fix imports

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-11 09:43:31 -04:00
rijkvanzanten
779a252ce2 v9.0.0-rc.75 2021-06-10 16:17:32 -04:00
Rijk van Zanten
4cb8d1f814 Add additional check to Two-Factor Authentication (by @masterwendu) (#6187)
* 6113 add tfa generate endpoint

* 6113 implement tfa otp check in user settings

* 6113 add autfocus for otp field on login form

* update package-lock

* improve TFA uri with user email

* fix vue 3 compatibility

* reduce code duplication for enableTFA

* Remove unnecessary parameters

* Use project name in otp url when available

* Update docs/reference/api/system/users.md

Co-authored-by: Wendelin Peleska <wendu@pm.me>
2021-06-10 15:36:34 -04:00
Nicola Krumschmidt
f55a2072e1 Refactor bookmark query navigation (#6170)
* Revert back to using query params for bookmarks

Aka "this hurts so much"

* Fix collection navigation active state

* Add active and query props to v-button

Also unify active and activated state.

* Remove not needed exact prop from collections navigation
2021-06-10 15:11:01 -04:00
Rijk van Zanten
976baa7206 Add number formatting to formatted-values display (#6186)
* Render number values as formatted numbers

* Allow for 0 in formatted-values display

* Use isNil for empty check
2021-06-10 12:45:34 -04:00
rijkvanzanten
1b319706b3 Remove unused import 2021-06-10 09:24:00 -04:00
Rijk van Zanten
11ea192368 Fix issue that would cause sort order of fields to be corrupted on field changes (#6174)
Fixes #6091
2021-06-09 20:13:21 -04:00
Rijk van Zanten
1f2bce9fd2 Prevent translation rows from being edited before existing values are loaded (#6173)
Fixes #6094
2021-06-09 19:13:03 -04:00
Rijk van Zanten
e9a8850a58 Fix translations hint not linking to collection (#6172) 2021-06-09 19:10:11 -04:00
Rijk van Zanten
e20ad6c6b5 Use JSON editor for JSON field type default value (#6171)
Fixes #6088
2021-06-09 18:52:48 -04:00
rijkvanzanten
8ac6c44c95 Align styling of list-m2m list-o2m 2021-06-09 17:48:54 -04:00
rijkvanzanten
094819acb7 Fix styling of list-rows 2021-06-09 17:46:22 -04:00
rijkvanzanten
61f66eaf5d Fix m2m relationship not showing current col/pk 2021-06-09 17:26:00 -04:00
Rijk van Zanten
c2c57ef567 Show better message for improperly formatted emails (#6168)
Closes #6115
2021-06-09 17:14:56 -04:00
Rijk van Zanten
b5abb0fb20 New translations en-US.yaml (Spanish) (#6164) 2021-06-09 16:39:03 -04:00
Tien Tran
7ecbe49bb6 Support async preRegisterCheck for custom modules (#6118)
* Support async preRegisterCheck for custom modules

* Make loop a tad more expressive

* Update type to indicate potential promise return

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-06-09 14:16:17 -04:00
Rijk van Zanten
1a867f17d1 New Crowdin updates (#6154)
* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Spanish)
2021-06-09 13:56:08 -04:00
Rijk van Zanten
7da3f2c701 New Crowdin updates (#6148)
* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (French)
2021-06-09 11:18:47 -04:00
Nicola Krumschmidt
12a3b22aa1 App type improvements (#6151)
* Fix v-table interalItems type

* Fix useGroupable return type

* Fix useCollection return type

* Fix useCustomSelection return type

* Fix useElementSize return type

* Fix useFormFields return type

* Fix useItem return type

* Fix useItems return type

* Prepend composable return type name with "Usable"

* Fix usePreset return type

* Fix useScrollDistance return type

* Fix useTitle return type

* Fix useWindowSize return type

* Fix usePermissions return type

* Fix useTemplateData return type

* Fix a few type issues in field store

* Fix extension getter return types

* Fix hydrate store type issue and double-hydrating users store

* Fix code interface type issue

* Fix m2m composables return types

* Fix html editor composables return types

* Fix collections module composables return types

* Fix files module composable return type

* Fix settings module composable return type

* Fix settings module roles composables return types

* Fix settings module users composable return type

* Fix return type issues in utils and a nasty parameter overwrite

* Fix modelValue casing in template
2021-06-09 11:18:21 -04:00
dependabot[bot]
64bccfab04 Bump @types/codemirror from 0.0.109 to 5.60.0 (#6145)
Bumps [@types/codemirror](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/codemirror) from 0.0.109 to 5.60.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/codemirror)

---
updated-dependencies:
- dependency-name: "@types/codemirror"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 09:09:25 -04:00
rijkvanzanten
a40638a3bf Fix relational preview 2021-06-08 17:57:54 -04:00
rijkvanzanten
9349f2e9b8 Fix options for input interface 2021-06-08 17:57:49 -04:00
Rijk van Zanten
bc8370d084 Add item duplicate fields configuration option to directus_collections (#6140)
* Add item_duplication_fields field

* Add types for item duplicate fields
2021-06-08 17:57:28 -04:00
Rijk van Zanten
175039f52d New Crowdin updates (#6139)
* New translations en-US.yaml (French)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Slovak)

* New translations en-US.yaml (Serbian (Cyrillic))

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Georgian)

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

* New translations en-US.yaml (Spanish, Chile)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Spanish, Latin America)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Arabic)

* 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 (Ukrainian)

* New translations en-US.yaml (Chinese Simplified)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Afrikaans)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hebrew)
2021-06-08 17:51:59 -04:00