Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from directus:main #3

Open
wants to merge 1,649 commits into
base: main
Choose a base branch
from
Open

[pull] main from directus:main #3

wants to merge 1,649 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Sep 25, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

Copy link

github-actions bot commented Jul 9, 2024

Hi @dependabot[bot]!

Thank you for contributing to Directus! Before we consider your Pull Request, we ask that you sign our Contributor License Agreement (CLA). This is only required for your first Pull Request.

Please review the CLA, and sign it by adding your GitHub username to the contributors.yml file. Thanks!

rijkvanzanten and others added 27 commits August 14, 2024 11:46
* New translations en-us.yaml (Korean)

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

* New translations en-us.yaml (Persian)

* New translations en-us.yaml (Danish)

* New translations en-us.yaml (Romanian)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Spanish)

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Bulgarian)

* New translations en-us.yaml (Catalan)

* New translations en-us.yaml (Czech)

* New translations en-us.yaml (German)

* New translations en-us.yaml (Finnish)

* New translations en-us.yaml (Hungarian)

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (Japanese)

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

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Slovenian)

* New translations en-us.yaml (Albanian)

* New translations en-us.yaml (Swedish)

* New translations en-us.yaml (Turkish)

* New translations en-us.yaml (Ukrainian)

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

* New translations en-us.yaml (Vietnamese)

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

* New translations en-us.yaml (Indonesian)

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

* New translations en-us.yaml (Spanish, Mexico)

* New translations en-us.yaml (Thai)

* New translations en-us.yaml (Croatian)

* New translations en-us.yaml (Estonian)

* New translations en-us.yaml (Hindi)

* New translations en-us.yaml (English, Canada)

* New translations en-us.yaml (English, United Kingdom)

* New translations en-us.yaml (French, Canada)

* New translations en-us.yaml (Esperanto)

* New translations en-us.yaml (Breton)

* New translations en-us.yaml (Bosnian)

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

* New translations en-us.yaml (Nepali)

* New translations en-us.yaml (Sorani (Kurdish))

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

* Update source file en-US.yaml

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (Russian)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Vietnamese)

* New translations en-us.yaml (Persian)

* New translations en-us.yaml (Romanian)

* New translations en-us.yaml (Czech)
* Added cloud callout in sidebar

* Linter got mad for one newline, I will obey the linter.

---------

Co-authored-by: Bryant Gillespie <[email protected]>
* Add default view option to markdown interface

* Add changeset

* Fix types
Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox) from 0.33.4 to 0.33.6.
- [Commits](sinclairzx81/typebox@0.33.4...0.33.6)

---
updated-dependencies:
- dependency-name: "@sinclair/typebox"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@pinia/testing](https://github.com/vuejs/pinia) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/@pinia/[email protected]...@pinia/[email protected])

---
updated-dependencies:
- dependency-name: "@pinia/testing"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 8.5.11 to 8.5.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [qs](https://github.com/ljharb/qs) from 6.12.3 to 6.13.0.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.12.3...v6.13.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@editorjs/inline-code](https://github.com/editor-js/inline-code) from 1.5.0 to 1.5.1.
- [Commits](https://github.com/editor-js/inline-code/commits)

---
updated-dependencies:
- dependency-name: "@editorjs/inline-code"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Tip  to the "Creating Extensions" section

Adds tip about automatic reloading extensions using the EXTENSIONS_AUTO_RELOAD environment variable.

fixes: #23382

* signed the CLA

* Contribution name in docs
* fix: add policy property in DirectusPermission type

Also remove role property from type

* chore: add EdouardDem in contributors

* Add changeset

---------

Co-authored-by: Rijk van Zanten <[email protected]>
Co-authored-by: Rijk van Zanten <[email protected]>
Co-authored-by: Pascal Jufer <[email protected]>
Bumps [@azure/storage-blob](https://github.com/Azure/azure-sdk-for-js) from 12.23.0 to 12.24.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/storage-blob_12.23.0...@azure/storage-blob_12.24.0)

---
updated-dependencies:
- dependency-name: "@azure/storage-blob"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [sharp](https://github.com/lovell/sharp) from 0.33.4 to 0.33.5.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](lovell/sharp@v0.33.4...v0.33.5)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat(api): add index support

Co-Authored-By: Mahendra Kumar <[email protected]>

* fix(primary key): do not all mutating unique or index

* feat(app): add index selection

* refactor `dopIndex` to use array entry

* add docs

* add changeset

* add missing properties from field object spec

* simplify index checks

* formatting

* fix mssql index query

* fix additional fields being returned in schema

* fix oracle indexing

* only set nullable/not nullable if specifically requested

* Update app/src/lang/translations/en-US.yaml

Co-authored-by: Hannes Küttner <[email protected]>

* Revert "only set nullable/not nullable if specifically requested"

This reverts commit 4726dbb.

* make changeset more explicit

---------

Co-authored-by: Mahendra Kumar <[email protected]>
Co-authored-by: Daniel Biegler <[email protected]>
Co-authored-by: Hannes Küttner <[email protected]>
…23407)

* Update the unread count when un-/archiving

* Add changeset
br41nslug and others added 30 commits October 24, 2024 10:53
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Fetch permissions corresponding to the validated action

* Fetch permission flags for O2M relations

* Only validate access against the primary key field if we can reasonably assume that the user want's to update it

* Filter out `null` selects

* Fix unit test

* Respect action for fields check

Before this, "read" permissions were used when checking permissions for
"updates".

* Adjust options for parseFields in import-export.ts

* Fix comment typo

* Properly fix issue with update requiring pk perms

While in commit 918de2f we ensured the correct perms ("update" perms
instead of "read" perms) are checked for rel item updates, now the update
permission on the primary key field was still required since the primary
key has been part of the payload. This then failed a bit later in the
payload field check performed in the `processPayload` function.
So the proper fix here is to omit the primary key from the payload for
updates (primary key cannot change anyway). With this we can also drop
the fields filter workaround in the `updateMany` method.

Tested with all relationship types.

* Construct the AST ourselves, as we are only interested in all the top level fields of an item, regardless if they relate to any actual DB backed field

* Fix test

* Try to fix import issue in tests

* Adjust recently added test cases

* Clean-up

Basically reverting changes from 918de2f (respecting action) as they are
no longer required with 2290444 (constructing own AST for validating
item access)

* Inline children to make AST construction clearer

* Remove o2mNodes from fetchPermittedAstRootFields as it is no longer needed

* Remove unused import

* Revert changes in `getDBQuery` since they aren't strictly necessary anymore, since every node in the AST is a `FieldNode` now

---------

Co-authored-by: Pascal Jufer <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* add tus support for gcs

* add changeset

* remove unnecessary return types

* resumable wip

* remove tus/utils

* add isPartialUpload for crc32c

* add chunksize restriciton

* highlight keywords in chunksize warning

* remove unnecessary metadata and rename crc32c to hash

* add note regarding recommended chunk size

* refactor to utilize constants

* do not silently delete content on error

* Update docs/self-hosted/config-options.md

Co-authored-by: ian <[email protected]>

* Update packages/storage-driver-gcs/src/index.ts

Co-authored-by: ian <[email protected]>

* fix formatting

---------

Co-authored-by: ian <[email protected]>
* Start work on share permissions

* implement fix for shares

* only allow shares on read

* clean up

* more cleanup

* cleanup

* account for undefined action and collections array

* run formatter

* strip out references to role

* fix linter

* add changeset

* fix linter again

* update readme?

* remove cyclic deps

* bring back support for role

* run linter

* Always generate valid case/when statement even if the filter does not add any conditions

* fallback to public instead of user on no role

* runformatter

* fix mergePermissions

* run formatter

* undo readme

* get rid of this "weird" snake_case 😶

* fix migration

* parallelize awaits and remove unused fields

* run formatter

* add tests to get-permissions-for-share

* format tests

---------

Co-authored-by: Hannes Küttner <[email protected]>
Co-authored-by: daedalus <[email protected]>
* Prevent rendering HTML in comments sidebar

* removed debug logs

* Update app/src/views/private/components/comments-sidebar-detail.vue

Co-authored-by: Hannes Küttner <[email protected]>

* fixed weird gh merge

---------

Co-authored-by: Hannes Küttner <[email protected]>
* Correct wrong assumption about `hasMultiRelationalSort`

* Add changeset

* Rename in other dialects as well
* Fix invalid legacy permissions fetching for comments tagging

* Add changeset

* Use `fetchGlobalAccess` instead

Co-authored-by: Hannes Küttner <[email protected]>

* Update .changeset/tough-snails-accept.md

Co-authored-by: daedalus <[email protected]>

* Fix for users without a role

Co-authored-by: daedalus <[email protected]>

---------

Co-authored-by: Hannes Küttner <[email protected]>
Co-authored-by: daedalus <[email protected]>
* Use integer instead of float for cache buster

* Create cold-chairs-fry.md

* fix broken preview for authenticated access mode

* reword changeset

---------

Co-authored-by: daedalus <[email protected]>
* add tus support to azure

* add changeset

* do not silently delete content on error

* add upper chunksize limit

* Update .changeset/gentle-walls-joke.md

Co-authored-by: ian <[email protected]>

* extract max chunksize to constant

---------

Co-authored-by: ian <[email protected]>
* add basic tus support

* fix first read after authenticated upload

* add changeset

* fix inconsistent chunk size error on subsequent chunks

* ensure correct calculation of total bytes

* ensure upload id is identical between chunked uploads

* be consistent with large number numeric constant format

* 5mb chunksize restriction is inclusive

* reword changeset

* remove default access mode
* add tus support to supabase

* add changeset

* add missing upload url

* add uploadurl within resume upload

* remove unnecessary uploadurl

* Implement custom stream source logic

* extract default chunksize to constant

* reword changeset

---------

Co-authored-by: Hannes Küttner <[email protected]>
* New translations en-us.yaml (Russian)

* New translations en-us.yaml (French)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Spanish, Mexico)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (French)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Polish)

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

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Portuguese)

* New translations en-us.yaml (Norwegian)

* Update source file en-US.yaml

* New translations en-us.yaml (French, Canada)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

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

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (Mongolian)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Spanish)

* New translations en-us.yaml (Spanish)

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (Albanian)

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Arabic)

* Remove empty keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.