Commit Graph

6470 Commits

Author SHA1 Message Date
Nicola Krumschmidt
ffded1a050 Expose package.json from shared and extensions-sdk (#7713) 2021-08-31 10:04:03 -04:00
Nicola Krumschmidt
4d8e9d7297 Improve API extension context types (#7714) 2021-08-31 09:11:59 -04:00
Nicola Krumschmidt
353e4f06c7 Use self-closing slot tags everywhere (#7717) 2021-08-31 09:10:55 -04:00
renovate[bot]
4bde1d7455 Update dependency knex-schema-inspector to v1.5.14 (#7708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-30 20:39:24 -04:00
Nitwel
607e32ea36 Resolve editor/type warnings (#7687)
* resolve editor/type warnings

* dont rename props
2021-08-30 16:54:17 -04:00
renovate[bot]
b3e041fc09 Update dependency eslint-plugin-prettier to v4 (#7705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-30 16:48:33 -04:00
Nitwel
64efbfa3b7 Always fall back to en-US (#7661)
* always fall back to en-US

* Ignore illegal languages

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-30 16:43:50 -04:00
renovate[bot]
6b6e7bd304 Update typescript-eslint monorepo to v4.30.0 (#7704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-30 15:32:33 -04:00
Nitwel
5d845bcd62 Fix alignment of collection nav grouping (#7703)
* Fix alignment collection nav grouping

* fix css
2021-08-30 13:04:30 -04:00
Rijk van Zanten
7ed486247a Update renovate.json 2021-08-30 12:22:53 -04:00
Rijk van Zanten
5c41db4c81 New Crowdin updates (#7701)
* Update source file en-US.yaml

* New translations en-US.yaml (Italian)

* Update app/src/lang/translations/en-US.yaml
2021-08-30 12:17:58 -04:00
rijkvanzanten
eb912d4610 Fix addLabel text 2021-08-30 12:12:27 -04:00
Rijk van Zanten
ca07339f9f New Crowdin updates (#7641)
* Update source file en-US.yaml

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Catalan)

* Update source file en-US.yaml

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (French)

* Update source file en-US.yaml

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

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Estonian)

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

* New translations en-US.yaml (Norwegian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Ukrainian)

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

* New translations en-US.yaml (Indonesian)

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

* New translations en-US.yaml (Thai)

* New translations en-US.yaml (Malay)

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

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Lithuanian)

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

* New translations en-US.yaml (Slovenian)

* New translations en-US.yaml (Vietnamese)

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

* New translations en-US.yaml (Bulgarian)

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

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Japanese)

* Update source file en-US.yaml
2021-08-30 11:52:58 -04:00
Rijk van Zanten
f5636df7be Revert "Add useful shortcuts (#7560)" (#7699)
This reverts commit 10ce9751e7.
2021-08-30 11:49:27 -04:00
Azri Kahar
a701d22aa9 add upload event for file imports (#7697) 2021-08-30 11:48:47 -04:00
Nitwel
2753f61829 add permission prop check (#7698) 2021-08-30 11:47:05 -04:00
renovate[bot]
36f796a5f2 update dependency sass to v1.38.2 (#7672)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-30 11:05:27 -04:00
Nicola Krumschmidt
2a82927423 Add support for typescript extensions to extension-sdk (#6881)
* Add support for scaffolding typescript extensions to extensions-sdk

* Add support for building typescript extensions to extensions-sdk

* Fix type issues in extension templates

* Expose types of extensions-sdk

* Add language option to create-directus-extension
2021-08-30 10:57:43 -04:00
renovate[bot]
2b1755d03b Update dependency micromark to v3 (#7690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-30 10:51:30 -04:00
Nitwel
4ac51c29b7 add missing translations (#7684) 2021-08-30 10:50:00 -04:00
Nitwel
ec1eb9733b Fix firefox being buggy with numbers as value inputs (#7682)
* fix firefox being buggy with numbers as value inputs

* dont show null string in input
2021-08-30 10:23:47 -04:00
Nitwel
b20048fa06 move related values link to icon (#7683) 2021-08-30 10:10:10 -04:00
Nicola Krumschmidt
6286edf6a9 Remove /custom subpath for endpoints and add a way to customize the endpoint subpath (#7695)
* Remove /custom subpath for endpoints

* Add a way to customize the endpoint subpath
2021-08-30 10:09:12 -04:00
Nicola Krumschmidt
d2ca0d094c Rename extension-sdk to extensions-sdk (#7282)
While it is never nice to rename an already published package,
this allows us to reserve the "@directus/extension-" prefix for official extensions.
2021-08-27 13:48:19 -04:00
Nitwel
5378926cf3 add missing translations (#7669) 2021-08-27 12:39:45 -04:00
rijkvanzanten
1d83587f01 Add contributors to package.json 2021-08-27 11:57:12 -04:00
renovate[bot]
1a1af27061 update dependency @types/markdown-it to v12.2.1 (#7655)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-27 11:51:36 -04:00
renovate[bot]
e3ae897df9 update jest monorepo to v27.1.0 (#7656)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-27 11:42:34 -04:00
Azri Kahar
8f7a3dc9cd update vue 2 to vue 3 in codebase overview (#7648) 2021-08-27 11:41:40 -04:00
Nitwel
a06623f10b allow to select system collections in m2a (#7650) 2021-08-27 11:40:25 -04:00
renovate[bot]
3922b2c1be update dependency tinymce to v5.9.1 (#7646)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-27 11:39:36 -04:00
renovate[bot]
4831465f32 update dependency eslint-plugin-vue to v7.17.0 (#7643)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-27 11:24:35 -04:00
Nicola Krumschmidt
2569724ce8 Replace system provide with composables (#7668) 2021-08-27 11:18:39 -04:00
Nicola Krumschmidt
d64ca14348 Explicitly set catch parameters to any type (#7654)
This fixes not being able to build the repo due to type issues
introduced by the Typescript 4.4 option "useUnknownInCatchVariables",
which is enabled by default in strict mode.
2021-08-27 10:33:30 -04:00
Nicola Krumschmidt
114dd5e3e3 Fix create-directus-extension internal dep versions (#7665) 2021-08-27 10:30:34 -04:00
Nitwel
324b7331d1 fix items not getting matched properly (#7666) 2021-08-27 10:30:14 -04:00
Nicola Krumschmidt
40f8d2ef99 Fix extension CLI not executing any command (#7667) 2021-08-27 10:27:14 -04:00
Nicola Krumschmidt
fe882fd407 Fix typescript issues (#7640) 2021-08-26 17:59:12 -04:00
Nitwel
10ce9751e7 Add useful shortcuts (#7560)
* add useful shortcuts

* remove shortcuts and add button instead

* Strip admin toggle

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-26 17:58:45 -04:00
Nitwel
207eb0bfc3 Stop app crashing when rule is configured incorrectly (#7574)
* catch the error instead of crashing the app if validatePayload fails

* Don't attempt validatePayload with invalid rule

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-26 17:54:40 -04:00
renovate[bot]
071e313bce update dependency typescript to v4.4.2 (#7638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 21:53:07 +00:00
Tommaso Bartolucci
e4361df0f7 Add "Edit Collection" link to Left Nav context menu (#6643)
* adds target to context menu activation

* adds activation target to collections

* adds edit_collection action to context menu

* adds edit_collection key and translations

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-26 17:51:45 -04:00
Lukas Schätzle
2f18f2750c Add installation guide for plesk/shared hosting (#7586)
* Add installation guide for plesk/shared hosting

* Add note on ports and passenger

* Fix wording

* Fix asset references

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-26 17:46:36 -04:00
renovate[bot]
f4ed9d27e2 update dependency date-fns to v2.23.0 (#7637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 17:39:06 -04:00
Nicola Krumschmidt
ba43e3139e Add create-directus-extension package (#7329)
* Make spinner success message bold in extension cli

* Expose extension-sdk cli functions

* Add create-directus-extension package

* Bump version

* Fix type fun times

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-08-26 17:32:27 -04:00
Nicola Krumschmidt
7dfc5dc6af Use root-relative base url for app and extensions (#6923)
* Add Url util class

* Use relative base url for app and extensions

Also use utils/url when working with PUBLIC_URL in other places.
2021-08-26 17:11:21 -04:00
rijkvanzanten
5970a7b473 Fix linter warnings 2021-08-26 16:57:55 -04:00
rijkvanzanten
94a524ca7a Fix duplicate string 2021-08-26 16:57:55 -04:00
renovate[bot]
27b93f8860 update dependency npm to v7.21.1 (#7634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-26 16:32:53 -04:00
Rijk van Zanten
00b8923b7e Prevent collection from crashing on unknown layout (#7635)
Fixes #7633
2021-08-26 16:31:01 -04:00