11135 Commits

Author SHA1 Message Date
Rijk van Zanten
c45cd69dd7 v10.8.3 v10.8.3 2023-12-21 14:19:08 -05:00
Rijk van Zanten
23cab496f9 New Crowdin updates (#20507)
* New translations en-us.yaml (Indonesian)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Russian)

* New translations en-us.yaml (Romanian)

* New translations en-us.yaml (Danish)

* New translations en-us.yaml (Romanian)

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (French)

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

* New translations en-us.yaml (Hebrew)

* New translations en-us.yaml (Hebrew)

* 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 (Spanish, Mexico)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Russian)

* New translations en-us.yaml (German)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Turkish)

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

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

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Italian)

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

* New translations en-us.yaml (Romanian)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Danish)

* New translations en-us.yaml (Russian)

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

* New translations en-us.yaml (Spanish)

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

* New translations en-us.yaml (Korean)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Polish)

* 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 Simplified)

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

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

* New translations en-us.yaml (Persian)

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

* New translations en-us.yaml (Thai)

* New translations en-us.yaml (Croatian)

* New translations en-us.yaml (Estonian)

* 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 (Sorani (Kurdish))

* Update source file en-US.yaml

* New translations en-us.yaml (French)

* Update source file en-US.yaml

* New translations en-us.yaml (Italian)

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

* New translations en-us.yaml (French)

* New translations en-us.yaml (Russian)

* New translations en-us.yaml (German)

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

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

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (Japanese)

* New translations en-us.yaml (Japanese)

* Update source file en-US.yaml

* New translations en-us.yaml (Bosnian)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Romanian)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Spanish)

* New translations en-us.yaml (Bulgarian)

* New translations en-us.yaml (Catalan)

* New translations en-us.yaml (Czech)

* New translations en-us.yaml (Danish)

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

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Russian)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Albanian)

* New translations en-us.yaml (Turkish)

* 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 (Portuguese, Brazilian)

* New translations en-us.yaml (Indonesian)

* New translations en-us.yaml (Persian)

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

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

* New translations en-us.yaml (Croatian)

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

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

* New translations en-us.yaml (Bosnian)

* 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 (Spanish, Latin America)
2023-12-21 14:15:57 -05:00
Rijk van Zanten
c222511f1f Update telemetry (#20825)
* Setup shared redis abstraction

* Install directus/memory

* Add mini useEnv util for test mocking purposes

* Export missing class from directus/memory

* Update readme to include kv

* Uninstall memory

* Setup telemetry lib

* Reduce concurrency

* Finalize reporting

* Add tests for send-report

* Add tests for init

* Add tests for tracker

* Add tests for get-item-count

* Add test for wait time

* Add test for get-user-count

* Add test for get-user-item-count

* Fix type issue

* Throw error on non-ok fetch

* Init telemetry on server startup

* Tweak submission logic

* Fix tests, submit version

* Update config-options reference

* Cool kids don't use + in large numbers

* Add changesets

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

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Use vi stubGlobal

* Update api/src/env.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Unstub as well

* Mock telemetry start in app test

* Update api/src/telemetry/types/report.ts

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* Fix default value in env

* Use toBoolean for env var casting

* Don't rely on knex as

Apparently it doesn't work reliably with count()

* Update api/src/telemetry/lib/init-telemetry.ts

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* Use getDatabaseClient for consistent clients

* Rename ingress->url

* Send my apologies to the formatting bot

* Fix version

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-12-21 14:08:42 -05:00
Rijk van Zanten
545d392e93 Deprecate utils/package.js in favor of directus/version (#20840)
* Deprecate utils/package.js in favor of directus/version

* Add changeset

* Drop version console log

* Make info reactive

* Fix import order

* Update directus/version.js

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Fix tests

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-21 13:53:22 -05:00
Kevin Lewis
e0ad84ac96 Make extension directory prefix requirement clear (#20835)
* Add note about directory prefix

* CI
2023-12-21 13:25:36 +00:00
Kevin Lewis
6b94bc79cf Guide fix: specified need to add a sort field on the M2A field (#20834)
* Specified need to add a sort field on the M2A field

* Please the linter

---------

Co-authored-by: Esther Agbaje <53586167+estheragbaje@users.noreply.github.com>
2023-12-21 12:54:53 +00:00
Esther Agbaje
d5b9ba9244 Add Documentation for Extension SDK Composables (#20684)
* add useApi

* update sidebar

* update docs

* update composabeles

* more updates

* updates to docs

* update dictionary

* Update docs/.vitepress/data/sidebar.ts

Co-authored-by: Kevin Lewis <kvn@lws.io>

* Update docs/extensions/sdk-composables.md

Co-authored-by: Kevin Lewis <kvn@lws.io>

* Update docs/extensions/sdk-composables.md

Co-authored-by: Kevin Lewis <kvn@lws.io>

* Update docs/extensions/sdk-composables.md

Co-authored-by: Kevin Lewis <kvn@lws.io>

* Update docs/extensions/sdk-composables.md

Co-authored-by: Kevin Lewis <kvn@lws.io>

* Update docs/extensions/sdk-composables.md

Co-authored-by: Kevin Lewis <kvn@lws.io>

* Update docs/extensions/sdk-composables.md

Co-authored-by: Kevin Lewis <kvn@lws.io>

* Update docs/extensions/sdk-composables.md

Co-authored-by: Kevin Lewis <kvn@lws.io>

* updated headings

* update useApi and useStores

* update useCollection

* updates

* fix docs

* Update docs/dictionary.txt

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update docs/.vitepress/data/sidebar.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* remove links with line numbers

* rearrange extension sidebar

* update composable file name

---------

Co-authored-by: Kevin Lewis <kvn@lws.io>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-21 13:51:04 +01:00
Kevin Lewis
c6238b5e8c Updated breaking changes (#20831)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-21 13:22:06 +01:00
dependabot[bot]
a310ac1acf Bump openapi3-ts from 4.1.2 to 4.2.0 (#20828)
* Bump openapi3-ts from 4.1.2 to 4.2.0

Bumps [openapi3-ts](https://github.com/metadevpro/openapi3-ts) from 4.1.2 to 4.2.0.
- [Release notes](https://github.com/metadevpro/openapi3-ts/releases)
- [Changelog](https://github.com/metadevpro/openapi3-ts/blob/master/Changelog.md)
- [Commits](https://github.com/metadevpro/openapi3-ts/commits)

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

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

* Add changeset

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-21 00:31:13 +00:00
dependabot[bot]
572da8a7be Bump listr2 from 8.0.0 to 8.0.1 (#20826)
Bumps [listr2](https://github.com/listr2/listr2) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/listr2/listr2/releases)
- [Changelog](https://github.com/listr2/listr2/blob/master/release.config.cjs)
- [Commits](https://github.com/listr2/listr2/compare/listr2@8.0.0...listr2@8.0.1)

---
updated-dependencies:
- dependency-name: listr2
  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>
2023-12-21 01:30:59 +01:00
dependabot[bot]
8ac3826dec Bump @aws-sdk/client-ses from 3.477.0 to 3.478.0 (#20827)
Bumps [@aws-sdk/client-ses](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-ses) from 3.477.0 to 3.478.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-ses/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.478.0/clients/client-ses)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-ses"
  dependency-type: direct:production
  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>
2023-12-21 01:29:26 +01:00
Brainslug
a8ef790ea2 Merge pull request from GHSA-qw9g-7549-7wg5
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-12-20 18:32:35 -05:00
Brainslug
a5a1c26ac4 replaced hardcoded versions in the app 2023-12-20 17:58:44 -05:00
Brainslug
c3211fcab6 added version to the API 2023-12-20 17:57:43 -05:00
Pascal Jufer
bfc87448f7 Update json2csv in app (#20822) 2023-12-20 21:47:28 +01:00
Pascal Jufer
0534cc9407 Fix & enhance 'schema apply' output (#20816) 2023-12-20 16:21:36 +01:00
Azri Kahar
af0ff26f0f Update GraphQL validation's error key in translations (#20814) 2023-12-20 14:52:28 +01:00
Nassan Paul
dc997d2dfc fix(#19386): fix cli schema apply display colors (#20792)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-20 14:50:31 +01:00
Azri Kahar
a706292c55 Enable no-constant-binary-expression eslint rule (#20812)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-20 13:24:02 +00:00
Kevin Lewis
6df01a30e4 Fixing broken links, linking to solutions pages (#20806) 2023-12-20 12:11:12 +01:00
daedalus
dd3de6bda6 Categorize the directus_extensions endpoint as a system collection in the sdk (#20793)
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-12-20 02:45:54 +01:00
Pascal Jufer
154776e0ab Update date-fns to 3.0.1 (#20800) 2023-12-20 02:44:46 +01:00
dependabot[bot]
efc66b0e47 Bump typedoc-plugin-markdown from 4.0.0-next.30 to 4.0.0-next.38 (#20799)
Bumps [typedoc-plugin-markdown](https://github.com/tgreyuk/typedoc-plugin-markdown/tree/HEAD/packages/typedoc-plugin-markdown) from 4.0.0-next.30 to 4.0.0-next.38.
- [Release notes](https://github.com/tgreyuk/typedoc-plugin-markdown/releases)
- [Changelog](https://github.com/tgreyuk/typedoc-plugin-markdown/blob/typedoc-plugin-markdown@4.0.0-next.38/packages/typedoc-plugin-markdown/CHANGELOG.md)
- [Commits](https://github.com/tgreyuk/typedoc-plugin-markdown/commits/typedoc-plugin-markdown@4.0.0-next.38/packages/typedoc-plugin-markdown)

---
updated-dependencies:
- dependency-name: typedoc-plugin-markdown
  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>
2023-12-20 01:25:41 +01:00
Pascal Jufer
98532788d5 Selective Patch Tuesday 🐸 (#20796) 2023-12-20 00:26:15 +01:00
Pascal Jufer
dfefb5368a Fix dead links in documentation (#20794) 2023-12-19 18:16:17 +01:00
Kevin Lewis
61c651d874 UI Components Nav Item (#20790) 2023-12-19 11:12:04 +01:00
Kevin Lewis
f4f8a02e2e Broken import fixed (#20789) 2023-12-19 10:43:02 +01:00
Kevin Lewis
59d79787c7 Add docs guides for building modules (#20630)
* Add Create a Custom Portal Module

* Add Use Native Layout Features In Your Modules

* Added changeset

* Pascal's edits

* Update guide imports on extension type pages

* Changed livePreviewMode to a bool

* Please for formatter

* Rename file

* Replace all remaining imports while we're at it

* Finishing touch

* Update docs/guides/extensions/modules-native-layout-features.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-19 09:14:32 +00:00
dependabot[bot]
8148841829 Bump sharp from 0.33.0 to 0.33.1 (#20786)
Bumps [sharp](https://github.com/lovell/sharp) from 0.33.0 to 0.33.1.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.33.0...v0.33.1)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:production
  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>
2023-12-19 02:56:27 +01:00
Mahendra Kumar
251e3e42be fix(sdk): changed keys to keysOrQuery to accept both keys and query in updateItems (#20774)
* fix(sdk): changed keys to keysOrQuery to accept both keys and query in updateItems

* Update .changeset/heavy-meals-poke.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update sdk/src/rest/commands/update/items.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update sdk/src/rest/commands/update/items.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 20:15:26 +01:00
Kevin Lewis
8d1cc722ba Adding blog posts to guides lists (#20779)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 19:00:35 +00:00
Esther Agbaje
33259fd4c4 Add documentation for Directus UI Components (#20675)
Co-authored-by: Kevin Lewis <kvn@lws.io>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 18:04:20 +00:00
weberet
b0f43e8658 Document DB_SSL__CA Environment Variable (#20616)
Co-authored-by: Kevin Lewis <kvn@lws.io>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 17:20:21 +00:00
Wasim Thoufiq
5f554018bd Do not show subdued color on delete collection/field option hover (#20518)
* Remove v-list-item-icon-color vars used in v-list-item

* add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
2023-12-18 10:34:03 -05:00
Brainslug
7d9832c99f Publicly load custom translations (#20780) 2023-12-18 14:19:41 +01:00
Code IT
083a95d52d Add missing pong reply in docs (#20765)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 12:37:48 +00:00
Steve Fan
71032776f9 Add the latest version of oracledb to api/package.json (#19067)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-12-18 12:17:05 +00:00
Gerard Lamusse
bf8408d83b Fix one-to-many table design (#20772)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-18 12:00:11 +00:00
dependabot[bot]
9549fae231 Bump @types/node from 18.16.12 to 18.19.3 (#20777)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.16.12 to 18.19.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  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>
2023-12-18 02:42:45 +01:00
Pascal Jufer
9412ee5096 Split up server startup in cache purge test (#20773) 2023-12-17 23:22:34 +01:00
Gerard Lamusse
f79dbef7c0 Fix example output for array environment syntax prefix (#20771)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-17 13:43:54 +00:00
Pascal Jufer
875bd54ab2 Split up server startup in schema cache test (#20770) 2023-12-16 23:28:34 +01:00
Pascal Jufer
a885ccac01 Update Knex to v3 (#20766) 2023-12-16 02:00:10 +01:00
Pascal Jufer
73ea24e62c Small enhancement to extensions UI (#20763) 2023-12-16 01:31:37 +01:00
Pascal Jufer
863f1866c1 Update Vite to v5 (#20764) 2023-12-16 00:02:14 +01:00
Pascal Jufer
6b07ee29a8 Switch to pnpm 8.12.1 (#20761) 2023-12-15 22:05:31 +01:00
Azri Kahar
b83d23449c Fix boolean attributes for draggable component (#20760)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-15 19:03:30 +00:00
Brainslug
b576c6e5e0 Fixes enabling/disabling extensions (#20677)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-15 17:41:16 +00:00
daedalus
4607a80290 add a --no-install option to the extensions-sdk cli to skip dep install (#20752)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-15 14:02:49 +00:00
daedalus
9769c10a2e do not remove custom devDependencies on bundle add (#20750)
Co-authored-by: Pascal Jufer <5363448+paescuj@users.noreply.github.com>
2023-12-15 10:48:16 +01:00