Commit Graph

8749 Commits

Author SHA1 Message Date
Rijk van Zanten
c3fbdbce99 Add string-export support for related-values and translations display (#13263)
* Add string preview handler for related values display

* Fix continue clause in for loop

* Add string export for translations display

* Handle null values better

* ... while making sure false/0/'' still is considered a value
2022-05-12 15:40:38 -04:00
Rijk van Zanten
519de95461 New translations en-US.yaml (Polish) (#13259) 2022-05-12 15:15:57 +00:00
Rijk van Zanten
9d815698b5 New translations en-US.yaml (Icelandic) (#13253) 2022-05-12 12:09:53 +00:00
Rijk van Zanten
ad8440cf91 New translations en-US.yaml (Ukrainian) (#13249) 2022-05-12 08:13:10 +00:00
Rijk van Zanten
10eff1c751 Init count of soft limit in wysiwyg on first render (#13242)
Fixes #13235
2022-05-11 12:18:45 -04:00
Rijk van Zanten
be01233af0 New translations en-US.yaml (Afrikaans) (#13241) 2022-05-11 16:11:41 +00:00
Rijk van Zanten
3bc80eec54 New translations en-US.yaml (Czech) (#13238) 2022-05-11 15:25:44 +00:00
ian
e004b0d596 Delete field only after foreign key constraints are removed (#13222) 2022-05-11 10:39:18 -04:00
Rijk van Zanten
6e024647ac New translations en-US.yaml (German) (#13234) 2022-05-11 14:21:28 +00:00
Brainslug
f1252b1eda Only update the needed fields for v-form rendering a group (#13223) 2022-05-11 10:17:15 -04:00
Brainslug
969afbb9f6 prevent recursive function from walking the same branch multiple times (#13231) 2022-05-11 09:34:19 -04:00
Azri Kahar
69e847e3fb Fix limit/filter/search reactivty for export (#13220) 2022-05-11 09:26:46 -04:00
Will Foxall
46df8dc844 Improve type definitions for o2m item queries involving deep, filter or sort (#13214)
* DeepQueryMany takes type from property by key

* filter, sort & deep resolve (ID|T)[] arrays to T

* Simplified Sort definition to use SingleItem alias
2022-05-10 16:11:33 -04:00
Diego Leme
25dea417b3 Sort schema snapshot (#12907)
* Sort schema snapshot

* Refactor sort deep

* Fix import

* Fix type

* Remove unused de types

* minor tweak

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2022-05-10 12:17:26 -04:00
Rijk van Zanten
a9422b23e9 Show edit drawer as preview for disabled many to one (#13207)
Fixes #13201
2022-05-10 10:56:49 -04:00
Rijk van Zanten
51e90f6c4c New translations en-US.yaml (Italian) (#13204) 2022-05-10 10:15:03 +00:00
Peera Jeawkok
e47502e11f Fix Invalid foreign key when applying schema snapshot (#12198)
* add logic to create parent collection before apply

* recursively create collection

* Recursively delete collection

* cleanup

* fix import

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* fix deconstruction of collections

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* fix deconstruction of collections

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* Fix destructing

* Move type declaration to the top

As requested during code review https://github.com/directus/directus/pull/12198#discussion_r857330627

* remove unnecessary empty array check.

* remove redundant map functions

* replace lodash functions in favor of built-in ones

* tweaks

* organize imports

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Stephan Schmitz <eyecatchup@gmail.com>
2022-05-09 16:49:20 -04:00
Lookin Anton
190191a75d fix(packages:schema): fix bindings for postgres dialect in overview method (#13115) 2022-05-09 16:42:09 -04:00
Brainslug
f7d0490b60 forces saving interface options to the database which are set to the default_value in field conditions. (#13120) 2022-05-09 16:38:19 -04:00
Ankit Chhatbar
4d406ec165 Hide import if create is not allowed (#13126)
* Hide import if create is not allowed

* Implemented suggestions

* Removed unused import

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-05-09 20:06:52 +00:00
Brainslug
15d8e86c64 fetching id's for nested relations in the o2m interface (#13151)
* initial working fix for #13042 and #13058

* found an existing utility function that does exactly what was needed

* Apply O2M fields fix for similar interfaces
2022-05-09 15:53:16 -04:00
Azri Kahar
f638004d12 fix sort field not updating in export sidebar (#13133)
* fix sort field not updating in export sidebar

* handle edge case better
2022-05-09 15:18:45 -04:00
Rijk van Zanten
16982cfb18 New Crowdin updates (#13193)
* New translations en-US.yaml (Spanish, Chile)

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

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (French, Canada)
2022-05-09 19:18:03 +00:00
Aiden Foxx
ccd5c39301 Display error message on OAuth errors (#13184)
* Display error message on oauth errors, and notify about incorrect provider

* Updated copy

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-05-09 15:14:11 -04:00
Rijk van Zanten
a36c7eabeb Use json parser wrapper function to prevent pollution attacks (#13191) 2022-05-09 14:57:38 -04:00
Azri Kahar
ae2024147f Fix WYSIWYG being disabled due to loading (#13147) 2022-05-09 12:58:46 -04:00
Brainslug
d2ef2080b4 fixes nested groups filtering out its parents values (#13158) 2022-05-09 12:42:46 -04:00
Rijk van Zanten
98f9d5c43d Update gatsby-source-directus subpackages (#13190) 2022-05-09 12:28:15 -04:00
Rijk van Zanten
c6682194be Reset refresh promise after catch (#13189)
Fixes #13181
2022-05-09 11:46:01 -04:00
Rijk van Zanten
acab4eef35 Fix aliases (#13186)
* Fix REST alias usage

* Properly fix aliases
2022-05-09 10:58:45 -04:00
Rijk van Zanten
f5691e0f2f New translations en-US.yaml (Italian) (#13182) 2022-05-09 10:46:08 +00:00
Rijk van Zanten
bc85b74dff New translations en-US.yaml (Bulgarian) (#13178) 2022-05-09 08:15:50 +00:00
Rijk van Zanten
e966e7c045 New translations en-US.yaml (Bulgarian) (#13177) 2022-05-09 07:44:35 +00:00
Rijk van Zanten
b0217a99f7 New translations en-US.yaml (French) (#13176) 2022-05-08 17:42:32 +00:00
Rijk van Zanten
0292102d41 New translations en-US.yaml (French) (#13175) 2022-05-08 16:39:51 +00:00
Rijk van Zanten
30cce8f08b New translations en-US.yaml (Spanish) (#13156) 2022-05-06 12:30:58 +00:00
Rijk van Zanten
1d7444fe03 New translations en-US.yaml (Spanish) (#13154) 2022-05-06 11:53:15 +00:00
Rijk van Zanten
47d85287ad New translations en-US.yaml (Spanish) (#13152) 2022-05-06 11:27:23 +00:00
Rijk van Zanten
7573a84521 New translations en-US.yaml (Ukrainian) (#13134) 2022-05-05 11:32:12 +00:00
Rijk van Zanten
1ec4fe165b New translations en-US.yaml (Chinese Traditional) (#13127) 2022-05-05 00:45:02 +00:00
Rijk van Zanten
08ae3b288e New translations en-US.yaml (Bulgarian) (#13123) 2022-05-04 17:08:00 +00:00
Rijk van Zanten
42ad585164 New translations en-US.yaml (Bulgarian) (#13116) 2022-05-04 16:13:42 +00:00
Ben Haynes
4ee01ddac8 Update to <br /> to fix formatting 2022-05-04 12:04:23 -04:00
Azri Kahar
2bac585657 Fix auto generated field keys not being reset (#13102) 2022-05-04 10:02:12 -04:00
Azri Kahar
deb2777b04 Show collection key instead of name in Data Model (#13103) 2022-05-04 10:01:05 -04:00
Brainslug
34b6433545 fixes 13095 error on slider component for value between accepted steps (#13108) 2022-05-04 09:57:51 -04:00
Azri Kahar
bc85035115 fix pasted slug not turning spaces to separators (#13112) 2022-05-04 09:55:28 -04:00
Rijk van Zanten
a9f4a54d9f New translations en-US.yaml (Polish) (#13110) 2022-05-04 09:27:39 +00:00
Rijk van Zanten
2c93f256f6 Update source file en-US.yaml (#13101) 2022-05-03 17:41:47 +00:00
rijkvanzanten
bdd5d0d2e9 v9.10.0 2022-05-03 13:08:13 -04:00