LibreChat/api/server/services
Danny Avila d012da0065
🛡️ fix: Enhance File Upload Security & Error Handling (#4705)
* fix: sanitize filename in multer storage callback

* fix: ensure temporary image upload file is deleted after processing

* fix: prevent cleanup flag from being set to false before actually deleted

* refactor: user avatar, typing, use 'file' for formData instead of 'input', add disk storage, use localization

* fix: update Avatar component to include image dimensions in formData and refactor editor reference type

* fix: refactor avatar upload handling to use fs for file reading and enhance file validation

* fix: ensure temporary image upload file is deleted after processing

* fix: refactor avatar upload routes and handlers for agents and assistants, improve file handling and validation

* fix: improve audio file validation and cleanup

* fix: add filename sanitization utility and integrate it into multer storage configuration

* fix: update group project ID check for null and refactor delete prompt group response type

* fix: invalid access control for deleting prompt groups

* fix: add error handling and logging to checkBan middleware

* fix: catch conversation parsing errors

* chore: revert unnecessary height and width parameters from avatar upload

* chore: update librechat-data-provider version to 0.7.55

* style: ensure KaTeX can spread across visible space
2024-11-12 16:41:04 -05:00
..
Config 🦙 fix: normalized endpoint for Ollama (#4681) 2024-11-10 14:13:14 -05:00
Endpoints 🪨 fix: add AWS STS session token support to Bedrock client (#4655) 2024-11-07 08:06:42 -05:00
Files 🛡️ fix: Enhance File Upload Security & Error Handling (#4705) 2024-11-12 16:41:04 -05:00
Runs 🤖 fix: Minor Assistants Issues (#4436) 2024-10-16 15:04:10 -04:00
start 🔒 refactor: Apply interface settings to all Roles (#3967) 2024-09-09 20:15:08 -04:00
Threads 🛡️ fix: Minor Vulnerabilities (#4543) 2024-10-24 15:50:48 -04:00
ActionService.js 🔧 refactor: Optimize Agent Tool Loading and Fix Bedrock Tool Handling (#4641) 2024-11-05 11:24:26 -05:00
ActionService.spec.js 🤖 feat: OpenAI Assistants v2 (initial support) (#2781) 2024-05-19 12:56:55 -04:00
AppService.interface.spec.js 🧠 feat: Prompt caching switch, prompt query params; refactor: static cache, prompt/markdown styling, trim copied code, switch new chat to convo URL (#3784) 2024-08-26 15:34:46 -04:00
AppService.js 🧹 fix: Resolve Unarchive Conversation Bug, Archive Pagination (#4189) 2024-09-22 17:21:50 -04:00
AppService.spec.js 🧠 feat: Prompt caching switch, prompt query params; refactor: static cache, prompt/markdown styling, trim copied code, switch new chat to convo URL (#3784) 2024-08-26 15:34:46 -04:00
AssistantService.js 🤖 feat: OpenAI Assistants v2 (initial support) (#2781) 2024-05-19 12:56:55 -04:00
AuthService.js 🔐 refactor: Unverified User Verification Logic (#4482) 2024-10-21 07:51:45 -04:00
cleanup.js 🧹 fix: Resolve Unarchive Conversation Bug, Archive Pagination (#4189) 2024-09-22 17:21:50 -04:00
isDomainAllowed.js 🤖 feat: Custom Endpoint Agents (experimental) (#4627) 2024-11-04 12:59:04 -05:00
isDomainAllowed.spec.js 🤖 feat: Custom Endpoint Agents (experimental) (#4627) 2024-11-04 12:59:04 -05:00
ModelService.js 🕒 feat: Add 5-second timeout for Fetching Model Lists (#4423) 2024-10-15 19:37:41 -04:00
ModelService.spec.js 🕒 feat: Add 5-second timeout for Fetching Model Lists (#4423) 2024-10-15 19:37:41 -04:00
PluginService.js 🕸️ refactor: Migrate from crypto to Web Crypto API (#3357) 2024-08-04 23:59:45 -04:00
signPayload.js chore: remove jose as Bun now supports JWT 🍞 (#1167) 2023-11-12 00:44:46 -05:00
Tokenizer.js 🚧 chore: merge latest dev build to main repo (#3844) 2024-08-31 16:33:51 -04:00
ToolService.js 🔧 refactor: Optimize Agent Tool Loading and Fix Bedrock Tool Handling (#4641) 2024-11-05 11:24:26 -05:00
UserService.js 🛠️ fix: Remove expiresAt field when setting expiry to "never" (#4294) 2024-10-03 07:17:21 -04:00