Commit Graph

9898 Commits

Author SHA1 Message Date
Azri Kahar
baf778fddb try/catch serverStore.hydrate() in router (#17756)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-03-09 14:53:35 -06:00
ian
0a4c9e6def Fix assets limit test (#17758)
* Increase number of attempts

* Log unavailable count

* Trigger testing for all vendors

* Remove logging

* Revert testing for all vendors
2023-03-09 14:50:21 -06:00
Nitwel
bbb387fe86 Write full item to revisions (#17729)
* Write full item to revisions

* Get revision data/delta in single call

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-03-09 14:50:04 -06:00
Brainslug
77cffa6849 Require value for dropdown choices (#17732)
* updated value to be required

* applied to other interfaces

* Made dropdown labels required too

* added required fields for other interfaces

* added required fields for field/collection translations
2023-03-10 00:14:39 +08:00
Kevin Lewis
c8623cacf0 Brought readme up to date with new announcmeents (#17755) 2023-03-09 10:05:55 -06:00
Rijk van Zanten
0154878f27 Improve assets performance (#17734)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: ian <licitdev@gmail.com>
2023-03-08 18:28:36 +01:00
Nitwel
00faa39f87 Fix delete and quit opening save changes drawer (#17739)
* fix delete and quit opening save changes drawer

* fix bug on more places

* and another spot

* run linter

* Same change for presets

---------

Co-authored-by: ian <licitdev@gmail.com>
2023-03-09 00:41:05 +08:00
Nitwel
c29bf4d958 Only show context menu for collections (#17725)
* Only show context menu for collections

* don't attach event listener on null
2023-03-07 14:53:55 +00:00
Nitwel
fd5ac8a195 Fix margin on drawer item (#17726) 2023-03-07 15:11:31 +01:00
Pascal Jufer
7b89a11ebe Include schema components in OAS (#17712)
* Add missing schema components to required list

* Update expected schema & switch to inline snapshot

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2023-03-06 15:33:53 +01:00
ian
910b7fae23 Add root path to module bar images (#17714) 2023-03-06 14:08:29 +01:00
Nitwel
44416a443b Fix loading all fields (#17395)
* Fix loading all fields

* fix linter

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2023-03-06 12:05:08 +01:00
Nitwel
9d1dd1ae52 Show validation errors in drawer-item (#17423)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-03-06 11:47:05 +01:00
Pascal Jufer
4b2edb05c3 Update gh-action-linear to v0.3.1 (#17693) 2023-03-03 12:17:14 +01:00
Azri Kahar
d466204732 Add ability to limit requests from using the Cache-Control header to skip cache (#17642)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-03-02 13:19:30 +01:00
Brainslug
ee7fca3e31 Global rate limiter (#17296)
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-03-02 13:04:22 +01:00
Azri Kahar
512ca48680 Allow null for related_collection in applyJoiSchema (#17665)
* allow null for related_collection

* Add M2A to schema tests

* Trigger testing for all vendors

* Standardize naming convention

* Update deleted collections assertion

* Fix typo

* Revert testing for all vendors

---------

Co-authored-by: ian <licitdev@gmail.com>
2023-03-02 08:23:13 +01:00
Pascal Jufer
d5c39fd087 Use dedicated PAT for slash command action (#17671) 2023-03-01 17:06:35 -05:00
rijkvanzanten
e468f58eec v9.23.1 v9.23.1 2023-03-01 09:51:57 -05:00
rijkvanzanten
baafacb919 v9.23.0 2023-03-01 09:40:28 -05:00
Pascal Jufer
59dcd30e6e Use npm auth set-up from 'setup-node' action (#17656) 2023-03-01 08:07:16 +01:00
ian
fc2eabc59d Add required option to repeater fields (#17637)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-02-28 18:16:10 +00:00
rijkvanzanten
47b9824954 v9.23.0 v9.23.0 2023-02-28 12:51:36 -05:00
Rijk van Zanten
9368dbd0c2 New Crowdin updates (#17487)
* Update source file en-US.yaml

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Esperanto)

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

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Dutch)

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

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Catalan)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Mongolian)

* New translations en-US.yaml (Dutch)

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

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Japanese)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Turkish)

* New translations en-US.yaml (Japanese)

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

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Persian)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Malay)

* New translations en-US.yaml (Esperanto)

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

* New translations en-US.yaml (French)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Dutch)

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

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Portuguese)

* New translations en-US.yaml (Portuguese)
2023-02-28 11:38:35 -05:00
Rijk van Zanten
b98b67b8e2 Create slash-commands.yaml 2023-02-28 10:55:59 -05:00
Rijk van Zanten
451e48bd93 Create linear-dispatch.yaml 2023-02-28 10:55:42 -05:00
Rijk van Zanten
c4b185942a Update and rename linear.yml to linear-auto.yml 2023-02-28 10:54:52 -05:00
Connor
b90f72073d Fix Local Auth Provider form being hidden (#17588) 2023-02-28 21:55:06 +08:00
Azri Kahar
1f6a8e57ad Additionally check for varchar when casting UUID in apply diff (#17615)
* check for varchar when casting UUID in apply diff

* add test

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2023-02-28 11:33:25 +01:00
ian
fb41eee1ed Catch IPTC and XMP extraction errors (#17633)
* Catch IPTC and XMP extraction errors

* Add autoPurgeCache option to uploadOne

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-02-27 11:05:00 +00:00
Thierry Kühni
9856019c3a Catch ICC parse errors to avoid server crash (#17622)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-02-27 08:21:20 +01:00
Pascal Jufer
1cceeaf637 Update request unit test (#17624) 2023-02-25 21:32:43 -05:00
rijkvanzanten
6dce1a2f8a Update request
Squashed commit of the following:

commit 5afeab357b73494d690c33952efd41b29367fab5
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Feb 24 15:39:15 2023 -0500

    Add dns pre-resolve

commit 68e0e8c8099b5463297185f220e80b2b6d5b980a
Author: rijkvanzanten <rijkvanzanten@me.com>
Date:   Fri Feb 24 12:28:18 2023 -0500

    Start on request interceptor
2023-02-24 15:40:25 -05:00
Brainslug
5ecb9965b7 Hide related fields without read permissions (#16832)
* remove related O2M fields without read permissions

* Added basic test for usePermissions composable

* updated test

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-02-24 12:44:16 -05:00
Nitwel
21bb26988e Improve preview of relational columns in tabular layout (#15269)
* improve preview of relational tabular columns

* update pnpm-lock

* Use the improved get method (#15548)

* Update app/src/layouts/tabular/index.ts

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-02-24 22:01:57 +08:00
Nitwel
da9c3fed3c Fix infinite recursion (#17609)
* fix infinite recursion

* ran eslint

---------

Co-authored-by: Brainslug <tim@brainslug.nl>
2023-02-23 16:04:55 +01:00
Rijk van Zanten
ee59646b8c Use example.com instead of directus.io (#17600) 2023-02-22 15:19:55 -05:00
Rijk van Zanten
6cb92ea06a Add support for ASSET_TRANSFORM_TIMEOUT env var (#17596)
* Add support for ASSET_TRANSFORM_TIMEOUT env var

* Use string based config

* Timeout on overall promise
2023-02-22 14:39:02 -05:00
Norbert Fodor
3e80260a49 Remove hardcoded package extension path (#17525)
* Remove hardcoded package extension path

* Rename PACKAGE_EXTENSIONS_PATH env variable to PACKAGE_FILE_LOCATION

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2023-02-21 17:22:18 +01:00
ian
73e239c49e Add directory check when getting extensions real paths (#17565) 2023-02-21 10:45:55 +01:00
ian
9c36d7d8ef Throw validation error after authorization (#17499)
* Throw validation error after authorization

* Improve tests

* Refactor for deleteMany
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Refactor other usages in users service that errors before ForbiddenException

* Update tests

* Adjust test for 'deleteByQuery'

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-02-20 11:57:10 +01:00
Pascal Jufer
e3c755dcf0 Add getMilliseconds util for safer value interpretation (#17498)
* Add `getMilliseconds` util for safer value interpretation

* Test more data types

* Remove remnant

* Customizable fallback with default of undefined

* Clean-up

* Transform getMilliseconds to named export

---------

Co-authored-by: ian <licitdev@gmail.com>
2023-02-17 11:06:26 -05:00
ian
2ff9a64c87 Update to 2023 (#17566) 2023-02-17 17:05:51 +01:00
Roger Stringer
c208286727 downgrade @rollup/plugin-commonjs to 23.0.4 (#17539)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-02-16 15:54:24 +01:00
Pascal Jufer
37faf3bd5d Patch Tuesday 🐸 (#17530)
* Update root deps

* Reformat files with new prettier version

* Update `directus` deps

* Update `@directus/app` deps

* Update `@directus/shared` deps

* Update components snapshots after updates

prop order has changed

* Update `extensions-sdk` deps

* pin version of zod in shared

* Update `@directus/storage` deps

* Update `@directus/storage-driver-azure` deps

* Update `storage-driver-cloudinary` deps

* Update `@directus/storage-driver-cloudinary` deps

* Update `@directus/storage-driver-local` deps

* Update `@directus/storage-driver-s3` deps

* Update `@directus/utils` deps

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-02-16 17:47:39 +08:00
Pascal Jufer
89fbac36ce Catch errors from exif-reader (#17527) 2023-02-15 21:37:51 +00:00
Rijk van Zanten
3c69a14021 Update bug_report.yml 2023-02-15 15:32:09 -05:00
Rijk van Zanten
3e20b18bdb Update bug_report.yml 2023-02-15 15:30:04 -05:00
Gerard Lamusse
d3781f25d3 Remove unnecessary clone on selectAll (#17509) 2023-02-14 17:38:34 +01:00
Pascal Jufer
45c4bc89f1 EXTENSIONS_CACHE_TTL: Add to allow list & decouple from other cache envs (#17464)
* EXTENSIONS_CACHE_TTL: Add to allow list & decouple from other cache envs

* Remove unnecessary import

* Broaden getCacheControlHeader function, use it for assets & extensions

* Add unit tests

* Apply suggestions from code review

Consistent lowercase "cache-control" in test description

---------

Co-authored-by: ian <licitdev@gmail.com>
2023-02-14 10:28:40 -05:00