Commit Graph

8399 Commits

Author SHA1 Message Date
Ben Haynes
69aa7fe283 Docs dark mode (#12362)
* docs dark mode color to match app

* not sure if needed

* Revert "not sure if needed"

This reverts commit f8a71198d5.

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-24 14:07:35 -04:00
Azri Kahar
ce0169d5c8 fix LOGGER_LEVELS array being split as string (#12342)
* fix LOGGER_LEVELS array being split as string

* use toArray

* some basic tests
2022-03-24 09:08:43 -04:00
Azri Kahar
1c7a07d3b7 Fix translation drawer delete button hover style (#12353) 2022-03-24 10:02:17 +00:00
Azri Kahar
577e803bb5 fix activity fields using invalid display (#12351) 2022-03-24 09:45:21 +00:00
Yasser Lahbibi
3b5fb27fdf fix: cast translation strings as json (#12349) 2022-03-24 17:35:03 +08:00
Alexandre Lotte
eeff5e747f Docs: Slightly better scrollbars in dark mode (#12341) 2022-03-23 23:25:07 -04:00
rijkvanzanten
2e63b49ec4 v9.7.1 2022-03-23 14:52:28 -04:00
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