2023-03-06 10:47:06 -05:00
|
|
|
{
|
2023-05-12 23:40:14 +10:00
|
|
|
"name": "chat-frontend",
|
2023-05-19 16:21:45 -04:00
|
|
|
"version": "0.4.6",
|
2023-03-06 10:47:06 -05:00
|
|
|
"description": "",
|
|
|
|
|
"scripts": {
|
2023-04-01 12:58:49 -07:00
|
|
|
"build": "vite build",
|
|
|
|
|
"dev": "vite",
|
2023-05-22 17:49:48 -07:00
|
|
|
"preview-prod": "vite preview",
|
|
|
|
|
"test": "jest --watch",
|
|
|
|
|
"test:ci": "jest --ci"
|
2023-03-06 10:47:06 -05:00
|
|
|
},
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/danny-avila/chatgpt-clone.git"
|
|
|
|
|
},
|
|
|
|
|
"keywords": [],
|
|
|
|
|
"author": "",
|
|
|
|
|
"license": "ISC",
|
|
|
|
|
"bugs": {
|
|
|
|
|
"url": "https://github.com/danny-avila/chatgpt-clone/issues"
|
|
|
|
|
},
|
|
|
|
|
"homepage": "https://github.com/danny-avila/chatgpt-clone#readme",
|
|
|
|
|
"dependencies": {
|
feat: Auth and User System (#205)
* server-side JWT auth implementation
* move oauth routes and strategies, fix bugs
* backend modifications for wiring up the frontend login and reg forms
* Add frontend data services for login and registration
* Add login and registration forms
* Implment auth context, functional client side auth
* protect routes with jwt auth
* finish local strategy (using local storage)
* Start setting up google auth
* disable token refresh, remove old auth middleware
* refactor client, add ApiErrorBoundary context
* disable google and facebook strategies
* fix: fix presets not displaying specific to user
* fix: fix issue with browser refresh
* fix: casing issue with User.js (#11)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* fix: issue with api error watcher (#12)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* feat: add google auth social login
* fix: make google login url dynamic based on dev/prod
* fix: bug where UI is briefly displayed before redirecting to login
* fix: fix cookie expires value for local auth
* Update README.md
* Update LOCAL_INSTALL structure
* Add local testing instructions
* Only load google strategy if client id and secret are provided
* Update .env.example files with new params
* fix issue with not redirecting to register form
* only show google login button if value is set in .env
* cleanup log messages
* Add label to button for google login on login form
* doc: fix client/server url values in .env.example
* feat: add error message details to registration failure
* Restore preventing paste on confirm password
* auto-login user after registering
* feat: forgot password (#24)
* make login/reg pages look like openai's
* add password reset data services
* new form designs similar to openai, add password reset pages
* add api's for password reset
* email utils for password reset
* remove bcrypt salt rounds from process.env
* refactor: restructure api auth code, consolidate routes (#25)
* add api's for password reset
* remove bcrypt salt rounds from process.env
* refactor: consolidate auth routes, use controller pattern
* refactor: code cleanup
* feat: migrate data to first user (#26)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes after refactor (#27)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: issue with auto-login when logging out then logging in with new browser window (#28)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: Update README and .env.example files with user system information (#29)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: update README and .env.example files
* Fixup: LOCAL_INSTALL.md PS instructions (#200) (#30)
Co-authored-by: alfredo-f <alfredo.fomitchenko@mail.polimi.it>
* feat: send user with completion to protect against abuse (#31)
* Fixup: LOCAL_INSTALL.md PS instructions (#200)
* server-side JWT auth implementation
* move oauth routes and strategies, fix bugs
* backend modifications for wiring up the frontend login and reg forms
* Add frontend data services for login and registration
* Add login and registration forms
* Implment auth context, functional client side auth
* protect routes with jwt auth
* finish local strategy (using local storage)
* Start setting up google auth
* disable token refresh, remove old auth middleware
* refactor client, add ApiErrorBoundary context
* disable google and facebook strategies
* fix: fix presets not displaying specific to user
* fix: fix issue with browser refresh
* fix: casing issue with User.js (#11)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* feat: add google auth social login
* fix: make google login url dynamic based on dev/prod
* fix: bug where UI is briefly displayed before redirecting to login
* fix: fix cookie expires value for local auth
* Only load google strategy if client id and secret are provided
* Update .env.example files with new params
* fix issue with not redirecting to register form
* only show google login button if value is set in .env
* cleanup log messages
* Add label to button for google login on login form
* doc: fix client/server url values in .env.example
* feat: add error message details to registration failure
* Restore preventing paste on confirm password
* auto-login user after registering
* feat: forgot password (#24)
* make login/reg pages look like openai's
* add password reset data services
* new form designs similar to openai, add password reset pages
* add api's for password reset
* email utils for password reset
* remove bcrypt salt rounds from process.env
* refactor: restructure api auth code, consolidate routes (#25)
* add api's for password reset
* remove bcrypt salt rounds from process.env
* refactor: consolidate auth routes, use controller pattern
* refactor: code cleanup
* feat: migrate data to first user (#26)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes after refactor (#27)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: issue with auto-login when logging out then logging in with new browser window (#28)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: Update README and .env.example files with user system information (#29)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: update README and .env.example files
* Send user id to openai to protect against abuse
* add meilisearch to gitignore
* Remove webpack
---------
Co-authored-by: alfredo-f <alfredo.fomitchenko@mail.polimi.it>
---------
Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
Co-authored-by: Alfredo Fomitchenko <alfredo.fomitchenko@mail.polimi.it>
2023-05-07 10:04:51 -07:00
|
|
|
"@fortawesome/fontawesome-svg-core": "^6.4.0",
|
|
|
|
|
"@fortawesome/free-brands-svg-icons": "^6.4.0",
|
|
|
|
|
"@fortawesome/free-regular-svg-icons": "^6.4.0",
|
|
|
|
|
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
|
|
|
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
2023-04-01 12:49:20 -04:00
|
|
|
"@headlessui/react": "^1.7.13",
|
2023-03-06 10:47:06 -05:00
|
|
|
"@radix-ui/react-alert-dialog": "^1.0.2",
|
2023-04-02 18:45:41 -04:00
|
|
|
"@radix-ui/react-checkbox": "^1.0.3",
|
2023-03-06 10:47:06 -05:00
|
|
|
"@radix-ui/react-dialog": "^1.0.2",
|
|
|
|
|
"@radix-ui/react-dropdown-menu": "^2.0.2",
|
2023-03-31 16:08:52 -04:00
|
|
|
"@radix-ui/react-hover-card": "^1.0.5",
|
2023-05-18 04:51:30 +05:30
|
|
|
"@radix-ui/react-icons": "^1.3.0",
|
2023-03-06 10:47:06 -05:00
|
|
|
"@radix-ui/react-label": "^2.0.0",
|
2023-03-31 13:12:06 -04:00
|
|
|
"@radix-ui/react-slider": "^1.1.1",
|
2023-03-24 14:46:07 -04:00
|
|
|
"@radix-ui/react-tabs": "^1.0.3",
|
feat: Auth and User System (#205)
* server-side JWT auth implementation
* move oauth routes and strategies, fix bugs
* backend modifications for wiring up the frontend login and reg forms
* Add frontend data services for login and registration
* Add login and registration forms
* Implment auth context, functional client side auth
* protect routes with jwt auth
* finish local strategy (using local storage)
* Start setting up google auth
* disable token refresh, remove old auth middleware
* refactor client, add ApiErrorBoundary context
* disable google and facebook strategies
* fix: fix presets not displaying specific to user
* fix: fix issue with browser refresh
* fix: casing issue with User.js (#11)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* fix: issue with api error watcher (#12)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* feat: add google auth social login
* fix: make google login url dynamic based on dev/prod
* fix: bug where UI is briefly displayed before redirecting to login
* fix: fix cookie expires value for local auth
* Update README.md
* Update LOCAL_INSTALL structure
* Add local testing instructions
* Only load google strategy if client id and secret are provided
* Update .env.example files with new params
* fix issue with not redirecting to register form
* only show google login button if value is set in .env
* cleanup log messages
* Add label to button for google login on login form
* doc: fix client/server url values in .env.example
* feat: add error message details to registration failure
* Restore preventing paste on confirm password
* auto-login user after registering
* feat: forgot password (#24)
* make login/reg pages look like openai's
* add password reset data services
* new form designs similar to openai, add password reset pages
* add api's for password reset
* email utils for password reset
* remove bcrypt salt rounds from process.env
* refactor: restructure api auth code, consolidate routes (#25)
* add api's for password reset
* remove bcrypt salt rounds from process.env
* refactor: consolidate auth routes, use controller pattern
* refactor: code cleanup
* feat: migrate data to first user (#26)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes after refactor (#27)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: issue with auto-login when logging out then logging in with new browser window (#28)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: Update README and .env.example files with user system information (#29)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: update README and .env.example files
* Fixup: LOCAL_INSTALL.md PS instructions (#200) (#30)
Co-authored-by: alfredo-f <alfredo.fomitchenko@mail.polimi.it>
* feat: send user with completion to protect against abuse (#31)
* Fixup: LOCAL_INSTALL.md PS instructions (#200)
* server-side JWT auth implementation
* move oauth routes and strategies, fix bugs
* backend modifications for wiring up the frontend login and reg forms
* Add frontend data services for login and registration
* Add login and registration forms
* Implment auth context, functional client side auth
* protect routes with jwt auth
* finish local strategy (using local storage)
* Start setting up google auth
* disable token refresh, remove old auth middleware
* refactor client, add ApiErrorBoundary context
* disable google and facebook strategies
* fix: fix presets not displaying specific to user
* fix: fix issue with browser refresh
* fix: casing issue with User.js (#11)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* feat: add google auth social login
* fix: make google login url dynamic based on dev/prod
* fix: bug where UI is briefly displayed before redirecting to login
* fix: fix cookie expires value for local auth
* Only load google strategy if client id and secret are provided
* Update .env.example files with new params
* fix issue with not redirecting to register form
* only show google login button if value is set in .env
* cleanup log messages
* Add label to button for google login on login form
* doc: fix client/server url values in .env.example
* feat: add error message details to registration failure
* Restore preventing paste on confirm password
* auto-login user after registering
* feat: forgot password (#24)
* make login/reg pages look like openai's
* add password reset data services
* new form designs similar to openai, add password reset pages
* add api's for password reset
* email utils for password reset
* remove bcrypt salt rounds from process.env
* refactor: restructure api auth code, consolidate routes (#25)
* add api's for password reset
* remove bcrypt salt rounds from process.env
* refactor: consolidate auth routes, use controller pattern
* refactor: code cleanup
* feat: migrate data to first user (#26)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes after refactor (#27)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: issue with auto-login when logging out then logging in with new browser window (#28)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: Update README and .env.example files with user system information (#29)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: update README and .env.example files
* Send user id to openai to protect against abuse
* add meilisearch to gitignore
* Remove webpack
---------
Co-authored-by: alfredo-f <alfredo.fomitchenko@mail.polimi.it>
---------
Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
Co-authored-by: Alfredo Fomitchenko <alfredo.fomitchenko@mail.polimi.it>
2023-05-07 10:04:51 -07:00
|
|
|
"@tailwindcss/forms": "^0.5.3",
|
2023-04-07 16:13:00 -07:00
|
|
|
"@tanstack/react-query": "^4.28.0",
|
2023-03-29 03:34:13 +08:00
|
|
|
"@types/jest": "^29.5.0",
|
2023-05-22 12:33:52 -04:00
|
|
|
"@types/node": "^20.2.3",
|
2023-03-29 03:34:13 +08:00
|
|
|
"@types/react": "^18.0.30",
|
|
|
|
|
"@types/react-dom": "^18.0.11",
|
2023-04-05 11:28:20 -04:00
|
|
|
"@zattoo/use-double-click": "1.2.0",
|
2023-03-06 15:56:25 -05:00
|
|
|
"axios": "^1.3.4",
|
2023-05-18 15:27:40 -04:00
|
|
|
"class-variance-authority": "^0.6.0",
|
2023-03-06 10:47:06 -05:00
|
|
|
"clsx": "^1.2.1",
|
2023-04-01 02:12:15 +08:00
|
|
|
"copy-to-clipboard": "^3.3.3",
|
2023-03-06 10:47:06 -05:00
|
|
|
"crypto-browserify": "^3.12.0",
|
2023-04-06 02:48:32 +08:00
|
|
|
"downloadjs": "^1.4.7",
|
2023-05-22 12:17:34 -04:00
|
|
|
"esbuild": "0.17.19",
|
2023-04-03 12:54:15 +08:00
|
|
|
"export-from-json": "^1.7.2",
|
2023-05-18 15:25:17 -04:00
|
|
|
"filenamify": "^6.0.0",
|
2023-04-06 02:48:32 +08:00
|
|
|
"html2canvas": "^1.4.1",
|
2023-03-18 01:40:49 -04:00
|
|
|
"lodash": "^4.17.21",
|
2023-05-19 16:02:41 -04:00
|
|
|
"lucide-react": "^0.220.0",
|
2023-05-10 20:59:26 -07:00
|
|
|
"pino": "^8.12.1",
|
2023-04-05 17:14:05 +08:00
|
|
|
"rc-input-number": "^7.4.2",
|
2023-03-06 10:47:06 -05:00
|
|
|
"react": "^18.2.0",
|
|
|
|
|
"react-dom": "^18.2.0",
|
feat: Auth and User System (#205)
* server-side JWT auth implementation
* move oauth routes and strategies, fix bugs
* backend modifications for wiring up the frontend login and reg forms
* Add frontend data services for login and registration
* Add login and registration forms
* Implment auth context, functional client side auth
* protect routes with jwt auth
* finish local strategy (using local storage)
* Start setting up google auth
* disable token refresh, remove old auth middleware
* refactor client, add ApiErrorBoundary context
* disable google and facebook strategies
* fix: fix presets not displaying specific to user
* fix: fix issue with browser refresh
* fix: casing issue with User.js (#11)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* fix: issue with api error watcher (#12)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* feat: add google auth social login
* fix: make google login url dynamic based on dev/prod
* fix: bug where UI is briefly displayed before redirecting to login
* fix: fix cookie expires value for local auth
* Update README.md
* Update LOCAL_INSTALL structure
* Add local testing instructions
* Only load google strategy if client id and secret are provided
* Update .env.example files with new params
* fix issue with not redirecting to register form
* only show google login button if value is set in .env
* cleanup log messages
* Add label to button for google login on login form
* doc: fix client/server url values in .env.example
* feat: add error message details to registration failure
* Restore preventing paste on confirm password
* auto-login user after registering
* feat: forgot password (#24)
* make login/reg pages look like openai's
* add password reset data services
* new form designs similar to openai, add password reset pages
* add api's for password reset
* email utils for password reset
* remove bcrypt salt rounds from process.env
* refactor: restructure api auth code, consolidate routes (#25)
* add api's for password reset
* remove bcrypt salt rounds from process.env
* refactor: consolidate auth routes, use controller pattern
* refactor: code cleanup
* feat: migrate data to first user (#26)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes after refactor (#27)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: issue with auto-login when logging out then logging in with new browser window (#28)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: Update README and .env.example files with user system information (#29)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: update README and .env.example files
* Fixup: LOCAL_INSTALL.md PS instructions (#200) (#30)
Co-authored-by: alfredo-f <alfredo.fomitchenko@mail.polimi.it>
* feat: send user with completion to protect against abuse (#31)
* Fixup: LOCAL_INSTALL.md PS instructions (#200)
* server-side JWT auth implementation
* move oauth routes and strategies, fix bugs
* backend modifications for wiring up the frontend login and reg forms
* Add frontend data services for login and registration
* Add login and registration forms
* Implment auth context, functional client side auth
* protect routes with jwt auth
* finish local strategy (using local storage)
* Start setting up google auth
* disable token refresh, remove old auth middleware
* refactor client, add ApiErrorBoundary context
* disable google and facebook strategies
* fix: fix presets not displaying specific to user
* fix: fix issue with browser refresh
* fix: casing issue with User.js (#11)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* feat: add google auth social login
* fix: make google login url dynamic based on dev/prod
* fix: bug where UI is briefly displayed before redirecting to login
* fix: fix cookie expires value for local auth
* Only load google strategy if client id and secret are provided
* Update .env.example files with new params
* fix issue with not redirecting to register form
* only show google login button if value is set in .env
* cleanup log messages
* Add label to button for google login on login form
* doc: fix client/server url values in .env.example
* feat: add error message details to registration failure
* Restore preventing paste on confirm password
* auto-login user after registering
* feat: forgot password (#24)
* make login/reg pages look like openai's
* add password reset data services
* new form designs similar to openai, add password reset pages
* add api's for password reset
* email utils for password reset
* remove bcrypt salt rounds from process.env
* refactor: restructure api auth code, consolidate routes (#25)
* add api's for password reset
* remove bcrypt salt rounds from process.env
* refactor: consolidate auth routes, use controller pattern
* refactor: code cleanup
* feat: migrate data to first user (#26)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes after refactor (#27)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: issue with auto-login when logging out then logging in with new browser window (#28)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: Update README and .env.example files with user system information (#29)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: update README and .env.example files
* Send user id to openai to protect against abuse
* add meilisearch to gitignore
* Remove webpack
---------
Co-authored-by: alfredo-f <alfredo.fomitchenko@mail.polimi.it>
---------
Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
Co-authored-by: Alfredo Fomitchenko <alfredo.fomitchenko@mail.polimi.it>
2023-05-07 10:04:51 -07:00
|
|
|
"react-hook-form": "^7.43.9",
|
2023-03-18 23:18:36 -04:00
|
|
|
"react-lazy-load": "^4.0.1",
|
2023-03-29 08:19:00 -04:00
|
|
|
"react-markdown": "^8.0.6",
|
2023-05-18 15:28:36 -04:00
|
|
|
"react-router-dom": "^6.11.2",
|
2023-03-19 11:25:12 -04:00
|
|
|
"react-string-replace": "^1.1.0",
|
2023-03-06 10:47:06 -05:00
|
|
|
"react-textarea-autosize": "^8.4.0",
|
|
|
|
|
"react-transition-group": "^4.4.5",
|
2023-03-28 20:36:21 +08:00
|
|
|
"recoil": "^0.7.7",
|
2023-03-19 01:14:19 -04:00
|
|
|
"rehype-highlight": "^6.0.0",
|
|
|
|
|
"rehype-katex": "^6.0.2",
|
2023-03-22 17:15:32 -04:00
|
|
|
"rehype-raw": "^6.1.1",
|
2023-03-19 01:14:19 -04:00
|
|
|
"remark-gfm": "^3.0.1",
|
|
|
|
|
"remark-math": "^5.1.1",
|
2023-03-22 16:31:57 -04:00
|
|
|
"remark-supersub": "^1.0.0",
|
2023-03-06 10:47:06 -05:00
|
|
|
"tailwind-merge": "^1.9.1",
|
|
|
|
|
"tailwindcss-animate": "^1.0.5",
|
2023-03-24 14:46:07 -04:00
|
|
|
"tailwindcss-radix": "^2.8.0",
|
2023-03-20 01:51:07 -04:00
|
|
|
"url": "^0.11.0",
|
2023-04-07 16:13:00 -07:00
|
|
|
"uuidv4": "^6.2.13"
|
2023-03-06 10:47:06 -05:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@babel/cli": "^7.20.7",
|
2023-05-22 17:49:48 -07:00
|
|
|
"@babel/core": "^7.21.8",
|
2023-03-06 10:47:06 -05:00
|
|
|
"@babel/eslint-parser": "^7.19.1",
|
2023-05-22 17:49:48 -07:00
|
|
|
"@babel/plugin-transform-runtime": "^7.21.4",
|
|
|
|
|
"@babel/preset-env": "^7.21.5",
|
2023-03-06 10:47:06 -05:00
|
|
|
"@babel/preset-react": "^7.18.6",
|
2023-04-07 16:13:00 -07:00
|
|
|
"@babel/preset-typescript": "^7.21.0",
|
2023-03-06 10:47:06 -05:00
|
|
|
"@babel/runtime": "^7.20.13",
|
2023-04-07 16:13:00 -07:00
|
|
|
"@tanstack/react-query-devtools": "^4.29.0",
|
2023-05-22 17:49:48 -07:00
|
|
|
"@testing-library/dom": "^9.3.0",
|
|
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
|
|
|
"@testing-library/react": "^14.0.0",
|
|
|
|
|
"@testing-library/user-event": "^14.4.3",
|
|
|
|
|
"@types/jest": "^29.5.1",
|
|
|
|
|
"@types/node": "^18.16.13",
|
|
|
|
|
"@types/react": "^18.2.6",
|
2023-04-07 16:13:00 -07:00
|
|
|
"@types/react-dom": "^18.0.11",
|
2023-05-22 13:23:17 -04:00
|
|
|
"@vitejs/plugin-react": "^4.0.0",
|
2023-03-06 10:47:06 -05:00
|
|
|
"autoprefixer": "^10.4.13",
|
2023-05-22 17:49:48 -07:00
|
|
|
"babel-jest": "^29.5.0",
|
2023-03-06 10:47:06 -05:00
|
|
|
"babel-loader": "^9.1.2",
|
2023-05-22 17:49:48 -07:00
|
|
|
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
2023-03-06 10:47:06 -05:00
|
|
|
"babel-plugin-root-import": "^6.6.0",
|
2023-05-22 17:49:48 -07:00
|
|
|
"babel-plugin-transform-import-meta": "^2.2.0",
|
|
|
|
|
"babel-plugin-transform-vite-meta-env": "^1.0.3",
|
2023-03-06 10:47:06 -05:00
|
|
|
"babel-preset-react": "^6.24.1",
|
|
|
|
|
"css-loader": "^6.7.3",
|
2023-05-22 17:49:48 -07:00
|
|
|
"eslint-plugin-jest": "^27.2.1",
|
|
|
|
|
"jest": "^29.5.0",
|
|
|
|
|
"jest-canvas-mock": "^2.5.1",
|
|
|
|
|
"jest-environment-jsdom": "^29.5.0",
|
|
|
|
|
"jest-file-loader": "^1.0.3",
|
|
|
|
|
"jest-junit": "^16.0.0",
|
2023-03-06 10:47:06 -05:00
|
|
|
"path": "^0.12.7",
|
|
|
|
|
"postcss": "^8.4.21",
|
2023-03-29 20:17:17 -04:00
|
|
|
"postcss-loader": "^7.1.0",
|
|
|
|
|
"postcss-preset-env": "^8.2.0",
|
2023-05-18 15:28:19 -04:00
|
|
|
"source-map-loader": "^4.0.1",
|
2023-03-06 10:47:06 -05:00
|
|
|
"style-loader": "^3.3.1",
|
|
|
|
|
"tailwindcss": "^3.2.6",
|
2023-05-22 17:49:48 -07:00
|
|
|
"ts-jest": "^29.1.0",
|
2023-03-06 10:47:06 -05:00
|
|
|
"ts-loader": "^9.4.2",
|
2023-05-18 15:27:20 -04:00
|
|
|
"typescript": "^5.0.4",
|
2023-04-01 23:59:16 -04:00
|
|
|
"vite": "^4.2.1",
|
feat: Auth and User System (#205)
* server-side JWT auth implementation
* move oauth routes and strategies, fix bugs
* backend modifications for wiring up the frontend login and reg forms
* Add frontend data services for login and registration
* Add login and registration forms
* Implment auth context, functional client side auth
* protect routes with jwt auth
* finish local strategy (using local storage)
* Start setting up google auth
* disable token refresh, remove old auth middleware
* refactor client, add ApiErrorBoundary context
* disable google and facebook strategies
* fix: fix presets not displaying specific to user
* fix: fix issue with browser refresh
* fix: casing issue with User.js (#11)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* fix: issue with api error watcher (#12)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* feat: add google auth social login
* fix: make google login url dynamic based on dev/prod
* fix: bug where UI is briefly displayed before redirecting to login
* fix: fix cookie expires value for local auth
* Update README.md
* Update LOCAL_INSTALL structure
* Add local testing instructions
* Only load google strategy if client id and secret are provided
* Update .env.example files with new params
* fix issue with not redirecting to register form
* only show google login button if value is set in .env
* cleanup log messages
* Add label to button for google login on login form
* doc: fix client/server url values in .env.example
* feat: add error message details to registration failure
* Restore preventing paste on confirm password
* auto-login user after registering
* feat: forgot password (#24)
* make login/reg pages look like openai's
* add password reset data services
* new form designs similar to openai, add password reset pages
* add api's for password reset
* email utils for password reset
* remove bcrypt salt rounds from process.env
* refactor: restructure api auth code, consolidate routes (#25)
* add api's for password reset
* remove bcrypt salt rounds from process.env
* refactor: consolidate auth routes, use controller pattern
* refactor: code cleanup
* feat: migrate data to first user (#26)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes after refactor (#27)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: issue with auto-login when logging out then logging in with new browser window (#28)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: Update README and .env.example files with user system information (#29)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: update README and .env.example files
* Fixup: LOCAL_INSTALL.md PS instructions (#200) (#30)
Co-authored-by: alfredo-f <alfredo.fomitchenko@mail.polimi.it>
* feat: send user with completion to protect against abuse (#31)
* Fixup: LOCAL_INSTALL.md PS instructions (#200)
* server-side JWT auth implementation
* move oauth routes and strategies, fix bugs
* backend modifications for wiring up the frontend login and reg forms
* Add frontend data services for login and registration
* Add login and registration forms
* Implment auth context, functional client side auth
* protect routes with jwt auth
* finish local strategy (using local storage)
* Start setting up google auth
* disable token refresh, remove old auth middleware
* refactor client, add ApiErrorBoundary context
* disable google and facebook strategies
* fix: fix presets not displaying specific to user
* fix: fix issue with browser refresh
* fix: casing issue with User.js (#11)
* delete user.js to be renamed
* fix: fix casing issue with User.js
* comment out api error watcher temporarily
* feat: add google auth social login
* fix: make google login url dynamic based on dev/prod
* fix: bug where UI is briefly displayed before redirecting to login
* fix: fix cookie expires value for local auth
* Only load google strategy if client id and secret are provided
* Update .env.example files with new params
* fix issue with not redirecting to register form
* only show google login button if value is set in .env
* cleanup log messages
* Add label to button for google login on login form
* doc: fix client/server url values in .env.example
* feat: add error message details to registration failure
* Restore preventing paste on confirm password
* auto-login user after registering
* feat: forgot password (#24)
* make login/reg pages look like openai's
* add password reset data services
* new form designs similar to openai, add password reset pages
* add api's for password reset
* email utils for password reset
* remove bcrypt salt rounds from process.env
* refactor: restructure api auth code, consolidate routes (#25)
* add api's for password reset
* remove bcrypt salt rounds from process.env
* refactor: consolidate auth routes, use controller pattern
* refactor: code cleanup
* feat: migrate data to first user (#26)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes after refactor (#27)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: issue with auto-login when logging out then logging in with new browser window (#28)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: Update README and .env.example files with user system information (#29)
* refactor: use /api for auth routes
* fix: use user id instead of username
* feat: migrate data to first user on register
* fix: fix social login routes
* fix: fix issue with auto-login in new tab
* doc: update README and .env.example files
* Send user id to openai to protect against abuse
* add meilisearch to gitignore
* Remove webpack
---------
Co-authored-by: alfredo-f <alfredo.fomitchenko@mail.polimi.it>
---------
Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
Co-authored-by: Alfredo Fomitchenko <alfredo.fomitchenko@mail.polimi.it>
2023-05-07 10:04:51 -07:00
|
|
|
"vite-plugin-html": "^3.2.0"
|
2023-03-06 10:47:06 -05:00
|
|
|
}
|
2023-03-06 15:56:25 -05:00
|
|
|
}
|