Commit Graph

4602 Commits

Author SHA1 Message Date
Rijk van Zanten
290d783461 script[setup]: interfaces/datetime (#18408) 2023-05-02 17:27:37 -04:00
Rijk van Zanten
44049cbfe6 script[setup]: interfaces/boolean (#18407) 2023-05-02 17:25:49 -04:00
Rijk van Zanten
daf509061b script[setup]: system-scope (#18406) 2023-05-02 17:24:37 -04:00
Rijk van Zanten
e01702a2ac script[setup]: system-modules (#18405)
* script[setup]: system-modules

* script[setup]: system-modules
2023-05-02 17:23:24 -04:00
Rijk van Zanten
82d84877ca script[setup]: system-mfa-setup (#18404) 2023-05-02 17:19:52 -04:00
Rijk van Zanten
996f42c08c script[setup]: system-language (#18403) 2023-05-02 17:17:41 -04:00
Rijk van Zanten
2e0c1666c3 script[setup]: system-interface-options (#18402)
* script[setup]: system-interface-options

* Add missing null in props
2023-05-02 17:16:04 -04:00
Rijk van Zanten
8db6c2b5e2 script[setup]: system-folder (#18401) 2023-05-02 17:12:57 -04:00
Rijk van Zanten
1bb78d9c0d script[setup]: system-filter (#18400) 2023-05-02 17:10:32 -04:00
rijkvanzanten
d19f0b758b Make template prop optional
Ref https://github.com/directus/directus/pull/18393/files#r1183040178
2023-05-02 17:05:44 -04:00
Rijk van Zanten
b0908ca7f8 script[setup]: interfaces/system-field-tree (#18399) 2023-05-02 17:04:58 -04:00
Rijk van Zanten
d4456e6ad8 script[setup]: interfaces/system-field (#18398)
* script[setup]: interfaces/system-field

* CollectionField is not required
2023-05-02 17:01:56 -04:00
Rijk van Zanten
1699db75f7 script[setup]: interfaces/system-display-template (#18397) 2023-05-02 16:56:53 -04:00
Rijk van Zanten
e3e6b5fd75 script[setup]: interfaces/system-collections (#18396) 2023-05-02 16:54:50 -04:00
Rijk van Zanten
6d5109b201 script[setup]: interfaces/system-collection (#18395)
* script[setup]: interfaces/system-collection

* Apply latest from main

* Align default value of includeSingleton
2023-05-02 16:52:12 -04:00
Rijk van Zanten
7c4892cfdc script[setup]: displays/user (#18394) 2023-05-02 16:48:26 -04:00
Rijk van Zanten
ea05b9752e script[setup]: displays/related-values (#18393) 2023-05-02 16:46:28 -04:00
Rijk van Zanten
aeb37ed0b7 script[setup]: displays/image/image.vue (#18392) 2023-05-02 16:42:25 -04:00
Rijk van Zanten
1bab653346 script[setup]: displays/labels.vue (#18391) 2023-05-02 16:40:00 -04:00
Rijk van Zanten
ace0d52960 script[setup]: displays/icon/icon.vue (#18390) 2023-05-02 16:38:07 -04:00
Rijk van Zanten
bfd065fbde script[setup]: formatted-value.vue (#18389)
* script[setup]: formatted-value.vue

* Don't force undefined defaults
2023-05-02 16:34:05 -04:00
Rijk van Zanten
44b4863788 Require curly brackets in if statements when they're multi-line (#18387)
* Enable Curly rule

* Fix curly misuse
2023-05-02 16:02:43 -04:00
rijkvanzanten
4e5d5093b3 Fix tabular header key selection 2023-05-02 15:35:42 -04:00
Brainslug
8a772802fa updated uses of useAliasFields (#18267)
* updated uses of useAliasFields

* use fields instead

* updated ternary check

* remove dealiasing

* Linty lint

* temporary changes

* finish alias cleanup

* Fix linter warnings

* fixed imports from merge

* removed unsed variables

* Add changeset

---------

Co-authored-by: Nitwel <mail@nitwel.de>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Jan Arends <jan.arends@mailbox.org>
2023-05-02 15:23:38 -04:00
Nitwel
2432306fea Make folders hidden by default in system collection interface (#18362)
* make folders hidden by default in system collection interface

* Create green-stingrays-shake.md

* Remove prop

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-05-02 15:17:58 -04:00
ian
69061c1284 Add Cache option for Flows webhook trigger (#18277)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-02 15:17:07 +00:00
Brainslug
87f2edc735 Prevent nested ternary expressions (#18376)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-01 19:07:40 +00:00
Nitwel
f56706095a Fix default values for boolean (#18357)
* fix default values for boolean

* Add changeset

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-04-28 09:40:03 -04:00
Hannes Küttner
02f0284540 Add related collection link to data model settings (#18346)
* Add related collection link to data model settings

* Add changeset

* Update .changeset/six-emus-joke.md

* Hide button for self-referencing relations

Co-authored-by: ian <licitdev@gmail.com>

* Use unref instead of .value

* Make typescript happier

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: ian <licitdev@gmail.com>
2023-04-27 17:47:36 -04:00
ian
321cd1e9c9 Translate module link name in project settings (#18343)
* Translate module link name in project settings

* Add changset
2023-04-27 13:14:28 -04:00
Rijk van Zanten
3ae3a982f0 New Crowdin updates (#18295)
* Update source file en-US.yaml

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Dutch)

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

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Nepali)

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

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Thai)

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

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Afrikaans)

* New translations en-US.yaml (Arabic)

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

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Slovak)

* New translations en-US.yaml (Slovenian)

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

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

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

* New translations en-US.yaml (Vietnamese)

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

* New translations en-US.yaml (Persian)

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

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

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Estonian)

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

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Bosnian)

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

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

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

* Update source file en-US.yaml

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Persian)
2023-04-24 16:35:46 -04:00
Nitwel
871e7eb954 Improve Permissions in relational Interfaces (#16373)
* improve permissions check in m2m relations

* improve m2o relations

* More improvements

* finish relational permission rework

* fix field level permissions

* add tests to useRelationPermissions

* remove unused dependency

* fix rename

* fix permissions for translations

* fix disabled check

* ran linter and disabled "vue/one-component-per-file" for use-relation-permissions test

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
2023-04-24 16:33:28 +02:00
José Varela
d01972f4f6 Fix show Tinymce style formats (#18305)
Because we upgraded to version 5:
https://github.com/directus/directus/pull/18107
And there's a breaking change:
https://github.com/tinymce/tinymce/blob/develop/modules/tinymce/CHANGELOG.md#:~:text=Renamed%20the%20styleselect%20toolbar%20button%20and%20formats%20menu%20item%20to%20styles.%20%23TINY%2D8328
2023-04-24 08:38:20 -04:00
Rijk van Zanten
964e302348 Move formatted-json-value to script[setup] (#18294) 2023-04-21 16:07:52 -04:00
Rijk van Zanten
e2301eddf3 Move file display to script[setup] (#18292) 2023-04-21 16:05:41 -04:00
Rijk van Zanten
e0d9e17291 Move color display to script[setup] (#18291) 2023-04-21 16:01:33 -04:00
Rijk van Zanten
2e7f945d9a Move collection display to script[setup] (#18290) 2023-04-21 15:55:39 -04:00
rijkvanzanten
187f778a4b Move boolean display to script[setup] 2023-04-21 15:51:05 -04:00
Rijk van Zanten
5e1ca0bf3d Move app.vue to script[setup] (#18289) 2023-04-21 15:50:57 -04:00
Rijk van Zanten
8c8daa89ff New translations en-US.yaml (Polish) (#18288) 2023-04-21 15:42:09 -04:00
Jonathan Schneider
67c4df0e78 [Feat] Flow: Add Mail Templates (#15829)
* add mail templates to flow (proposal)

* add template placeholder to base

* add translations

* add test

* update lint

* accept cla

* fix mail operation unit test

* eslint fix

* Fix linting

* Add test for custom template and data

* Fix import for ts 5

* Another ts type fix

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-04-21 15:41:35 -04:00
Nitwel
6e707b7d1b Fix tabular not properly dealiasing items (#18186)
* Fix tabular not properly dealiasing items

* run linter

* remove translations edgecase

* Fix linter warnings

* Remove unused var

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-04-21 15:13:25 -04:00
Rijk van Zanten
09bb142acd New Crowdin updates (#18279)
* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Dutch)

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

* New translations en-US.yaml (Nepali)

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

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Thai)

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

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Romanian)

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

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

* New translations en-US.yaml (Lithuanian)

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Slovak)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

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

* New translations en-US.yaml (Vietnamese)

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

* New translations en-US.yaml (Persian)

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

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

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Estonian)

* New translations en-US.yaml (Hindi)

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

* New translations en-US.yaml (Breton)

* New translations en-US.yaml (Bosnian)

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

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

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

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

* Update source file en-US.yaml
2023-04-21 13:13:49 -04:00
Nitwel
c51a8bc4c3 fix refreshing on save (#18283) 2023-04-21 18:41:45 +02:00
Azri Kahar
75e2d0f339 Only show tooltips when sidebar is not open (#18284) 2023-04-21 09:29:49 -04:00
Daniel Duckworth
3ced7627b5 Edit docs about minimum app permissions for clarity (#18270) 2023-04-21 11:37:15 +02:00
Rijk van Zanten
f855194ed6 New Crowdin updates (#18221)
* 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 (Polish)

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

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Chinese Simplified)
2023-04-20 10:45:53 -04:00
Andrii Trubai
2e5f063df1 Add possibility of sorting items in tabular view of o2m interface (#15733)
* Add possibility of sorting items in tabular view of o2m interface

* CLA signing

* in between commit

* allow for resizing on m2m and use existing sort fn

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Nitwel <mail@nitwel.de>
2023-04-20 09:12:48 -04:00
Nitwel
48196db0d2 revert changes made in #18249 (#18266) 2023-04-20 08:09:27 -04:00
Hannes Küttner
7bf87f3df3 Fix a few dev mode warnings (#18249)
* `list-m2m` make layout optional

* Silence a few more warnings

* Properly type v-button `to`

* Make search prop in field-detail-simple not required

* Set undefined as default value for text in v-text-overflow

* Change initial search value to undefined in field-detail

* Rework field-detail and field-detail-simple to use script setup

* One less ctrl+z

* Remove unnecessary new line

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-19 17:13:20 +00:00