Commit Graph

9962 Commits

Author SHA1 Message Date
Rijk van Zanten
1d018dd15e Delete changelog.md
Changelog is duplicated between reviews and this file. The releases are the source of truth for release notes
2023-03-24 11:37:39 -04:00
rijkvanzanten
6b9982eae2 v9.23.4 v9.23.4 2023-03-24 11:34:21 -04:00
Rijk van Zanten
495b57f00b Fix npm usage in Docker image (#17923)
* Hacky nonesense

* Update Dockerfile

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

* Copy bin file for `directus`

To be able to use `npx directus ...`

* Add chown for node on files

* Simplify folder / ownership commands

* Enable pnpm

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-03-24 11:33:07 -04:00
Azri Kahar
e0cf496797 Fix auth expires value larger than 32-bit integer for GraphQL (#17908)
* verify blackbox test catches this error

* use GraphQLBigInt for auth expires field

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-03-24 10:18:59 -04:00
Brainslug
73bbfaf058 Fix cookie redaction in logs (#17914)
* removed incorrect redaction logic

* updated paths that werent working

* Added new redaction function

* Reverting unintentional change

* don't force lowercase provider names

* extracted cookieNames

* set cookie based on driver settings suggested by ian

* add unit test

* redact the entire cookie header

* updated the tests

* move redact text to constants

---------

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-03-24 14:04:22 +00:00
Rijk van Zanten
27706f7067 Fix volume names (#17921) 2023-03-24 09:42:12 -04:00
Rijk van Zanten
80f4807a09 TS Config Modernization Program Part 3 of many (#17904)
* noImplicitOverride: true

* noImplicitReturns: true

* noPropertyAccessFromIndexSignature: true
2023-03-23 16:47:55 -04:00
Brainslug
8b0c5f1250 Fixed boolean logic mistake in the _nempty operator (#17903) 2023-03-23 16:24:13 -04:00
rijkvanzanten
21a0b910ac v9.23.3 v9.23.3 2023-03-23 14:11:49 -04:00
Pascal Jufer
5d6468b477 Fix publishing of packages to NPM in release workflow (#17900)
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-03-23 14:02:55 -04:00
John Hillegass
3495363039 Merge pull request from GHSA-8vg2-wf3q-mwv7
* fix(api): redact header cookie

This is a quick PoC for a fix. I am not sure if it's the best answer and have not added tests yet. If we feel good about it, I can add tests and open a PR. Please let me know how you'd like to proceed!

* cleaner

* rework to handle multiple inputs and add unit tests

* Added same redacting logic for teh response set-cookie

---------

Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2023-03-23 18:54:02 +01:00
Rijk van Zanten
59f965cc8d Update release.yml v9.23.2 2023-03-23 13:40:26 -04:00
rijkvanzanten
74508c70b8 v9.23.2 2023-03-23 13:35:11 -04:00
Rijk van Zanten
f6e992a49d New Crowdin updates (#17652)
* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Nepali)

* New translations en-US.yaml (Nepali)

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

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

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

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Indonesian)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Dutch)

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Thai)

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

* New translations en-US.yaml (Thai)

* Update source file en-US.yaml

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

* New translations en-US.yaml (Nepali)

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

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

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (Romanian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Czech)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Finnish)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Russian)

* New translations en-US.yaml (Slovak)

* New translations en-US.yaml (Swedish)

* New translations en-US.yaml (Turkish)

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

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

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

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

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Estonian)

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

* New translations en-US.yaml (Faroese)

* New translations en-US.yaml (Bosnian)

* New translations en-US.yaml (Sorani (Kurdish))

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

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Korean)

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

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Nepali)

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

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

* New translations en-US.yaml (Ukrainian)

* New translations en-US.yaml (French)

* New translations en-US.yaml (Spanish)

* New translations en-US.yaml (Arabic)

* New translations en-US.yaml (Bulgarian)

* New translations en-US.yaml (Danish)

* New translations en-US.yaml (German)

* New translations en-US.yaml (Hungarian)

* New translations en-US.yaml (Italian)

* New translations en-US.yaml (Polish)

* New translations en-US.yaml (Slovak)

* New translations en-US.yaml (Turkish)

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

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

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

* New translations en-US.yaml (Croatian)

* New translations en-US.yaml (Bosnian)

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

* Update source file en-US.yaml

* New translations en-US.yaml (Esperanto)

* New translations en-US.yaml (Korean)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Greek)

* New translations en-US.yaml (Norwegian)
2023-03-23 13:29:17 -04:00
Rijk van Zanten
0d8b3a52c7 Simplify / improve release flow (#17858)
* Remove git-hook

This is already running in GH Actions as well

* Start new Dockerfile

* Remove unused files

* Close, but not quite

* Line break between environment specific commands / operational ones

* Cleanup dockerfile

* Update github release automation

* Update Dockerfile

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

* Update Dockerfile

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

* Improve based on review comments

* Update Dockerfile

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

* Update Dockerfile

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

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-03-23 13:20:14 -04:00
DMehaffy
9fc08c7f38 Remove free plan for cloud from readme (#17896) 2023-03-23 12:12:23 -04:00
Rijk van Zanten
5ea0ecaa2d Update bug_report.yml 2023-03-23 10:13:27 -04:00
ian
cce33436d1 Rework schema caching to use memory (#17763)
Co-authored-by: Nitwel <mail@nitwel.de>
Co-authored-by: Jan Arends <jaads@users.noreply.github.com>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-03-23 12:52:06 +01:00
rijkvanzanten
fa44632c71 Update snapshot 2023-03-22 17:48:17 -04:00
rijkvanzanten
fbb4da2e77 Fix test 2023-03-22 17:27:39 -04:00
rijkvanzanten
5247b68afa Updates 6 of 6 2023-03-22 17:23:30 -04:00
rijkvanzanten
fe74c43bc0 Updates 5 of many 2023-03-22 17:02:18 -04:00
rijkvanzanten
f0e0508dd2 Updates 4 of many
This was my favorite so far
2023-03-22 16:55:46 -04:00
rijkvanzanten
71060a51f7 Updates 3 of many 2023-03-22 16:29:36 -04:00
rijkvanzanten
0a137551a8 Updates 2 of many 2023-03-22 16:23:25 -04:00
rijkvanzanten
05034d0e17 Updates 1 of many 2023-03-22 16:13:54 -04:00
rijkvanzanten
e721e33c8b Enable exactOptionalPropertyTypes 2023-03-22 16:13:48 -04:00
Rijk van Zanten
806be3a193 TSConfig Modernization part 2: Enable non-breaking flags (#17889)
* Enable non-breaking flags

* Add explicit src
2023-03-22 15:58:44 -04:00
Rijk van Zanten
1a5f06c791 TSConfig Modernization: Set importsNotUsedAsValues (#17887)
* Set importsNotUsedAsValues

* Fix import
2023-03-22 14:51:27 -04:00
Rijk van Zanten
2d49526a6f Update FUNDING.yml
It's a team effort <3
2023-03-22 10:47:02 -04:00
Pascal Jufer
7b34f05a2b Declare null as valid value type for v-radio (#17879) 2023-03-22 10:31:09 -04:00
Azri Kahar
46c1666607 fix archive field reactivity for new collection (#17862) 2023-03-22 06:57:10 +08:00
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