10308 Commits

Author SHA1 Message Date
rijkvanzanten
703c5d9c69 v10.1.0 v10.1.0 2023-05-11 17:22:00 -04:00
Pascal Jufer
7d72d5545b Add release notes generator for changeset (#18564)
* Add release notes generator for changeset

* Fix ref / user logic

* Enhance logic again

* Extend from shared ESM tsconfig

* Rename to @directus/release-notes-generator

* Make versions title a constant

* Rename function

* Filter out 'directus' package

* Final final

* Reset new pressure & random packages

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-05-11 17:20:05 -04:00
Rijk van Zanten
4dcb3f0c68 New Crowdin updates (#18312)
* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

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

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Icelandic)

* New translations en-US.yaml (Icelandic)

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

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

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

* New translations en-US.yaml (Esperanto)

* Update source file en-US.yaml

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Polish)

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

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

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

* New translations en-US.yaml (Afrikaans)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Korean)

* Update source file en-US.yaml

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Polish)

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

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (German)

* New translations en-US.yaml (German)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* New translations en-US.yaml (Albanian)

* Fix translations
2023-05-11 17:05:25 -04:00
Azri Kahar
de290c31c3 Move in block editor exclusive extension (#18525)
* move in block editor

* make lodash import consistent with core

* add translations

* add preview svg

* add changeset

* change interface id

* Update .changeset/ten-wasps-relate.md

* removed unneeded property definitions.

* address couple of warnings

* tweak checkbox color

* Check if file has been selected

* Update style overrides

* Override slightly blue background

* Add red background for delete confirmation

* Fix table add row and column button background color

* override checklist color when hovered

* override color of ripple effect for checkbox

* Fix config being undefined

* tweak popover style

* fix attaches tool

* Revert fix

* fix attaches styling

* Fix inline selection active color

* fix attaches download button

* tweak attaches file styling

* Fix alignment icons font colour

* remove nullable prop

Co-authored-by: ian <licitdev@gmail.com>

* tiny code style tweak

---------

Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: ian <licitdev@gmail.com>
2023-05-11 16:50:41 -04:00
Pascal Jufer
68da9f9b09 Add folder navigation to files / image selector interfaces (#18320)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
2023-05-11 20:39:19 +00:00
Brainslug
110413e473 clear item cache when permissions change (#18526)
* clear item cache when permissions change

* Create slow-timers-fold.md

* Add tests

---------

Co-authored-by: ian <licitdev@gmail.com>
2023-05-12 01:18:40 +08:00
Hannes Küttner
51ec0b1453 Fix unexpected modelValue emit if no checkbox value is set (#18552)
* Fix unexpected modelValue emit if no checkbox value is set

* Add changeset
2023-05-11 12:54:42 -04:00
Hannes Küttner
1a4d4b8b78 Fix useCustomSelectionMultiple #18553 (#18554)
* Fix `useCustomSelectionMultiple` when modifying a previously unselected custom value

* Add changeset
2023-05-11 12:51:12 -04:00
ian
d16c389698 Stub tests for data packages (#18549) 2023-05-11 17:47:49 +08:00
Rijk van Zanten
5cf2c0d724 Add feature request workflow to contributing guidelines (#18528)
* Point to docs hosted C&C

* Point to hosted contributing guidelines

* Remove outdated information

This is incorrect, so does more harm than good imo

* Update contributing guidelines to add feature requests flow

* Lil nicer to read

* Add missing words to dict

* Update docs/contributing/code-of-conduct.md

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

* Update docs/contributing/introduction.md

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

* Update docs/contributing/pull-request-process.md

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

* Update docs/contributing/feature-request-process.md

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

* Update docs/contributing/feature-request-process.md

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

* Update docs/contributing/pull-request-process.md

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

* Fix license/version for new packages (#18536)

* Standardize TSConfig use (#18538)

* Use tsconfig.prod.json in packages

* Use prod tsconfig in api

* Install node types in storage

* Use vitest run instead of --watch=false (#18540)

* Remove local file

* Revert "Use vitest run instead of --watch=false (#18540)" (#18542)

This reverts commit 97f0af669e.

* Setup boilerplate for data (#18541)

* Setup boilerplate for data

* Update readme

* Fix directory link

* Final tweaks from Ben

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Kevin Lewis <kvn@lws.io>
2023-05-10 15:22:57 -04:00
Rijk van Zanten
93e5421425 Setup boilerplate for data (#18541)
* Setup boilerplate for data

* Update readme

* Fix directory link
2023-05-10 14:30:53 -04:00
Rijk van Zanten
20912f1645 Revert "Use vitest run instead of --watch=false (#18540)" (#18542)
This reverts commit 97f0af669e.
2023-05-10 13:33:28 -04:00
rijkvanzanten
5fc6a8e87f Remove local file 2023-05-10 13:29:33 -04:00
Rijk van Zanten
97f0af669e Use vitest run instead of --watch=false (#18540) 2023-05-10 13:24:30 -04:00
Rijk van Zanten
50e2c4220d Standardize TSConfig use (#18538)
* Use tsconfig.prod.json in packages

* Use prod tsconfig in api

* Install node types in storage
2023-05-10 13:22:30 -04:00
Rijk van Zanten
60dacef955 Fix license/version for new packages (#18536) 2023-05-10 12:49:01 -04:00
Rijk van Zanten
138f8a7931 Rename draft-requests.yml to feature-requests.yml 2023-05-10 12:04:33 -04:00
Azri Kahar
7c4556c8af Move in panels exclusive extensions (#18522)
* move in bar chart

* move in pie chart

* fix color generator

* move in line chart

* fix line chart when color is unset

* move in meter

* fix meter panel when color is unset

* fix insights initial refresh interval

* add changeset

* watch data in pie chart panel

* Update app/src/panels/pie-chart/panel-pie-chart.vue

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* unify function prop type for relevant panels

based on existing type in time series panel

* abstract type for panel function prop

* abstract conditional fill operators

* tweak and add comment in monoThemeGenerator

* Update app/src/panels/pie-chart/panel-pie-chart.vue

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Update app/src/panels/meter/panel-meter.vue

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* add comment for some magic numbers

* use past tense in changeset

* removed cloud exclusive banner from docs

* updated changeset

* fixed console error "[Vue warn]: Missing required prop"

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-05-10 11:37:42 -04:00
Azri Kahar
9d6b3e573d Move in kanban layout exclusive extension (#18516)
* port & refactor kanban layout from extensions

* add danger styling to delete group

* remove todos

* add changeset

* remove misleading active styling on group

* allow non-relational editing of group

* only show delete group when relational

* fix group sorting

* tweak changeGroupSort code style

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Update app/src/layouts/kanban/index.ts

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Update app/src/layouts/kanban/index.ts

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Update app/src/layouts/kanban/index.ts

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Update app/src/layouts/kanban/index.ts

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* remove redundant changeGroupTitle function

as it was actually superseded by editGroup function

* remove optional chaining for prop functions

* tweak isRelational logic

* use past tense in changeset

* remove cloud exclusive banner from docs

* Changed group background color

* disabled add group dialog

* hide add button in groups for now

* allow group sorting for choices

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-05-10 11:34:10 -04:00
Nicola Krumschmidt
0bc16ef304 Fix interface options that use a code editor (#18535) 2023-05-10 11:29:13 -04:00
Rijk van Zanten
b56fc107a5 Add Pressure-based rate limiter (#17873)
* Start setting up @directus/pressure

* Build pressure middleware

* Add basic readme

* Install @directus/pressure

* Fix this binding

* Experiment

* Add defaults util

* Cleanup

* Fix export

* Use directus defaults

* Start tests

* Add random-utils package

* Finish testing for monitor

* Add prod deployment

* Stop building test files in prod

* My favorite

* Integrate pressure handler

* Add decent defaults

* Add retry header + custom error support

* Clean-up merge conflict & sort imports

* Fix build

* Remove default value for retry after

* Verify sampleInterval value

* ran eslint

* updated package lock

* updated vitest

* Create slimy-zebras-jam.md

* Added basic docs for config options

* updated pnpm lock and changeset

* Update & align new packages

* Update .changeset/slimy-zebras-jam.md

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-05-10 14:17:53 +00:00
Azri Kahar
3737d59c02 re-add default value for notification item type (#18532) 2023-05-10 12:00:02 +02:00
Moritz
6c216b1a82 Fixed typo in docs about "Batch Notifications" (#18531)
* Fixed typo in docs about "Batch Notifications"

* Signed CLA - ChuckMoe

* Create unlucky-penguins-return.md

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-10 11:09:40 +02:00
Rijk van Zanten
06a765045b Rename feature-requests.yml to draft-requests.yml 2023-05-08 16:25:45 -04:00
Rijk van Zanten
58cdc7c8da Update discussion/issue links (#18520)
* Issue template links

* Update link in nav sidebar

* Create metal-chairs-push.md
2023-05-08 16:08:41 -04:00
lucasdon
e7c6186540 Update next-13.md (#18512)
* Update next-13.md

update fieldname to match example-code

* Update contributors.yml
2023-05-08 11:42:35 +02:00
Nicola Krumschmidt
7994d36453 Convert fields store to setup function (#18502) 2023-05-06 02:01:11 +02:00
Rijk van Zanten
776682fc06 TS Errors part 5 (#18507)
* Datetime interface

* Couple more errors

* list/

* Map

* Presentation links

* Select dropdown

* Select multiple

* Select radio

* Translations

* Calendar layout

* Cards layout

* Map layout
2023-05-05 16:10:21 -04:00
Tim Spickermann
d633e11631 Fix field presets for relational fields are not working (#16560)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-05-05 17:19:46 +02:00
Brainslug
d177938508 Overflow in manual flow's confirmation dialog (#18503)
* added scrollbar to flow confirm dialog

* Create chatty-clocks-kick.md

* moved override into "v-card" component

* Update app/src/interfaces/input-rich-text-html/input-rich-text-html.vue

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

* Update .changeset/chatty-clocks-kick.md

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-05-05 15:01:31 +00:00
Nicola Krumschmidt
b514136ff7 Only render form field if field is present (#18500) 2023-05-05 09:18:32 -04:00
Nicola Krumschmidt
2e5a4fd804 Convert latency store to setup function (#18505) 2023-05-05 09:16:53 -04:00
Nicola Krumschmidt
84bdf1e7b7 Remove unnecessary key props (#18501) 2023-05-05 09:16:34 -04:00
Nicola Krumschmidt
608255d151 Convert flows store to setup function (#18504) 2023-05-05 09:13:09 -04:00
Azri Kahar
f08a54c32f Fix app hydration for users with null language (#18493) 2023-05-05 07:55:50 +02:00
Rijk van Zanten
88861f8fce TS Errors part 5 (#18491) 2023-05-04 19:41:23 -04:00
Rijk van Zanten
48ad7b738e TS Errors part 4 (#18490)
* Fix type error in datetime display

* Fix TS errors in formatted-value

* Fix TS error in mime-type

* Fix TS error in rating display

* related-values

* Fix TS errors in related-values

* translations/index

* translations.vue

* system-field-tree

* System-field

* input-component

* Fix input-group

* Fix nodes

* Fix system-filter

* System-folder

* System interface options

* Last couple in one commit
2023-05-04 18:30:28 -04:00
Rijk van Zanten
7b98b66f76 TS Errors part 3 (#18489)
* Fix type errors in api

* Fix typo

* Fix TS errors in date-picker

* Fix TS error in v-field-template

* Fix TS error in form-field-interface

* Fix TS errors in form-field-x

* Fix TS errors in v-form

* Fix type errors in v-table

* Fix TS errors in v-upload

* Fix TS error in use-preset

* Fix import in use-relation-permission

* Fix TS error in use-shortcut

* Fix TS error in src/hydrate
2023-05-04 17:31:12 -04:00
Nicola Krumschmidt
ba7a4f642a Convert app store to setup function (#18481) 2023-05-04 17:26:26 -04:00
Rijk van Zanten
508d8d6f07 TS errors part 2 (#18486)
* Fix TS error in src/views/shared/shared-view.vue

* Fix TS errors in src/views/public/public-view.vue

* Fix TS errors in src/views/private/components/users-invite.vue

* Fix TS errors in revisions-drawer

* Fix TS errors in revisions-drawer-updates

* Fix TS error in revisions-drawer-detail

* Fix TS errors in revisions-date-group

* Fix TS error in revision-item
2023-05-04 15:26:27 -04:00
Nicola Krumschmidt
a65557bb53 Convert collections store to setup function (#18482) 2023-05-04 13:54:15 -04:00
Rijk van Zanten
e67f5097bb Fix TS errors in Views (part 1) (#18469)
* Fix type errors in views/comment-input

* Fix TS error in comment-item

* Fix missing import

* Fix ts error in comments-sidebar-detail

* Expect collectionInfo to exist

* Fix TS error

* Fix TS error

* Fix TS error

* Fix TS error

* Fix TS error

* Fix TS error

* Fix TS error

* Fix TS error

* Fix TS error

* Make render-template 100% type error free

* Align User type in comment-input

* Revert change in userName util and fix user display instead

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-04 13:53:38 -04:00
Brainslug
4d1d0e61dd Updated vitest (#18483)
* updated vitest to 0.31.0

* Create late-tables-call.md
2023-05-04 11:29:54 -04:00
Nicola Krumschmidt
1f49d9528f Remove unused storage dependency from utils package (#18480) 2023-05-04 10:14:02 -04:00
Pascal Jufer
708198ed5a Follow-up fix after TS error fixes in routes (#18479) 2023-05-04 08:20:18 -04:00
Arthur Yidi
13433b6ea7 Graceful database shutdown for bootstrap CLI (#18465)
* graceful shutdown for boostrap cli

changeset

sign contributors

* Update changeset

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-04 13:20:23 +02:00
Pascal Jufer
e783cd153f Clean-up and fixes after script[setup] migration (#18473) 2023-05-04 11:38:36 +02:00
Pascal Jufer
4e916aec62 Follow-up fixes after TS error fixes in stores (#18474) 2023-05-03 19:51:32 -04:00
Rijk van Zanten
beb60bcef0 Fix TS errors in routes (#18468) 2023-05-03 14:37:31 -04:00
Rijk van Zanten
9294924b56 Fix ts errors in stores (#18467) 2023-05-03 14:31:49 -04:00