[PR #2417] [MERGED] Daily message limit per user #3985

Closed
opened 2026-02-22 18:34:54 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2417
Author: @shatfield4
Created: 10/3/2024
Status: Merged
Merged: 10/15/2024
Merged by: @timothycarambat

Base: masterHead: 2415-feat-be-able-to-set-daily-conversations-per-user-instead-of-global-setting


📝 Commits (6)

  • df8bbed set message limit per user
  • dedac42 remove old limit user messages + unused admin page
  • 5121638 fix daily message validation
  • afe64b1 Merge branch 'master' into 2415-feat-be-able-to-set-daily-conversations-per-user-instead-of-global-setting
  • 282b3f3 refactor message limit input
  • ac8ffac Merge branch 'master' into 2415-feat-be-able-to-set-daily-conversations-per-user-instead-of-global-setting

📊 Changes

19 files changed (+172 additions, -345 deletions)

View changed files

📝 frontend/src/App.jsx (+0 -5)
📝 frontend/src/components/SettingsButton/index.jsx (+1 -3)
📝 frontend/src/components/SettingsSidebar/index.jsx (+0 -5)
📝 frontend/src/components/UserMenu/AccountModal/index.jsx (+1 -1)
frontend/src/pages/Admin/System/index.jsx (+0 -128)
📝 frontend/src/pages/Admin/Users/NewUserModal/index.jsx (+15 -3)
📝 frontend/src/pages/Admin/Users/UserRow/EditUserModal/index.jsx (+18 -2)
📝 frontend/src/pages/Admin/Users/index.jsx (+55 -0)
📝 frontend/src/utils/paths.js (+0 -3)
📝 server/endpoints/admin.js (+0 -15)
📝 server/endpoints/api/admin/index.js (+1 -52)
📝 server/endpoints/chat.js (+19 -68)
📝 server/endpoints/system.js (+0 -2)
📝 server/models/systemSettings.js (+0 -4)
📝 server/models/user.js (+57 -3)
server/prisma/migrations/20241003192954_init/migration.sql (+2 -0)
📝 server/prisma/schema.prisma (+2 -1)
📝 server/prisma/seed.js (+0 -2)
📝 server/swagger/openapi.json (+1 -48)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #2415

What is in this change?

  • Fix typos in username validation text
  • Remove old functionality of restricting daily message limit for all users except admins
  • Implement restricting daily message limit for users
  • Remove unused endpoints
  • Remove general settings page since no longer needed (only setting on this page was restricting daily message limit for all users)

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/2417 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 10/3/2024 **Status:** ✅ Merged **Merged:** 10/15/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `2415-feat-be-able-to-set-daily-conversations-per-user-instead-of-global-setting` --- ### 📝 Commits (6) - [`df8bbed`](https://github.com/Mintplex-Labs/anything-llm/commit/df8bbeda02a6910db8477c3ef29f45a2af24edb2) set message limit per user - [`dedac42`](https://github.com/Mintplex-Labs/anything-llm/commit/dedac42f78d4375d9b06aaf9654784231a48cea2) remove old limit user messages + unused admin page - [`5121638`](https://github.com/Mintplex-Labs/anything-llm/commit/51216382488c0f818bdfcc1c5f05342dda0a6e15) fix daily message validation - [`afe64b1`](https://github.com/Mintplex-Labs/anything-llm/commit/afe64b1bfd8526c3ffd7d00e10b2e2b26fb4c34b) Merge branch 'master' into 2415-feat-be-able-to-set-daily-conversations-per-user-instead-of-global-setting - [`282b3f3`](https://github.com/Mintplex-Labs/anything-llm/commit/282b3f3d60d34c1e2738d2fc46c567e1011045f6) refactor message limit input - [`ac8ffac`](https://github.com/Mintplex-Labs/anything-llm/commit/ac8ffacf10726f8826a612e555cab85ece0c2f88) Merge branch 'master' into 2415-feat-be-able-to-set-daily-conversations-per-user-instead-of-global-setting ### 📊 Changes **19 files changed** (+172 additions, -345 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/App.jsx` (+0 -5) 📝 `frontend/src/components/SettingsButton/index.jsx` (+1 -3) 📝 `frontend/src/components/SettingsSidebar/index.jsx` (+0 -5) 📝 `frontend/src/components/UserMenu/AccountModal/index.jsx` (+1 -1) ➖ `frontend/src/pages/Admin/System/index.jsx` (+0 -128) 📝 `frontend/src/pages/Admin/Users/NewUserModal/index.jsx` (+15 -3) 📝 `frontend/src/pages/Admin/Users/UserRow/EditUserModal/index.jsx` (+18 -2) 📝 `frontend/src/pages/Admin/Users/index.jsx` (+55 -0) 📝 `frontend/src/utils/paths.js` (+0 -3) 📝 `server/endpoints/admin.js` (+0 -15) 📝 `server/endpoints/api/admin/index.js` (+1 -52) 📝 `server/endpoints/chat.js` (+19 -68) 📝 `server/endpoints/system.js` (+0 -2) 📝 `server/models/systemSettings.js` (+0 -4) 📝 `server/models/user.js` (+57 -3) ➕ `server/prisma/migrations/20241003192954_init/migration.sql` (+2 -0) 📝 `server/prisma/schema.prisma` (+2 -1) 📝 `server/prisma/seed.js` (+0 -2) 📝 `server/swagger/openapi.json` (+1 -48) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #2415 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Fix typos in username validation text - Remove old functionality of restricting daily message limit for all users except admins - Implement restricting daily message limit for users - Remove unused endpoints - Remove general settings page since no longer needed (only setting on this page was restricting daily message limit for all users) ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:54 -05:00
yindo closed this issue 2026-02-22 18:34:54 -05:00
yindo changed title from [PR #2417] Daily message limit per user to [PR #2417] [MERGED] Daily message limit per user 2026-06-05 15:16:13 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3985