Commit Graph

11182 Commits

Author SHA1 Message Date
dependabot[bot]
91a2d45ba6 Bump @vitejs/plugin-vue from 4.5.2 to 4.6.2 (#20932)
Bumps [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue) from 4.5.2 to 4.6.2.
- [Release notes](https://github.com/vitejs/vite-plugin-vue/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/plugin-vue@4.6.2/packages/plugin-vue/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue@4.6.2/packages/plugin-vue)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-vue"
  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-01-02 00:56:12 +01:00
Pascal Jufer
99a7deef84 Optimize shipped files in @directus/sdk (#20927)
* Optimize shipped files in `@directus/sdk`

* Add changeset
2023-12-30 21:37:21 +01:00
daedalus
5738589d60 Fix adding a new role on user update (#20913)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-30 00:28:21 +00:00
Daniel Biegler
43ec37ac86 Fix custom field presentation in system collections (#20910)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-30 00:40:04 +01:00
Daniel Biegler
71f6e86c14 Fix collection meta fields not showing and saving properly (#20912) 2023-12-29 17:28:23 +01:00
Daniel Biegler
79d8a83463 Add target blank to form field notes (#20922) 2023-12-29 14:40:40 +00:00
Daniel Biegler
ad78ea8d0c Add field note & template for wysiwyg-html interface (#20921)
* add field note for wysiwyg-html interface and meta template

* add changeset
2023-12-29 14:23:29 +00:00
daedalus
2ed6da0ff9 Do not load sidebar details until they are opened (#20848)
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-29 10:56:28 +00:00
Pascal Jufer
0d1fd7c77e Remove obsolete temporary theme field permission (#20920) 2023-12-29 11:46:30 +01:00
Pascal Jufer
295b8d2711 Revert "Update breaking changes note about extension endpoint (#20918)" (#20919)
This reverts commit 0d4386640e.
2023-12-29 11:36:59 +01:00
Pascal Jufer
0d4386640e Update breaking changes note about extension endpoint (#20918) 2023-12-29 03:16:39 +01:00
dependabot[bot]
8151f7a1ee Bump @aws-sdk/client-ses from 3.478.0 to 3.481.0 (#20917)
Bumps [@aws-sdk/client-ses](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-ses) from 3.478.0 to 3.481.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.481.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-29 03:13:09 +01:00
dependabot[bot]
1dc2fe693a Bump pino-http from 8.6.0 to 8.6.1 (#20916)
Bumps [pino-http](https://github.com/pinojs/pino-http) from 8.6.0 to 8.6.1.
- [Release notes](https://github.com/pinojs/pino-http/releases)
- [Commits](https://github.com/pinojs/pino-http/compare/v8.6.0...v8.6.1)

---
updated-dependencies:
- dependency-name: pino-http
  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-29 02:09:37 +01:00
daedalus
7e6f96f56b Remove admin only restriction for extension read operations (#20914)
* respect users permissions for list/get extensions

* add changeset
2023-12-29 00:22:25 +01:00
daedalus
1b8b44fc9c Disable field permissions for fields marked as minimally required (#20901) 2023-12-28 13:57:09 +01:00
dependabot[bot]
35545e51ed Bump vue-tsc from 1.8.26 to 1.8.27 (#20904)
Bumps [vue-tsc](https://github.com/vuejs/language-tools/tree/HEAD/packages/tsc) from 1.8.26 to 1.8.27.
- [Release notes](https://github.com/vuejs/language-tools/releases)
- [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/language-tools/commits/v1.8.27/packages/tsc)

---
updated-dependencies:
- dependency-name: vue-tsc
  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-28 00:55:22 +00:00
daedalus
99ea01aa74 Enable theme overrides permissions to be set on a per role basis (#20899) 2023-12-27 18:58:47 +01:00
daedalus
cc1a903ee7 Add hash display (#20883) 2023-12-27 17:11:24 +01:00
Brainslug
086555d2ae Fix SDK fields formatting in withSearch (#20859) 2023-12-27 16:46:39 +01:00
Pascal Jufer
3eb998c7a7 Fix messageBufferHandler in Bus (#20884) 2023-12-27 15:16:33 +01:00
Brainslug
60ea729957 Fix invite email error (#20891)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-27 11:33:26 +00:00
dependabot[bot]
a5233570b8 Bump openapi3-ts from 4.2.0 to 4.2.1 (#20885)
Bumps [openapi3-ts](https://github.com/metadevpro/openapi3-ts) from 4.2.0 to 4.2.1.
- [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>
2023-12-27 12:12:43 +01:00
dependabot[bot]
686e8fab3b Bump @sinclair/typebox from 0.31.28 to 0.32.3 (#20887)
Bumps [@sinclair/typebox](https://github.com/sinclairzx81/typebox) from 0.31.28 to 0.32.3.
- [Commits](https://github.com/sinclairzx81/typebox/compare/0.31.28...0.32.3)

---
updated-dependencies:
- dependency-name: "@sinclair/typebox"
  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-27 12:12:17 +01:00
Rijk van Zanten
2b9056cc80 Refactor default import logger with useLogger (#20872)
* useLogger

* Rework to useLogger and no globals

* Only export useLogger / createLogger

* Temp remove logger tests

* Refactor logger

* Refactor logger

* Refactor logger

* Refactor logger use

* Fix tests

* Fix logger usage in bootstrap

* Run formatter

* Remove logger tests

Feels drastic, but I'm about to rewrite them into @directus/logger :)

* Fix log operation test
2023-12-26 11:38:38 -05:00
Yasser Lahbibi
7eb22a4f23 feat(ws): register hooks for versioning (#20865)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-26 15:18:09 +00:00
Mahendra Kumar
d24e0f03f0 fix(api): bigInt auto increment not being reset in postgres (#20867)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-26 15:20:43 +01:00
Mahendra Kumar
128a47aff5 fix(graphql):handle nested originalError inside the GraphQLError.originalError in processError method (#20873)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-26 14:32:27 +01:00
Mahendra Kumar
e826f0fb2a fix(api): dont allow setting nullable for primary key while updating a field (#20874)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-26 11:52:21 +00:00
Pascal Jufer
04de636fd9 Always place arrow for field details menu on left side (#20881) 2023-12-26 12:37:10 +01:00
Pascal Jufer
6fb9288773 Restrict v-menu content height to viewport (#20879) 2023-12-26 11:44:55 +01:00
dependabot[bot]
17804cd334 Bump vue-tsc from 1.8.25 to 1.8.26 (#20875)
Bumps [vue-tsc](https://github.com/vuejs/language-tools/tree/HEAD/packages/tsc) from 1.8.25 to 1.8.26.
- [Release notes](https://github.com/vuejs/language-tools/releases)
- [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/language-tools/commits/HEAD/packages/tsc)

---
updated-dependencies:
- dependency-name: vue-tsc
  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-26 10:04:20 +01:00
dependabot[bot]
0a5f67ff62 Bump undici from 6.0.1 to 6.2.1 (#20877)
Bumps [undici](https://github.com/nodejs/undici) from 6.0.1 to 6.2.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.0.1...v6.2.1)

---
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>
2023-12-26 10:03:49 +01:00
dependabot[bot]
54d8152c72 Bump marked from 11.0.1 to 11.1.0 (#20869)
Bumps [marked](https://github.com/markedjs/marked) from 11.0.1 to 11.1.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v11.0.1...v11.1.0)

---
updated-dependencies:
- dependency-name: marked
  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-25 10:15:22 +01:00
dependabot[bot]
3a7a5dcf57 Bump date-fns from 3.0.5 to 3.0.6 (#20870)
Bumps [date-fns](https://github.com/date-fns/date-fns) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v3.0.5...v3.0.6)

---
updated-dependencies:
- dependency-name: date-fns
  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-25 10:14:58 +01:00
Rijk van Zanten
2c4be084c8 Replace default imports with useEnv (#20863)
* Use useEnv instead of default import

* Don't export default

* Update tests to mock useEnv

* Fix env usages

* Fix test issues

* replace setEnv use

* Fix various tests

* Fix more tests

* Fix more tests

* Fix get-cache-headers tests

* Fix sanitize-query test

* Fix logger tests

* Fix heartbeat tests

* Remove borked integration test

* Fix more tests

* Finish fixing tests
2023-12-24 11:56:06 -05:00
daedalus
d1dae92211 Do not show object instead of text for v-select preview (#20861) 2023-12-22 19:46:20 +00:00
Esther Agbaje
80b55fa556 Add npm installation to quickstart guide (#20836)
* add npm installation to quickstart

* update

* update docs

* tweak phrasing

* update

* Update docs/getting-started/quickstart.md

Co-authored-by: Kevin Lewis <kvn@lws.io>

* update heading

* fix format

* add changeset

---------

Co-authored-by: Kevin Lewis <kvn@lws.io>
2023-12-22 20:04:28 +01:00
Pascal Jufer
c9c5707338 Re-hydrate server store after login to get authenticated data (#20856) 2023-12-22 14:02:49 +01:00
dependabot[bot]
caa0d3f2e5 Bump @types/qs from 6.9.10 to 6.9.11 (#20845)
* Bump @types/qs from 6.9.10 to 6.9.11

Bumps [@types/qs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/qs) from 6.9.10 to 6.9.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/qs)

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

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-22 01:51:38 +00:00
dependabot[bot]
de2eb3c7ab Bump date-fns from 3.0.1 to 3.0.5 (#20846)
* Bump date-fns from 3.0.1 to 3.0.5

Bumps [date-fns](https://github.com/date-fns/date-fns) from 3.0.1 to 3.0.5.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v3.0.1...v3.0.5)

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

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-22 01:50:11 +00:00
dependabot[bot]
f2f89a1536 Bump oracledb from 6.2.0 to 6.3.0 (#20847)
* Bump oracledb from 6.2.0 to 6.3.0

Bumps [oracledb](https://github.com/oracle/node-oracledb) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/oracle/node-oracledb/releases)
- [Changelog](https://github.com/oracle/node-oracledb/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oracle/node-oracledb/compare/v6.2.0...v6.3.0)

---
updated-dependencies:
- dependency-name: oracledb
  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-22 01:48:58 +00:00
Connor Winston
89e7333a2d Change Schema Snapshot Sort Ordering of Fields/Relations (#20704)
Co-authored-by: Connor <12714889+ConnorSimply@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-12-22 00:03:30 +01:00
daedalus
f7b11b9a49 Add an icon and icon color option for choices of the select dropdown interface (#20782) 2023-12-21 17:07:51 -05:00
daedalus
b32f826aec Fix unique name check for extension locations and extensions within bundles (#20785)
Co-authored-by: Pascal Jufer <5363448+paescuj@users.noreply.github.com>
Co-authored-by: Bryant Gillespie <23302570+bryantgillespie@users.noreply.github.com>
2023-12-21 22:44:05 +01:00
daedalus
ba8bf3a586 Validate custom primary key field on create (#20839)
* ensure custom primaryKey is valid before creating item

* add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-12-21 15:40:51 -05:00
Brainslug
b7839b7e0f SDK WebSocket auth race condition (#20635)
* fixed handshake race condition

* updated docs and errors

* prettier

* Nog prettier

* WIP experiments

* added logger as global api

* refactored to finite state machine object

* reimplemented reconnectivity

* resubscribe upon reconnect

* updated reconnect message

* tiny tweaks

* cleaned up types

* comment

* explicitly typing the logger

* WIP refactor error handling

* WIP refactor error handling

* refactored auth error handling

* prettier

* typo

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2023-12-21 15:16:14 -05:00
Rijk van Zanten
2754a1c490 Fix collapse icon color (#20842)
* Fix collapse icon color

Fixes #20467

* Add changeset
2023-12-21 15:13:37 -05:00
Rijk van Zanten
c45cd69dd7 v10.8.3 v10.8.3 2023-12-21 14:19:08 -05:00
Rijk van Zanten
23cab496f9 New Crowdin updates (#20507)
* New translations en-us.yaml (Indonesian)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Russian)

* New translations en-us.yaml (Romanian)

* New translations en-us.yaml (Danish)

* New translations en-us.yaml (Romanian)

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (French)

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

* New translations en-us.yaml (Hebrew)

* New translations en-us.yaml (Hebrew)

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

* Update source file en-US.yaml

* New translations en-us.yaml (Italian)

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

* New translations en-us.yaml (French)

* New translations en-us.yaml (Russian)

* New translations en-us.yaml (German)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Turkish)

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

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

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Arabic)

* New translations en-us.yaml (Italian)

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

* New translations en-us.yaml (Romanian)

* New translations en-us.yaml (French)

* New translations en-us.yaml (Danish)

* New translations en-us.yaml (Russian)

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

* New translations en-us.yaml (Spanish)

* New translations en-us.yaml (Bulgarian)

* New translations en-us.yaml (Catalan)

* New translations en-us.yaml (Czech)

* New translations en-us.yaml (German)

* New translations en-us.yaml (Finnish)

* New translations en-us.yaml (Hungarian)

* New translations en-us.yaml (Japanese)

* New translations en-us.yaml (Korean)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Slovenian)

* New translations en-us.yaml (Albanian)

* New translations en-us.yaml (Swedish)

* New translations en-us.yaml (Turkish)

* New translations en-us.yaml (Ukrainian)

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

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

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

* New translations en-us.yaml (Persian)

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

* New translations en-us.yaml (Thai)

* New translations en-us.yaml (Croatian)

* New translations en-us.yaml (Estonian)

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

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

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

* New translations en-us.yaml (Esperanto)

* New translations en-us.yaml (Breton)

* New translations en-us.yaml (Bosnian)

* New translations en-us.yaml (Serbian (Latin))

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

* Update source file en-US.yaml

* New translations en-us.yaml (French)

* Update source file en-US.yaml

* New translations en-us.yaml (Italian)

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

* New translations en-us.yaml (French)

* New translations en-us.yaml (Russian)

* New translations en-us.yaml (German)

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

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

* New translations en-us.yaml (Italian)

* New translations en-us.yaml (Japanese)

* New translations en-us.yaml (Japanese)

* Update source file en-US.yaml

* New translations en-us.yaml (Bosnian)

* New translations en-us.yaml (Slovak)

* 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 (Catalan)

* 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 (Korean)

* New translations en-us.yaml (Dutch)

* New translations en-us.yaml (Polish)

* New translations en-us.yaml (Russian)

* New translations en-us.yaml (Slovak)

* New translations en-us.yaml (Albanian)

* New translations en-us.yaml (Turkish)

* New translations en-us.yaml (Ukrainian)

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

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

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

* New translations en-us.yaml (Indonesian)

* New translations en-us.yaml (Persian)

* 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 (English, United Kingdom)

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

* New translations en-us.yaml (Bosnian)

* New translations en-us.yaml (Nepali)

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

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

* Update source file en-US.yaml

* New translations en-us.yaml (Spanish, Latin America)
2023-12-21 14:15:57 -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