1515 Commits

Author SHA1 Message Date
Rijk van Zanten
e5ba369c24 v10.13.2 2024-08-06 14:26:11 -04:00
dependabot[bot]
cba149e16e Bump @types/node from 18.19.42 to 18.19.43 (#23186)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.19.42 to 18.19.43.
- [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-08-06 09:47:21 +02:00
dependabot[bot]
ed2012ef84 Bump undici from 6.19.2 to 6.19.5 (#23187)
Bumps [undici](https://github.com/nodejs/undici) from 6.19.2 to 6.19.5.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.19.2...v6.19.5)

---
updated-dependencies:
- dependency-name: undici
  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-08-06 09:47:04 +02:00
dependabot[bot]
c17de7e921 Bump @pnpm/workspace.pkgs-graph from 3.0.5 to 3.0.6 (#23170)
Bumps [@pnpm/workspace.pkgs-graph](https://github.com/pnpm/pnpm) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/pnpm/pnpm/releases)
- [Commits](https://github.com/pnpm/pnpm/commits)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 19:49:04 +02:00
dependabot[bot]
3db63e3c30 Bump axios from 1.7.2 to 1.7.3 (#23171)
Bumps [axios](https://github.com/axios/axios) from 1.7.2 to 1.7.3.
- [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.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: axios
  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-08-05 19:48:00 +02:00
ian
3ef539d2d2 Add null filtering to equality operators (#23163)
* Add null filtering to equality operators

* Add changeset
2024-08-04 12:43:07 -04:00
Brainslug
4094e938b0 SDK remove dependency on system-data package (#23146)
* Added local isSystemCollection check for SDK

* prettier

* Create cool-peaches-enjoy.md

* resolve lockfile

* resolve lockfile
2024-08-02 13:49:10 -04:00
dependabot[bot]
b32fc66ac4 Bump @sinclair/typebox from 0.32.34 to 0.32.35 (#23154)
Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox) from 0.32.34 to 0.32.35.
- [Commits](https://github.com/sinclairzx81/typebox/compare/0.32.34...0.32.35)

---
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-08-02 14:28:53 +02:00
dependabot[bot]
fbc2ffdea3 Bump @types/node from 18.19.33 to 18.19.42 (#23121)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.19.33 to 18.19.42.
- [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-08-01 17:05:40 +02:00
dependabot[bot]
e2c781d4ff Bump ky from 1.4.0 to 1.5.0 (#23119)
Bumps [ky](https://github.com/sindresorhus/ky) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/sindresorhus/ky/releases)
- [Commits](https://github.com/sindresorhus/ky/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: ky
  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-08-01 17:05:12 +02:00
dependabot[bot]
df05afbbf7 Bump ky from 1.3.0 to 1.4.0 (#23102)
Bumps [ky](https://github.com/sindresorhus/ky) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/sindresorhus/ky/releases)
- [Commits](https://github.com/sindresorhus/ky/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: ky
  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-07-25 06:24:52 +00:00
dependabot[bot]
64e6247969 Bump @google-cloud/storage from 7.11.2 to 7.12.0 (#23103)
Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 7.11.2 to 7.12.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.11.2...v7.12.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-25 08:17:09 +02:00
dependabot[bot]
5a0f488432 Bump openapi3-ts from 4.3.2 to 4.3.3 (#23090)
Bumps [openapi3-ts](https://github.com/metadevpro/openapi3-ts) from 4.3.2 to 4.3.3.
- [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-07-24 10:41:43 +02:00
Pascal Jufer
a9cca2cea6 Introduce created_on date field for files and adjust uploaded_on to be updated with every upload (#23035)
* Update date fields on directus_files

* Add changeset

* Use knex update instead of raw

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-07-23 13:00:25 -04:00
dependabot[bot]
cdfae6e365 Bump tsup from 8.1.2 to 8.2.2 (#23079)
Bumps [tsup](https://github.com/egoist/tsup) from 8.1.2 to 8.2.2.
- [Release notes](https://github.com/egoist/tsup/releases)
- [Changelog](https://github.com/egoist/tsup/blob/dev/.releaserc.json)
- [Commits](https://github.com/egoist/tsup/compare/v8.1.2...v8.2.2)

---
updated-dependencies:
- dependency-name: tsup
  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-07-23 13:06:47 +02:00
dependabot[bot]
41a69462b5 Bump @sinclair/typebox from 0.32.31 to 0.32.34 (#23058)
Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox) from 0.32.31 to 0.32.34.
- [Commits](https://github.com/sinclairzx81/typebox/compare/0.32.31...0.32.34)

---
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-07-19 10:07:31 +02:00
dependabot[bot]
b77a3857e6 Bump tsup from 8.1.0 to 8.1.2 (#23060)
Bumps [tsup](https://github.com/egoist/tsup) from 8.1.0 to 8.1.2.
- [Release notes](https://github.com/egoist/tsup/releases)
- [Changelog](https://github.com/egoist/tsup/blob/dev/.releaserc.json)
- [Commits](https://github.com/egoist/tsup/compare/v8.1.0...v8.1.2)

---
updated-dependencies:
- dependency-name: tsup
  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-07-19 09:28:52 +02:00
daedalus
bde5d9b01d Merge commit from fork 2024-07-17 13:26:54 -04:00
Jan Arends
448a7a2cc3 Fixed slow introspection query in MS SQL - take III (#22947)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-07-16 15:59:41 +02:00
Pascal Jufer
ce6463a4cd Clean-up error handler & fix message for unknown API errors (#22379)
Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-07-15 12:15:52 +02:00
dependabot[bot]
7ed03bacb1 Bump inquirer from 9.3.2 to 9.3.5 (#23015)
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 9.3.2 to 9.3.5.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.3.2...inquirer@9.3.5)

---
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-07-15 11:16:25 +02:00
Brainslug
65f5e96127 v10.13.1 (#22956) 2024-07-09 16:06:10 +00:00
burka
c38d7d4897 Allow to specify ADMIN_TOKEN in ENV (#22059) (#22724)
* Allow to specify ADMIN_TOKEN in ENV (#22059)

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-07-03 11:39:29 -04:00
dependabot[bot]
74992cabfa Bump inquirer from 9.2.23 to 9.3.2 (#22907)
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 9.2.23 to 9.3.2.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.23...inquirer@9.3.2)

---
updated-dependencies:
- dependency-name: inquirer
  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-07-03 09:40:43 +02:00
dependabot[bot]
d0b699dbfe Bump vue-router from 4.3.3 to 4.4.0 (#22909)
Bumps [vue-router](https://github.com/vuejs/router) from 4.3.3 to 4.4.0.
- [Release notes](https://github.com/vuejs/router/releases)
- [Commits](https://github.com/vuejs/router/compare/v4.3.3...v4.4.0)

---
updated-dependencies:
- dependency-name: vue-router
  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-07-03 08:09:25 +02:00
Brainslug
844d4e7f33 v10.13.0 (#22903) 2024-07-02 17:38:58 +02:00
Brainslug
266e043c0e Add support for the TUS protocol (#22673)
* WIP initial TUS tests

* WIP further tus integration

* WIP authenticate uploads

* boilerplate stuff

* Migrated handlers

* resolving type errors

* tackle some build errors

* WIP moving resumable uploads to its own package

* added migration and integrated local file storage into directus files

* cleaned up local store

* cleaned up failed experiments

* prettier

* Add tus_data and tus_id to system data

* Improve file upload progress estimation for multiple files

* bypass creating a revision per uploaded chunk

* fixed accidental commit

* Fix pause/resume for multiple uploads

* Null coalesce all the way

* Added directus locking logic

* prettier

* Small tweak (added resume uploads dialog)

* authentication

* Add remove to resumable uploads

* added delete endpoint and cleaned old service setup

* WIP s3 storage adapter

* Less breaking of interfaces, more breaking of text

* Moved local adapter to its own package

* Prettying some things up

* Sort resumable uploads by creation time

* Fix resumable uploads dialog popping up on second file upload

* Move buttons around & properly handle error

* s3

* A few changes

- Make S3 driver work more reliable
- Move common logic to tus driver class
- Respect `folder` when uploading from a different folder
- Implement cleanup for both local and S3

* synced dependencies

* accept presets

* Remove extra code for folder, as this is handled in presets now

* Rename migration to most recent date

* updated lcokfile

* prettier

* dont fully rely on the sudo service

* removed unused import

* Hide partial file uploads from the API

* satisfy linter

* Refactor tus into storage driver

* Fix merge conflicts

* Update pnpm-lock

* Fix typing issue

* nuked tus driver packages

* updated environment vars

* prettier

* Change type import style

* Fix S3 cleanup

* Use `modified_on` instead of tus creation date

* Pass chunk size to storage drivers

* Add sudo service to scheduled job

* Make cleanup work even if no upload was done before

* Remove "Resume Uploads" interface

* Update packages/env/src/constants/defaults.ts

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

* Add config docs

* Add resumable to dictionary

* moved chunk filter to service

* simplify middleware

* use lodash

* Update api/src/services/tus/data-store.ts

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* move to devDeps

* package lock

* fixed import

* updated test mocking

* Create a new TUS server handler for every request instead of one global one

* Allow for tree-shaking tus-client

* Rename resumable-uploads.ts to tus.ts

* Extract meta data from uploaded file

* Only consider full parts or the final part for bytesUploaded in S3

* Add additional sanity check to S3 driver

* Remove pause/resume functionality

* fixed file replacement

* Remove unused expose

* Reintroduce defineExpose and expose abort

* Broken file replace

* fixed replacement

* prettier

* added filesize in replace

* update metadata extraction

* Remove unused import

* updated package-lock

* extra validation check

* oops

---------

Co-authored-by: Hannes Küttner <kuettner.hannes@gmail.com>
Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-07-02 17:00:59 +02:00
dependabot[bot]
13cf4551d7 Bump @supabase/storage-js from 2.5.5 to 2.6.0 (#22889)
Bumps [@supabase/storage-js](https://github.com/supabase/storage-js) from 2.5.5 to 2.6.0.
- [Release notes](https://github.com/supabase/storage-js/releases)
- [Changelog](https://github.com/supabase/storage-js/blob/main/.releaserc.json)
- [Commits](https://github.com/supabase/storage-js/compare/v2.5.5...v2.6.0)

---
updated-dependencies:
- dependency-name: "@supabase/storage-js"
  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-07-02 07:38:30 +02:00
Rijk van Zanten
6f393ff50d Set uploaded_on through Directus flag (#22885)
* Set uploaded_on date in flag

Fixes #22884

* Add changeset

* Fix quotes

* Update .changeset/neat-grapes-kick.md

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

* Improve changeset

---------

Co-authored-by: ian <licitdev@gmail.com>
2024-07-01 13:58:24 -04:00
dependabot[bot]
e5f111b219 Bump undici from 6.18.2 to 6.19.2 (#22880)
Bumps [undici](https://github.com/nodejs/undici) from 6.18.2 to 6.19.2.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.18.2...v6.19.2)

---
updated-dependencies:
- dependency-name: undici
  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-07-01 09:11:35 +02:00
Hannes Küttner
68898441f1 Added missing relations to system-data (#22844) 2024-06-25 15:27:57 +02:00
dependabot[bot]
436eb4023d Bump joi from 17.13.1 to 17.13.3 (#22809)
Bumps [joi](https://github.com/hapijs/joi) from 17.13.1 to 17.13.3.
- [Commits](https://github.com/hapijs/joi/compare/v17.13.1...v17.13.3)

---
updated-dependencies:
- dependency-name: joi
  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-06-21 05:55:22 +02:00
dependabot[bot]
1bdc185fbd Bump @rollup/plugin-replace from 5.0.5 to 5.0.7 (#22802)
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace) from 5.0.5 to 5.0.7.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/replace-v5.0.7/packages/replace)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
  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-06-20 08:33:12 +02:00
dependabot[bot]
a321a1f462 Bump @rollup/plugin-commonjs from 25.0.7 to 25.0.8 (#22793)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 25.0.7 to 25.0.8.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v25.0.8/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  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-06-19 06:02:14 +02:00
dependabot[bot]
ff94cf4088 Bump pino from 9.1.0 to 9.2.0 (#22768)
* Bump pino from 9.1.0 to 9.2.0

Bumps [pino](https://github.com/pinojs/pino) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/pinojs/pino/releases)
- [Commits](https://github.com/pinojs/pino/compare/v9.1.0...v9.2.0)

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

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

* Update peer dep version

---------

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-06-17 09:16:59 +00:00
Hannes Küttner
97af4d1507 Fix primary key unique constraint error extraction for MySQL (#22434)
* Fix primary key unique constraint error extraction for MySQL

* Add changeset

* Add changeset

* Add comment about MariaDB

* Drop 5.7 special case

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-06-14 15:42:31 -04:00
Pascal Jufer
f6627b1f6f Add a default preset for bookmarks (#22699)
* Add a default preset for bookmarks

* Add changeset
2024-06-14 14:58:45 -04:00
dependabot[bot]
9e9341c609 Bump vue-router from 4.3.2 to 4.3.3 (#22758)
Bumps [vue-router](https://github.com/vuejs/router) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/vuejs/router/releases)
- [Commits](https://github.com/vuejs/router/compare/v4.3.2...v4.3.3)

---
updated-dependencies:
- dependency-name: vue-router
  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-06-14 07:06:24 +02:00
Hannes Küttner
b6ce24815c Fix cloudinary resource type guessing to consider case insensitive extension (#22744) 2024-06-13 08:42:46 +02:00
dependabot[bot]
5f2b86fcfb Bump @pnpm/workspace.pkgs-graph from 3.0.2 to 3.0.5 (#22742)
Bumps [@pnpm/workspace.pkgs-graph](https://github.com/pnpm/pnpm) from 3.0.2 to 3.0.5.
- [Release notes](https://github.com/pnpm/pnpm/releases)
- [Commits](https://github.com/pnpm/pnpm/commits)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-13 08:18:19 +02:00
dependabot[bot]
0e017c980a Bump ky from 1.2.4 to 1.3.0 (#22741)
Bumps [ky](https://github.com/sindresorhus/ky) from 1.2.4 to 1.3.0.
- [Release notes](https://github.com/sindresorhus/ky/releases)
- [Commits](https://github.com/sindresorhus/ky/compare/v1.2.4...v1.3.0)

---
updated-dependencies:
- dependency-name: ky
  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-13 08:16:50 +02:00
dependabot[bot]
047be4f208 Bump @google-cloud/storage from 7.11.1 to 7.11.2 (#22718)
Bumps [@google-cloud/storage](https://github.com/googleapis/nodejs-storage) from 7.11.1 to 7.11.2.
- [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.1...v7.11.2)

---
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-06-11 09:40:04 +02:00
Brainslug
3fec817d7b Release 10.12.1 (#22712) 2024-06-10 17:16:51 +02:00
dependabot[bot]
3e19520a5c Bump undici from 6.15.0 to 6.18.2 (#22707)
Bumps [undici](https://github.com/nodejs/undici) from 6.15.0 to 6.18.2.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.15.0...v6.18.2)

---
updated-dependencies:
- dependency-name: undici
  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-10 08:28:07 +02:00
dependabot[bot]
9e29d994d5 Bump inquirer from 9.2.22 to 9.2.23 (#22690)
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 9.2.22 to 9.2.23.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@9.2.22...inquirer@9.2.23)

---
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-06-07 06:56:46 +02:00
dependabot[bot]
2333f812b3 Bump tsup from 8.0.2 to 8.1.0 (#22678)
Bumps [tsup](https://github.com/egoist/tsup) from 8.0.2 to 8.1.0.
- [Release notes](https://github.com/egoist/tsup/releases)
- [Changelog](https://github.com/egoist/tsup/blob/dev/.releaserc.json)
- [Commits](https://github.com/egoist/tsup/compare/v8.0.2...v8.1.0)

---
updated-dependencies:
- dependency-name: tsup
  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-06-06 14:53:54 +02:00
Joey
a640781b78 Fix for slow query on MS SQL (#22522)
* Fix for slow query on MS SQL

* Temporary activation of blackbox tests

* Fix for schema name index problem on Azure SQL

* disabled blackbox tests again

* formatter fix

* another formatter fix

* Directly await schema id query

* Update contributors.yml

* Add changeset

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Jan Arends <jan.arends@mailbox.org>
Co-authored-by: Nicola Krumschmidt <nicola.krumschmidt@freenet.de>
2024-06-05 17:06:47 +02:00
dependabot[bot]
a3412789f1 Bump @azure/storage-blob from 12.18.0 to 12.23.0 (#22659)
Bumps [@azure/storage-blob](https://github.com/Azure/azure-sdk-for-js) from 12.18.0 to 12.23.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.18.0...@azure/storage-blob_12.23.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-06-05 00:40:30 +00:00
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