Commit Graph

1467 Commits

Author SHA1 Message Date
Brainslug
e469b49583 release 10.12 (#22652) 2024-06-04 17:34:36 +02:00
ian
f5dcd85082 Add user limits (#22479)
* Limit users

* Add defaults

* Allow specifying of reason for limit exceeded error

* Update config options doc

* Make existing tests pass

* Update extensions limit error

* Update usage of regular expression

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Rename typo

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Rename files

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* Use first() and remove redundant +=

* Fix incorrect api access count

* Rework to account for passing of unchanged access values

* Fix increased counts in updateMany

* Consistent error message

* Simplify unnecessary find

* Add tests

* Rename UserCount to AccessTypeCount

* renamed env var

* prettier

* Add changeset

* fix limit checking for batch and status updates

* test and prettier

* removed obsolete check

* updated error

* fixed error usage in extenions service

* Use randomUUID from '@directus/random'

* Fix payload check in updateMany

* implemented RolesService.updateBatch from its parent

* resolved unit test error

* updated type

* fixed existing role query

* Temporary activation of blackbox tests

* Move to separate fn, to make skippable for non-existent role

* Revert "Temporary activation of blackbox tests"

This reverts commit 4c4ac846d6.

* Revert "Move to separate fn, to make skippable for non-existent role"

This reverts commit 1d90a82e39.

* Add user limits - extension (#22642)

* adressing existing users issue

* migrated changes from pascal

* only check the role for active users

* only count active users

* updated incorrect if

* default to count zero

* Undid abstraction to separate function

* fixed updating through user counting error

* prettier

* simplified fallback query

* prettier

* Added try catch to be safee

* updated db mocking for tests

* removed extra check to satisfy implementation tests

---------

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>
2024-06-04 17:00:17 +02:00
Brainslug
543b345695 Merge pull request from GHSA-7hmh-pfrp-vcx4
* Add gql parser limit

* Add changeset

* Format docs

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-06-04 15:46:50 +02:00
dependabot[bot]
426092d6d0 Bump pino from 9.0.0 to 9.1.0 (#22645)
Bumps [pino](https://github.com/pinojs/pino) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/pinojs/pino/releases)
- [Commits](https://github.com/pinojs/pino/compare/v9.0.0...v9.1.0)

---
updated-dependencies:
- dependency-name: pino
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 09:51:04 +02:00
dependabot[bot]
7e6980dfdf Bump @sinclair/typebox from 0.32.30 to 0.32.31 (#22625)
Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox) from 0.32.30 to 0.32.31.
- [Commits](https://github.com/sinclairzx81/typebox/compare/0.32.30...0.32.31)

---
updated-dependencies:
- dependency-name: "@sinclair/typebox"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-31 12:47:05 +02:00
dependabot[bot]
244ff2b956 Bump @google-cloud/storage from 7.11.0 to 7.11.1 (#22626)
Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 7.11.0 to 7.11.1.
- [Release notes](https://github.com/googleapis/nodejs-storage/releases)
- [Changelog](https://github.com/googleapis/nodejs-storage/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-storage/compare/v7.11.0...v7.11.1)

---
updated-dependencies:
- dependency-name: "@google-cloud/storage"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-31 12:46:30 +02:00
dependabot[bot]
9e4fbe0c67 Bump openapi3-ts from 4.3.1 to 4.3.2 (#22610)
Bumps [openapi3-ts](https://github.com/metadevpro/openapi3-ts) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/metadevpro/openapi3-ts/releases)
- [Changelog](https://github.com/metadevpro/openapi3-ts/blob/master/Changelog.md)
- [Commits](https://github.com/metadevpro/openapi3-ts/commits)

---
updated-dependencies:
- dependency-name: openapi3-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-30 10:49:44 +02:00
Brainslug
ba9749c31f Added session next_token to system-data (#22605) 2024-05-29 21:11:22 +02:00
Brainslug
b7794870f5 release update (#22594) 2024-05-28 17:01:27 +00:00
Daniel Biegler
78db52949c Add support for custom URLs for email verification (#22565)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-28 15:30:41 +00:00
dependabot[bot]
67d5161c5f Bump @azure/storage-blob from 12.17.0 to 12.18.0 (#22591)
Bumps [@azure/storage-blob](https://github.com/Azure/azure-sdk-for-js) from 12.17.0 to 12.18.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/storage-blob_12.17.0...@azure/storage-blob_12.18.0)

---
updated-dependencies:
- dependency-name: "@azure/storage-blob"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 11:41:09 +02:00
dependabot[bot]
2bcd7b0b0d Bump axios from 1.6.8 to 1.7.2 (#22580)
Bumps [axios](https://github.com/axios/axios) from 1.6.8 to 1.7.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.8...v1.7.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-27 11:27:37 +02:00
dependabot[bot]
ef54f4b7d9 Bump inquirer from 9.2.20 to 9.2.22 (#22579)
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 9.2.20 to 9.2.22.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.20...inquirer@9.2.22)

---
updated-dependencies:
- dependency-name: inquirer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-27 11:03:19 +02:00
dependabot[bot]
7de9d5fc34 Bump @sinclair/typebox from 0.32.29 to 0.32.30 (#22558)
Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox) from 0.32.29 to 0.32.30.
- [Commits](https://github.com/sinclairzx81/typebox/compare/0.32.29...0.32.30)

---
updated-dependencies:
- dependency-name: "@sinclair/typebox"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-24 12:05:31 +02:00
José Varela
9715fb04be Packages / Cloudinary Storage: Fix move file when ROOT is defined (#22551)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-24 00:22:02 +02:00
dependabot[bot]
06d77a8149 Bump axios-cache-interceptor from 1.5.2 to 1.5.3 (#22549)
Bumps [axios-cache-interceptor](https://github.com/arthurfiorette/axios-cache-interceptor) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/arthurfiorette/axios-cache-interceptor/releases)
- [Changelog](https://github.com/arthurfiorette/axios-cache-interceptor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/arthurfiorette/axios-cache-interceptor/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: axios-cache-interceptor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-23 10:10:54 +02:00
dependabot[bot]
3b020db83d --- (#22540)
updated-dependencies:
- dependency-name: npm-watch
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-22 10:01:29 +02:00
Brainslug
7b212f8f1e v10.11.1 (#22537) 2024-05-21 16:51:19 +00:00
Brainslug
9335664aa8 Session token "safety window" when refreshing (#22503)
Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-21 11:50:00 +00:00
dependabot[bot]
e87b9e0435 Bump semver from 7.6.1 to 7.6.2 (#22514)
Bumps [semver](https://github.com/npm/node-semver) from 7.6.1 to 7.6.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.6.1...v7.6.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 10:32:26 +02:00
dependabot[bot]
def3340255 Bump validate-npm-package-name from 5.0.0 to 5.0.1 (#22497)
Bumps [validate-npm-package-name](https://github.com/npm/validate-npm-package-name) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/npm/validate-npm-package-name/releases)
- [Changelog](https://github.com/npm/validate-npm-package-name/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/validate-npm-package-name/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: validate-npm-package-name
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 10:02:42 +02:00
dependabot[bot]
10967942b3 Bump @vue/test-utils from 2.4.5 to 2.4.6 (#22485)
Bumps [@vue/test-utils](https://github.com/vuejs/test-utils) from 2.4.5 to 2.4.6.
- [Release notes](https://github.com/vuejs/test-utils/releases)
- [Commits](https://github.com/vuejs/test-utils/compare/v2.4.5...v2.4.6)

---
updated-dependencies:
- dependency-name: "@vue/test-utils"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-14 08:39:42 +02:00
dependabot[bot]
cc9b095f2d Bump zod from 3.23.6 to 3.23.8 (#22454)
* Bump zod from 3.23.6 to 3.23.8

Bumps [zod](https://github.com/colinhacks/zod) from 3.23.6 to 3.23.8.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.23.6...v3.23.8)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changeset

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-11 09:50:06 +00:00
dependabot[bot]
66cf968a5d Bump @types/node from 18.19.31 to 18.19.33 (#22453)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.19.31 to 18.19.33.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-10 06:46:48 +02:00
dependabot[bot]
b5b144a749 Bump vite-plugin-dts from 3.9.0 to 3.9.1 (#22440)
* Bump vite-plugin-dts from 3.9.0 to 3.9.1

Bumps [vite-plugin-dts](https://github.com/qmhc/vite-plugin-dts) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/qmhc/vite-plugin-dts/releases)
- [Changelog](https://github.com/qmhc/vite-plugin-dts/blob/main/CHANGELOG.md)
- [Commits](https://github.com/qmhc/vite-plugin-dts/compare/v3.9.0...v3.9.1)

---
updated-dependencies:
- dependency-name: vite-plugin-dts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changeset

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-09 15:37:48 +00:00
dependabot[bot]
462956e88d Bump semver from 7.6.0 to 7.6.1 (#22441)
* Bump semver from 7.6.0 to 7.6.1

Bumps [semver](https://github.com/npm/node-semver) from 7.6.0 to 7.6.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.6.0...v7.6.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changeset

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-09 09:48:59 +00:00
dependabot[bot]
62e50fbc9e Bump @pnpm/workspace.pkgs-graph from 3.0.0 to 3.0.2 (#22422)
* Bump @pnpm/workspace.pkgs-graph from 3.0.0 to 3.0.2

Bumps [@pnpm/workspace.pkgs-graph](https://github.com/pnpm/pnpm) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/pnpm/pnpm/releases)
- [Commits](https://github.com/pnpm/pnpm/compare/v3.0.0...lifecycle/3.0.2)

---
updated-dependencies:
- dependency-name: "@pnpm/workspace.pkgs-graph"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changeset

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-08 12:48:43 +00:00
dependabot[bot]
0953e475c0 Bump @sinclair/typebox from 0.32.27 to 0.32.29 (#22423)
* Bump @sinclair/typebox from 0.32.27 to 0.32.29

Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox) from 0.32.27 to 0.32.29.
- [Commits](https://github.com/sinclairzx81/typebox/compare/0.32.27...0.32.29)

---
updated-dependencies:
- dependency-name: "@sinclair/typebox"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changeset

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-08 12:05:20 +00:00
dependabot[bot]
bd49cf0057 Bump @google-cloud/storage from 7.10.2 to 7.11.0 (#22424)
* Bump @google-cloud/storage from 7.10.2 to 7.11.0

Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 7.10.2 to 7.11.0.
- [Release notes](https://github.com/googleapis/nodejs-storage/releases)
- [Changelog](https://github.com/googleapis/nodejs-storage/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-storage/compare/v7.10.2...v7.11.0)

---
updated-dependencies:
- dependency-name: "@google-cloud/storage"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Create changeset for dep updates

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-08 09:46:07 +00:00
Rijk van Zanten
0d6c6b90b0 v10.11.0 2024-05-07 18:01:38 -04:00
Daniel Biegler
c893b9fa65 Add public registration (#22125)
* WIP: add new register dummy-route

* fix notice on register route

* WIP register form

* WIP: registering ui and controller for testing

* fix lint ordering problem

* wip: users service

* add migration, initial style for fields in settings

* redo how emails will be filtered

* WIP add filter in the register handler

* conditionally render register link depending on settings

* WIP: add email validation

* wip add email sending

* make clicking the email link work

* rm console log

* update controller

* dont send emails for existing emails

* add translation

* only show register link when unauthenticated

* add different redirects

* only allow selecting non-admin roles

* redirect to users page

* update translation

* move logic from controller to usersservice

* rm remnant of logic from controller

* add stall time to registration

* update translation

* rm comments

* rm unused var

* add changeset

* update translation for success

* remove sso related stuff from registration

* also allow setting first and last name

* update error check

* add @directus/errors to app

* replace error strings with enum

* rename to public_registration

* rename to public_registration_verify_email

* add notes to fields

* add types package to changeset

* dont stall if no work is being done

* allow null-role and resending of reg. email

* add public registration env vars, rm RATE_LIMITER_GLOBAL_STORE

RATE_LIMITER_GLOBAL_STORE wasnt being used. Lets just stick to RATE_LIMITER_STORE for all rate limiters. TODO: also remove from docs!

* use ratelimiter for registration, use stall time env var

* add registration limiter docs, rm global store variable from docs

* update changeset

* add ignore-notice

Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>

* use and document new `EMAIL_VERIFICATION_TOKEN_TTL`, also doc `REGISTER_STALL_TIME`

* change variable name

Co-authored-by: ian <licitdev@gmail.com>

* apply variable rename to usage

* change backticks to single quote

Co-authored-by: ian <licitdev@gmail.com>

* inline variables

* add fields to server info, update types

- The other ratelimiters also expose points and duration, done
- Add `public_registration_verify_email` so that we can render different success messages

* tiny wording tweak of registration mail

* add new user status 'unverified' and check for it

* add unverified status translation

* decouple email verification and validation

* enable register rate limiter by default and up its config

* add autocomplete=new-password on the registration form

* added sdk functions

* add gql query for new fields

* added register api reference

* updated verify sdk function name

* added reference block for email verify endpoint

* updated reference examples

* WIP: add gql resolvers

* add ratelimiter to mutation

* remove ratelimiter registration point+duration info

* rm points and duration from gql

* Update docs/reference/system/users.md

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

---------

Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-07 23:20:24 +02:00
Pascal Jufer
b7135fdf64 Fix handling of invalid and empty filter queries (#22048)
Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
2024-05-07 15:47:58 +02:00
Pascal Jufer
537d7f1e36 Revert "Consolidate content versioning (#22227)" (#22412)
This reverts commit 5a258dd406.
2024-05-07 17:25:19 +08:00
dependabot[bot]
9ae3f175ab Bump vue from 3.4.26 to 3.4.27 (#22406)
Bumps [vue](https://github.com/vuejs/core) from 3.4.26 to 3.4.27.
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/compare/v3.4.26...v3.4.27)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 07:27:38 +02:00
ian
5a258dd406 Consolidate content versioning (#22227)
* Add migration

* Use the new delta field

* Add cast-json flag

* Fix typing

* Fetch existing deltas if version created during migration

* Add changeset

* Add version delta field into sdk schema
2024-05-06 21:02:23 +02:00
Rijk van Zanten
ec2604f913 Don't require KEY or SECRET to be set on startup (#22320)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-06 13:00:10 +00:00
dependabot[bot]
aa39065c80 Bump @aws-sdk/lib-storage from 3.568.0 to 3.569.0 (#22390)
Bumps [@aws-sdk/lib-storage](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/lib/lib-storage) from 3.568.0 to 3.569.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/lib/lib-storage/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.569.0/lib/lib-storage)

---
updated-dependencies:
- dependency-name: "@aws-sdk/lib-storage"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 10:40:37 +02:00
dependabot[bot]
0b1b463426 Bump @aws-sdk/client-s3 from 3.568.0 to 3.569.0 (#22388)
Bumps [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-s3) from 3.568.0 to 3.569.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.569.0/clients/client-s3)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-s3"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-06 10:21:30 +02:00
Pascal Jufer
cf83f33939 Patch Tuesday 🐸 (Light Edition) (#22376) 2024-05-03 11:19:23 +02:00
Pascal Jufer
ae9c64125c Specific error type mapping in isDirectusError function (#22346)
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2024-05-03 09:53:22 +02:00
Hannes Küttner
97bf47e67c Change guessType to retain value types if they are known (#22349)
* Improve env variable casting for already typed variables configured through .[c]js files

* Revert back to using dedicated toX functions and extended toBoolean to handle boolean type values

* Some additions to test and removed some redundant code in toBoolean

* Fix test case name

* Add changeset

* Change changeset
2024-05-02 17:42:35 +08:00
Hannes Küttner
d10385d303 Fix large and real numbers in search query (#22345)
* Add db search helper

* Use raw query for redshift

* Fix SQL injection possibility

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>

* WIP fix for MS SQL

* Improved big int support and value limit checking

* prettier

* updated for failing test

* Added missing lower bound

* Add missing lower bound at another place

* Rewrite helpers for postgres

* updated constants

* extracted utils

* updated types

* prettier

* renamed searchhelper to numberhelper and extracted parseNumericString util

* moved constants up the tree

* moved constants and types to packages

* prettier

* Add type guard for numeric field

* Fix import - so much for auto imports...

* Use isIn helper

* Drop implementation specific test

* Remove temporary vite file

* Move parseNumericString to its own file

* Rename orWhere

* Fix wrong type

* Fix test after merge

* Change constants import location

* updated postgres valid condition

* Added same stringify logic for oracle

* Add helper for sqlite and catch big int parsing error

* Add curly brackets and redundant catch argument

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
2024-04-30 17:22:53 +02:00
Pascal Jufer
160b982928 Patch Tuesday 🐸 (#22063)
Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
2024-04-30 10:49:20 +02:00
Hannes Küttner
0d7441e7a3 Fix failing file upload to Supabase (#22293)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-29 01:44:59 +02:00
Hannes Küttner
0e19bcede3 Fix Supabase storage driver list operation (#22322)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-29 01:02:39 +02:00
Rijk van Zanten
03c288ad3a Drop extension folder creation (#22316)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-25 18:01:47 +02:00
burka
bb5660c5d7 Amend comment about nanosecond to millisecond conversion (#22304) 2024-04-24 10:35:31 +02:00
Rijk van Zanten
9e01582268 Add FMS and PIM to list of special cases for title formatter (#22261)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-19 16:14:42 +00:00
Hannes Küttner
a91e7a1209 Fix "Download Page as CSV" for related value display with empty template (#22248)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-19 13:46:07 +02:00
Rijk van Zanten
98589cca6d v10.10.7 2024-04-17 17:09:17 -04:00