Skip to content

Commit

Permalink
First Vera Specific PR Replacing LibreChat BE and Branching from it (#1)
Browse files Browse the repository at this point in the history
* 👤 fix: Avatar Check in User Auth (danny-avila#1677)

* 🌍 : Update Japanese translation (danny-avila#1666)

* Language translation: japanese

* Language translation: japanese

* 🔝fix: Re-order System Message to Top for Mistral API Payloads (danny-avila#1678)

* fix: re-order System Message if Mistral AI API as it only allows System Message at start of Payload

* fix: re-introduce singular system message change role to `user` if `system`

* 🛡️ : Security Enhancements (danny-avila#1681)

* fix: sanitize HTTP params and do not send whole error objects backs

* fix: prevent path traversal

* fix: send custom error message for tokenizer route

* chore: handle info exposure vector

* chore(oauth): skip check due to false positive as oauth routes are rate-limited

* chore(app): disable `x-powered-by`

* chore: disable false positives or flagging of hardcoded secrets when they are fake values

* chore: add path traversal safety check

* 📝 docs update: remove ChatGPTbrowser and other small fixes (danny-avila#1686)

* 🧼 docs: remove references to ChatGPTbrowser and PandoraNext

* docs: clean up .env file

Update OpenAI models with the list of automatically fetched models, update Plugin models with the list of models supporting functions, comment out ToC in custom_config.md since it conflicts with mkdock right sidebar ToC

* 🖋️ docs: fix formatting in linux_install.md

* docs: update example model lists in dotenv.md

* docs: update breaking_changesv.md

* 🤖 docs: add `copilot-gpt4-service` AI setup info (danny-avila#1695)

Adds information and setup details for [aaamon's copilot-gpt4-service](https://github.com/aaamoon/copilot-gpt4-service) to Unofficial APIs section of the documentation.

Utilizes Github's Copilot to access OpenAI api.

* 🥷  docs: Ninja - ChatGPT-browser reverse proxy (danny-avila#1697)

* 🥷  docs: Ninja ChatGPT-browser reverse proxy

* 🥷  docs: breaking changes

* 🌍 : Update German Translations (danny-avila#1683)

Co-authored-by: marlonka <marloc55@yahoo.de>

* 🪙 feat: Use OpenRouter Model Data for Token Cost and Context (danny-avila#1703)

* feat: use openrouter data for model token cost/context

* chore: add ttl for tokenConfig and refetch models if cache expired

* 🚀 feat: Support for GPT-3.5 Turbo/0125 Model (danny-avila#1704)

* 🚀 feat: Support for GPT-3.5 Turbo/0125 Model

* ci: fix tx test

* 📷 fix: Pass Base64 to Gemini Vision Payload when using CDN URLs (danny-avila#1705)

* 🖌️feat: ScrolltoBottom & Mobile Improvements; Translation Update (danny-avila#1651)

* 🖌️feat: Scrolltobottom Style

* 🖌️feat: ScrolltoBottom Style

* 📱Settings tab now centered on mobile / selection bug fixed 🐞, 🌍 Updated Translation

* 🛠️fix: Adjust the width of the settings dialog and address the issue of not seeing selection on the desktop.

* 🎨 Update settings tabs background color for dark mode.
Adjusts background color dynamically based on screen size.

* 🛠️fix: Reverted changes in ScrolltoBottom file

* 🪙 fix(getModelMaxTokens): Retrieve Correct Context Tokens for Azure OpenAI (danny-avila#1710)

* 🖊️ README.md: update button layout (danny-avila#1709)

change size and position of the one click deployment buttons

* ♾️ style: Infinite Scroll Nav and Sort Convos by Date/Usage (danny-avila#1708)

* Style: Infinite Scroll and Group convos by date

* Style: Infinite Scroll and Group convos by date- Redesign NavBar

* Style: Infinite Scroll and Group convos by date- Redesign NavBar - Clean code

* Style: Infinite Scroll and Group convos by date- Redesign NavBar - Redesign NewChat Component

* Style: Infinite Scroll and Group convos by date- Redesign NavBar - Redesign NewChat Component

* Style: Infinite Scroll and Group convos by date- Redesign NavBar - Redesign NewChat Component

* Including OpenRouter and Mistral icon

* refactor(Conversations): cleanup use of utility functions and typing

* refactor(Nav/NewChat): use localStorage `lastConversationSetup` to determine the endpoint to use, as well as icons -> JSX components, remove use of `endpointSelected`

* refactor: remove use of `isFirstToday`

* refactor(Nav): remove use of `endpointSelected`, consolidate scrolling logic to its own hook `useNavScrolling`, remove use of recoil `conversation`

* refactor: Add spinner to bottom of list, throttle fetching, move query hooks to client workspace

* chore: sort by `updatedAt` field

* refactor: optimize conversation infinite query, use optimistic updates, add conversation helpers for managing pagination, remove unnecessary operations

* feat: gen_title route for generating the title for the conversation

* style(Convo): change hover bg-color

* refactor: memoize groupedConversations and return as array of tuples, correctly update convos pre/post message stream, only call genTitle if conversation is new, make `addConversation` dynamically either add/update depending if convo exists in pages already, reorganize type definitions

* style: rename Header NewChat Button -> HeaderNewChat, add NewChatIcon, closely match main Nav New Chat button to ChatGPT

* style(NewChat): add hover bg color

* style: cleanup comments, match ChatGPT nav styling, redesign search bar, make part of new chat sticky header, move Nav under same parent as outlet/mobilenav, remove legacy code, search only if searchQuery is not empty

* feat: add tests for conversation helpers and ensure no duplicate conversations are ever grouped

* style: hover bg-color

* feat: alt-click on convo item to open conversation in new tab

* chore: send error message when `gen_title` fails

---------

Co-authored-by: Walber Cardoso <walbercardoso@gmail.com>

* 🔧 fix: Patch incorrect Package Installation (danny-avila#1720)

* 🐳 fix: Update `.devcontainer` Files (danny-avila#1712)

* fix: modify the base docker image for devcontainer

* fix: restore package-lock.json from main

* 📱 style: Settings UI Enhancements for Mobile (danny-avila#1721)

* Fix the interface for the mobile version.

* Make uniform margins for buttons.

* 🐳 docs: How to Authenticate MongoDB (danny-avila#1724)

* refactor: remove `--noauth` flag from `mongod` command

* docs: add mongodb auth instructions

* Update manage_your_database.md

* chore: add example

* Update manage_your_database.md

* 🐳 docs: Formatting Fix (danny-avila#1725)

* 🐳 docs: Add deploy to Zeabur button and guide (danny-avila#1727)

* 🐳 docs: Add deploy to Zeabur button in README.md

* 🐳 docs: Add deploy to Zeabur guide in docs

* 🖋️ docs: Formatting Fix (danny-avila#1726)

* 🍃 docs: Formatting Fix

* 🖋️ docs: Formatting Fix

* 🖋️ docs: Formatting Fix

* 🔒✉️ feat: allow only certain domain (danny-avila#1562)

* feat: allow only certain domain

* Update dotenv.md

* refactor( registrationController) & handle ALLOWED_REGISTRATION_DOMAINS not specified

* cleanup and moved to AuthService for better  error handling

* refactor: replace environment variable with librechat config item, add typedef for custom config, update docs for new registration object and allowedDomains values

* ci(AuthService): test for `isDomainAllowed`

---------

Co-authored-by: Danny Avila <messagedaniel@protonmail.com>

* 🔄🔐 refactor: auth; style: match OpenAI; feat: custom social login order (danny-avila#1421)

* refactor(Login & Registration)

* fix(Registration) test errors

* refactor(LoginForm & ResetPassword)

* fix(LoginForm): display 'undefined' when loading page; style(SocialButton): match OpenAI's graphics

* some refactor and style update for social logins

* style: width like OpenAI; feat: custom social login order; refactor: alphabetical socials

* fix(Registration & Login) test

* Update .env.example

* Update .env.example

* Update dotenv.md

* refactor: remove `SOCIAL_LOGIN_ORDER` for `socialLogins` configured from `librechat.yaml`
- initialized by AppService, attached as app.locals property
- rename socialLoginOrder and loginOrder to socialLogins app-wide for consistency
- update types and docs
- initialize config variable as array and not singular string to parse
- bump data-provider to 0.3.9

---------

Co-authored-by: Danny Avila <messagedaniel@protonmail.com>

* added helm chart

* added Vera specific CICD items

* added missing script

* implemeneted basic poc chat with sse

* feat(login): began adding login page

* added admin app auth structure and began removing unnecessary folders

* readded gitignore

* remove node modules from repo

* fix(repo): continued removing and resturucting repo

* feat(messages): started to get messages to appear in chat

* feat(messages): got dual messages to appear

* fix(endpoints): removed errored api calls to librechat be

* implmented basic components for messaging

* added conversations to left nav

* began adding fetch for conversation

* cnoversation switching works

* conversation state is set per conversation

* adjusted env to use node_env

* removed husky as its currently not doing anything

* removed errored file from dependencies

* fixed new convo issue. now sets id upon init of new convo

---------

Co-authored-by: Linus Gasser <linus.gasser@epfl.ch>
Co-authored-by: Kakenyan <38045575+Kakenyan@users.noreply.github.com>
Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
Co-authored-by: Fuegovic <32828263+fuegovic@users.noreply.github.com>
Co-authored-by: zimmra <paytonz@icloud.com>
Co-authored-by: marlonka <153027575+marlonka@users.noreply.github.com>
Co-authored-by: marlonka <marloc55@yahoo.de>
Co-authored-by: Raí Santos <140329135+itzraiss@users.noreply.github.com>
Co-authored-by: Walber Cardoso <walbercardoso@gmail.com>
Co-authored-by: Ryohei Kamiya <ping-pong@lab2biz.com>
Co-authored-by: MACHINSOFT <110278369+machinsoft@users.noreply.github.com>
Co-authored-by: Yuanlin Lin <lin@yual.in>
Co-authored-by: Marco Beretta <81851188+Berry-13@users.noreply.github.com>
Co-authored-by: RJ Lucas <rj@askvera.io>
  • Loading branch information
15 people committed Feb 26, 2024
1 parent f7f7f92 commit 763ba57
Show file tree
Hide file tree
Showing 1,006 changed files with 6,505 additions and 72,336 deletions.
17 changes: 0 additions & 17 deletions .devcontainer/devcontainer.json

This file was deleted.

63 changes: 0 additions & 63 deletions .devcontainer/docker-compose.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .dockerignore

This file was deleted.

Loading

0 comments on commit 763ba57

Please sign in to comment.