Commit Graph

9290 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
José Varela
cc343fdf91 Improve cache performance by compressing records (#14833)
* Utils to compress/decompress data
Gzip was chosen because we want smaller data but quick algorithm since this will be ran for every request

* Compress system cache

* Decompress system cache

* Set/Get compressed cache for individual requests

* Switch from gzip to snappy, use json compression too

* Fix cache exp set/get

* Remove unused import

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-08-04 17:35:27 -04:00
Rijk van Zanten
1300f5c3de Add compress/decompress utility functions (#14855)
* install coverage tool

* Add compressor function

* 🧹

* Finish compressor/decompressor

* Finish tests
2022-08-04 15:36:34 -04:00
Rijk van Zanten
855db5638f Tests/shared (#14836)
* Move from jest to vitest

* Move test files, cleanup imports
2022-08-03 17:26:17 -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
ian
3dedf1cb3f Check for allowed filter operators when applying filter (#14829)
* Check for allowed filter operators when applying filter

* Add hash type to GraphQL

* Add tests

* Specify text type
2022-08-03 14:14:19 -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
Erick Torres
791854ab08 Move serializers option to the right place for pino-http (#14803) 2022-08-03 08:43:45 -04: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
rijkvanzanten
73d31b7c53 Fix location of head return call 2022-08-02 14:39:11 -04:00
rijkvanzanten
8085b0d788 Don't crash on invalid file storage paths 2022-08-02 13:21:44 -04: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
Azri Kahar
c75ecc284f Fix typo for operation component in OAS (#14795) 2022-08-02 09:07:46 -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
Brainslug
eaec9b1f63 500 error when using scoped fields query when not applicable (#14627)
* Initial hacky fix for invalid field formats

* preventing parseFields from recursively parsing fields for non applicable relations

* removed unneeded parsefields exception
2022-08-01 12:10:58 -04: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
Azri Kahar
ab8be3621a Change notifications timestamp to nullable & default to now (#14323)
* Change notifications timestamp to nullable

* check special flags that generate data

* create and use new updateType helper

* update migration identifier

* use changeToType() where applicable

* fix method name used in new migration

* bump identifier again

* Remove changeToString

* update migrations

* add conditional text/string type for compatibility

* bump migration identifier

* bump

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: ian <licitdev@gmail.com>
2022-08-01 21:05:38 +08: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
Azri Kahar
ab045cffce Fix Emit Events for item CRUD operations in Flows (#14741) 2022-07-29 10:52:28 -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
Rijk van Zanten
15be1c60b0 Support running prod locally through ./api/cli.js (#14728) 2022-07-28 15:17:31 -04:00
Azri Kahar
0f394d90d8 fix files interface's drawer download button (#14688) 2022-07-27 12:35:37 -04:00
ian
732b49f482 Replace functions within arrays in GraphQL (#14705) 2022-07-27 12:32:39 -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