Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update production #676

Open
wants to merge 67 commits into
base: master
Choose a base branch
from
Open

Update production #676

wants to merge 67 commits into from

Conversation

Svenstar74
Copy link
Collaborator

No description provided.

epixieme and others added 30 commits August 3, 2024 14:59
Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 5.51.15 to 5.51.21.
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.51.21/packages/react-query)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [axios](https://github.com/axios/axios) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@mui/icons-material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-icons-material) from 5.16.5 to 5.16.6.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.6/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.16.6/packages/mui-icons-material)

---
updated-dependencies:
- dependency-name: "@mui/icons-material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [uuid](https://github.com/uuidjs/uuid) and [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid). These dependencies needed to be updated together.

Updates `uuid` from 9.0.1 to 10.0.0
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](uuidjs/uuid@v9.0.1...v10.0.0)

Updates `@types/uuid` from 9.0.8 to 10.0.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* pushing changes to logic

* clean up

* added fetch request

* refactored code to use the useApi hook

* refactored google login to use useLogin hook

* finished clean up for google login

* made google login optional so it doesn't affect userb journey

* added devmode

* clean up

* cleaned up

* pushing changes to button

* chore: Update Google login button text capitalization

---------

Co-authored-by: Svenstar74 <[email protected]>
…ic-for-backend

631 implement new google logic for backend
Svenstar74 and others added 30 commits August 25, 2024 17:00
…handle-google-oauth

Closes [650] - Adjust frontend code to handle google oauth
…de-frame-src-and-style-src-elem

Update Content-Security-Policy header in nginx.config
* Customized the google button

* login form styled

* created custom google login component

* cleaned and refactored

* added devmode

* cleanup

---------

Co-authored-by: Svenstar74 <[email protected]>
* feat: Add support for logging in with Google for User B

* adding changes to logic

* Added logic for userb if user does not exist

* feat: Update Google login component for User B journey

* logic implemented for both userb sign in and login

* cleanup

---------

Co-authored-by: Svenstar74 <[email protected]>
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.16.5 to 5.16.7.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/v5.16.7/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.16.7/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.25.1 to 6.26.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/[email protected]/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@sentry/react](https://github.com/getsentry/sentry-javascript) from 7.118.0 to 8.28.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.118.0...8.28.0)

---
updated-dependencies:
- dependency-name: "@sentry/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@sentry/cli](https://github.com/getsentry/sentry-cli) from 2.33.0 to 2.35.0.
- [Release notes](https://github.com/getsentry/sentry-cli/releases)
- [Changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-cli@2.33.0...2.35.0)

---
updated-dependencies:
- dependency-name: "@sentry/cli"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 5.51.21 to 5.55.0.
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.55.0/packages/react-query)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: Add refresh_token to googleLogin response

- Added the `refresh_token` property to the `googleLogin` response type in `responses.ts`.
- This change allows the backend to include a refresh token when a user logs in with Google.

Refactor: Remove unused code in useLogin.tsx

- Removed an extra whitespace in the `useLogin` hook in `useLogin.tsx`.
- This change improves code readability and removes unnecessary code.

Refactor: Comment out unused code in useApiClient.tsx

- Commented out the unused `useNavigate` import and `ROUTES` import in `useApiClient.tsx`.
- This change removes unused code and improves code cleanliness.

Refactor: Remove unused parameters in apiCall function

- Removed the `customCookies` parameter from the `apiCall` function in `useApiClient.tsx`.
- This change removes unused code and simplifies the function signature.

Fix: Update getAllConversations request headers

- Updated the request headers in the `getAllConversations` function in `useApiClient.tsx` to include the access token.
- This change ensures that the request is authenticated and authorized.

Fix: Handle token refresh in useApiClient.tsx

- Added a new `handleTokenRefresh` function in `useApiClient.tsx` to handle token refresh logic.
- This change allows the frontend to refresh the access token when it expires.

Fix: Update postGoogleLogin to store refresh token

- Updated the `postGoogleLogin` function in `useApiClient.tsx` to store the refresh token in cookies.
- This change ensures that the refresh token is available for token refresh requests.

Fix: Remove unused code in postRegister function

- Removed an extra line of code in the `postRegister` function in `useApiClient.tsx`.
- This change removes unnecessary code and improves code readability.

* feat: Add authorization header to createConversationInvite and deleteConversation API calls

* refactor: Remove unused code and console logs in useApiClient hook

* refactor: Remove unused code and console logs in useApiClient hook

* refactor: Remove unused code and console logs in useApiClient hook

* cleanup

---------

Co-authored-by: Svenstar74 <[email protected]>
* Refactor user authentication flow and improve UI consistency

* Refactor scroll behavior for radar canvas in new user flow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants