-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix item permissions not respected in drawer-item
#24045
Conversation
🦋 Changeset detectedLatest commit: 10cf14e The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Do we also want to be very explicit and disable the save button if the user can't update either of the forms? |
Yes, good point. Addressed in 455d7b5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎸
commit 66ac7bf Author: skydtrtzmr <2368178395@qq.com> Date: Sun Dec 8 16:02:48 2024 +0800 重要!终于实现录入students时同步注册directus_users commit 3f25601 Author: skydtrtzmr <2368178395@qq.com> Date: Sun Dec 8 14:12:30 2024 +0800 现在这是有用的,但是不知道为什么payload里面是undefined commit 21ae281 Author: skydtrtzmr <2368178395@qq.com> Date: Sun Dec 8 12:52:07 2024 +0800 手写调用service的hook extension生效了! commit 5ef347f Author: skydtrtzmr <2368178395@qq.com> Date: Sat Dec 7 22:22:39 2024 +0800 在研究extension commit aaf254d Author: skydtrtzmr <2368178395@qq.com> Date: Sat Dec 7 18:06:37 2024 +0800 Update index.js commit 8519fad Author: skydtrtzmr <2368178395@qq.com> Date: Sat Dec 7 18:00:41 2024 +0800 尝试写extension commit 92246d5 Merge: 2a86f02 ba69d55 Author: skydtrtzmr <2368178395@qq.com> Date: Sat Dec 7 11:39:50 2024 +0800 Merge tag 'v11.3.2' into v11.2 commit 2a86f02 Author: skydtrtzmr <2368178395@qq.com> Date: Fri Dec 6 16:39:41 2024 +0800 更新资源,flow commit ba69d55 Author: Brainslug <br41nslug@users.noreply.github.com> Date: Tue Dec 3 18:42:36 2024 +0100 Release 11.3.2 (directus#24135) commit 72e18a3 Author: Rijk van Zanten <rijkvanzanten@me.com> Date: Tue Dec 3 12:30:26 2024 -0500 Fix sdk example in docs Fixes directus#24133 commit 574a06e Author: ian <licitdev@gmail.com> Date: Wed Dec 4 00:21:41 2024 +0700 Added user existence check when migrating legacy comments (directus#24134) * Add user existence check when migrating legacy comments * Add changeset * Use sets * Rename for consistency commit 6023c44 Author: Rijk van Zanten <rijkvanzanten@me.com> Date: Tue Dec 3 10:39:11 2024 -0500 Install vue devtools through vite (directus#24127) Co-authored-by: Connor Winston <connor@winston.guru> commit 48a0ae3 Author: Rijk van Zanten <rijkvanzanten@me.com> Date: Mon Dec 2 19:34:24 2024 -0500 Clear system and local caches on apply snapshot (directus#24128) * Clear system and local caches on apply snapshot Fixes directus#17117 * Add changeset * Organize imports * Flush all caches on snapshot apply commit 2128644 Author: Nick Settler <moiseevnikita14@gmail.com> Date: Tue Dec 3 01:28:25 2024 +0100 Add select all and delete buttons for notifications drawer (directus#24028) * feat: add select all and delete buttons for notifications drawer * Always show delete tooltip --------- Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> commit 401c565 Author: Rijk van Zanten <rijkvanzanten@me.com> Date: Mon Dec 2 17:51:07 2024 -0500 v11.3.1 commit da84bd1 Author: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Date: Mon Dec 2 17:08:23 2024 -0500 Do not re-parse already parsed version delta in migration (directus#24126) * do not re-parse objects * add changeset * Update api/src/database/migrations/20240924B-populate-versioning-deltas.ts Co-authored-by: ian <licitdev@gmail.com> --------- Co-authored-by: ian <licitdev@gmail.com> Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> commit 4625756 Author: Zyles <ignesia@gmail.com> Date: Mon Dec 2 22:49:35 2024 +0100 feat(openapi): Add required fields to schema generation (directus#24123) * Fix specifications.ts to generate required array in OpenAPI schema feat(openapi): Add required fields to schema generation Enhance OpenAPI specification generation to correctly mark required fields based on database schema constraints. Changes: - Implement logic to track required fields in schema components - Add 'required' array to OpenAPI spec for non-nullable fields - Apply required field detection for both system and custom collections - Ensure fields are marked required only when: * Not nullable * No default value * Not a generated field Resolves: - Incomplete OpenAPI specification generation - Missing required field metadata in schema components Validation Criteria: - Required fields are correctly identified - OpenAPI 3.0 specification standards are followed - No unnecessary 'required' arrays are added * Fix supported array in specifications.ts changeset * Signed contributors.yml * Run formatter * Update .changeset/bright-drinks-walk.md * Update test to match tweak * Use spaces for indentation * Add missing trailing comma --------- Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> commit 0fcf268 Author: Matthew Rumery <9679004+that1matt@users.noreply.github.com> Date: Mon Dec 2 14:16:48 2024 -0700 Fixed WYSIWYG file upload extension to use filename_disk (directus#24097) * fix: fixed WYSIWYG file upload extension to use filename_disk * chore: fix formatting * fix: extract file extension only from filename_disk * chore: remove unused imports * fix: add check for . on filename_disk commit 6948e1f Author: Brainslug <br41nslug@users.noreply.github.com> Date: Mon Dec 2 18:12:27 2024 +0100 release (directus#24122) commit ce4bfe0 Author: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Date: Mon Dec 2 11:48:51 2024 -0500 Add support for activity/revisions/logs retention (directus#24058) * Add retention support for `directus_activity` and `directus_revisions` (directus#23410) * add retention support * add changeset * add docs * rework imports * skip processing for no records * improve retention tests * improve tests * add error handling * remove redundant while condition in retention * improve error message * increase retention to 90 days * add lock * Use the action constant * Skip the full table count * Add false to disable in docs * Reduce batch to 500 for db compat * Add timeout to lock * skip revisions if activities is more frequent * Update docs/self-hosted/config-options.md Co-authored-by: Kevin Lewis <kvn@lws.io> * Update docs/self-hosted/config-options.md Co-authored-by: Kevin Lewis <kvn@lws.io> * RETENTION_TASKS are no longer constant * fix formatting for retentions enabled config option * reword RETENTION_SCHEDULE config option * add explicit return types and update to async for consistency * fix schedules tests to be async * update jsdoc to correctly indicate schedule job * add correct default value for retention schedules --------- Co-authored-by: ian <licitdev@gmail.com> Co-authored-by: Kevin Lewis <kvn@lws.io> * Removed outdated logic for versioning (directus#23749) * Extract comments to a separate table (directus#22295) * Add directus_comments migration * Add comments controller and service * Remove from activity * Update system-data and types * Refactor app with new endpoints * Expose service * Update app minimal permissions * Add collection translation * Define relations * Allow comment creation only if there's item read access * Patch for MSSQL double constraints issue * Fix users service test * Add sdk support * Update specs * Fix formatting * Fix specs error * Patch whoopsie * Remove obsolete GraphQL mutations * Update required fields * Remove unused vars * Allow edit and delete of legacy activity comments * Remove legacy comments from SDK * Add changeset * Batch upwards migration * Update SDK to use keysOrQuery Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> * Update implementation for keysOrQuery * Remove singleton check * Update SDK to use keysOrQuery 2 Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> * Update keysOrQuery typedoc * Fix import * Update migration timestamp * fixed import * Update api/src/utils/get-service.ts * utilize chunk processing in migration * formatting * only services extended from itemservice should be added * remove redundant checks from comment header * update comment service to v11 permission format * specify missing required fields * Mock comments in users test * Simplify migration and update date * WIP legacy access * Optimise imports * WIP app cleanup * Update loadUserPreviews typing Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * Read legacy comments * Parse using comments service * Perform migration directly * Fix legacy app sort query which uses id * Migrate legacy comments in mutations * Reduce api semver * Update app recommended permissions * Recommend updating of comment only * replace hardcoded type with existing one * Allow users to update or delete their own comments Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> * Skip further access validation for non-existent collections * Check if collection exists before the admin check Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> * Fix incorrect legacy check Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * Fix merging of count when db returns count as string type * Remove unused import --------- Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: Brainslug <tim@brainslug.nl> Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * Consolidate content versioning (directus#22413) * Add migration * Use the new delta field * Add cast-json flag * Fix typing * Fetch existing deltas if version created during migration * Add changeset * Add version delta field into sdk schema * Update migration timestamp * Update versions.save() to return finalVersionDelta Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> * Sort on DB level * Update migration date * Disallow passing delta via create/update * Update docs & specs * Fix save response * Remove unnecessary access check Already checked by the subsequent itemsService.readOne call * Update changeset * Don't require update perms on versions for save * Optimize validateCreateData * update to new validateAccess * Update docs/reference/system/versions.md * Remove migration of delta * Rename to legacy * Add missed changes for Remove migration of delta in 2e2f50f * Update docs/reference/system/versions.md --------- Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> * Update migration dates * api change should be major for versioning * Remove comment paths from activity reference * Added comments reference * Added directus_comments to table of system collections * The linter demands newline * Revert function renaming for patch semver * Use transaction in down migration for comments (directus#23715) * Remove outdated logic for versioning * Fix migration * Update api/src/database/migrations/20240924B-populate-versioning-deltas.ts * add changeset * reword changeset --------- Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: Brainslug <tim@brainslug.nl> Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> Co-authored-by: Kevin Lewis <kvn@lws.io> Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> * Removed outdated logic for comments (directus#23748) * Extract comments to a separate table (directus#22295) * Add directus_comments migration * Add comments controller and service * Remove from activity * Update system-data and types * Refactor app with new endpoints * Expose service * Update app minimal permissions * Add collection translation * Define relations * Allow comment creation only if there's item read access * Patch for MSSQL double constraints issue * Fix users service test * Add sdk support * Update specs * Fix formatting * Fix specs error * Patch whoopsie * Remove obsolete GraphQL mutations * Update required fields * Remove unused vars * Allow edit and delete of legacy activity comments * Remove legacy comments from SDK * Add changeset * Batch upwards migration * Update SDK to use keysOrQuery Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> * Update implementation for keysOrQuery * Remove singleton check * Update SDK to use keysOrQuery 2 Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> * Update keysOrQuery typedoc * Fix import * Update migration timestamp * fixed import * Update api/src/utils/get-service.ts * utilize chunk processing in migration * formatting * only services extended from itemservice should be added * remove redundant checks from comment header * update comment service to v11 permission format * specify missing required fields * Mock comments in users test * Simplify migration and update date * WIP legacy access * Optimise imports * WIP app cleanup * Update loadUserPreviews typing Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * Read legacy comments * Parse using comments service * Perform migration directly * Fix legacy app sort query which uses id * Migrate legacy comments in mutations * Reduce api semver * Update app recommended permissions * Recommend updating of comment only * replace hardcoded type with existing one * Allow users to update or delete their own comments Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> * Skip further access validation for non-existent collections * Check if collection exists before the admin check Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> * Fix incorrect legacy check Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * Fix merging of count when db returns count as string type * Remove unused import --------- Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: Brainslug <tim@brainslug.nl> Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * Consolidate content versioning (directus#22413) * Add migration * Use the new delta field * Add cast-json flag * Fix typing * Fetch existing deltas if version created during migration * Add changeset * Add version delta field into sdk schema * Update migration timestamp * Update versions.save() to return finalVersionDelta Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> * Sort on DB level * Update migration date * Disallow passing delta via create/update * Update docs & specs * Fix save response * Remove unnecessary access check Already checked by the subsequent itemsService.readOne call * Update changeset * Don't require update perms on versions for save * Optimize validateCreateData * update to new validateAccess * Update docs/reference/system/versions.md * Remove migration of delta * Rename to legacy * Add missed changes for Remove migration of delta in 2e2f50f * Update docs/reference/system/versions.md --------- Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> * Update migration dates * api change should be major for versioning * Remove comment paths from activity reference * Added comments reference * Added directus_comments to table of system collections * The linter demands newline * Revert function renaming for patch semver * Use transaction in down migration for comments (directus#23715) * Remove outdated logic for comments * remove duplicate app access permission * remove unused import/params in gql * remove remaining comment code in activity * remove remaining activity logic in comment * add changeset * reword changeset --------- Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: Brainslug <tim@brainslug.nl> Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> Co-authored-by: Kevin Lewis <kvn@lws.io> Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> * Update config-options.md * add missing docs changeset for retentions * ensure selected id is not ambiguous for joins * Restrict comment create, update and delete to authenticated users (directus#23996) * Extract comments to a separate table (directus#22295) * Add directus_comments migration * Add comments controller and service * Remove from activity * Update system-data and types * Refactor app with new endpoints * Expose service * Update app minimal permissions * Add collection translation * Define relations * Allow comment creation only if there's item read access * Patch for MSSQL double constraints issue * Fix users service test * Add sdk support * Update specs * Fix formatting * Fix specs error * Patch whoopsie * Remove obsolete GraphQL mutations * Update required fields * Remove unused vars * Allow edit and delete of legacy activity comments * Remove legacy comments from SDK * Add changeset * Batch upwards migration * Update SDK to use keysOrQuery Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> * Update implementation for keysOrQuery * Remove singleton check * Update SDK to use keysOrQuery 2 Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> * Update keysOrQuery typedoc * Fix import * Update migration timestamp * fixed import * Update api/src/utils/get-service.ts * utilize chunk processing in migration * formatting * only services extended from itemservice should be added * remove redundant checks from comment header * update comment service to v11 permission format * specify missing required fields * Mock comments in users test * Simplify migration and update date * WIP legacy access * Optimise imports * WIP app cleanup * Update loadUserPreviews typing Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * Read legacy comments * Parse using comments service * Perform migration directly * Fix legacy app sort query which uses id * Migrate legacy comments in mutations * Reduce api semver * Update app recommended permissions * Recommend updating of comment only * replace hardcoded type with existing one * Allow users to update or delete their own comments Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> * Skip further access validation for non-existent collections * Check if collection exists before the admin check Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> * Fix incorrect legacy check Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * Fix merging of count when db returns count as string type * Remove unused import --------- Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: Brainslug <tim@brainslug.nl> Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> * Consolidate content versioning (directus#22413) * Add migration * Use the new delta field * Add cast-json flag * Fix typing * Fetch existing deltas if version created during migration * Add changeset * Add version delta field into sdk schema * Update migration timestamp * Update versions.save() to return finalVersionDelta Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> * Sort on DB level * Update migration date * Disallow passing delta via create/update * Update docs & specs * Fix save response * Remove unnecessary access check Already checked by the subsequent itemsService.readOne call * Update changeset * Don't require update perms on versions for save * Optimize validateCreateData * update to new validateAccess * Update docs/reference/system/versions.md * Remove migration of delta * Rename to legacy * Add missed changes for Remove migration of delta in 2e2f50f * Update docs/reference/system/versions.md --------- Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> * Update migration dates * api change should be major for versioning * Remove comment paths from activity reference * Added comments reference * Added directus_comments to table of system collections * The linter demands newline * Revert function renaming for patch semver * Use transaction in down migration for comments (directus#23715) * Remove outdated logic for comments * remove duplicate app access permission * remove unused import/params in gql * remove remaining comment code in activity * remove remaining activity logic in comment * add changeset * reword changeset * restrict comment CUD to authenticated users * update docs * add changeset * skip mention processing if none are present * update restriction wording in the docs --------- Co-authored-by: ian <licitdev@gmail.com> Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: Brainslug <tim@brainslug.nl> Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> Co-authored-by: Kevin Lewis <kvn@lws.io> Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> * remove foreign key constraint on comment `collection` column * update migration comment wording * Update api/src/database/migrations/20240924A-migrate-legacy-comments.ts Co-authored-by: ian <licitdev@gmail.com> --------- Co-authored-by: ian <licitdev@gmail.com> Co-authored-by: Kevin Lewis <kvn@lws.io> Co-authored-by: Brainslug <br41nslug@users.noreply.github.com> Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: Brainslug <tim@brainslug.nl> Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com> Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> commit 92684fc Author: ian <licitdev@gmail.com> Date: Mon Dec 2 21:29:18 2024 +0700 Fixed applying of snapshot changes to/from alias fields (directus#24120) * Fix applying of snapshot changes to/from alias fields * Add changeset commit fb41400 Author: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Date: Mon Dec 2 08:54:32 2024 -0500 Fix item permissions not respected in `drawer-item` (directus#24045) commit 0bb3351 Author: Hannes Küttner <kuettner.hannes@gmail.com> Date: Mon Dec 2 10:51:17 2024 +0100 Fix query generation for M2M relations that share a junction table (directus#23879) * Add additional filter for M2M junction tables * Add changeset commit 900bf92 Author: José Varela <varela@directus.io> Date: Thu Nov 28 16:32:45 2024 +0000 Api / Cloudinary: Use version to prevent cached assets (directus#24112) * Use version to prevent cached assets * Fix to camelCase Co-authored-by: ian <licitdev@gmail.com> * Add changeset --------- Co-authored-by: ian <licitdev@gmail.com> commit fa527f5 Author: Kevin Lewis <kvn@lws.io> Date: Wed Nov 27 20:22:01 2024 +0100 Add variables to sidebar (directus#24110) commit ba1d03f Author: Kevin Lewis <kvn@lws.io> Date: Wed Nov 27 20:11:10 2024 +0100 Added variables page to cloud (directus#24109) commit ce0397d Author: Brainslug <br41nslug@users.noreply.github.com> Date: Wed Nov 27 19:09:12 2024 +0100 Merge commit from fork (directus#24108) * set default accountability for all unauthenticated connections * Added changeset commit cbafed1 Author: Alex Yarmosh <yarmoshalexey@gmail.com> Date: Wed Nov 27 17:06:13 2024 +0100 Fixed SSO GitHub sign up for users without public emails commit 976dbc3 Author: Nitwel <mail@nitwel.de> Date: Wed Nov 27 16:07:12 2024 +0100 Prefill sort field on relational interfaces (directus#20271) * set sort field on creation of an item * add changeset and run linter * fix bug where newly selected items get sort value 0 * fix types * remove unnecessary await * Fix diagram spacing --------- Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> Co-authored-by: Hannes Küttner <kuettner.hannes@gmail.com> Co-authored-by: formfcw <dev@formfcw.com> Co-authored-by: Alex Gaillard <alex@directus.io> commit 7800b4a Author: Georg Pichler <georg.pichler@gmail.com> Date: Wed Nov 27 02:03:33 2024 +0100 Allow the login timeout for OpenID SSO login to be adjusted (directus#24003) * Allow the lifetime of the `openid.<providerName>` cookie to be determined by a configuration setting. * - Signed CLA - Whitespace correction by prettier * Create violet-drinks-jump.md --------- Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> commit 7dc2f64 Author: Robson Martins <robson@controle.digital> Date: Tue Nov 26 20:29:25 2024 -0300 v-table html specs issue directus#24091 (directus#24093) * fix: v-table html specs issue directus#24091 * Add changeset * signing CLA as new contributor * End with newline * Fix double-grid in loading-indicator --------- Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> commit be190ff Author: Rijk van Zanten <rijkvanzanten@me.com> Date: Tue Nov 26 17:56:32 2024 -0500 Add codeowners file (directus#24100) commit 9469cb7 Author: Rijk van Zanten <rijkvanzanten@me.com> Date: Tue Nov 26 14:30:47 2024 -0500 Cast versioning item key to string (directus#24096) * Fix creating versions for singletons * Add changeset commit 2991169 Author: Shai Etzion <87863393+shaietz@users.noreply.github.com> Date: Tue Nov 26 02:44:42 2024 +0200 Update config-options.md Redis config options (directus#23966) * Update config-options.md Redis config options * Fixed Redis typo * formatted doc * fixed typo commit e5d1a71 Author: Nikolas Rimikis <25266387+Leptopoda@users.noreply.github.com> Date: Mon Nov 25 23:56:35 2024 +0100 fix(docs): typos in relational.md (directus#24088) Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com> commit 3de4039 Author: Paul J <paul@trespaul.com> Date: Thu Nov 21 23:43:17 2024 +0200 Clarify SMTP config options in docs (directus#24019) (directus#24046) * Clarify SMTP config options in docs (directus#24019) - Add link to Nodemailer options docs - Add clarification in options descriptions * Add @trespaul to `contributors.yml`. * Fix formatting. * Add new terms to `dictionary.txt`. - "Nodemailer" - "STARTTLS" --------- Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> commit 943eb9b Author: gavalierm <gavalier.marcel@gmail.com> Date: Thu Nov 21 22:41:01 2024 +0100 Aspect ratio for "circle" class (directus#23993) * Aspect ratio for "circle" class Circle is needs to have 1:1 aspect ratio to be "circle" not "oval" for non-symetric imagess * Add my nickname for signing commit 5c2928c Author: skydtrtzmr <2368178395@qq.com> Date: Thu Nov 21 10:36:39 2024 +0800 1 commit 8c6d687 Author: Brainslug <br41nslug@users.noreply.github.com> Date: Wed Nov 20 15:18:54 2024 +0100 release 11.2.2 (directus#24067) commit 9f9322e Author: José Varela <varela@directus.io> Date: Wed Nov 20 07:09:59 2024 +0000 Storage / S3: Make connection settings configurable (directus#24036) * Make connection settings configurable for S3 * Prettier * Create angry-frogs-beam.md * Fix linting * Handle millisecond logic within S3 driver package * Remove specific S3 configurations from constants * Fix linting * Update .changeset/angry-frogs-beam.md Co-authored-by: ian <licitdev@gmail.com> * Organize imports --------- Co-authored-by: ian <licitdev@gmail.com> commit e6e2b8c Author: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> Date: Tue Nov 19 11:27:24 2024 -0500 Fix enforcing `chunkSize` when TUS is not enabled and update the default `TUS_CHUNK_SIZE` to `8mb` (directus#24002) * do not enforce tus limits if it is not enabled * add changeset * reword changeset * fix typings * Update packages/storage-driver-supabase/src/index.ts Co-authored-by: ian <licitdev@gmail.com> * reduce default tus chunk size to 8mb * add warnings regarding driver restrictions * rework multiple chunk size warning to a table * reword cloudinary restriction * move default chunk size to shared constants package Co-Authored-By: ian <26413686+licitdev@users.noreply.github.com> * update changeset with correct packages * Update .changeset/cyan-sloths-appear.md Co-authored-by: ian <licitdev@gmail.com> --------- Co-authored-by: ian <licitdev@gmail.com> Co-authored-by: ian <26413686+licitdev@users.noreply.github.com> commit 9071172 Author: Kevin Lewis <kvn@lws.io> Date: Mon Nov 18 18:08:36 2024 +0100 Update guest author page (directus#24059) commit 43b1f06 Author: skydtrtzmr <2368178395@qq.com> Date: Sun Nov 17 19:47:40 2024 +0800 暂时放弃操作directus_users的hook插件了 commit f47bc36 Author: skydtrtzmr <2368178395@qq.com> Date: Sun Nov 17 10:12:26 2024 +0800 新增flow和schemas备份 commit adf5171 Author: Pascal Jufer <pascal-jufer@bluewin.ch> Date: Thu Nov 14 14:07:22 2024 +0100 Fix item count in tabular layout & drop composable (directus#24043) commit 7a11ce6 Author: Hannes Küttner <kuettner.hannes@gmail.com> Date: Thu Nov 14 11:24:31 2024 +0100 Fix reactivity of `useFormatItemsCountPaginated` (directus#24039) * Make `useFormatItemsCountPaginated` reactive * Make TS happy * Fix inline-filter * TS is insatiable * Add changeset * Make i18n required and also update relative item count * Fix lint warnings * Minor type forcing and one deprecated import --------- Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch> commit 7f212b7 Author: Brainslug <br41nslug@users.noreply.github.com> Date: Wed Nov 13 15:58:01 2024 +0100 Fix content version usage with SEARCH method (directus#24040) commit ea171b6 Author: skydtrtzmr <2368178395@qq.com> Date: Wed Nov 13 22:53:34 2024 +0800 更新题库管理表 commit 69a7626 Author: skydtrtzmr <2368178395@qq.com> Date: Wed Nov 13 14:09:46 2024 +0800 Update questions.json commit b8c1c42 Author: Hannes Küttner <kuettner.hannes@gmail.com> Date: Tue Nov 12 23:48:11 2024 +0100 Transform OracleDB query bindings to named parameters (directus#24027) * Switch out the default Oracle client with a custom one that transforms the parameter bindings to named bindings * Add changeset * Use proxy instead of subclassing the oracle client Rename `preprocessBindings` to `prepQueryParams` * update prepqueryparam options type name --------- Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com> commit 6637ed3 Author: José Varela <varela@directus.io> Date: Tue Nov 12 17:05:53 2024 +0000 App / M2O: Add option to navigate to related item (directus#23997) * Add link to item * Prevent undesired actions * Remove unused styling * Create itchy-bulldogs-tan.md * Fix collection in link * Hide "Edit" icon if is readonly and has "Item Link" * refactor for consistency --------- Co-authored-by: formfcw <dev@formfcw.com> commit e7758b1 Author: Hannes Küttner <kuettner.hannes@gmail.com> Date: Tue Nov 12 18:04:37 2024 +0100 Fix collection sorting for grouped collections (directus#22392) * Respect grouped collections in collection lists * Add changeset * Add test * Use sorted list in presets collection selection * Provide sorted, system and configured collections in collection store * Fix databaseCollections * Drop unnecessary computeds * Fix formatting * Remove empty file * Be less smart and use the original arrays in some places --------- Co-authored-by: Alex Gaillard <alex@directus.io> Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com> commit de3a590 Author: skydtrtzmr <2368178395@qq.com> Date: Wed Nov 13 00:14:19 2024 +0800 Update questions.json 用computed字段处理题目公共信息 commit 2e81ce6 Author: skydtrtzmr <2368178395@qq.com> Date: Wed Nov 13 00:08:27 2024 +0800 更新schema commit 9e0bec9 Author: Hannes Küttner <kuettner.hannes@gmail.com> Date: Tue Nov 12 03:29:47 2024 +0100 Convert item field in `validateItemAccess` to boolean (directus#24026) commit 41dbbbb Author: skydtrtzmr <2368178395@qq.com> Date: Mon Nov 11 23:44:44 2024 +0800 更新插件。现在hierachy layout完全成为本地插件。 commit 3e8213d Author: skydtrtzmr <2368178395@qq.com> Date: Mon Nov 11 22:52:18 2024 +0800 fork hierarchy-layout插件 commit a08058b Author: skydtrtzmr <2368178395@qq.com> Date: Mon Nov 11 14:52:15 2024 +0800 增加一些schema、flows数据的存储 commit d26a339 Author: skydtrtzmr <2368178395@qq.com> Date: Sun Nov 10 00:41:25 2024 +0800 Update schema.json commit a028a2e Author: skydtrtzmr <2368178395@qq.com> Date: Sat Nov 9 23:46:06 2024 +0800 1 commit d0c7491 Author: Rijk van Zanten <rijkvanzanten@me.com> Date: Wed Nov 6 12:43:40 2024 -0500 v11.2.1 commit c714836 Author: ian <licitdev@gmail.com> Date: Wed Nov 6 13:19:15 2024 +0100 Skip collection exists check when creating collections and folders (directus#23991) Co-authored-by: Hannes Küttner <kuettner.hannes@gmail.com> commit b7c07f2 Author: Hannes Küttner <kuettner.hannes@gmail.com> Date: Wed Nov 6 10:32:32 2024 +0100 Fix permission checking request URL for primary keys with `/` (directus#23990)
Scope
What's changed:
Potential Risks / Drawbacks
drawer-item
view is incorrectly disabled when it should not be, per my testing I have not found anywhere this is applicable.Review Notes / Questions
Fixes #23910
Fixes #24050
Closes SER-424