ian
ea857563ad
Fix incorrect endpoints for system collections ( #18657 )
...
* Fix endpoints for system collections in kanban layout
* Fix other occurrences
* Fix item route for system collections in kanban layout
* Add changeset
* Remove redundant string interpolation
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* Extract getItemRoute as an app util
* Remove empty line
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
---------
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-05-19 16:01:11 +00:00
Pascal Jufer
2e647d80e6
Patch Tuesday 🐸 ( #18643 )
...
* Update `directus-monorepo` deps
* Update `@directus/api` deps
* Update `@directus/app` deps
* Update `@directus/composables` deps
* Update `create-directus-extension` deps
* Update `@directus/exceptions` deps
* Update `@directus/data` deps
* Update `@directus/data-driver-postgres` deps
* Update `@directus/extensions-sdk` deps
* Update `@directus/pressure` deps
* Update `@directus/random` deps
* Update `@directus/release-notes-generator` 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
* Update `docs` deps
* Update `tests-blackbox` deps
* Bump pnpm to 8.5.1
* Bump build-push-action in release workflow to v4
* Assign new spy instances before each test
See https://github.com/vitest-dev/vitest/pull/3386
* Create clean-needles-nail.md
* Remove leftover 'beforeAll' imports
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
---------
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2023-05-19 10:48:21 -04:00
Rijk van Zanten
4c45f96a13
Properly paginate on flow logs ( #18652 )
...
* Properly paginate on flow logs
* No time for pie
* Add changset
* Skip redundant fetching of created revision
* Update app/src/composables/use-revisions.ts
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* Consistent spacing between revisions/flows
---------
Co-authored-by: ian <licitdev@gmail.com >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
2023-05-19 10:09:06 -04:00
rijkvanzanten
ac09abbae8
Re-enable clearscreen
...
It's currently preventing ctrl+c in certain terminal emulators, so better to leave it out for now
2023-05-19 09:51:58 -04:00
ian
cf1d6a640d
Remove server info ( #18648 )
...
* Remove OS info
* Add changeset
* Update unit test
* Remove Directus version
* Remove unused dependency
* Update changeset
* Update example in docs
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
* Update changeset
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-05-18 19:28:48 +00:00
Hannes Küttner
164c9c2f80
Fix group-accordion value initialization ( #18638 )
...
* Fix `group-accordion` `groupValue` initialization
* Add changeset
2023-05-17 10:15:26 -04:00
Hannes Küttner
6e09cc5def
Bump @sindresorhus/slugify to 2.2.1 ( #18639 )
2023-05-17 14:28:12 +02:00
rijkvanzanten
fa8c914978
v10.1.1
2023-05-16 14:03:02 -04:00
Brainslug
bc66343e20
Fix api call for insights list panel ( #18631 )
...
* fix api call for panel list
* Create many-shoes-pull.md
2023-05-16 13:50:45 -04:00
Tim Butterfield
97d5ffd9b4
Use batch mode in extensions ( #18624 )
...
* Use batch mode in extensions
* timio23 signed agreement
* addressed lint warnings
* Create rude-bees-exercise.md
2023-05-16 12:30:56 -04:00
Matthew Rumery
9222fca4b8
Add Expand/Collapse to collection items in data model ( #18547 )
...
* feat: add ability to collapse nested data-model items
* Move collapse toggle to top level row
* Add changeset
---------
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2023-05-16 12:23:24 -04:00
Brainslug
7c88406c5b
Add sidebar shadow for kanban layout ( #18539 )
2023-05-16 16:54:26 +02:00
ian
5c2b4e82a0
Fix invalid field types in grouping for kanban layout ( #18602 )
...
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
2023-05-16 14:31:50 +02:00
Pascal Jufer
94c925c9a4
Fix default values for interfaces & display ( #18611 )
...
* Fix default values for interfaces & display
* Create nine-walls-sing.md
* Update .changeset/nine-walls-sing.md
---------
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
2023-05-16 20:04:01 +08:00
Pascal Jufer
b3cf23acff
Show options for list & map interfaces again ( #18603 )
...
* Fix options for list & map interfaces
* Create short-boxes-rescue.md
* Outsource Vue component check to utils
* No need for explicit comparation
* Depend on `typeof` instead of `instanceof` to check Vue comp
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com >
* make linter happy
---------
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com >
Co-authored-by: Brainslug <tim@brainslug.nl >
2023-05-16 12:19:04 +02:00
Pascal Jufer
56ef14f82a
Default to null in forms if interface itself has no default value ( #18610 )
...
* Default to null in forms if interface itself has no default value
* Remove unecessary default values
* Create nervous-humans-leave.md
2023-05-15 16:34:31 -04:00
ian
0955e7fca2
Fix deselecting options for kanban layout ( #18600 )
...
* Fix deselecting options for kanban layout
* Add changeset
* Removing unnecessary optional chaining operator
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-05-15 16:13:18 -04:00
Pascal Jufer
d119f5d501
Update to Vue 3.3 ( #18588 )
...
* Update to Vue 3.3
* Create fresh-hotels-mate.md
* Update eslint-plugin-vue
* Replace rollup-plugin-vue with @vitejs/plugin-vue
2023-05-15 14:19:12 -04:00
Pascal Jufer
7acbbc70bc
Fix drag & drop upload to the root folder in the file library ( #18601 )
...
* Readd fix for DND upload to root folder in file library
* Create happy-months-dream.md
2023-05-15 21:04:55 +08:00
Pascal Jufer
da4ad08a91
Use same ordering of script props in all components ( #18590 )
...
- Following official docs: https://vuejs.org/guide/typescript/composition-api.html#typing-component-props
- For the sake of consistency, e.g. so that it's easily "grep-able"
2023-05-15 14:22:28 +02:00
Pascal Jufer
098dd359af
Add missing translation in presentation-notice interface ( #18591 )
...
* Add missing translation for presentation-notice interface
* Create gentle-kangaroos-appear.md
* Update gentle-kangaroos-appear.md
2023-05-15 15:53:13 +08:00
ian
d5823bd4c1
Fix users-invite component's incorrect null check ( #18583 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-05-13 00:16:30 +00:00
Pascal Jufer
fb6452147b
Consolidate same condition in file item route to prevent render issue ( #18581 )
...
* Consolidate same condition in file item route to prevent render issue
* Create forty-baboons-flash.md
2023-05-12 15:10:00 -04:00
Brainslug
af55402680
Adding a maximum for query limit ( #17309 )
...
* Adding a maximum for query limit
* fixed bad env check
* using the getEnv function to make it better testable
* updated sanitize-query tests
* added tests for the validate query function
* Added DEFAULT_QUERY_LIMIT as fallback instead
* make the linter happy
* accept infinity as max_query_limit
* fixed merge conflicts
* added missing import
* moved docs PR into main repo
* added missing import
* renamed vars
* basic page size limiting
* Update app/src/layouts/cards/cards.vue
* Update app/src/layouts/map/map.vue
* Update app/src/layouts/tabular/tabular.vue
* Update app/src/layouts/tabular/tabular.vue
* Create paginate util
* extracted page size logic to composable and implemented default usage in app
* updated paginate utility
* using the new fetch-all utility
* removed limit: -1 for api calls that do not support it
* fix linter
* removed console log
* making the linter happy
* Create loud-flowers-yawn.md
* Add tests for no / unlimited limit
* Cover all cases for max limit in sanitizeQuery
* Get rid of non-null assertion
* added test for composable
* Update var names in documentation
* replace hardcoded limit default with env var
* update default page size behavior
* fixed test
* update server info api reference
* include queryLimit in graphql server info
* use configured max limit in calendar layout
* use configured max limit in kanban layout
* account for max query limit in use-revisions
---------
Co-authored-by: ian <licitdev@gmail.com >
Co-authored-by: rijkvanzanten <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-12 21:59:03 +08:00
rijkvanzanten
703c5d9c69
v10.1.0
2023-05-11 17:22:00 -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
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
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
Rijk van Zanten
97f0af669e
Use vitest run instead of --watch=false ( #18540 )
2023-05-10 13:24:30 -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
Azri Kahar
3737d59c02
re-add default value for notification item type ( #18532 )
2023-05-10 12:00:02 +02: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
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