LibreChat/api/models
Marco Beretta a7f5b57272
🚫👤feat: delete user from UI (#1526)
* initial commit

* fix: UserController bugs; fix: lint errors

* fix: delete files

* language support

* style(DeleteAccount): update to the latest style

* style: fix after merge main

* chore: Add canDeleteAccount middleware for user deletion endpoint

* chore: renamed to ALLOW_ACCOUNT_DELETION

* fix(canDeleteAccount): use uppercase admin role

* chore: imports order

* chore: Enable account deletion by default if omitted/commented out

* chore: Add logging for user account deletion

* chore: Bump data-provider package version to 0.6.6

* chore: Import Transaction model in UserController

* chore: Update CONFIG_VERSION to 1.1.4

* chore: Update user account deletion logging

* chore: Refactor user account deletion logic

---------

Co-authored-by: Berry-13 <root@Berry>
Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
Co-authored-by: Danny Avila <danny@librechat.ai>
2024-06-05 19:35:12 -04:00
..
plugins 🤖 feat: OpenAI Assistants v2 (initial support) (#2781) 2024-05-19 12:56:55 -04:00
schema 🔒 feature(auth): LDAP Authentication (#2859) 2024-05-29 17:46:20 -04:00
Action.js 🤖 feat: OpenAI Assistants v2 (initial support) (#2781) 2024-05-19 12:56:55 -04:00
Assistant.js 🤖 feat: Private Assistants (#2881) 2024-05-28 08:27:45 -04:00
Balance.js 🪙 feat: Use OpenRouter Model Data for Token Cost and Context (#1703) 2024-02-02 00:42:11 -05:00
checkBalance.js 🪙 feat: Assistants Token Balance & other improvements (#2114) 2024-03-15 19:48:42 -04:00
Config.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
Conversation.js ⬇️ fix: JSON LibreChat Imports (#2897) 2024-05-29 09:15:05 -04:00
File.js 🚫👤feat: delete user from UI (#1526) 2024-06-05 19:35:12 -04:00
index.js 🪙 feat: Assistants Token Balance & other improvements (#2114) 2024-03-15 19:48:42 -04:00
Key.js feat: Accurate Token Usage Tracking & Optional Balance (#1018) 2023-10-05 18:34:10 -04:00
Message.js ⬇️ fix: JSON LibreChat Imports (#2897) 2024-05-29 09:15:05 -04:00
Preset.js 🤖 feat: Model Specs & Save Tools per Convo/Preset (#2578) 2024-04-30 22:11:48 -04:00
Prompt.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
Session.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
Share.js 🚀 feat: Shared Links (#2772) 2024-05-17 18:13:32 -04:00
spendTokens.js 🤖 feat: OpenAI Assistants v2 (initial support) (#2781) 2024-05-19 12:56:55 -04:00
Transaction.js 🐞 fix: Balance and Token Usage Improvements (#2350) 2024-04-07 23:28:40 -04:00
tx.js 🚀 feat: gpt-4o (#2692) 2024-05-13 14:25:02 -04:00
tx.spec.js 🚀 feat: gpt-4o (#2692) 2024-05-13 14:25:02 -04:00
User.js feat: bun api support 🥟 (#1021) 2023-10-07 11:16:06 -04:00
userMethods.js feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00