Commit Graph

8741 Commits

Author SHA1 Message Date
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
rijkvanzanten
e3a7a7d887 v9.10.0 v9.10.0 2022-05-03 13:05:54 -04:00
rijkvanzanten
c49a9def89 Update package-lock 2022-05-03 13:03:42 -04:00
Rijk van Zanten
f03e2e4256 Add local export capability (#13099)
* Add local export capability

* Add local download capability to every layout

* Use queried fields in export logic

* Update tooltip text
2022-05-03 12:58:44 -04:00
Azri Kahar
ad46bfef51 Fix graphql schema for m2o fields without permissions to related collection (#13015)
* fix graphql schema for m2o fields

* add e2e tests for graphql m2o & o2m

* remove unused code

* fix mariadb json error

* attempt to fix oracle

* possibly fix graphql m2o queries
2022-05-03 12:51:12 -04:00
tenebrius
62d8224af9 Convert OAuth identifier to string before calling toLowerCase (#13067)
* Convert identifier to string before calling toLowerCase

Fixes [#13066](#https://github.com/directus/directus/issues/13066)

* allow numbers for indentifier in oauth and openid user profile

* typescript fix

* handle case if email is not string

Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>

* typescript fix

Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>

Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-05-03 10:35:47 -04:00
Nicola Krumschmidt
aeb919ba7f Update knex to version 2.0.0 (#13051)
* Update knex to version 2.0.0

Fixes #10842

* Remove unused optional dependencies

* Update sqlite3 to version 5.0.6

* Fix returning primary key when inserting items into database
2022-05-03 10:20:49 -04:00
Josh Soref
bd97667da4 spelling: extensionentrypoints (#13091)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-05-03 09:57:52 +02:00
Rijk van Zanten
8fed9fed7a New Crowdin updates (#13088)
* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Italian)
2022-05-02 17:34:10 +00:00