Rijk van Zanten
bd4b8b5949
v10.10.5
2024-04-03 15:47:12 -04:00
Brainslug
988bc8762e
[App] Migrate authentication and refreshing to the SDK ( #21938 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2024-03-31 14:28:11 +02:00
Daniel Biegler
9900957f9e
Update copyright year ( #22011 )
...
* Update readme.md
* also update license and sdk-license
2024-03-28 13:07:33 -04:00
Brainslug
5650cdd33c
Hiding non session SSO providers from the app ( #21874 )
2024-03-25 11:55:53 +01:00
Brainslug
545c381a6a
SDK websocket handshake messages not emitted ( #21956 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2024-03-25 10:38:20 +00:00
Brainslug
1398692c1c
SDK relational field type validation fails ( #21803 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2024-03-15 15:23:59 +00:00
Brainslug
75c6e2b092
SDK Custom Endpoint Helper ( #21850 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2024-03-14 17:19:13 +01:00
daedalus
7bea23b7f5
Add the ability to configure the error, bug and feature URLs ( #21174 )
...
* add report url fields
* update field template to be agnostic
* add changeset
* various fixes
* rename handler to load path level
* add translations
* updated docs
* fix tests
* add placeholder support for system-display-template
* refactor project to report and move to their own settings section
* example urls should be more concrete
Co-Authored-By: Pascal Jufer <5363448+paescuj@users.noreply.github.com >
* move hardcoded default report urls to constants
Co-Authored-By: Pascal Jufer <5363448+paescuj@users.noreply.github.com >
* Make nav reactive, so URL changes are immediate
* change order of report urls
* change icon to feedback
* move composable to top level
* remove ref, use from prop
* Update .changeset/tender-timers-develop.md
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
* rm select_a_collection_or_tree_fields translation key
---------
Co-authored-by: Pascal Jufer <5363448+paescuj@users.noreply.github.com >
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com >
2024-03-13 15:04:25 +01:00
Rijk van Zanten
c09ebbacd4
v10.10.3
2024-03-11 17:29:21 -04:00
Pascal Jufer
09a6775746
Fix logout SDK auth composable to include auth mode ( #21793 )
...
* Fix logout of SDK auth composable to include mode
* Add changeset
* Update sdk/src/auth/composable.ts
* stricter type in refresh
---------
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com >
Co-authored-by: Brainslug <tim@brainslug.nl >
2024-03-10 18:59:06 +01:00
Rijk van Zanten
9d88df621f
v10.10.0
2024-03-05 16:45:58 -05:00
Brainslug
285f942393
Fixed Incorrect docstring for readGraphqlSdl ( #21697 )
...
* Fixed incorrect docblock
* Update sdk/src/rest/commands/server/graphql.ts
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2024-03-05 15:06:26 +00:00
Azri Kahar
a9b628baa6
Deep merge relational fields in content versions ( #21386 )
...
* deep merge content version saves
* update content version graphql
* moved version merging to its own middleware
* added query param to request the unmodified version
* make sure the App uses the raw version format
* prettier
* removed unused middleware
* initial recursive version merging
* use loop instead of spreading
* cleanup
* accept boolean strings as versionRaw query value
* added middleware sanity check
* initial mergeVersionsRaw tests
* initial mergeVersionsRaw tests
* started merge tests
* initial m2o tests
* initial tests
* fixed logic for initial tests
* prettier
* more tests
* fixed brought up by tests
* first level relational tests
* testing nested relations
* fixed recursiveness
* more prettier
* namin consistency
* the prettiest
* Create chilled-icons-provide.md
* Add breaking change note
* updated graphql for version merging
* prettier
* added new sdk query param
* implemented judds feedback
* Enable singleton
* Slightly reformat/reword breaking change
Thanks @w0kyj!
* Clarify comment about primitive type substitution
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com >
* replaced for in loops
* applied isObject check
* prettier
* Short issue link
* Update changeset
* added sso guide warning
* pretttier
* update sso guide instead of warning
* prettier
* reverted SSO guide from other PR, nothing to see here
* Added cloneDeep to be safe
* removed snake case
---------
Co-authored-by: Brainslug <tim@brainslug.nl >
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com >
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com >
2024-03-04 11:57:51 -05:00
Brainslug
77d73398f1
Session Based Authentication ( #21239 )
...
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com >
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com >
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2024-03-04 01:59:45 +01:00
Brainslug
838c841a65
Add CJS exports for system-data package ( #21614 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2024-02-29 02:13:29 +00:00
dependabot[bot]
09baade4e9
Bump vitest from 1.3.0 to 1.3.1 ( #21559 )
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.3.1/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
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-02-26 11:28:04 +01:00
dependabot[bot]
01d3b3f524
Bump vitest from 1.2.2 to 1.3.0 ( #21468 )
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.3.0/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
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-02-19 09:59:45 +01:00
Rijk van Zanten
bad22bf1ff
v10.9.2
2024-02-14 11:21:02 -05:00
Brainslug
2c4883ae42
Filter system collections based on the system property ( #21197 )
...
Co-authored-by: Jan Arends <jan.arends@mailbox.org >
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2024-02-14 14:40:57 +01:00
dependabot[bot]
42c3d83b14
Bump tsup from 8.0.1 to 8.0.2 ( #21410 )
...
Bumps [tsup](https://github.com/egoist/tsup ) from 8.0.1 to 8.0.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.0.1...v8.0.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-02-13 09:07:07 +01:00
Rijk van Zanten
1136c20628
Support video files in public background ( #21291 )
...
* Return type information about public background
* Render public backgrounds as video as per type
* Don't authenticate the files service
* Add changeset
* Fix css layering
* Update types
* Update assets.ts
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com >
---------
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com >
2024-02-09 14:09:45 +01:00
Pascal Jufer
56b809abe4
Fix item permissions check ( #21152 )
...
* Introduce permissions API endpoint to fix item permissions check
* Add changeset
* Revision
- Wrap API response in 'data' prop
- Split-up usePermissions composables & add tests
- Rework all permission checks
* Remove obsolete test
* Revision 2
- Singleton support
- Bug fixes
- Use permission composables wherever applicable
- Complete tests
* Update mock path in archive test
* Move remaining checks to usePermissions composables
* Update docs
* Lint & spelling fix
* Add SDK method
* Require authentication for getItemPermissions service
* Add blackbox tests
* Use multi-line if
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com >
* Format JSON code blocks
* Use correct type for computed values
Co-authored-by: Brainslug <tim@brainslug.nl >
* More explicit check & add comments
---------
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com >
Co-authored-by: Brainslug <tim@brainslug.nl >
2024-02-07 21:50:35 +01:00
Rijk van Zanten
d3874a8f19
v10.9.0
2024-02-06 14:29:32 -05:00
Brainslug
f34e05bd30
[SDK] Update Readonly Properties on Query Type ( #21261 )
2024-02-01 08:35:47 -05:00
Brainslug
307c9e1862
Updated SDK filter types ( #21083 )
...
* improve filter typing
* disabled the incorrect _regex operator
* Create hot-humans-battle.md
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2024-01-31 16:40:52 -05:00
Pascal Jufer
2584bd5330
Update vitest to v1.2.2 ( #21216 )
2024-01-28 13:43:53 +01:00
Rijk van Zanten
a7e32f386e
Remove scoped entrypoints ( #21206 )
...
* Remove scoped entrypoints
* Add changeset
2024-01-25 16:00:54 -05: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]
eb147cd5d9
Bump @types/node-fetch from 2.6.9 to 2.6.11 ( #21149 )
...
Bumps [@types/node-fetch](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node-fetch ) from 2.6.9 to 2.6.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node-fetch )
---
updated-dependencies:
- dependency-name: "@types/node-fetch"
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:44:32 +01:00
Brainslug
67b59f276e
Revert "SDK Core Field type checking fails" ( #21088 )
2024-01-15 17:22:00 +01:00
Brainslug
5ee95094e7
SDK Core Field type checking fails ( #21085 )
2024-01-15 15:21:47 +01:00
dependabot[bot]
9dda56c924
Bump vitest from 1.1.0 to 1.1.1 ( #20931 )
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.1.1/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
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-02 00:57:30 +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
Brainslug
086555d2ae
Fix SDK fields formatting in withSearch ( #20859 )
2023-12-27 16:46:39 +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
c45cd69dd7
v10.8.3
2023-12-21 14:19:08 -05:00
daedalus
dd3de6bda6
Categorize the directus_extensions endpoint as a system collection in the sdk ( #20793 )
...
Co-authored-by: Brainslug <tim@brainslug.nl >
2023-12-20 02:45:54 +01:00
Pascal Jufer
98532788d5
Selective Patch Tuesday 🐸 ( #20796 )
2023-12-20 00:26:15 +01:00
Mahendra Kumar
251e3e42be
fix(sdk): changed keys to keysOrQuery to accept both keys and query in updateItems ( #20774 )
...
* fix(sdk): changed keys to keysOrQuery to accept both keys and query in updateItems
* Update .changeset/heavy-meals-poke.md
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
* Update sdk/src/rest/commands/update/items.ts
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
* Update sdk/src/rest/commands/update/items.ts
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
---------
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-12-18 20:15:26 +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
81c9156508
Update Vitest to v1 ( #20694 )
2023-12-10 19:49:45 +01:00
omahs
541db825a2
Fix typos in documentation pages and SDK readme ( #20691 )
...
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch >
2023-12-10 16:30:56 +01:00
Brainslug
f4eed74c51
SDK map filter literal types ( #20613 )
2023-12-01 12:21:22 -05:00
Pascal Jufer
a5215d674b
Update TypeScript to 5.3.2 ( #20571 )
2023-11-29 13:54:56 +01:00
Brainslug
e359717348
SDK Deep filter types ( #20556 )
...
* fixed deep filter types
* prettier
* Create strange-cooks-reply.md
* removed debug line
2023-11-28 11:10:00 -05: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
Rijk van Zanten
7f5d690c4e
v10.8.0
2023-11-16 16:59:46 -05:00
Brainslug
7d5de5ccc1
SDK FieldMetaConditionType does not allow partial entry ( #20446 )
2023-11-16 16:27:36 +01:00