Commit Graph

10134 Commits

Author SHA1 Message Date
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
Hannes Küttner
e189118557 Fix m2a/m2a/o2m sorting (#18196)
* Fix m2a/m2a/o2m sorting

* Use `toArray` from @directus/utils

* Fix consequential issue when sorting newly added items

> TypeError: item[relation.value.junctionPrimaryKeyField.field] is undefined

* add test

* Fix linter warnings

* More linter fun!

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Nitwel <mail@nitwel.de>
2023-04-19 17:03:35 +00:00
Rijk van Zanten
8ffb92ffa1 Remove cache flushing on startup (#18238)
* Remove cache flushing on startup

* Flush caches on migrate

* Add current API version to cache key

* Fix expect hashes in test
2023-04-19 12:26:01 -04:00
Nicola Krumschmidt
3b52b0a771 Fall back to "other" group if interface has none (#18256) 2023-04-19 13:42:20 +00:00
Azri Kahar
678c5f57af Use filled star for required asterisks & rating display (#18242) 2023-04-19 08:56:35 +02:00
Azri Kahar
1f2166ab7b Add blackbox test for assets with format=auto query parameter (#18240) 2023-04-18 23:05:04 -04:00
Azri Kahar
6e0d56ed8c fix Action enum import in use-revisions (#18241) 2023-04-19 10:57:03 +08:00
Rijk van Zanten
12e38da419 Don't fail on format=auto without accept header (#18235) 2023-04-18 17:12:46 -04:00
bicouy0
84cb5028c7 Vary on accept when auto converting assets (#18228) (#18229) 2023-04-18 09:10:08 -04:00
Pascal Jufer
882685e831 Add sort comment & Spanish (Mexico) to available languages (#18226)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
2023-04-18 10:32:23 +00:00
Rijk van Zanten
2609c954aa Update hooks.md
Fixes https://github.com/directus/directus/issues/18219
2023-04-17 14:25:11 -04:00
Rijk van Zanten
d4769a1df1 Update docs-suggestions.yml 2023-04-17 11:29:23 -04:00
Rijk van Zanten
549195ed08 Create docs-suggestions.yml (#18218) 2023-04-17 11:28:32 -04:00
Rijk van Zanten
42e1963345 New translations en-US.yaml (Italian) (#18176) 2023-04-17 09:41:04 -04:00
Hannes Küttner
9b4fb996ce Publish all types from packages/* (#18211)
* Publish all types in packages/*

* Re-add main entrypoints and add types

* Clean-up prettier config / editorconfig

- Remove 'useTabs' so prettier will not override settings from editorconfig
- Remove settings in editorconfig which match the defaults anyway

* Remove types entrypoint again

* Update packages/schema/package.json

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-04-17 21:37:17 +08:00
Kevin Lewis
61f7e96c6f Updating the Information Architecture of Docs (#18190)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: bryantgillespie <hey@bryantgillespie.com>
2023-04-17 13:11:25 +00:00
Azri Kahar
ace2ec5937 Add test to verify creating & building extensions with extensions-sdk (#18213)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-04-17 15:07:59 +02:00
Pascal Jufer
73d54991d7 Get Directus version directly via filesystem from directus package (#18164) 2023-04-17 10:09:47 +02:00
Hannes Küttner
d4d175d615 Add loader to logs-siderbar-detail (#18200) 2023-04-15 09:24:02 -04:00
Hannes Küttner
b66eaedbe5 Use import.meta.url instead of __dirname (#18202) 2023-04-15 09:23:24 -04:00
Hannes Küttner
eecb68f2e4 Change translation display userLanguage option default value to proper boolean (#18199) 2023-04-14 18:03:34 -04:00
Rijk van Zanten
c48309ab68 Last eslint tweak (#18198)
* Should be there now

* Format
2023-04-14 17:40:50 -04:00
rijkvanzanten
37658802b7 One more 2023-04-14 17:30:56 -04:00
Rijk van Zanten
bdb1a919e2 White space rules (#18197)
* White space rules

* Auto-fix whitespace linter warnings
2023-04-14 17:21:56 -04:00
Hannes Küttner
5d85a743ff Add autoKey to interface config (#18027)
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-04-14 16:17:10 -04:00
Akshay Sood
5e52d94769 Renamed variable for brevity (#18195)
* Renamed variable for better clarity

* Signed contributors.yml
2023-04-14 16:10:15 -04:00
Jan Arends
0e44ee5239 Add select all option for export (#18160)
* added select all option

* added default value

* removed space for linter

* refactoring: combined emits

* removed unnecessary prefix

* added option to remove all at once

* linter

* Drop support for deselect

* I HAVE OPINIONS

* Revert addition of remove event

* Some more opinions

* Refactor other uses of v-field-list

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-14 15:03:42 -04:00
Hannes Küttner
74adbbc3e8 Prevent duplicate emit from codemirror editors (#18194)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-14 14:56:26 -04:00
Hannes Küttner
1e271fa1d0 Rename system-field[-tree] collection prop to collectionName (#18193) 2023-04-14 14:18:02 -04:00
Azri Kahar
f016e22daf Fix .default is not a function errors (#18188)
* fix .default is not a function errors

* use workaround

* use workaround for the other plugins as well

* upgrade rollup plugin commonjs and terser

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-14 12:43:51 -04:00
Aiden Foxx
8b723f4581 Update contributors.yml (#18189) 2023-04-14 10:40:48 -04:00
Rijk van Zanten
5d3fc18c53 Update bug_report.yml 2023-04-14 09:43:58 -04:00
Rijk van Zanten
4692a0026e Update bug_report.yml 2023-04-14 09:43:46 -04:00
Azri Kahar
04b9fa981b Fix npm init directus-extension (#18187)
* fix inquirer import

* fix dirname

* fix resolved path
2023-04-14 09:13:49 -04:00
Pascal Jufer
7b06636078 Adjust paths in extensions-sdk & publish composables types (#18180)
* Adjust paths in extensions-sdk & publish composables types

* tiny unrelated import clean up

* add get-sdk-version unit test

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-04-14 13:02:07 +00:00
Hannes Küttner
cac64dac6d Fix #18184 (#18185) 2023-04-14 14:35:47 +02:00
rijkvanzanten
c301cfbc82 v9.25.1 v9.25.1 2023-04-13 16:32:58 -04:00
rijkvanzanten
ac1251cc57 Move readme to new wrapper package 2023-04-13 16:27:04 -04:00
rijkvanzanten
4f540b03d0 v9.25.0 v9.25.0 2023-04-13 13:32:44 -04:00