Commit Graph

1269 Commits

Author SHA1 Message Date
Alex van der Valk
2f8cdfe6b5 add meta object to createCollection SDK example. (#21353)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-02-07 14:17:47 +00:00
Jonas Stettner
1edd23853d endpoint for updating an operation is /operations not /operation (#21357) 2024-02-07 13:28:17 +01:00
Kevin Lewis
046edfcefb Added breaking changes docs for 10.9 (#21358)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-02-07 12:27:55 +00:00
Kevin Lewis
1f059a5144 Added new framework guides (#21354) 2024-02-07 13:26:25 +01:00
Waldi
b1e7bf4f1f Fix boolean error in docker-compose quickstart template (#21336) 2024-02-06 16:01:20 +01:00
Brainslug
f34e05bd30 [SDK] Update Readonly Properties on Query Type (#21261) 2024-02-01 08:35:47 -05:00
Esther Agbaje
1f2efa7592 Update 'Roles and Permissions' settings to 'Access Control' (#21240)
* change roles and permissions to access control

* update GIFs for permissions

* updates in next and nuxt guides

* update alt text
2024-02-01 12:38:37 +01:00
Esther Agbaje
a7128cd547 Updates to Next and Nuxt Guides (#21265)
* updates to next and nuxt guides

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-01-31 17:13:07 -05:00
Pascal Jufer
19a0d0d8ed Notes & Breaking Changes for Next Release (#20844)
* Notes & Breaking Changes for Next Release

* Update breaking changes note about extension endpoint

* Add info for "Update exif-reader to v2 (#20820)"

* Fix version number in title

* Reword exif changes

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-01-31 15:37:07 -05:00
Pascal Jufer
8db8241cc4 Update exif-reader to v2 (#20820)
* Update exif-reader to v2

* Add changeset

* Update changeset

* EXIF -> exif

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-01-31 15:24:38 -05:00
Esther Agbaje
d7827ba24b Fix NPM Quickstart Guide (#21234)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-01-30 11:44:21 +01:00
Brainslug
cf49f17403 [docs] Updated sdk storage example (#21232) 2024-01-29 11:40:24 +00:00
Pascal Jufer
86aedeb27c Patch Tuesday 🐸 (#21221)
* Update root deps

* Update `@directus/api` deps

* Update `@directus/app` deps

* Update `docs` deps

* Update `@directus/components` deps

* Update `@directus/composables` deps

* Update `create-directus-extension` deps

* Update `create-directus-project` deps

* Update `@directus/data` deps

* Update `@directus/data-driver-postgres` deps

* Update `@directus/data-sql` deps

* Update `@directus/env` deps

* Update `@directus/extensions` deps

* Update `@directus/extensions-sdk` deps

* Update `@directus/memory` deps

* Update `@directus/random` deps

* Update `@directus/release-notes-generator` deps

* Update `@directus/storage` deps

* Update `@directus/storage-driver-cloudinary` deps

* Update `@directus/storage-driver-local` deps

* Update `@directus/storage-driver-s3` deps

* Update `@directus/storage-driver-supabase` deps

* Update `@directus/stores` deps

* Update `@directus/themes` deps

* Update `@directus/update-check` deps

* Update `@directus/utils` deps

* Update `@directus/validation` deps

* Update `tests/blackbox` deps

* Add changeset

* Bump pnpm to 8.15.0

* Update GH actions
2024-01-28 22:56:34 +01:00
Esther Agbaje
64fd6701d8 docs: update realtime websockets guide (#19660)
* docs: update realtime websockets guide

* update: import from unpkg

* Update docs/guides/real-time/getting-started/websockets.md

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

* update docs

* add note

* update connection pong

* update getting started guide

* update js chat guide

* update query

* update sdk query

* update js docs

* update react docs

* make update to js chat docs

* add history of previous msgs to js docs

* tweak sentence

* update react chat docs

* update live poll docs

* format react docs

* fix typo

* fix format

* update vue docs

* Update docs/guides/real-time/chat/javascript.md

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

* fix indentation

* remove console.log

* Update docs/guides/real-time/chat/javascript.md

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

* Update docs/guides/real-time/chat/javascript.md

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

* Update docs/guides/real-time/chat/javascript.md

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

* removed strict equality

* Update docs/guides/real-time/chat/javascript.md

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

* add the JS ;

* Update docs/guides/real-time/chat/react.md

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

* removed unnecessary console.log

* update method definitions

* add link to websockets without sdk

* Update docs/guides/real-time/getting-started/websockets.md

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

* Update docs/guides/real-time/getting-started/websockets.md

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

* tiny text updates

---------

Co-authored-by: Kevin Lewis <kvn@lws.io>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
2024-01-26 10:12:08 +01:00
Esther Agbaje
ce0a9b34a4 Update NPM Quickstart with a note on Dependencies (#21195)
* update npm quickstart with dependency note

* make dictionary happy

* update notes

* Add changeset

* quick updates

* fix spelling

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-01-26 10:11:03 +01:00
Kevin Lewis
e5cd3f3616 Updated URLs (#21102) 2024-01-26 09:30:23 +01:00
Brainslug
fd11cef6fb default to json SDK authentication in the example (#21199) 2024-01-25 16:36:16 +01:00
Pascal Jufer
c29873df09 Align versions of TypeDoc dependencies (#21198) 2024-01-25 14:57:34 +01:00
Esther Agbaje
ba6ceba437 Update useItems composable with the required parameters (#21194)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-01-25 13:26:55 +00:00
Esther Agbaje
62d640a723 update secure extensions to sandboxed extensions (#21196) 2024-01-25 14:12:50 +01:00
Kevin Lewis
96df9391c4 Adding area toggle to top of docs nav (#21176)
* Added tabs

* Remove area links from nav

* Added social nav links

* Ensured toggle is respected when path changes

* Updated dev toggle link

* Removed white backgroudn to respect dark mode

* CI gods must be pleased

* Simplify path determination

* Toggle design as per Ben's feedback

* Tabs component styling

* Updated tabs content on docs home

* HEader nav links

* Dev sidebar link to home

* Adjust inactive & hover color of tab buttons

* Nest CSS

* Update docs/.vitepress/theme/Layout.vue

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

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-01-25 11:37:00 +01:00
Marcel
0cee4c0805 Add memory package in the list of package names (#21155)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-01-25 09:20:23 +00:00
Daniel Biegler
062c8f23f6 Add focal point support for images (#20768)
* add visual feedback for invalid value

* add focal point MVP

* Revert "add visual feedback for invalid value"

This reverts commit 1df1868342.

Accidently committed some local testing stuff. Pls disregard! :)

* fix wrong cropping

* fix text for new cropping, import correct type

* fix saving

* place initial focal point to saved value or center, display different cancel text

* split up tooltips

* honor rotations & flips when saving focal point

* apply custom cropper styles for focal mode

* Create loud-crews-fix.md

* add test and only crop when covering with fixed dimensions to preserve default behaviour

* linter gods pls forgive me

* replace json field with two int fields

* add focal point to sdk

* fix transformation for the two new db columns

* update test for new columns, add new tests

* wip: saving now differentiates between only img data and focal point and only enable saving if there are changes

but this is not optimal. would be better to check beforehand if we can collapse
to requests to one. Now its bad because
one request might succeed and the other fails.

* refactor image editor change persistence

now we save it in one request!

* Update loud-crews-fix.md

* add `focal_point_x` and `focal_point_y` to possible asset transformations

* fix assigning localdragmode upon cropper init

* reuse fetched fields in type

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

* update file type

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

* update changeset

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

* improve type for `ASSET_TRANSFORM_QUERY_KEYS`

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

* Apply suggestions from code review

Trying out the batch change feature from github for the first time. Lets see.

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

* rename `persistChanges` to `saveImage`

* Add docs for focal points (#20959)

* Add user guide

* Added to API Reference

* Prettier

* Spellchecker

* default null

Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com>

* from -> around

Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com>

* from -> around

---------

Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com>

* add changeset for docs

* run prettier lets goooooooo

* move & show focal point fields and add divider

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Kevin Lewis <kvn@lws.io>
2024-01-22 18:35:06 +01:00
dependabot[bot]
eba3e08549 Bump typedoc-plugin-markdown from 4.0.0-next.38 to 4.0.0-next.43 (#21151)
Bumps [typedoc-plugin-markdown](https://github.com/tgreyuk/typedoc-plugin-markdown/tree/HEAD/packages/typedoc-plugin-markdown) from 4.0.0-next.38 to 4.0.0-next.43.
- [Release notes](https://github.com/tgreyuk/typedoc-plugin-markdown/releases)
- [Changelog](https://github.com/tgreyuk/typedoc-plugin-markdown/blob/typedoc-plugin-markdown@4.0.0-next.43/packages/typedoc-plugin-markdown/CHANGELOG.md)
- [Commits](https://github.com/tgreyuk/typedoc-plugin-markdown/commits/typedoc-plugin-markdown@4.0.0-next.43/packages/typedoc-plugin-markdown)

---
updated-dependencies:
- dependency-name: typedoc-plugin-markdown
  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-01-22 01:49:46 +01:00
Kevin Lewis
5761b29a20 Updated home toggler content (#21130)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-01-19 12:59:44 +00:00
dependabot[bot]
9599b91c4c Bump typedoc-plugin-zod from 1.1.1 to 1.1.2 (#21138)
Bumps [typedoc-plugin-zod](https://github.com/Gerrit0/typedoc-plugin-zod) from 1.1.1 to 1.1.2.
- [Commits](https://github.com/Gerrit0/typedoc-plugin-zod/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: typedoc-plugin-zod
  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-01-19 08:15:40 +01:00
Kevin Lewis
f0ba61658e Fix logo positioning (#21129) 2024-01-18 15:53:16 +01:00
Kevin Lewis
f1e6301d4b Added missing link in config, typo fix in flows reference (#21131) 2024-01-18 15:46:14 +01:00
Kevin Lewis
9368290608 Updated Docs Landing Page (#21116)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-01-18 01:58:24 +01:00
Kevin Lewis
70de6168b8 Updated guest author timing FAQ (#21117) 2024-01-17 13:19:27 +00:00
Esther Agbaje
155870ecf5 Add Upload File to FilesService Docs (#21087)
* update filesservice

* add a note for busboy

* fix format

* add note

* change name back to data

---------

Co-authored-by: Kevin Lewis <kvn@lws.io>
2024-01-16 15:09:26 +01:00
Mark Munyaka
2708bed2b0 Update quickstart.md (#21074) 2024-01-13 21:49:14 +01:00
dependabot[bot]
7f4bbc4db1 Bump typedoc from 0.25.6 to 0.25.7 (#21056)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.6 to 0.25.7.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.6...v0.25.7)

---
updated-dependencies:
- dependency-name: typedoc
  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-01-12 03:03:29 +01:00
Pascal Jufer
a6e2712e09 Use official abbreviation of Exif (#21030) 2024-01-10 14:42:40 +01:00
ian
4a3a65cfde Add support for IP ranges and CIDR notations (#20971)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-01-09 00:44:09 +01:00
dependabot[bot]
b9aa2696ed Bump marked from 11.1.0 to 11.1.1 (#20994)
Bumps [marked](https://github.com/markedjs/marked) from 11.1.0 to 11.1.1.
- [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.1.0...v11.1.1)

---
updated-dependencies:
- dependency-name: marked
  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-01-08 02:01:58 +01:00
Rijk van Zanten
0b0db0f449 Deprecate Messenger in favor of shared Bus (#20862)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-01-06 23:49:38 +00:00
Pascal Jufer
c9292fdd13 Various small codebase clean-ups (#20977) 2024-01-05 18:53:44 +01:00
daedalus
b189fd4594 Add enable/disable support for bundle type extensions (#20940)
* Add enable/disable support for bundle type extensions

* added changeset

* Update app/src/modules/settings/routes/extensions/components/extension-item.vue

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

* add docs

* bundle with app extensions should display reload on prod

* use early returns for toggle logic

Co-Authored-By: Brainslug <br41nslug@users.noreply.github.com>

* add enable/disable all for partially enabled

* refresh message should work for enable and disable all

* Clearer tooltip for app extensions in dev

---------

Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-01-05 13:03:24 +01:00
Kevin Lewis
fb7765e5e9 Add SQLITE_CANTOPEN and Default Admin Creds to Quickstarts (#20961) 2024-01-04 17:32:28 +01:00
Emmanuel Mahuni
75c1409a7e Update minimum NodeJS version requirement (#20939)
* Update cli.md NodeJS required version because of Sharp.

Update NodeJs minimum requirement to v18.17.0 because of Sharp new version requirements. See issue #20854

* Update contributors.yml

* Update cli.md

More specific as later versions of Node 18 work too

* Added changeset

---------

Co-authored-by: Kevin Lewis <kvn@lws.io>
2024-01-04 14:11:38 +00:00
dependabot[bot]
1b3fbd8ff3 Bump typedoc-plugin-zod from 1.1.0 to 1.1.1 (#20954)
Bumps [typedoc-plugin-zod](https://github.com/Gerrit0/typedoc-plugin-zod) from 1.1.0 to 1.1.1.
- [Commits](https://github.com/Gerrit0/typedoc-plugin-zod/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: typedoc-plugin-zod
  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-01-04 02:25:31 +01:00
dependabot[bot]
e168cb42a9 Bump typedoc from 0.25.4 to 0.25.6 (#20941)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.4 to 0.25.6.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.4...v0.25.6)

---
updated-dependencies:
- dependency-name: typedoc
  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-01-03 02:09:02 +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]
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
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
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
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
Kevin Lewis
e0ad84ac96 Make extension directory prefix requirement clear (#20835)
* Add note about directory prefix

* CI
2023-12-21 13:25:36 +00:00