Commit Graph

6406 Commits

Author SHA1 Message Date
Gloria Rodríguez
425d228f22 Allow user select text (#25510)
Co-authored-by: Florian C. Wachmann <dev@formfcw.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2025-08-06 10:19:16 +02:00
Rijk van Zanten
21f85040ea Run formatter (#25604) 2025-08-05 14:52:35 -04:00
Tim Butterfield
6c3e76f29b Raw group batch mode missing (#25600) 2025-08-05 13:26:58 +02:00
Rijk van Zanten
7d2310badd Finish dependency move (#25583)
* Dangerously update API deps

* Dangerously move app dependencies to pnpm-workspace

* Move all dependencies to catalog

* Sort catalog

* Pnpm update

* Use pnpm 10.14

* Update for zod breaking change

* Fix unhead breaking change

* Downgrade major api upgrades

* Downgrade app major upgrades

* Fix app tests

* Downgrade isolated-vm

* Add changeset

* Fix template in head

* Resolve unhead lang signature

* Downgrade unhead

* Downgrade keyv/redis

It uses a different redis lib under the hood which is incompatible

* Resolve import in test

* Update and move workspace root dependencies

* Update CSS for updated linter rules

* Oops

* Run formatter

* Update rule name

* Run prettier

* Move utils peer to catalog

* Add focus-trap dependency
2025-08-04 18:13:12 -04:00
Copilot
ad407d60c5 Fix code-interface crash when language is reset to null (#25595)
* Initial plan

* Fix code-interface null language handling - prevent .toLowerCase() error

Co-authored-by: rijkvanzanten <9141017+rijkvanzanten@users.noreply.github.com>

* Update tests to pass

* Add changeset

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rijkvanzanten <9141017+rijkvanzanten@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2025-08-04 15:45:26 -04:00
daedalus
2836948dab Update dependency form-data (#25579)
* update form-data

* update subdep form-data

* add changeset

* add form-data to catalog
2025-08-01 19:26:36 +02:00
Rijk van Zanten
3491af9de4 Make tests deterministic, remove @directus/random (#25575)
* Make tests deterministic by dropping random

* Remove random dep

* Drop random package

* Update pnpm lock

* Update app/src/composables/use-permissions/collection/lib/is-action-allowed.test.ts

---------

Co-authored-by: Alex Gaillard <alex@directus.io>
2025-07-31 17:16:40 -04:00
Matthew Rumery
17bf9be79e Add Services Type support for @directus/extensions (#25368)
* feat: add services type

* refactor: replace UserIntegrityCheckFlag from @directus/types

* refactor: replace AbstractServiceOptions from @directus/types

* refactor: replace MutationOptions from @directus/types

* refactor: replace ActionEventParams from @directus/types

* refactor: replace AbstractService from @directus/types

* refactor: replace Webhook from @directus/types

* refactor: replace Range, Stat, ReadOptions, & ChunkedUploadContent from @directus/types

* refactor: replace asset types from @directus/types

* refactor: replace LoginResult from @directus/types

* refactor: replace snapshot types from @directus/types

* refactor: replace Action & PayloadServiceProcessRelationResult from @directus/types

* refactor: replace ExportFormat from @directus/types

* refactor: replace database types from @directus/types

* feat: implement ExtensionsServices within @directus/extensions

* feat: replace QueryOptions from @directus/types

* fix: formatting issue

* fix: adjust extensions services type

* fix: generic type for each service

* fix: typescript errors for missing imports

* refactor: update ReadOptions & ChunkedUploadContext type exports to pull from @directus/types

* refactor: move DirectusError to @directus/types & add DirectusExtensionsError to @directus/types

* feat: add MailService, GraphQLService, SpecificationService, and move required exports to @directus/types

* refactor: move extension types to @directus/types

* refactor: move extension constants to @directus/constants

* refactor: adjust type imports for @directus/composables

* refactor: adjust imports for @directus/extensions-registry

* refactor: adjust import for @directus/errors

* refactor: adjust imports for @directus/themes

* refactor: adjust imports for @directus/extensions-sdk

* refactor: adjust imports for studio app

* feat: implement ExtensionService and migrate types to @directus/types

* fix: revert sdk type changes

* fix: reexport types moved from @directus/extensions to @directus/types

* fix: remove @directus/themes from @directus/extensions

* refactor: move AppField to fields file

* chore: remove @directus/themes from @directus/types

* chore: remove @directus/extensions from @directus/types

* fix: rebase issue with DirectusError generic

* chore: remove @directus/types from sdk

* fix: add missing exports to original packages

* fix: update getAppExtensionChunk return type

* chore: revert DirectusError changes

* chore: revert Collection fields key

* refactor: rename RawSchemaCollection to ApiCollection

* fix: add RawCollection from @directus/types

* fix: import GraphQLParams from @directus/types

* fix: formatting issue

* chore: add changeset

* chore: revert rename of ApiOutput

* Update .changeset/purple-crews-sink.md

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>

* Update .changeset/purple-crews-sink.md

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

* fix: rebase pnpm-lock error

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Alex Gaillard <alex@directus.io>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2025-07-31 12:54:50 -04:00
Alex Gaillard
e109a6f2d6 Release 11.10.0 (#25557) 2025-07-30 17:12:15 +00:00
Rijk van Zanten
1899ed9035 New Crowdin updates (#25398)
* New translations en-us.yaml (Spanish, Mexico)

* New translations en-us.yaml (Spanish)

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

* New translations en-us.yaml (Russian)

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

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Lithuanian)

* New translations en-us.yaml (Portuguese)

* New translations en-us.yaml (Albanian)

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

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

* Update source file en-US.yaml

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

* New translations en-us.yaml (French)

* New translations en-us.yaml (Spanish)

* New translations en-us.yaml (Arabic)

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

* New translations en-us.yaml (Thai)

* New translations en-us.yaml (Russian)

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

* New translations en-us.yaml (Romanian)

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

* New translations en-us.yaml (Korean)

* New translations en-us.yaml (Lithuanian)

* New translations en-us.yaml (Mongolian)

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

* New translations en-us.yaml (Indonesian)

* New translations en-us.yaml (Persian)

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

* New translations en-us.yaml (Marathi)

* New translations en-us.yaml (Croatian)

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

* New translations en-us.yaml (Nepali)

* New translations en-us.yaml (Kurmanji (Kurdish))

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

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Turkish)

* New translations en-us.yaml (Turkish)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Dutch)

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

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Georgian)

* New translations en-us.yaml (Swedish)

* New translations en-us.yaml (Swedish)

* New translations en-us.yaml (Swedish)

* New translations en-us.yaml (Korean)

* New translations en-us.yaml (Korean)

* Update source file en-US.yaml

* New translations en-us.yaml (Afrikaans)

* New translations en-us.yaml (Azerbaijani)

* New translations en-us.yaml (Azerbaijani)

* Update source file en-US.yaml

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Persian)

* Fix pt language string

* Fix lt placeholder

* Remove empty strings

* Update source file en-US.yaml

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Lithuanian)

* New translations en-us.yaml (Portuguese)

* New translations en-us.yaml (Albanian)

* Fix translation errors

* Fix more translation errors

---------

Co-authored-by: Alex Gaillard <alex@directus.io>
2025-07-30 12:55:51 -04:00
Florian C. Wachmann
ef37bf6409 Fix bug with invalid input in v-input (#25548) 2025-07-30 17:09:12 +02:00
Rob Luton
6ede974204 fix issue of icons getting cutoff (#25555) 2025-07-30 13:35:30 +00:00
Florian C. Wachmann
f4eb199c19 fix positioning of notifications on smaller viewports (#25553) 2025-07-30 08:34:04 -04:00
Rob Luton
dacaef8804 Upgrade to latest material symbols (#25512) 2025-07-28 22:32:28 +02:00
Rob Luton
dde586c93e Fix issue preventing click events from working when sorting items (#25503) 2025-07-28 20:33:43 +02:00
Rijk van Zanten
4f94a26b56 Add native support for RTL direction (#25494)
* Setup language_direction user setting

* Add option translations

* Add rtl const

* Return dir from getCurrentLanguage

* Set htmlAttrs for lang / dir

* Update tests, fix fallback

* Add test:watch script

* Add rtl transform in icon file

* Make sure the progress bar animates rtl

Devil's in the details

* Make sure sidebar animates correctly on smaller screens

* Care too much about the details

* Fix directionality on slider

* Fix drawer transitions

* Arrow alignment in settings

* Stacked drawers effect

* Full screen navigation

* Revert menu alignment

* Fix nudging on smoke click

* Add changeset

* Update app/src/components/v-menu.vue

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Format

* Format rebased work

* One more formatting quirk

* Update app/src/lang/translations/en-US.yaml

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Update .changeset/giant-cloths-play.md

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Add translation

* Remove importants

* Improve typing in get-current-language

* Update app/src/views/private/private-view.vue

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Update app/src/views/private/private-view.vue

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>

* Fix tooltip directions

* Refactor user store to setup script

* Add language/dir to userStore

* Replace getCurrentLanguage w/ userStore

* Make html attrs reactive

* Rename language_direction to text_direction

* Appease the robot overlords

* Add text-direction to user type

* Make text-direction not nullable

* Fix arrow alignment

* fix top tooltips

* run formatter

* mirror directional icons

* Fix positioning for rtl

* Fix flow attachments

* Replace magic number with const

* Start refactoring arrows business logic

No way to properly write unit tests for these bits otherwise. Increases the surface of this PR quite a bit, but feels like a necessary evil...

* Move minMaxPoint to separate file

* Move is-point-in-panel out

* Move generateCorner to separate file

* Update docs

* Move range function out

* Move find-best-position to separate file

* Move get-points to separate file

* Move generate-path out of main fn

* Move create-line to separate file

* Rewrite docblock

* Add tests for generate arrows

* Make sure icons are only mirrored in rtl

* Add RTL for flow arrows

* Run formatter

* Remove extraneous setLanguage calls

* Fix mocks

* Fix generate test

* Fix review notes

* Fix pinia test stubbing

* Fix test runner and add coverage for rtl

* Mock global pinia in v-info test

* Remove unused imports

* Remove unused type

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Florian C. Wachmann <dev@formfcw.com>
2025-07-28 13:59:32 -04:00
Florian C. Wachmann
f56d6c534e Improve a11y for anchors, iframes, labels and roles (#25531)
* remove redundant roles

* ensure field is labelled

* improve file input structure for better accessibility

* ensure iframes have title

* update snapshot

* add changset
2025-07-25 10:41:17 -04:00
Rob Luton
c24685449d add tooltip to copy icon associated with flow url endpoint (#25527) 2025-07-24 14:47:54 -04:00
Rob Luton
4464f6adc0 Fix save enabled in drawer when no changes made (#25469)
* o2m - fix save enabled by default

* m2o - fix save enabled by default

* changeset

* move code into existing composables

* combine conditionals

---------

Co-authored-by: Florian C. Wachmann <dev@formfcw.com>
2025-07-24 00:04:41 +08:00
Florian C. Wachmann
867b19ecfd Fix skip link using incorrect href (#25514)
* ensure skip link uses correct href in production

* add changeset

* add test
2025-07-23 11:02:58 -04:00
Florian C. Wachmann
c101cde213 Fix incorrect positioning of notifications (#25499)
* refactor styles to remove direction properties and use flex instead

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2025-07-21 11:22:57 -04:00
Rijk van Zanten
e72483fb76 Add Codecov upload on test CI (#25470)
* Add consistent test:coverage scripts

* Add missing coverage deps

* Submit to codecov

* Update .github/workflows/check.yml

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Add codecov config

* Run formatter, remove branches

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-07-17 16:29:02 -04:00
Florian C. Wachmann
8519911900 Fix bug where M2O displays are cut off (#25477)
* adjust display height in m2o interface to prevent clipping its content

* add changeset
2025-07-17 16:07:29 -04:00
Florian C. Wachmann
59cb1f1171 Prevent text in kanban card from overflowing its container (#25446)
* fix text overflowing its container

* add changeset
2025-07-17 12:28:53 -04:00
Rob Luton
8323ef1c98 Prevent color presets from showing when color picker selected (#25451)
Co-authored-by: formfcw <dev@formfcw.com>
2025-07-16 18:03:49 +02:00
Danton Mariano
d4143bada0 Revert 7adc27a: undo button styling improvement for dark mode (#25444)
Co-authored-by: formfcw <dev@formfcw.com>
2025-07-16 17:32:51 +02:00
Rob Luton
cecc038569 Pass opacity value to color presets interface (#25441) 2025-07-16 17:30:09 +02:00
Florian C. Wachmann
b200ac2399 Fix bug where field template buttons appear unstyled (#25447) 2025-07-16 17:29:07 +02:00
Rijk van Zanten
2edbea9386 Move common dependencies to catalog (#25467)
* Update pnpm to v10

* Update package.json

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Allow builds

* Move common dependencies to catalog

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-15 14:40:28 -04:00
Florian C. Wachmann
86595feacb fix bug caused by fixing inline style for grid-template-columns (#25436) 2025-07-11 09:59:06 -04:00
Matthew Rumery
d4fe32baeb fix: stylelint error in file-info-sidebar-detail 2025-07-10 14:09:23 -06:00
Alex Gaillard
be13d32603 Merge pull request #25370 from directus/florian/cms-1044-logical-properties
Add Stylelint and refactor to use logical properties
2025-07-10 15:33:56 -04:00
Rob Luton
db715fbb8c Merge branch 'main' of github.com:directus/directus into robl/cms-385 2025-07-10 14:06:05 -05:00
Rob Luton
9c03a12e80 add copy id to file details in sidebar 2025-07-10 12:15:08 -05:00
Alex Gaillard
1f4f1268ac Merge branch 'main' into robl/code-wysiwyg 2025-07-10 11:42:33 -04:00
Danton Mariano
a6241829e8 Fix WYSIWYG table button by enabling support for editors in scrollable containers (#25432)
* Fix WYSIWYG table button by enabling support for editors in scrollable containers

* adds changeset

* adds DantonMariano

* improve changeset

---------

Co-authored-by: formfcw <dev@formfcw.com>
2025-07-10 11:39:56 -04:00
Florian C. Wachmann
78ae3db599 Improve custom validation message handling (#25413)
* improve custom validation message handling

* add changeset
2025-07-10 11:38:37 -04:00
Rob Luton
40971c8903 Redirect to profile after registration (#25425)
* redirect to profile after registration

* changeset
2025-07-10 11:38:23 -04:00
Florian C. Wachmann
bd314a3619 Fix handling of initial values in overlay forms with junction fields (#25421)
* improve handling of initial values in overlay forms with junction fields

* add changeset
2025-07-10 11:35:39 -04:00
Florian C. Wachmann
da832319bb Fix “Save as Copy” mutating edits before saving (#25418)
* prevent mutation of edits when saving as copy

* add changeset
2025-07-10 11:35:24 -04:00
Florian C. Wachmann
30a84a39da Fix inconsistent app access permission rules (#25402)
* use minimal permissions when app access enabled during creation

* add changeset

* update changeset
2025-07-10 11:35:00 -04:00
Florian C. Wachmann
9acfa4cd3f Ensure relational interfaces reset saved edits in versions (#25384)
* reset value to value (pk array) of main version if edits are removed and refactor accordingly

* refactor to reuse global targetPKField computed across the file

* update tests

* fix types of touched files

* add changeset
2025-07-10 11:34:42 -04:00
Florian C. Wachmann
7adc27aa85 Improve readability of primary button in dark mode (#25396)
* set text color of primary button to a light color

* add changeset
2025-07-10 11:33:20 -04:00
Florian C. Wachmann
1af693968e Fix tool not appearing in WYSIWYG (#25395)
* create a shared file for toolbar defaults and refactor accordingly

* add changeset
2025-07-10 11:33:07 -04:00
Florian C. Wachmann
e81cca52ad Fix bug where upload modal appears behind the drawer (#25393)
* set z-index for keep-behind class to same value as non-centered v-dialogs

* add changeset
2025-07-10 11:32:52 -04:00
Rob Luton
0b309b5848 Log out user when deleting own account (#25424)
* logout current user when they remove their own account from the profile page

* log out current user if part of batch deletion

* changeset

* remove type that is no longer needed
2025-07-10 11:32:37 -04:00
Rob Luton
e1812757d8 udpate filelist ui after file imported via url (#25429) 2025-07-10 11:31:34 -04:00
Gerard Lamusse
8d757fbcbd Fix translations not displayed correctly on calender layout (#25431)
* Fix translations not displayed correctly on calender layout

* add changeset

---------

Co-authored-by: formfcw <dev@formfcw.com>
2025-07-10 11:31:22 -04:00
Florian C. Wachmann
c3a5cae1c8 Ensure custom validation rules are executed in overlays (#25394)
* enable custom validation rules in the overlay-item (drawer/modal/popover)

* add changeset
2025-07-10 11:30:10 -04:00
ian
46564d7a00 Release 11.9.3 (#25426) 2025-07-09 11:11:46 +00:00