Commit Graph

10191 Commits

Author SHA1 Message Date
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
1e279322db Disable vue/require-default-prop eslint rule (#18388) 2023-05-02 16:22:58 -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
Brainslug
1fba5ebf94 Load cjs custom migrations (#18385) 2023-05-02 21:10:19 +02:00
Nicola Krumschmidt
80bcc35af3 Add support for building API extensions to ESM (#18351)
* Remove language check from extension build command

* Add getFileExt util

* Add support for building API extensions to ESM

* Build new extensions to ESM by default

* Update config file docs to be in ESM

* Add changeset

* Fix extension test

* Replace nested ternary expression

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Li(n)t

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2023-05-02 14:45:25 -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
06ff0c2ef9 Fixes _offset=0 in deep filters (#18382) 2023-05-02 12:34:50 +02:00
Jan Arends
8b8858da9a Support multipart/form-data to apply schema diffs (#18321)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-02 10:24:46 +00:00
Matthew Rumery
bf10c943c8 Fix broken links in the documentation (#18377)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-05-02 10:03:32 +02:00
ian
255955999e Add docs on usage of different project names for TFA (#18282)
* Add docs on different project names for TFA

* Run formatter

* Fix spellcheck
2023-05-02 10:01:39 +02: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
Nicola Krumschmidt
3ff71cc34a Silence prefer builtins and circular dependency warnings when building extensions (#18366)
* Silence prefer builtins warning

* Silence circular dependency warning if only external files are involved

* Add changeset
2023-04-28 15:07:51 -04:00
Nicola Krumschmidt
76ae228c53 Make readme file name casing consistent (#18367) 2023-04-28 15:05:39 -04:00
Nicola Krumschmidt
6c1a4812ca Instruct users to use the latest version of create-directus-extension (#18361) 2023-04-28 12:57:12 -04: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
Nicola Krumschmidt
e60c6cff5f Remove extension config import workaround (#18349)
* Remove extension config import workaround

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-04-27 17:20:55 -04:00
Nicola Krumschmidt
af2ce35d67 Add shared javascript file ext constant (#18350)
* Add shared javascript file ext constant

* Add changeset
2023-04-27 17:18:02 -04:00
Benjamin VIELLARD
c016664ded Update contributors.yml (#18345)
username changed from bicouy0 to gbicou
2023-04-27 14:01:13 -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
rijkvanzanten
cdf8d94ec1 Use past tense in changelog 2023-04-26 17:08:39 -04:00
rijkvanzanten
f4698b5de3 Add changeset for #18310 2023-04-26 17:04:54 -04:00
rijkvanzanten
0f32f4f136 Add changeset for #18316 2023-04-26 16:46:06 -04:00
rijkvanzanten
37d74f96fd Create changeset for #18328 2023-04-26 16:44:26 -04:00
Rijk van Zanten
abc9d0142f Install changesets (#18331)
* Install changesets

* Update contributing guidelines
2023-04-26 16:21:15 -04:00
Aiden Foxx
2f3fb229bc Correctly set user "auth_data" after auth.update hook (#18310) 2023-04-26 21:01:03 +02:00
Brainslug
2ced6b0a0b Prevent thumbnail duplication (#18316) 2023-04-26 20:39:20 +02:00
ian
d168c8d951 Add package initialization warning (#18328) 2023-04-26 14:31:25 -04:00
Rijk van Zanten
2bc226d16f Change license to BSL-1.1 (#18330)
* Change license to BSL1.1

* Mark major version

* Fix formatting

* Remove duplicate heading

* Update formatting

* Copy paste error

* Update license

* Update license

* Format covenants

* Update readme.md

* Update licenses for packages

* Update readme.md

* Update contributors.yml

OG... but to be clear, rijkvanzanten is the one who really built all of this ❤️

* Tweak license in openapi

* Update packages/specs/src/openapi.yaml

* Add MIT license headers

* Use v10 in examples

* Update additional examples

* Update generate-extensions-entrypoint.test.ts

* Update tests to use latest v9 and v10 versions

* use lowercase for naming consistency

* change casing for api license

* Update migrations doc

* Update dictionary

* Consistent ordering of license field in app/package.json

* Use major version in specs again (but as string)

So it's valid for all v10 versions

* Consolidate readme's

---------

Co-authored-by: Ben Haynes <ben@directus.io>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
v10.0.0
2023-04-26 14:10:42 -04:00
rijkvanzanten
381f1c9d8e v9.26.0 v9.26.0 2023-04-24 16:40:53 -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
ian
f850bcbacd Revert "enabling auto-purge to prevent schema cache issues out-of-the-box (#18303)" (#18308)
This reverts commit 4ccfd2a4ae.
2023-04-24 11:56:52 -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
Brainslug
4ccfd2a4ae enabling auto-purge to prevent schema cache issues out-of-the-box (#18303) 2023-04-24 08:40:26 -04: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