Rijk van Zanten
c45cd69dd7
v10.8.3
2023-12-21 14:19:08 -05:00
Rijk van Zanten
c222511f1f
Update telemetry ( #20825 )
...
* Setup shared redis abstraction
* Install directus/memory
* Add mini useEnv util for test mocking purposes
* Export missing class from directus/memory
* Update readme to include kv
* Uninstall memory
* Setup telemetry lib
* Reduce concurrency
* Finalize reporting
* Add tests for send-report
* Add tests for init
* Add tests for tracker
* Add tests for get-item-count
* Add test for wait time
* Add test for get-user-count
* Add test for get-user-item-count
* Fix type issue
* Throw error on non-ok fetch
* Init telemetry on server startup
* Tweak submission logic
* Fix tests, submit version
* Update config-options reference
* Cool kids don't use + in large numbers
* Add changesets
* Update docs/self-hosted/config-options.md
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
* Use vi stubGlobal
* Update api/src/env.ts
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
* Unstub as well
* Mock telemetry start in app test
* Update api/src/telemetry/types/report.ts
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* Fix default value in env
* Use toBoolean for env var casting
* Don't rely on knex as
Apparently it doesn't work reliably with count()
* Update api/src/telemetry/lib/init-telemetry.ts
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
* Use getDatabaseClient for consistent clients
* Rename ingress->url
* Send my apologies to the formatting bot
* Fix version
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
2023-12-21 14:08:42 -05:00
Rijk van Zanten
545d392e93
Deprecate utils/package.js in favor of directus/version ( #20840 )
...
* Deprecate utils/package.js in favor of directus/version
* Add changeset
* Drop version console log
* Make info reactive
* Fix import order
* Update directus/version.js
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
* Fix tests
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-12-21 13:53:22 -05:00
dependabot[bot]
a310ac1acf
Bump openapi3-ts from 4.1.2 to 4.2.0 ( #20828 )
...
* Bump openapi3-ts from 4.1.2 to 4.2.0
Bumps [openapi3-ts](https://github.com/metadevpro/openapi3-ts ) from 4.1.2 to 4.2.0.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Add 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 >
2023-12-21 00:31:13 +00:00
dependabot[bot]
8ac3826dec
Bump @aws-sdk/client-ses from 3.477.0 to 3.478.0 ( #20827 )
...
Bumps [@aws-sdk/client-ses](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-ses ) from 3.477.0 to 3.478.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-ses/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.478.0/clients/client-ses )
---
updated-dependencies:
- dependency-name: "@aws-sdk/client-ses"
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>
2023-12-21 01:29:26 +01:00
Brainslug
a8ef790ea2
Merge pull request from GHSA-qw9g-7549-7wg5
...
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-12-20 18:32:35 -05:00
Brainslug
c3211fcab6
added version to the API
2023-12-20 17:57:43 -05:00
Pascal Jufer
0534cc9407
Fix & enhance 'schema apply' output ( #20816 )
2023-12-20 16:21:36 +01:00
Nassan Paul
dc997d2dfc
fix( #19386 ): fix cli schema apply display colors ( #20792 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-12-20 14:50:31 +01:00
Azri Kahar
a706292c55
Enable no-constant-binary-expression eslint rule ( #20812 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-12-20 13:24:02 +00:00
Pascal Jufer
154776e0ab
Update date-fns to 3.0.1 ( #20800 )
2023-12-20 02:44:46 +01:00
Pascal Jufer
98532788d5
Selective Patch Tuesday 🐸 ( #20796 )
2023-12-20 00:26:15 +01:00
dependabot[bot]
8148841829
Bump sharp from 0.33.0 to 0.33.1 ( #20786 )
...
Bumps [sharp](https://github.com/lovell/sharp ) from 0.33.0 to 0.33.1.
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.33.0...v0.33.1 )
---
updated-dependencies:
- dependency-name: sharp
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>
2023-12-19 02:56:27 +01:00
Steve Fan
71032776f9
Add the latest version of oracledb to api/package.json ( #19067 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com >
2023-12-18 12:17:05 +00:00
Pascal Jufer
a885ccac01
Update Knex to v3 ( #20766 )
2023-12-16 02:00:10 +01:00
Brainslug
b576c6e5e0
Fixes enabling/disabling extensions ( #20677 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-12-15 17:41:16 +00:00
dependabot[bot]
46c6dac816
Bump pino-pretty from 10.2.3 to 10.3.0 ( #20754 )
...
Bumps [pino-pretty](https://github.com/pinojs/pino-pretty ) from 10.2.3 to 10.3.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases )
- [Commits](https://github.com/pinojs/pino-pretty/compare/v10.2.3...v10.3.0 )
---
updated-dependencies:
- dependency-name: pino-pretty
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>
2023-12-15 02:43:49 +01:00
Wasim Thoufiq
12643385db
Fix BigInt primary key routing ( #20744 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-12-14 17:13:47 +00:00
dependabot[bot]
25190b42f1
Bump ws from 8.15.0 to 8.15.1 ( #20726 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.15.0 to 8.15.1.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.15.0...8.15.1 )
---
updated-dependencies:
- dependency-name: ws
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>
2023-12-13 02:24:07 +01:00
daedalus
f2728506d2
public_favicon should be a system relation (#20724 )
2023-12-12 21:12:48 +01:00
Pascal Jufer
5e72ea1b08
Patch Tuesday 🐸 ( #20714 )
2023-12-12 04:36:50 +01:00
Pascal Jufer
1a07d7355d
Update TypeScript to 5.3.3 ( #20710 )
2023-12-11 20:39:34 +01:00
Pascal Jufer
36c08e2265
Remove flaky api storage test ( #20701 )
2023-12-11 16:13:37 +01:00
dependabot[bot]
30d53c5df6
Bump @types/destroy from 1.0.0 to 1.0.3 ( #20697 )
...
Bumps [@types/destroy](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/destroy ) from 1.0.0 to 1.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/destroy )
---
updated-dependencies:
- dependency-name: "@types/destroy"
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>
2023-12-11 00:55:03 +00:00
Pascal Jufer
81c9156508
Update Vitest to v1 ( #20694 )
2023-12-10 19:49:45 +01:00
dependabot[bot]
76b7b85303
Bump @rollup/plugin-node-resolve from 15.0.2 to 15.2.3 ( #20680 )
...
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve ) from 15.0.2 to 15.2.3.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v15.2.3/packages/node-resolve )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
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>
2023-12-08 13:11:03 +01:00
dependabot[bot]
30ccd9fdd9
Bump openid-client from 5.4.2 to 5.6.1 ( #20678 )
...
Bumps [openid-client](https://github.com/panva/node-openid-client ) from 5.4.2 to 5.6.1.
- [Release notes](https://github.com/panva/node-openid-client/releases )
- [Changelog](https://github.com/panva/node-openid-client/blob/main/CHANGELOG.md )
- [Commits](https://github.com/panva/node-openid-client/compare/v5.4.2...v5.6.1 )
---
updated-dependencies:
- dependency-name: openid-client
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>
2023-12-08 11:15:09 +01:00
Brainslug
6671f1c603
GraphQL Content Versions ( #20499 )
...
* WIP alternative gql approach for versions
* incorrect schema type
* finally got something working
* ran prettier
* prettier
* prettier
* limited _by_version to items scope
* removed debug comments and logs
* fixed singleton versions
* updated docs
* Added breaking change notice
* undid unneed change
* prettier
* Create six-trees-cry.md
* Update api/src/services/graphql/index.ts
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
---------
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
2023-12-07 21:35:27 +08:00
dependabot[bot]
ae31ef8ac7
Bump @types/express from 4.17.17 to 4.17.21 ( #20667 )
...
Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express ) from 4.17.17 to 4.17.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express )
---
updated-dependencies:
- dependency-name: "@types/express"
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>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-12-07 13:27:57 +01:00
dependabot[bot]
d7601b0fee
Bump helmet from 7.0.0 to 7.1.0 ( #20668 )
...
Bumps [helmet](https://github.com/helmetjs/helmet ) from 7.0.0 to 7.1.0.
- [Changelog](https://github.com/helmetjs/helmet/blob/main/CHANGELOG.md )
- [Commits](https://github.com/helmetjs/helmet/compare/v7.0.0...v7.1.0 )
---
updated-dependencies:
- dependency-name: helmet
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>
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-12-07 13:27:21 +01:00
Rijk van Zanten
a94cd79e72
Update tedious ( #20649 )
...
* Update tedious
* Update tedious
2023-12-06 10:30:52 +01:00
Pascal Jufer
c357d8d5e3
Update tsx to 4.6.1 ( #20602 )
2023-12-01 12:32:22 +01:00
Pascal Jufer
d30bb69490
Clean-up deps ( #20581 )
2023-11-30 00:46:09 +01:00
Pascal Jufer
a5215d674b
Update TypeScript to 5.3.2 ( #20571 )
2023-11-29 13:54:56 +01:00
Brainslug
abf0cba75d
Fixed GraphQL SDL Error ( #20535 )
...
* Fixed missing accountability
* Add changeset
---------
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
2023-11-27 10:23:05 -05:00
Azri Kahar
a11fb2b59d
Allow configuration to prevent server startup when an extension fails to load ( #20495 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-11-23 16:37:57 +00:00
Brainslug
e05d9240de
GQL directus_permissions ID nullable ( #20511 )
2023-11-23 14:18:19 +01:00
Rijk van Zanten
afc4b23fc7
v10.8.2
2023-11-22 15:23:38 -05:00
Azri Kahar
2ed5ac0871
Fix full permissions & minimal app permissions ( #20505 )
...
* revert #8391
* revert #20347
* revert #20347
* undo revert of validation and presets null logic
* add changeset
2023-11-22 14:56:29 -05:00
Pascal Jufer
c9b4119922
Update tsx to v4.1.4 ( #20479 )
2023-11-20 16:48:36 +01:00
Pascal Jufer
ba7fac402e
Update Prettier v3.1.0 ( #20481 )
2023-11-20 16:23:22 +01:00
Pascal Jufer
454ecdbefe
Update Vitest to v0.34.6 ( #20477 )
2023-11-20 13:04:56 +01:00
Azri Kahar
091d1a6ade
fix default values for system-theme-overrides ( #20464 )
2023-11-17 23:53:13 +01:00
Pascal Jufer
be4410f948
v10.8.1 ( #20463 )
2023-11-17 17:38:16 +01:00
Pascal Jufer
c6f47f90b2
More accurate OAS based on authenticated user ( #20462 )
2023-11-17 17:24:18 +01:00
Pascal Jufer
6953ad46ad
Fallback to hostname for OAS URL if no PUBLIC_URL specified ( #20460 )
...
* Fallback to hostname for OAS URL if no PUBLIC_URL specified
* Add changeset
* Clearer variable name
2023-11-17 16:49:38 +01:00
Brainslug
90422c30d8
OAS based on permissions ( #20386 )
2023-11-17 00:15:40 +01:00
Rijk van Zanten
7f5d690c4e
v10.8.0
2023-11-16 16:59:46 -05:00
Rijk van Zanten
8d8b649a1f
Theming various ( #20426 )
...
* Update the minimal theme
* Remove unused files
* Remove unused default dark theme
* Fix type error
* Fix the order of themes in the picker interface
* Fix account/sign-out not using module foreground color
* Fix module bar interface styling
* Update system match label
* Use half width for default appearance
* Fix preview changed based on appearance
* Add includeNull option to theme selector interface
* Add minimal theme extension docs
* Attempt to make typedoc play nice
* Remove module bar color override
* Add snippet on overrides interface
* Deprecate "normal" style v-notice
* System filter interface background
* Add menu scope
* Use colors consistent with interface previews
* Remove card-face-color usage
* Use consistent hover style in collections & fields
* Deprecate card-face-color
* Remove old --card vars
* Fix revisions divider styling
* Remove duplicate background from overview header
* Fix permissions overview corner overlap
* Make form input height configurable
* Allow overriding public form input height
* Rename text string
* updated data model icon
* Standardize form settings between scopes
* Allow overriding sidebar forms
* Add configurable form gap
* Add configurable input-padding
* Fix list-item padding
* Fix padding in block style
* Add links to defaults
* Apply color match updates
* Default to database icon
* Fix schaling of theme selector interface
* Fix font loading
* Fetch font weights from Google as well
* Use display weight in titles
* Fix color match display font
* Clean up font weights for labels
* Update test to remove normal state
* Remove typo
* Add lowercase dev
* Add changeset
* Remove font-weight
---------
Co-authored-by: Ben Haynes <ben@rngr.org >
2023-11-16 15:36:54 -05:00
daedalus
fdb2e42b29
Add ability to ignore specific paths from the HTTP logger ( #20368 )
...
* add changeset
* Add the ability to ignore specific paths from HTTP logger
* fix linting
* Cast env, clean-up, add test
* Use dedicated env config name
* Add docs
* Clean-up
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-11-16 15:31:42 -05:00