4902 Commits

Author SHA1 Message Date
rijkvanzanten
228a5ca15f v9.19.1 2022-10-22 13:10:18 -04:00
ian
97b7357a16 Update extensions-sdk in api and app (#16116)
* Update extensions-sdk in api and app

* Use workspace reference

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-10-22 12:34:16 -04:00
rijkvanzanten
d286bd7fb7 v9.19.0 2022-10-21 15:40:44 -04:00
rijkvanzanten
c788cfe4bd Update in-app docs 2022-10-21 15:38:55 -04:00
Rijk van Zanten
6ed7f61990 New Crowdin updates (#15712)
* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Spanish)

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

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Hindi)

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

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

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Italian)

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

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

* Update source file en-US.yaml

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Polish)

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

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

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

* 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 (Spanish, Mexico)

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

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Korean)

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

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

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

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Bengali, India)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Bengali, India)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Dutch)

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

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

* Update source file en-US.yaml

* New translations en-US.yaml (French)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Turkish)

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

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Spanish)

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

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Korean)

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

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Czech)

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

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

* Update source file en-US.yaml

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Nepali)

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

* New translations en-US.yaml (Bosnian)

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

* New translations en-US.yaml (Bosnian)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Vietnamese)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Portuguese)

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

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Spanish)

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

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Dutch)

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

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

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (German)

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

* New translations en-US.yaml (Sorani (Kurdish))

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

* New translations en-US.yaml (Bosnian)

* Update source file en-US.yaml

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

* 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 (Portuguese, Brazilian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Chinese Traditional)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Persian)

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

* New translations en-US.yaml (Thai)

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

* New translations en-US.yaml (Spanish)

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

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Ukrainian)

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

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

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Nepali)

* 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 (French, Canada)

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Serbian (Latin))

* New translations en-US.yaml (Sorani (Kurdish))

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

* New translations en-US.yaml (Bosnian)

* Update source file en-US.yaml

* New translations en-US.yaml (Hungarian)

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

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Hungarian)
2022-10-21 15:35:03 -04:00
Connor
1948ea09ce Update public-view.vue (#16078)
Fix Root URL for Background Image on Public Page
2022-10-20 10:18:43 -04:00
Rijk van Zanten
2d104e933b Patch Tuesday 🐸 (#16052)
* Update API non-majors

* Update major changes

* Temp fix for type warning in sdk

* Resolve missing new keyword in GraphQLNonNull use

* Lock versions in api

* Update and lock versions in shared

* Update lockfile

* Fix build type errors in api

* Update app patches/minors

* Upgrade major versions

* Lock versions

* Upgrade root deps

* Update packages

* Switch from pino-colada to pino-pretty

* Update snapshots

* Fix globby sync usage

* Remove globals from jest config

* No ranges

* Revert "Remove globals from jest config"

This reverts commit e249e2c8fe.

* Revert "Upgrade root deps"

This reverts commit 62add28a85.

* Update non-jest stuff

* We'll keep trying

* Update globby to latest minor only

* Test on all vendors

* Revert test on all vendors

* Fix linting

* Preserve request log format

* Preserve existing timestamp format and allow configuration

* Use lodash merge to allow for nested objects

Co-authored-by: ian <licitdev@gmail.com>
2022-10-20 09:31:17 -04:00
Azri Kahar
7d7a7308ae reset selections for manual trigger (#16069) 2022-10-20 09:09:48 -04:00
ian
0f6ed82953 Optimise data model sorting (#16039)
* Add collections batch update endpoint

* Use collections batch update when sorting in data model

* Add autoPurgeSystemCache option

* Change type to false for consistency

* Refactor to InvalidPayloadException

* Add collection batch update test

* Bump default max payload size to 1mb

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-18 19:19:36 +00:00
Azri Kahar
175c7ab556 Add try/catch block to Users Module navigation and system-scope interface (#16037)
* add try/catch to users navigation

* add try/catch to system-scope interface
2022-10-18 10:34:46 -04:00
Azri Kahar
3d6fcf360c Fix extensions translations and time-series panel (#16030)
* panel-meter

* layout-kanban

* fix function translation in time series panel
2022-10-17 14:00:08 -04:00
Brainslug
43578424a4 split items on paste for _in and _nin (#15701)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-17 10:40:57 +02:00
Azri Kahar
18bf1344e1 Set special flags when configuring db-only fields (#15640)
Co-authored-by: ian <licitdev@gmail.com>
2022-10-15 12:15:27 +08:00
Azri Kahar
372d042a48 remove warning type for empty presets page (#15571)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-14 23:25:07 -04:00
Azri Kahar
84870c90ef Map cluster and calendar drag highlight color tweak (#15680)
* update map cluster color

* add fc-highlight-color for drag highlight

* don't use cssVar due to dark mode
2022-10-14 23:16:08 -04:00
Azri Kahar
7fc4613379 use singular/plural translation in M2A interface (#15681) 2022-10-14 23:15:39 -04:00
José Varela
da2998a7e7 Allow custom label for auth provider (#15673)
* Allow to pass custom label for auth provider

* Add tests

* Update api/src/cli/utils/create-env/env-stub.liquid

* Fix tests

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2022-10-14 23:14:00 -04:00
Azri Kahar
9ee740e2c5 fix flow operations staged edits (#15662) 2022-10-14 23:02:57 -04:00
Andrey Trubay
7dac215219 Layout fix (#15729)
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2022-10-14 22:55:04 -04:00
Nitwel
64901d736c Fix scrolling on dialog (#15823)
* fix scrolling on dialog

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

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-15 02:36:01 +00:00
Nitwel
990b26cb78 fix non viewable items (#15824) 2022-10-14 22:27:27 -04:00
Azri Kahar
bb51d5a618 Reset junction collection/fields for field relationships with junction table (#15904)
* use `localType` to disable related collection in m2m

this is because `localType` dictates the relationship type (eg. m2m, files), but `type` was only field type (eg. alias, string)

* reset files junction when re-enabling auto fill

* prevent m2m clearing related collection

When re-enabled auto-fill, the updates only contain the autofill, not the m2o related collection value, so it was unintentionally resetting the value even when we are only toggling autofill

* fix autofill for translations

* fix m2a junction autofill toggles

* use getCurrent instead of state

* basic test for fieldDetailStore

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-15 01:56:03 +00:00
Azri Kahar
dc7c62f0ef Allow triggering manual flow without selection(s) (#15977)
* allow running manual flow without selection

* test for flows store

* update no items selected tooltip
2022-10-14 21:47:54 -04:00
Azri Kahar
67c3834783 Add search to field creation drawer (#15981)
* add search to field creation drawer

* lowercase id just in case for custom interfaces
2022-10-14 21:44:14 -04:00
Azri Kahar
37b1e99ed8 Remove handleObject default in render-template (#15999) 2022-10-14 19:29:40 -04:00
Nitwel
a0e2801501 Fix empty form info on translations (#15757)
* fix empty form info

* hide circle

* Allow setting prop icon to false in v-info

* Add inline prop to v-form to disable info icon

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-14 19:18:06 -04:00
Nitwel
413d21fe4b treat empty array as null on relational field (#15958)
* treat empty array as null on relational field

* Run prettier

* add unit test

* Fix linter warnings

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-10-14 18:38:53 +00:00
Nitwel
64f60a007a use right collection for filter (#16002) 2022-10-14 14:33:24 -04:00
Vincent Kempers
03d65e8363 Fix and improve raw value editor (#15868)
* this works in the form-field setting up for refactor

* refactored the useRaw and made form-field-raw-editor

* add defaults

* add tests for render submitting and cancelling

* add isNil

* delete the comment

* add a cancel button

* change let to const

* add the if statement when it's not a object

* delete the .raw-value and place it in the raw-editor form field

* rename submit to setRawValue

* change submit to set-raw-value

* add a possibility to add a placeholder to the system-raw-editor

* implement the system-raw-editor to the form-field-raw-editor

* update the snapshot and fix the emitted tests

* found out we can disable the gutter and line-numbers

* add a language prop to the system when it's not defined it should default to mustache

* delete style; add language and add type

* update the html in tests

* add input-code for the extended validation

* add default value

* Update form-field-raw-editor.vue language to plaintext

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* update test

Co-authored-by: Vincent Kempers <vincentkempers@vincents-mbp.lan>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-14 14:17:24 -04:00
Connor
74b60c9154 Add Bosnian to available languages (#15993)
Fixes #15963
2022-10-13 15:31:23 -04:00
Azri Kahar
b99e8f02d4 Allow removing existing link by clearing URL (#15880) 2022-10-12 16:13:16 -04:00
Azri Kahar
027696dd65 fix workspace size logic (#15637) 2022-10-12 14:42:39 -04:00
Nitwel
08db8fea5d Fix translation display (#15951)
* fix translation display

* Fix linter warnings

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-10-12 17:10:21 +00:00
Nitwel
fb58fd9bf2 Remove use-m2m (#15955)
* remove old composable

* Fix linter warnings

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-10-12 17:03:21 +00:00
Nitwel
d1b3bdee3d Add missing adjustFieldsForDisplays (#15959)
* add missing adjustFieldsForDisplays

* Fix linter warning

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-10-12 16:56:54 +00:00
Azri Kahar
a06bb0eefc Check for M2A with single related collection in useFieldTree composable (#15957)
* check for m2a in use-field-tree

* add test for use-field-tree

* fix test with filter
2022-10-12 12:55:07 -04:00
Andrey Trubay
50859f852c Fix thumbnails not displaying in Files interface (#15736)
* Fix thumbs displaying in Files interface

* Use default field value if field exists but its value is undefined

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2022-10-12 11:49:10 +02:00
Nicola Krumschmidt
1a5d635efb Move key to component where v-for is defined (#15944) 2022-10-11 17:57:54 -04:00
Rijk van Zanten
b28633d597 Upgrade vite (#15943)
* Upgrade vite

* Update snapshots for updated vite plugin
2022-10-11 16:06:09 -04:00
Nicola Krumschmidt
fcdf235b7d Allow extensions to be symlinks when running the App in dev mode (#15793) 2022-10-11 16:05:11 -04:00
Brainslug
af8eabf271 Insights dashboard - List panels link to listed collection items. (#15930)
* extra checks for valid input

* re-introducing the item drawer for list-items

* making list panel drawer optional

* Cleanup for consistency

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-10-11 17:40:45 +00:00
Brainslug
4904c3bba1 change trigger flow interface to dropdown using the local store (#15764) 2022-10-10 11:58:31 +02:00
Azri Kahar
fd47923706 Fix special characters in translation strings (#15872)
* Fix special characters in translation strings

* unit test

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2022-10-10 11:49:37 +02:00
Andreas Bernhard
8e128fecc2 fix (display-filesize): adjust handler argument to be read as value (#15840)
* fix (display-filesize): adjust handler argument to be read as `value`

rel: https://github.com/directus/directus/issues/15837

* reformatting (display-filesize): ran prettier on file

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2022-10-04 16:22:38 +02:00
Andreas Bernhard
0a5ff6d12a fix (display-filesize): wrap component value in span node (#15841)
* fix (display-filesize): wrap component value in `span` node

rel: https://github.com/directus/directus/issues/15838

* reformatting (display-filesize): ran prettier on file
2022-10-03 16:11:57 +02:00
Gerard Lamusse
aea55faa46 Change to autocomplete interface (#15585)
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2022-09-26 13:26:01 +02:00
Brainslug
69797776f1 Add fallback message when no fields are visible in a form (#14778)
* Add fallback page when no fields are visible in a form

* fixed spacing for the linter

* properly show empty form message for relational drawer items

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-09-24 18:53:34 +00:00
Nitwel
324b549d9d fix image alt being null (#15709) 2022-09-22 23:23:48 -04:00
rijkvanzanten
cb3d775c4e v9.18.1 2022-09-22 17:12:51 -04:00
rijkvanzanten
6404258b3a Update docs 2022-09-22 17:11:59 -04:00