LibreChat/api
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
..
app Add a dropdown list in setting to allow change language. (#726) 2023-07-31 11:47:14 -04:00
lib fix(db/indexSync.js): update import paths for Conversation and Message models 2023-07-28 13:42:39 -04:00
middleware fix: Corrected Registration Validation, Case-Insensitive Variable Handling, Playwright workflow (#805) 2023-08-14 09:45:44 -04:00
models added the dot (.) username rules (#787) 2023-08-11 13:02:52 -04:00
server fix: Corrected Registration Validation, Case-Insensitive Variable Handling, Playwright workflow (#805) 2023-08-14 09:45:44 -04:00
strategies added the dot (.) username rules (#787) 2023-08-11 13:02:52 -04:00
test refactor: Client Classes & Azure OpenAI as a separate Endpoint (#532) 2023-07-03 16:51:12 -04:00
utils Feat email password reset (#730) 2023-07-31 22:37:46 -04:00
jest.config.js ci(backend-review.yml): add linter step to the backend review workflow (#625) 2023-07-14 09:36:49 -04:00
package.json Release 0.5.7 (#780) 2023-08-09 12:22:05 -04:00