Brainslug
87f2edc735
Prevent nested ternary expressions ( #18376 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-05-01 19:07:40 +00:00
Nicola Krumschmidt
3ff71cc34a
Silence prefer builtins and circular dependency warnings when building extensions ( #18366 )
...
* Silence prefer builtins warning
* Silence circular dependency warning if only external files are involved
* Add changeset
2023-04-28 15:07:51 -04:00
Nicola Krumschmidt
76ae228c53
Make readme file name casing consistent ( #18367 )
2023-04-28 15:05:39 -04:00
Nicola Krumschmidt
6c1a4812ca
Instruct users to use the latest version of create-directus-extension ( #18361 )
2023-04-28 12:57:12 -04:00
Nitwel
f56706095a
Fix default values for boolean ( #18357 )
...
* fix default values for boolean
* Add changeset
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-04-28 09:40:03 -04:00
Hannes Küttner
02f0284540
Add related collection link to data model settings ( #18346 )
...
* Add related collection link to data model settings
* Add changeset
* Update .changeset/six-emus-joke.md
* Hide button for self-referencing relations
Co-authored-by: ian <licitdev@gmail.com >
* Use unref instead of .value
* Make typescript happier
---------
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
Co-authored-by: ian <licitdev@gmail.com >
2023-04-27 17:47:36 -04:00
Nicola Krumschmidt
e60c6cff5f
Remove extension config import workaround ( #18349 )
...
* Remove extension config import workaround
* Add changeset
---------
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-04-27 17:20:55 -04:00
Nicola Krumschmidt
af2ce35d67
Add shared javascript file ext constant ( #18350 )
...
* Add shared javascript file ext constant
* Add changeset
2023-04-27 17:18:02 -04:00
Benjamin VIELLARD
c016664ded
Update contributors.yml ( #18345 )
...
username changed from bicouy0 to gbicou
2023-04-27 14:01:13 -04:00
ian
321cd1e9c9
Translate module link name in project settings ( #18343 )
...
* Translate module link name in project settings
* Add changset
2023-04-27 13:14:28 -04:00
rijkvanzanten
cdf8d94ec1
Use past tense in changelog
2023-04-26 17:08:39 -04:00
rijkvanzanten
f4698b5de3
Add changeset for #18310
2023-04-26 17:04:54 -04:00
rijkvanzanten
0f32f4f136
Add changeset for #18316
2023-04-26 16:46:06 -04:00
rijkvanzanten
37d74f96fd
Create changeset for #18328
2023-04-26 16:44:26 -04:00
Rijk van Zanten
abc9d0142f
Install changesets ( #18331 )
...
* Install changesets
* Update contributing guidelines
2023-04-26 16:21:15 -04:00
Aiden Foxx
2f3fb229bc
Correctly set user "auth_data" after auth.update hook ( #18310 )
2023-04-26 21:01:03 +02:00
Brainslug
2ced6b0a0b
Prevent thumbnail duplication ( #18316 )
2023-04-26 20:39:20 +02:00
ian
d168c8d951
Add package initialization warning ( #18328 )
2023-04-26 14:31:25 -04:00
Rijk van Zanten
2bc226d16f
Change license to BSL-1.1 ( #18330 )
...
* Change license to BSL1.1
* Mark major version
* Fix formatting
* Remove duplicate heading
* Update formatting
* Copy paste error
* Update license
* Update license
* Format covenants
* Update readme.md
* Update licenses for packages
* Update readme.md
* Update contributors.yml
OG... but to be clear, rijkvanzanten is the one who really built all of this ❤️
* Tweak license in openapi
* Update packages/specs/src/openapi.yaml
* Add MIT license headers
* Use v10 in examples
* Update additional examples
* Update generate-extensions-entrypoint.test.ts
* Update tests to use latest v9 and v10 versions
* use lowercase for naming consistency
* change casing for api license
* Update migrations doc
* Update dictionary
* Consistent ordering of license field in app/package.json
* Use major version in specs again (but as string)
So it's valid for all v10 versions
* Consolidate readme's
---------
Co-authored-by: Ben Haynes <ben@directus.io >
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: ian <licitdev@gmail.com >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
v10.0.0
2023-04-26 14:10:42 -04:00
rijkvanzanten
381f1c9d8e
v9.26.0
v9.26.0
2023-04-24 16:40:53 -04:00
Rijk van Zanten
3ae3a982f0
New Crowdin updates ( #18295 )
...
* Update source file en-US.yaml
* New translations en-US.yaml (Korean)
* New translations en-US.yaml (Dutch)
* New translations en-US.yaml (French, Canada)
* New translations en-US.yaml (Esperanto)
* New translations en-US.yaml (Nepali)
* New translations en-US.yaml (Chinese Simplified)
* New translations en-US.yaml (Indonesian)
* New translations en-US.yaml (Thai)
* New translations en-US.yaml (English, United Kingdom)
* New translations en-US.yaml (Ukrainian)
* New translations en-US.yaml (Romanian)
* New translations en-US.yaml (French)
* New translations en-US.yaml (Spanish)
* New translations en-US.yaml (Afrikaans)
* 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 (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 (Lithuanian)
* New translations en-US.yaml (Polish)
* New translations en-US.yaml (Russian)
* New translations en-US.yaml (Slovak)
* New translations en-US.yaml (Slovenian)
* New translations en-US.yaml (Serbian (Cyrillic))
* New translations en-US.yaml (Swedish)
* New translations en-US.yaml (Turkish)
* 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 (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 (Estonian)
* New translations en-US.yaml (English, Canada)
* 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))
* New translations en-US.yaml (Spanish, Latin America)
* Update source file en-US.yaml
* New translations en-US.yaml (Czech)
* New translations en-US.yaml (Korean)
* New translations en-US.yaml (Persian)
* New translations en-US.yaml (Persian)
* New translations en-US.yaml (Persian)
* New translations en-US.yaml (Persian)
2023-04-24 16:35:46 -04:00
ian
f850bcbacd
Revert "enabling auto-purge to prevent schema cache issues out-of-the-box ( #18303 )" ( #18308 )
...
This reverts commit 4ccfd2a4ae .
2023-04-24 11:56:52 -04:00
Nitwel
871e7eb954
Improve Permissions in relational Interfaces ( #16373 )
...
* improve permissions check in m2m relations
* improve m2o relations
* More improvements
* finish relational permission rework
* fix field level permissions
* add tests to useRelationPermissions
* remove unused dependency
* fix rename
* fix permissions for translations
* fix disabled check
* ran linter and disabled "vue/one-component-per-file" for use-relation-permissions test
---------
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com >
Co-authored-by: Brainslug <tim@brainslug.nl >
2023-04-24 16:33:28 +02:00
Brainslug
4ccfd2a4ae
enabling auto-purge to prevent schema cache issues out-of-the-box ( #18303 )
2023-04-24 08:40:26 -04:00
José Varela
d01972f4f6
Fix show Tinymce style formats ( #18305 )
...
Because we upgraded to version 5:
https://github.com/directus/directus/pull/18107
And there's a breaking change:
https://github.com/tinymce/tinymce/blob/develop/modules/tinymce/CHANGELOG.md#:~:text=Renamed%20the%20styleselect%20toolbar%20button%20and%20formats%20menu%20item%20to%20styles.%20%23TINY%2D8328
2023-04-24 08:38:20 -04:00
Rijk van Zanten
964e302348
Move formatted-json-value to script[setup] ( #18294 )
2023-04-21 16:07:52 -04:00
Rijk van Zanten
e2301eddf3
Move file display to script[setup] ( #18292 )
2023-04-21 16:05:41 -04:00
Rijk van Zanten
e0d9e17291
Move color display to script[setup] ( #18291 )
2023-04-21 16:01:33 -04:00
Rijk van Zanten
2e7f945d9a
Move collection display to script[setup] ( #18290 )
2023-04-21 15:55:39 -04:00
rijkvanzanten
187f778a4b
Move boolean display to script[setup]
2023-04-21 15:51:05 -04:00
Rijk van Zanten
5e1ca0bf3d
Move app.vue to script[setup] ( #18289 )
2023-04-21 15:50:57 -04:00
Rijk van Zanten
8c8daa89ff
New translations en-US.yaml (Polish) ( #18288 )
2023-04-21 15:42:09 -04:00
Jonathan Schneider
67c4df0e78
[Feat] Flow: Add Mail Templates ( #15829 )
...
* add mail templates to flow (proposal)
* add template placeholder to base
* add translations
* add test
* update lint
* accept cla
* fix mail operation unit test
* eslint fix
* Fix linting
* Add test for custom template and data
* Fix import for ts 5
* Another ts type fix
---------
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
Co-authored-by: ian <licitdev@gmail.com >
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-04-21 15:41:35 -04:00
Nitwel
6e707b7d1b
Fix tabular not properly dealiasing items ( #18186 )
...
* Fix tabular not properly dealiasing items
* run linter
* remove translations edgecase
* Fix linter warnings
* Remove unused var
---------
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2023-04-21 15:13:25 -04:00
Nicola Krumschmidt
b69f380275
Fix extension reloading for local bundle extensions ( #18287 )
...
Fixes #17694
2023-04-21 14:23:53 -04:00
Pascal Jufer
7382530696
Remove misleading contents migration docs for now ( #18264 )
2023-04-21 13:14:45 -04:00
Rijk van Zanten
09bb142acd
New Crowdin updates ( #18279 )
...
* New translations en-US.yaml (Persian)
* New translations en-US.yaml (Turkish)
* New translations en-US.yaml (Korean)
* New translations en-US.yaml (Dutch)
* New translations en-US.yaml (French, Canada)
* New translations en-US.yaml (Nepali)
* New translations en-US.yaml (Chinese Simplified)
* New translations en-US.yaml (Indonesian)
* New translations en-US.yaml (Thai)
* New translations en-US.yaml (English, United Kingdom)
* New translations en-US.yaml (Ukrainian)
* 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 (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 (Lithuanian)
* 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 (Swedish)
* New translations en-US.yaml (Turkish)
* 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 (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 (Estonian)
* New translations en-US.yaml (Hindi)
* New translations en-US.yaml (English, Canada)
* New translations en-US.yaml (Breton)
* New translations en-US.yaml (Bosnian)
* New translations en-US.yaml (Serbian (Latin))
* New translations en-US.yaml (Bengali, India)
* New translations en-US.yaml (Sorani (Kurdish))
* New translations en-US.yaml (Spanish, Latin America)
* Update source file en-US.yaml
2023-04-21 13:13:49 -04:00
Pascal Jufer
27072a1599
Fix the ownership of the workdir in the docker image ( #18275 )
2023-04-21 13:12:37 -04:00
Pascal Jufer
17afb9a3bc
Patch Tuesday 🐸 ( #18260 )
...
* Update `@directus/api` deps (minor)
@aws-sdk/client-ses 3.292.0 → 3.316.0
@godaddy/terminus 4.11.2 → 4.12.0
@rollup/plugin-alias 4.0.3 → 4.0.4
@rollup/plugin-node-resolve 15.0.1 → 15.0.2
@types/node 18.15.3 → 18.15.11
@vitest/coverage-c8 0.29.3 → 0.30.1
axios 1.3.4 → 1.3.6
fs-extra 11.1.0 → 11.1.1
helmet 6.0.1 → 6.1.5
ioredis 5.3.1 → 5.3.2
joi 17.8.4 → 17.9.1
liquidjs 10.6.1 → 10.7.0
marked 4.2.12 → 4.3.0
nanoid 3.3.4 → 3.3.6
rollup 3.19.1 → 3.20.6
sharp 0.31.3 → 0.32.0
vitest 0.29.3 → 0.30.1
vm2 3.9.16 → 3.9.17
* Update `@directus/api` deps (major)
@rollup/plugin-alias 4.0.4 → 5.0.0
@types/inquirer 8.2.6 → 9.0.3
@types/node 18.15.11 → 18.15.12
camelcase 6.3.0 → 7.0.1
chalk 4.1.2 → 5.2.0
commander 9.5.0 → 10.0.1
execa 5.1.1 → 7.1.1
icc 2.0.0 → 3.0.0
inquirer 8.2.5 → 9.1.5
~ldapjs 2.3.3 → 3.0.2~
nanoid 3.3.6 → 4.0.2
~openapi3-ts 3.2.0 → 4.1.1~
ora 5.4.1 → 6.3.0
strip-bom-stream 4.0.0 → 5.0.0
tedious 15.1.3 → 16.0.0
typescript 4.9.5 → 5.0.4
* Update `@directus/app` deps
@babel/core 7.21.3 → 7.21.4
@babel/preset-env 7.20.2 → 7.21.4
@fortawesome/fontawesome-svg-core 6.3.0 → 6.4.0
@fortawesome/free-brands-svg-icons 6.3.0 → 6.4.0
@fullcalendar/core 6.1.4 → 6.1.5
@fullcalendar/daygrid 6.1.4 → 6.1.5
@fullcalendar/interaction 6.1.4 → 6.1.5
@fullcalendar/list 6.1.4 → 6.1.5
@fullcalendar/timegrid 6.1.4 → 6.1.5
@pinia/testing 0.0.15 → 0.0.16
@popperjs/core 2.11.6 → 2.11.7
@storybook/addon-actions 7.0.0-rc.4 → 7.0.6
@storybook/addon-backgrounds 7.0.0-rc.4 → 7.0.6
@storybook/addon-docs 7.0.0-rc.4 → 7.0.6
@storybook/addon-essentials 7.0.0-rc.4 → 7.0.6
@storybook/addon-links 7.0.0-rc.4 → 7.0.6
@storybook/addon-mdx-gfm 7.0.0-rc.4 → 7.0.6
@storybook/addon-measure 7.0.0-rc.4 → 7.0.6
@storybook/addon-outline 7.0.0-rc.4 → 7.0.6
@storybook/client-api 7.0.0-rc.4 → 7.0.6
@storybook/client-logger 7.0.0-rc.4 → 7.0.6
@storybook/vue3 7.0.0-rc.4 → 7.0.6
@storybook/vue3-vite 7.0.0-rc.4 → 7.0.6
@types/diff 5.0.2 → 5.0.3
@types/dompurify 3.0.0 → 3.0.2
@types/lodash 4.14.191 → 4.14.194
@vitejs/plugin-vue 4.0.0 → 4.1.0
@vue/test-utils 2.3.1 → 2.3.2
apexcharts 3.37.1 → 3.39.0
axios 1.3.4 → 1.3.6
dompurify 3.0.1 → 3.0.2
happy-dom 8.9.0 → 9.8.4
marked 4.2.12 → 4.3.0
nanoid 4.0.1 → 4.0.2
pinia 2.0.33 → 2.0.34
sass 1.59.3 → 1.62.0
storybook 7.0.0-rc.4 → 7.0.6
typescript 4.9.5 → 5.0.4
vite 4.1.4 → 4.2.2
vitest 0.29.3 → 0.30.1
webpack 5.76.2 → 5.80.0
* Update root deps
* Update `@directus/composables` deps
* Update `@directus/constant` deps
* Update `create-directus-extension` deps
* Update `@directus/exceptions` deps
* tsconfig workaround: ignoreDeprecations
* Update `@directus/extensions-sdk` deps
* Update `@directus/schema` deps
* Update `@directus/storage` deps
* Update `@directus/storage-driver-azure` deps
* Update `@directus/storage-driver-cloudinary` deps
* Update `@directus/storage-driver-gcs` deps
* Update `@directus/storage-driver-local` deps
* Update `@directus/storage-driver-s3` deps
* Update `@directus/types` deps
* Update `@directus/update-check` deps
* Update `@directus/utils` deps
* tsconfig workaround in schema: ignoreDeprecations
* tsconfig workaround in remaining packages: ignoreDeprecations
* Update `tests-blackbox` deps
* Revert "tsconfig workaround: ignoreDeprecations"
This reverts commit 5d97da55e3 .
* Revert tsconfig override
* Update tsconfig
* Fix imports in @directus/utils
* Fix imports in composables
* Fix imports in extensions-sdk
* Fix imports in @directus/api
* Move RateLimiterAbstract to types import as well
* Bump pnpm to 8.3.1
* Update `docs` deps
> [...] the @vueuse/head package will be deprecated. If you're setting up this package on a new project, you should use the @unhead/vue package directly [...]
* Remove obselete dep `concurrently` from extensions-sdk
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* New day, new updates
Also forgot to include minor updates of deps in `tests-blackbox` in previous
commit
* Fix `api` tests
---------
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
2023-04-21 12:59:27 -04:00
Nitwel
c51a8bc4c3
fix refreshing on save ( #18283 )
2023-04-21 18:41:45 +02:00
Azri Kahar
75e2d0f339
Only show tooltips when sidebar is not open ( #18284 )
2023-04-21 09:29:49 -04:00
Pascal Jufer
ae68a6ee9a
Update the docs on how to install additional packages in docker ( #18276 )
2023-04-21 08:45:44 -04:00
Daniel Duckworth
3ced7627b5
Edit docs about minimum app permissions for clarity ( #18270 )
2023-04-21 11:37:15 +02:00
Brainslug
ac66c49a82
updated vm2 to mitigate https://github.com/patriksimek/vm2/security/advisories/GHSA-ch3r-j5x3-6q2m ( #18274 )
2023-04-20 17:09:54 +02:00
rijkvanzanten
835b0de89d
v9.25.2
v9.25.2
2023-04-20 10:49:53 -04:00
Rijk van Zanten
f855194ed6
New Crowdin updates ( #18221 )
...
* New translations en-US.yaml (Spanish, Mexico)
* New translations en-US.yaml (Spanish, Mexico)
* New translations en-US.yaml (Spanish, Mexico)
* New translations en-US.yaml (Polish)
* New translations en-US.yaml (Spanish, Mexico)
* New translations en-US.yaml (Arabic)
* New translations en-US.yaml (Chinese Simplified)
2023-04-20 10:45:53 -04:00
Andrii Trubai
2e5f063df1
Add possibility of sorting items in tabular view of o2m interface ( #15733 )
...
* Add possibility of sorting items in tabular view of o2m interface
* CLA signing
* in between commit
* allow for resizing on m2m and use existing sort fn
---------
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
Co-authored-by: Nitwel <mail@nitwel.de >
2023-04-20 09:12:48 -04:00
Nitwel
48196db0d2
revert changes made in #18249 ( #18266 )
2023-04-20 08:09:27 -04:00
Nicola Krumschmidt
054188d810
Fix extension reloading ( #18257 )
...
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-04-19 22:45:36 +02:00
Hannes Küttner
7bf87f3df3
Fix a few dev mode warnings ( #18249 )
...
* `list-m2m` make layout optional
* Silence a few more warnings
* Properly type v-button `to`
* Make search prop in field-detail-simple not required
* Set undefined as default value for text in v-text-overflow
* Change initial search value to undefined in field-detail
* Rework field-detail and field-detail-simple to use script setup
* One less ctrl+z
* Remove unnecessary new line
---------
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-04-19 17:13:20 +00:00