Commit Graph

4705 Commits

Author SHA1 Message Date
rijkvanzanten
bb22a8cb13 Bump docs 2022-08-04 18:08:23 -04:00
rijkvanzanten
3acb9e3858 Bump docs 2022-08-04 17:56:36 -04:00
Gerard Lamusse
0f64c76d0d Only show search if there are more than 10 choices (#14663) 2022-08-03 17:02:58 -04:00
Gerard Lamusse
9508ed4f7a Exclude relationship fields on field validation (#14818)
* Exclude relationship fields on field validation

* Refactor to includeRelations. Also add to conditions
2022-08-03 15:20:13 -04:00
Gerard Lamusse
2459d7d8ff Don't hide but set as readonly (#14834)
* Don't hide but set as readonly

* Update app/src/views/private/components/drawer-item.vue

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Add missing import

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-08-03 15:19:39 -04:00
Rijk van Zanten
6f7b49dc51 New Crowdin updates (#14827)
* Update source file en-US.yaml

* New translations en-US.yaml (Italian)
2022-08-03 15:22:11 +00:00
Azri Kahar
5d96d752f4 Support custom aspect ratios in image editor (#14786)
* Support custom aspect ratios in image editor

* Add custom aspect ratios in file items as well

* Revert file item custom-aspect-ratio changes

* Use globally configured custom aspect ratios

* Remove previos custom-aspect-ratio logic

* code style tweak

* use migration instead of seed

* rename field to custom_aspect_ratios

* keep defaults + change icon

Co-authored-by: qborisb <boris@qdentity.nl>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-08-03 22:25:25 +08:00
Rijk van Zanten
dabf352c85 New translations en-US.yaml (Hebrew) (#14815) 2022-08-03 09:44:14 +00:00
ian
59643d7fd0 Check for null initialValues (#14806) 2022-08-03 10:52:31 +02:00
Rijk van Zanten
fb24f060a4 New translations en-US.yaml (Italian) (#14799) 2022-08-02 16:30:37 +00:00
John Flow
40467bb960 Make DrawerItem, DrawerBatch global components (#14751)
* Made DrawerItem, DrawerBatch global components

https://github.com/directus/directus/discussions/13139

* Added DrawerItem, DrawerBatch to src/components/register

* Removed DrawerItem, DrawerBatch from src/views/register

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-08-02 09:55:45 -04:00
Brainslug
1d196e968c don't delete values when resetting to the initial value (#14791) 2022-08-02 09:19:48 -04:00
Rijk van Zanten
5e24044dc9 New translations en-US.yaml (Kurdish) (#14789) 2022-08-02 10:32:48 +00:00
Rijk van Zanten
bc041abd53 New Crowdin updates (#14784)
* Update source file en-US.yaml

* New translations en-US.yaml (French)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (French, Canada)
2022-08-01 22:24:37 +00:00
rijkvanzanten
f61443fd2a Add full/half translations 2022-08-01 18:00:08 -04:00
rijkvanzanten
0b78a1bbd0 Fix header offset in tiles 2022-08-01 17:59:52 -04:00
Rijk van Zanten
e3c76e8abd New translations en-US.yaml (Portuguese, Brazilian) (#14782) 2022-08-01 20:39:28 +00:00
Rijk van Zanten
c80bd82e97 New translations en-US.yaml (Polish) (#14781) 2022-08-01 16:58:45 +00:00
Azri Kahar
f11be04869 Do not show inactive manual flows in flows sidebar (#14769) 2022-08-01 09:26:08 -04:00
Brainslug
04fc6dc9b6 added loading state check to sidebar components (#14776) 2022-08-01 09:21:52 -04:00
Rijk van Zanten
a8447486c5 New translations en-US.yaml (French, Canada) (#14777) 2022-08-01 13:21:10 +00:00
Rijk van Zanten
173069ac5f New translations en-US.yaml (Hungarian) (#14771) 2022-08-01 09:01:47 +00:00
Rijk van Zanten
f777d7bf90 New translations en-US.yaml (Japanese) (#14764) 2022-08-01 02:35:04 +00:00
Rijk van Zanten
9a093650b6 New translations en-US.yaml (German) (#14758) 2022-07-30 18:07:36 +00:00
Rijk van Zanten
d334947f85 New translations en-US.yaml (Chinese Traditional) (#14757) 2022-07-30 14:45:14 +00:00
Rijk van Zanten
61d3f39fde New translations en-US.yaml (Chinese Traditional) (#14756) 2022-07-30 13:46:51 +00:00
Rijk van Zanten
0a52db4503 New translations en-US.yaml (Portuguese, Brazilian) (#14753) 2022-07-30 11:04:12 +00:00
Rijk van Zanten
7e2e69fc19 New translations en-US.yaml (Portuguese, Brazilian) (#14752) 2022-07-30 09:30:47 +00:00
Rijk van Zanten
d61cd02ff1 New translations en-US.yaml (Hungarian) (#14746) 2022-07-29 16:47:20 +00:00
Rijk van Zanten
628dae7d2e Add configuration for "Add New"/"Select Existing" buttons in M2O interface (#14745)
Co-authored-by: Patrik Szkandera <patrik@laposa.ie>
2022-07-29 11:14:34 -04:00
Rijk van Zanten
a11b14b3de New translations en-US.yaml (Dutch) (#14743) 2022-07-29 10:18:44 +00:00
Rijk van Zanten
6c77b8d003 New translations en-US.yaml (Russian) (#14730) 2022-07-28 21:45:07 +00:00
Brainslug
8740f5e044 fixes interface "trim" defaults (#14709) 2022-07-28 17:41:33 -04:00
Azri Kahar
0f394d90d8 fix files interface's drawer download button (#14688) 2022-07-27 12:35:37 -04:00
Azri Kahar
1054ca69ed fix fallback icon styling for interfaces (#14693) 2022-07-27 11:38:35 -04:00
Azri Kahar
bc27cfadba fix fields reactivity in export drawer (#14695) 2022-07-27 11:25:39 -04:00
ian
1884c081f5 Cast values to string when matching in v-select (#14685) 2022-07-27 10:01:28 -04:00
Rijk van Zanten
263ee74408 Add tests for translate-shortcut (#14682) 2022-07-26 17:02:02 -04:00
Brainslug
ee07d22f19 added missing tests for get-js-type utility (#14654) 2022-07-26 16:57:04 -04:00
ian
ce01288307 Reload image view when src is updated (#14646)
* Reload image view when src is updated

* Regenerate random ID after saving to bust cache
2022-07-26 11:52:50 -04:00
Brainslug
ef397e97b1 broken assets paths when serving Directus from a subfolder (#14650)
* removing getrootpath

* removed redundant getRootPath from components

* We use leading / everywhere else in api usage

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-07-26 11:29:14 -04:00
Nicola Krumschmidt
391992b5b4 Resolve a warning shown when opening the in-App docs in dev mode (#14662) 2022-07-26 11:16:44 -04:00
Nicola Krumschmidt
ceff32fb63 Fix Favicon when project color and logo are not set (#14666) 2022-07-26 11:06:41 -04:00
Azri Kahar
9e50201e70 Do not override current admin language preference (#14648) 2022-07-26 10:54:37 -04:00
Rijk van Zanten
52598538f0 New translations en-US.yaml (Bulgarian) (#14647) 2022-07-26 07:56:19 +00:00
Rijk van Zanten
d5813bea23 Fix render template height in card subtitle (#14644) 2022-07-25 17:15:55 -04:00
Rijk van Zanten
88c5edf7a3 Add app unit tests using vitest (#14583)
* Install / bootstrap vitest

* Install c8

* Add tests for add-query-to-path

* Don't set global maplibre token on individual style

This feels wrong to me. We have a single global access token that should be used for these things. Overriding that with a token that's found for individual styles on top of the same global object in order of configured maps feels weird, as the latter tokens will override the earlier ones. Needs more research though

* Install testing libraries

* Use happy-dom as env in vitest

* Enable ts checking in tests

* Remove unused jest config

* Organize store imports

* Remove types from TSDoc in add-query-to-path

* Improve check in add-related-primary-key-to-fields

* Add reusable stub for anything touching nanoid

* Add tests for add-related-primary-key-to-fields

* Move adjust date to shared

* Remove arraysAreEqual util in favor of relying on lodash

* Fix add-related-primary-key-to-fields test

* Add test coverage for capitlize-first

* Add TSDoc/tests for extract-field-from-function

* Add test coverage for formatFieldFunction

* Add test coverage for format-filesize

* Add test coverage for get-groups

* Add tests for get-root-path

* cleanup imports

* Move tests to live next to source files

* Add tests for user-name

* Update type to match function behavior

* Add test coverage for point-on-line

* Add tests for is-empty

* Add test coverage for is-hex

* Remove getSetting util

Bit pointless to have a util function to just read a value from a store

* Add test coverage for get-related-collection

* Add test coverage for get-theme

* Add test coverage for get-with-arrays

* Add test coverage for hide-drag-image

* Add test coverage for is-permission-empty

* Remove unused import

* Add test for jwt-payload

* Add snapshot rendering test for v-sheet

* Add whitespace

* Rename __test_utils__ -> __utils__

* Add composable test

* Update app/tsconfig.json

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2022-07-25 16:23:45 -04:00
Adrian Dimitrov
515ea4e4d2 Fix list-group clickable; Fix navigation-item initial state (#14637)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-07-25 14:16:41 -04:00
Nicola Krumschmidt
81cd748c6d Add support for operation extensions to the Extensions SDK (#14410)
* Clean up extensions build logging

* Expose defineOperation* helpers through extensions-sdk

* Add support for scaffolding operation extensions

* Refactor extension type constants

* Improve extension-related tests in shared

* Improve wording when scaffolding extension fails due to wrong type

* Make spinner text bold when scaffolding extensions

* Add support for building operation extensions

* Fix operations tile name

* Make extension config type spacing consistent

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-07-25 11:36:52 -04:00
Cl4ud10 T4551S
bfb1f93449 Update pt-BR.yaml (#14596)
Whenever a new field is created, there's no translation for the "require value to be set on creation". The translation to it should be "Requer que valor seja definido na criação".
2022-07-25 10:39:47 -04:00