8392 Commits

Author SHA1 Message Date
rijkvanzanten
7b15947276 v9.7.1 v9.7.1 2022-03-23 14:50:51 -04:00
rijkvanzanten
ed3b1b3302 Update my favorite file 2022-03-23 14:49:14 -04:00
rijkvanzanten
0f1dd6739d Use correct interface in dropdown choices 2022-03-23 14:35:52 -04:00
Rijk van Zanten
a05a3329da New translations en-US.yaml (Polish) (#12332) 2022-03-23 18:43:43 +01:00
Rijk van Zanten
c921ecc68f New Crowdin updates (#12329)
* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Bulgarian)

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

* Update source file en-US.yaml

* New translations en-US.yaml (English, United Kingdom)
2022-03-23 12:01:01 -04:00
Rijk van Zanten
9435573742 Fix auto-casting of array like values in env (#12330) 2022-03-23 11:59:34 -04:00
Azri Kahar
51ec656a06 disable actions based on permissions (#12316) 2022-03-23 11:09:08 -04:00
Azri Kahar
d086b7dc82 Prevent M2M item edits without permission via app (#12312) 2022-03-23 11:05:08 -04:00
Azri Kahar
c5a8a3710f Save last accessed collection in Content Module (#12310)
* Save last accessed colection in Content Module

* check visible collections to support nested ones
2022-03-23 10:57:18 -04:00
Lukas Schätzle
3043fafb64 Add shortcut from data model to collection content (#12324)
* Add shortcut to collection content from its data model

* Revert automatic formatting to keep in sync with main
2022-03-23 10:45:41 -04:00
Rijk van Zanten
de152d1995 Fix inconsistent delete action payload (#12328)
Fixes #12326
2022-03-23 10:40:16 -04:00
Rijk van Zanten
66d63e7acf New Crowdin updates (#12315)
* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Chinese Simplified)
2022-03-23 09:11:13 +00:00
Rijk van Zanten
2b1b656ef3 New Crowdin updates (#12314)
* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Chinese Simplified)
2022-03-23 08:43:29 +00:00
Rijk van Zanten
0d54c66ae6 New translations en-US.yaml (Bulgarian) (#12313) 2022-03-23 08:14:10 +00:00
Rijk van Zanten
aebab96ea8 New translations en-US.yaml (Polish) (#12311) 2022-03-23 05:11:17 +00:00
Rijk van Zanten
84506f61e7 New translations en-US.yaml (Polish) (#12309) 2022-03-23 04:40:58 +00:00
rijkvanzanten
3d795236da Remove confusing warning 2022-03-22 11:26:36 -04:00
Rijk van Zanten
4b7053e960 Handle array vs string based sorting in export (#12302)
Fixes #12292
2022-03-22 10:46:57 -04:00
Rijk van Zanten
2e4d868175 New Crowdin updates (#12300)
* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (French, Canada)
2022-03-22 13:57:51 +00:00
Azri Kahar
37cbaa0be5 Add App Translation Strings in Settings (#12170)
* add migration for translation strings

* add to navigation

* WIP

* fix dialog overflow

* update translation keys

* Update logic

* add placeholder to system-language

* fix translation

* remove unused import

* reset dialog on create new

* ensure search input is visible when searching

* merge translation strings on set language

* merge translation strings on update

* hydrate

* make sure null translation do not get merged

* change dialog to drawer

* update placeholder text

* fix form value

* revert dialog style change

* rename drawer component

* Force safe key name

* Move interface to system interfaces

The saved values are Directus app proprietary, so to prevent confusion in what it's supposed to do, we'll move it to system.

* Move composable to root composables

* Use new languages input in interface/display options

* hide translation strings field in project settings

* set system true to system-input-translated-string

* use this in field detail notes

* use in list options

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-22 09:39:04 -04:00
ian
e2eb2801c5 Prefix existing field typecasting flags with "cast-" (#12141)
* Prefix typecasting field flags

* Fix payload test

* Update flags for system tables and for field creation in app

* Revert cast-hash and cast-uuid

* Rename migrations file to current date
2022-03-21 14:46:48 -04:00
Rijk van Zanten
716e02f21f Fix groups in v-field-template (#12284)
* Fix groups in v-field-template

* Remove unused param
2022-03-21 14:39:48 -04:00
ian
ff3c99961c Fix incorrect order of migrations when reverting (#12130) 2022-03-21 14:29:15 -04:00
ian
72180f7027 Add query filter validation with permissions (#12190)
* Add query filter validation with permissions

* Allow all fields in test

* Revert test and add check for permissions with empty fields

* Add check for deep filters

* Add tests

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-21 18:19:37 +00:00
ian
d0aa61e94a Prevent errors when using string filters with empty values (#11836)
* Prevent errors when using string filters with empty values

* Add tests

* String schema validation forced to false for null values
2022-03-21 14:03:42 -04:00
Rijk van Zanten
9b8d72ec5c Fix start setting of detail group (#12280)
Fixes #12257
2022-03-21 11:42:24 -04:00
Rijk van Zanten
f40df2443d Fix color translation keys (#12279) 2022-03-21 11:40:33 -04:00
ian
9ca17bfe25 Add fields to directus_user app recommended permission (#12277) 2022-03-21 13:57:49 +00:00
Azri Kahar
3834b8ec11 Fix field preview background color (#12276)
* Fix field preview background color

* switch primary-alt to use primary-10

* revert previous preview bg color change
2022-03-21 09:46:09 -04:00
Gerard Lamusse
7561648f1b Fix being able to export a relational field that is within a group (#12260) 2022-03-21 09:35:50 -04:00
Azri Kahar
6b0c38ab77 fix export sidebar's collection not updating (#12274) 2022-03-21 09:14:40 -04:00
Rijk van Zanten
93122a0131 New translations en-US.yaml (Bulgarian) (#12243) 2022-03-19 12:34:28 +00:00
Rijk van Zanten
56106cc388 New translations en-US.yaml (Bulgarian) (#12242) 2022-03-19 11:58:51 +00:00
Rijk van Zanten
20bcb867c8 New translations en-US.yaml (Bulgarian) (#12241) 2022-03-19 11:24:48 +00:00
rijkvanzanten
138ab21df0 v9.7.0 2022-03-18 16:35:44 -04:00
rijkvanzanten
c1da41d671 v9.7.0 v9.7.0 2022-03-18 16:34:35 -04:00
rijkvanzanten
ce6d8f7e9d Update my favorite file 2022-03-18 16:31:18 -04:00
Rijk van Zanten
2bb350f14f Fix nested relational limit for m2o fetching (#12235)
Fixes #12134
2022-03-18 16:27:25 -04:00
rijkvanzanten
4b6fa290f0 Disable sorting on nested relational
Has to be disabled until #12084 lands
2022-03-18 16:03:28 -04:00
ian
5068ca096b Add lock for system cache (#12017)
* Add lock for system cache

* Add lock when forcing a flush

* Simplify code

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-18 15:54:02 -04:00
Azri Kahar
e6e129615e fix M2O field deletion (#11538)
* fix M2O field deletion

* fix lint

* fix for MySQL

* Pull final dropColumn out of transaction

* Forget that, check for existing constraint before deleting it instead

* Fix lint warning in unrelated file

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-18 15:36:50 -04:00
ian
6d8b17ed6a Improvements to WYSIWYG interface (#12216)
* Ignore field value updating if it is disabled

* WYSiWYG: Allow to undo Insert image, Insert link, Insert media and Edit source code custom actions

* Bind MutationObserver to correct tinyMCE node

* Fix apply for disabled fields

* Emit null when empty

Co-authored-by: Andrew <trubay.andrey@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-03-18 14:53:57 -04:00
Rijk van Zanten
d8615c54c6 New translations en-US.yaml (Polish) (#12232) 2022-03-18 18:48:29 +00:00
Rijk van Zanten
1b8058443d New Crowdin updates (#12230)
* Update source file en-US.yaml

* New translations en-US.yaml (French)
2022-03-18 17:02:18 +00:00
Ben Haynes
2474a0ddc0 Style updates (#12229)
* default badge color to red

* update notice styling to avoid color variants

* darker warning color

* update dark mode primary color

* update svg previews

* show slider values by default

* add subtle glow to field focus

* add additional color options

* no yellow in settings

* Give status display proper defaults

* Use setup script + translations

* Add low-contrast flag to preset

* update date-picker header style

* add placeholder to datetime interface

* Fix sizing of image preview

* Fix spacing / border situation

* select color

* Render small images at original size

* More file library love

* update datetime placeholder

* datetime font weights

* Fix style lint issue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-18 15:52:04 +00:00
Rijk van Zanten
800524cee4 New Crowdin updates (#12228)
* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (Persian)

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

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Breton)

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

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

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Estonian)

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

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

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* 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 (Chinese Simplified)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (English, United Kingdom)

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

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

* New translations en-US.yaml (Croatian)
2022-03-18 13:02:14 +00:00
Azri Kahar
4d634bb18f Tweak tags placeholder for clarity (#12223)
* Tweak tags placeholder for clarity

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

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-03-18 08:56:31 -04:00
ian
bc0f23f092 Fix WYSIWYG link keyboard shortcut and add parent anchor tag detection (#12218)
* Fix WYSIWYG link keyboard shortcut and add parent anchor tag detection

* Fix saving of link on parent anchor tag
2022-03-18 08:51:14 -04:00
Azri Kahar
c790f0355a fix number input step up/down when undefined (#12222) 2022-03-18 08:50:13 -04:00
Rijk van Zanten
54e21c8457 New translations en-US.yaml (Italian) (#12227) 2022-03-18 10:24:02 +00:00