LibreChat/api/server/routes/__tests__
Marco Beretta c6deea47eb
fix: cascade forced retention when sharing an older conversation
Creating or updating a shared link computed a capped expiry for the
SharedLink itself but never converted the source conversation, so under
forced ephemeral retention sharing an older permanent chat left it
expiredAt: null and visible indefinitely after the public link expired,
unlike every other write path that converts a touched permanent chat.

Run applyForcedRetention on the source conversation after the share is
created/updated, converting it and its messages and capping its shares;
a no-op outside forced retention.
2026-07-01 19:38:20 +02:00
..
config.rum.spec.js 📡 feat: Add Authenticated Proxy Mode for Browser RUM Telemetry (#13464) 2026-06-01 21:11:35 -04:00
config.spec.js 🔐 fix: Gate Shared Startup Config By Link Access (#13897) 2026-06-23 08:28:37 -04:00
convos-duplicate-ratelimit.spec.js 🗑️ chore: Remove Action Test Suite and Update Mock Implementations (#12268) 2026-03-21 14:28:55 -04:00
convos-import.spec.js 📏 refactor: Add File Size Limits to Conversation Imports (#12221) 2026-03-14 03:06:29 -04:00
convos.spec.js fix: thread retention config through conversation pin route 2026-06-30 04:51:45 +02:00
grants.spec.js ⛩️ feat: Admin Grants API Endpoints (#12438) 2026-03-30 16:49:23 -04:00
keys.spec.js 🔱 chore: Harden API Routes Against IDOR and DoS Attacks (#11760) 2026-02-12 18:08:24 -05:00
ldap.spec.js 🧹 chore: Cleanup Logger and Utility Imports (#9935) 2025-10-01 23:30:47 -04:00
mcp.spec.js 🔐 fix: Honor Admin-Panel MCP Allowlist Overrides Without Restart (#13814) 2026-06-17 20:14:53 -04:00
messages-delete.spec.js 🪭 feat: Add opt-in Langfuse fanout gateway + collector (#13872) 2026-06-26 11:26:39 -04:00
roles.spec.js 🔨 fix: Custom Role Permissions (#12528) 2026-04-03 13:24:11 -04:00
rum.spec.js 📈 fix: Isolate RUM Telemetry Proxy Auth from App Auth (#13765) 2026-06-15 12:49:44 -04:00
share.spec.js fix: cascade forced retention when sharing an older conversation 2026-07-01 19:38:20 +02:00
static.spec.js 🗂️ fix: Disable express-static-gzip for Uploaded Images (#8307) 2025-07-11 16:51:53 -04:00