Commit Graph

10030 Commits

Author SHA1 Message Date
ian
7b256e769c Fix built-in modules for flows exec operation (#17866)
* Fix built-in modules in flows exec

* Tiny ocd patch
2023-03-21 16:46:03 +01:00
Nitwel
022d77d5d9 Fix keep folder on reupload (#17744)
* Fix deleting data on reupload

* only update folder when necessary

* run linter

* fix replacing filename_download and title

* run linter

* fix if statement

* clean up code

* Remove unused import of 'File'

* cleanup code

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-03-21 16:17:19 +01:00
Azri Kahar
8849050657 use dbSafe input for system fields (#17861) 2023-03-21 12:30:15 +01:00
Rijk van Zanten
9526b4e5b2 Improve S3 asset read performance (#17835)
* Create new s3 client for each read

* Temp disable ts while debugging

* Add concurrency test

* Add minio to other tests

* Reduce unavailable count

* Trigger blackbox tests whenever packages are updated

* Prevent minio-mc from exiting

* Decrease requests and increase test timeout

* Spam more requests over longer period

* Increase request timeout

* Run autocannon directly with larger image

* Fix tests

* Lock version

* My favorite file

---------

Co-authored-by: ian <licitdev@gmail.com>
2023-03-20 18:16:30 -04:00
rijkvanzanten
c938e4be34 Remove comment 2023-03-20 16:53:11 -04:00
Nitwel
0c22829930 Make tags interface more clear (#17852)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-03-20 16:03:21 +01:00
Nitwel
47759a36aa show search results for mapbox (#17834) 2023-03-20 21:47:40 +08:00
Nitwel
6c9f9d3f16 Fix Storybook components (#17828)
* migrate to latest storybook and fix components

* run linter
2023-03-20 09:30:54 -04:00
Nitwel
a9a5e2a26d Fix options being null (#17847) 2023-03-20 13:54:27 +01:00
Azri Kahar
6a54e24bba Tweak swatch button size & position in select-color interface (#17776)
* tweak swatch size

* remove obsolete padding
2023-03-18 03:02:04 +08:00
Nitwel
c02b306f44 Make default folder more clear (#17833) 2023-03-17 14:35:27 -04:00
Nitwel
91c2d8b969 Fix typeAllowList (#17830) 2023-03-17 18:48:05 +01:00
Nitwel
d5ee27ee76 Fix translations setting primary key and request spamming (#17778)
* Fix translations setting primary key and request spamming

* add return type
2023-03-17 10:03:25 +01:00
Pascal Jufer
0293c88aa3 Patch Tuesday 🐸 (#17811)
* Update root deps

* Update `directus` deps

* Update `@directus/app` deps

* Update usage of knex-mock-client

* Update `@directus/shared` deps

* Update `extensions-sdk` deps

* Update `@directus/specs` deps

* Update `@directus/storage` deps

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

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

* Update `@directus/storage-driver-gcs` 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>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
2023-03-17 15:15:03 +08:00
rijkvanzanten
3a42410e5b Add clinic to gitignore 2023-03-16 16:04:22 -04:00
Brainslug
3d7fcac51e Allow blur events for m2o dropdown (#17784)
* allow blur events for m2o dropdown

* TEST - github actions

* Revert "TEST - github actions"

This reverts commit 2ff0265763.

* Update app/src/interfaces/select-dropdown-m2o/select-dropdown-m2o.vue

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

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-03-17 01:32:23 +08:00
Nitwel
c5c025f4ba Revert "Fix using alias fields function for non alias field (#17742)" (#17816)
This reverts commit 7c479c5161.
2023-03-16 22:53:59 +08:00
Pascal Jufer
d711aa0c23 Correctly assert i18n default messages (#17815)
To prevent the following TS warning:
> Type instantiation is excessively deep and possibly infinite.ts(2589)
2023-03-16 09:33:52 -04:00
Azri Kahar
eb65d60236 Improve error handling for app extensions (#17191)
* add util function to get vue component name

* add global error handler

* add v-error-boundary component

* use error boundary to wrap insights panels

* use error boundary to wrap form interfaces

* use error boundary in render display and template

* use error boundary in extension options

* use error boundary for flows operation overview

* extract default options-overview into a component

* add tests
2023-03-16 13:04:17 +01:00
Pascal Jufer
4d7e81f295 Switch back to latest pnpm version in workflows (#17809) 2023-03-16 11:52:24 +01:00
Azri Kahar
251927a765 Require value in project settings' fields (#17771)
* support required fields in system-modules

* update settings fields to required
2023-03-16 11:47:01 +01:00
Pascal Jufer
5209f81879 Clean-up scripts in package.json files (#17810)
* Clean-up scripts in package.json files

* Remove superfluous comma
2023-03-16 11:09:29 +01:00
Nitwel
0b6e4c0200 Load flow directly from api (#17785)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-03-16 00:51:12 +00:00
Rijk van Zanten
4f2a05b553 Update readme.md 2023-03-15 16:25:58 -04:00
ian
3ff37b0f32 Sanitize query in updateByQuery and deleteByQuery (#17649)
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2023-03-15 15:25:12 +01:00
Connor
34acd97a01 Fix Flow Error Handling (#17519)
* Validate Operation Result is Serializable

* Enumerate Flow Error Object so it gets logged

* Add ability for error to be a JSON string and parse it

* Make the request operation throw useful error

* Revert DockerCompose in "Validate Operation Result is Serializable"

This partially reverts commit c7e76716a5.

* Fix Typescript Errors

* Move isValidJSON to Shared Util and add Tests

* return the error message excluding stack trace

* allow for non-exception errors

* Apply suggestions from code review

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

* Clean-up after wrong suggestion

* Clean-up processing of error data

* Use content-type json if body is object

* Reformat error data check

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-03-15 08:29:55 +00:00
Nitwel
6943f70a39 Only load defined fields in m2a (#17710)
Co-authored-by: ian <licitdev@gmail.com>
2023-03-14 17:17:31 +01:00
Pascal Jufer
1c7320e68c Use pnpm 7.29.1 for now to circument dep regression (#17787) 2023-03-14 21:30:15 +08:00
José Varela
a29a664ae7 Allow to select checkbox entry when children is null (#17783) 2023-03-14 20:39:01 +08:00
Pascal Jufer
e87f93f3b4 Fix permission check for manual sort for full access (#17678) 2023-03-14 20:33:32 +08:00
Azri Kahar
5f4b4ec3d4 Use light primary border color for fields when they are inside groups (#17777)
* use light primary border for fields in groups

* remove !important & use higher CSS specificity
2023-03-14 13:14:20 +01:00
Nitwel
7c479c5161 Fix using alias fields function for non alias field (#17742) 2023-03-13 13:41:03 +01:00
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