mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-16 21:08:17 +00:00
* fix: Restrict Stop to the Generation's Owner and Contain S3 Ingest Stream Errors The legacy abort route passed any caller-supplied conversation id straight to GenerationJobManager.abortJob, so a signed-in user who knew another user's conversation id could stop that generation and receive its partial output. abortOwnedGeneration now reads the job first and stops it only for its owner and tenant, fenced to the epoch it read; anything else reads as not found. saveURLToS3 piped Readable.fromWeb into the byte-limit transform with .pipe, which does not forward source errors. A body that failed mid-download emitted an unhandled error and left the upload awaiting forever. Use stream.pipeline, as the CloudFront strategy already does. * test: Cover Stop Ownership on the Legacy Abort Route * test: Scope the Parts Attachment Check to the Composer Tray The file name also labels a hidden recent-file row once earlier tests in the shard have left one mounted, so the unscoped locator resolved to two buttons. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| accessResources | ||
| assistants | ||
| config | ||
| limiters | ||
| roles | ||
| spec | ||
| validate | ||
| abortMiddleware.js | ||
| abortMiddleware.spec.js | ||
| abortRun.js | ||
| blockRetiredSetupToken.js | ||
| buildEndpointOption.js | ||
| buildEndpointOption.spec.js | ||
| canAccessSharedLink.js | ||
| canDeleteAccount.js | ||
| canDeleteAccount.spec.js | ||
| checkBan.js | ||
| checkBan.spec.js | ||
| checkDomainAllowed.js | ||
| checkInviteUser.js | ||
| checkInviteUser.spec.js | ||
| checkPeoplePickerAccess.js | ||
| checkSharePublicAccess.js | ||
| checkSharePublicAccess.spec.js | ||
| denyRequest.js | ||
| denyRequest.privateText.spec.js | ||
| error.js | ||
| error.spec.js | ||
| index.js | ||
| logHeaders.js | ||
| messageValidation.js | ||
| moderateText.js | ||
| moderateText.spec.js | ||
| noIndex.js | ||
| oauthNavigation.js | ||
| optionalJwtAuth.js | ||
| optionalJwtAuth.spec.js | ||
| optionalShareFileAuth.js | ||
| optionalShareFileAuth.spec.js | ||
| requireJwtAuth.js | ||
| requireLdapAuth.js | ||
| requireLocalAuth.js | ||
| requireSameOrigin.js | ||
| setHeaders.js | ||
| setTwoFactorTempUser.js | ||
| uaParser.js | ||
| validateEmailLogin.js | ||
| validateImageRequest.js | ||
| validateMessageReq.js | ||
| validateModel.js | ||
| validatePasswordReset.js | ||
| validateRegistration.js | ||