LibreChat/api/server/routes
Danny Avila d00c7354cd
fix: Corrected Registration Validation, Case-Insensitive Variable Handling, Playwright workflow (#805)
* feat(auth.js): add validation for registration endpoint using validateRegistration middleware
feat(validateRegistration.js): add middleware to validate registration based on ALLOW_REGISTRATION environment variable

* fix(config.js): fix registrationEnabled and socialLoginEnabled variables to handle case-insensitive environment variable values

* refactor(validateRegistration.js): remove console.log statement

* chore(playwright.yml): skip browser download during yarn install
chore(playwright.yml): place Playwright binaries to node_modules/@playwright/test
chore(playwright.yml): install Playwright dependencies using npx playwright install-deps
chore(playwright.yml): install Playwright chromium browser using npx playwright install chromium
chore(playwright.yml): install @playwright/test@latest using npm install -D @playwright/test@latest
chore(playwright.yml): run Playwright tests using npm run e2e:ci

* chore(playwright.yml): change npm install order and update comment

The order of the npm install commands in the "Install Playwright Browsers" step has been changed to first install @playwright/test@latest and then install chromium. Additionally, the comment explaining the PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD variable has been updated to mention npm install instead of yarn install.

* chore(playwright.yml): remove commented out code for caching and add separate steps for installing Playwright dependencies and browsers
2023-08-14 09:45:44 -04:00
..
__tests__ feat: ChatGPT Plugins/OpenAPI specs for Plugins Endpoint (#620) 2023-07-16 12:19:47 -04:00
ask refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
auth.js fix: Corrected Registration Validation, Case-Insensitive Variable Handling, Playwright workflow (#805) 2023-08-14 09:45:44 -04:00
config.js fix: Corrected Registration Validation, Case-Insensitive Variable Handling, Playwright workflow (#805) 2023-08-14 09:45:44 -04:00
convos.js chore(convos.js): comment out console.log statement for debugging deletion source 2023-07-28 13:42:39 -04:00
endpoints.js refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
index.js ci(backend-review.yml): add linter step to the backend review workflow (#625) 2023-07-14 09:36:49 -04:00
messages.js feat: Auth and User System (#205) 2023-05-07 10:04:51 -07:00
oauth.js ci(backend-review.yml): add linter step to the backend review workflow (#625) 2023-07-14 09:36:49 -04:00
plugins.js feat: Plugins endpoint - Reverse Engineering of official Plugins features (#197) 2023-06-10 19:10:03 -04:00
presets.js feat: utitlize lean queries, remove migration script, index createdAt timestamps (#698) 2023-07-25 19:27:55 -04:00
prompts.js ci(backend-review.yml): add linter step to the backend review workflow (#625) 2023-07-14 09:36:49 -04:00
search.js chore: remove no longer needed route for nonexistant method 2023-07-28 13:42:39 -04:00
tokenizer.js refactor: Settings/Presets UI Restructure, convert many files to TS (#740) 2023-08-04 13:56:44 -04:00
user.js feat: Plugins endpoint - Reverse Engineering of official Plugins features (#197) 2023-06-10 19:10:03 -04:00