Skip to content

chore: split UserProvider into two: User and Authentication - #31513

Merged
kodiakhq[bot] merged 2 commits into
developfrom
chore/auth-provider
Jan 22, 2024
Merged

chore: split UserProvider into two: User and Authentication#31513
kodiakhq[bot] merged 2 commits into
developfrom
chore/auth-provider

Conversation

@pierre-lehnen-rc

Copy link
Copy Markdown
Contributor

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

I'm splitting #31385 into multiple smaller PRs. This one:

  • Moves the login logic out of the UserProvider, into a new AuthenticationProvider

@changeset-bot

changeset-bot Bot commented Jan 22, 2024

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 5540d21

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dionisio-bot dionisio-bot Bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels Jan 22, 2024
@pierre-lehnen-rc
pierre-lehnen-rc marked this pull request as ready for review January 22, 2024 17:22
@pierre-lehnen-rc
pierre-lehnen-rc requested a review from a team as a code owner January 22, 2024 17:22
@codecov

codecov Bot commented Jan 22, 2024

Copy link
Copy Markdown

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (8aa1ac2) 49.53% compared to head (5540d21) 49.55%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #31513      +/-   ##
===========================================
+ Coverage    49.53%   49.55%   +0.01%     
===========================================
  Files         3315     3320       +5     
  Lines        81480    81532      +52     
  Branches     16737    16744       +7     
===========================================
+ Hits         40365    40403      +38     
- Misses       36408    36419      +11     
- Partials      4707     4710       +3     
Flag Coverage Δ
e2e 53.21% <63.15%> (+0.09%) ⬆️
e2e-api 40.65% <ø> (-0.04%) ⬇️
unit 76.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@gabriellsh gabriellsh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take a look at
packages/mock-providers/src/MockedAppRootBuilder.tsx

There are some unit tests that use these contexts

@gabriellsh gabriellsh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hadn't noticed you had removed it already

@dionisio-bot dionisio-bot Bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Jan 22, 2024
@kodiakhq
kodiakhq Bot merged commit 6587e0d into develop Jan 22, 2024
@kodiakhq
kodiakhq Bot deleted the chore/auth-provider branch January 22, 2024 19:31
gabriellsh added a commit that referenced this pull request Jan 23, 2024
* 'develop' of github.com:RocketChat/Rocket.Chat: (143 commits)
  fix: Marketplace apps installed as private showing as installed (#31514)
  test: fix messaging flaky test (#31512)
  fix: change the push sound sent when the push is from video conference (#30910)
  fix: ensure sessionId on Sessions documents (#31487)
  chore: handle rocket.cat creation and deletion (#31170)
  chore(agenda): Changes in Agenda API (#31427)
  refactor: Pay the debt of some TODO comments (#30338)
  feat: Room header keyboard navigability (#31516)
  fix: Cron job for clearing OEmbed cache isn't working (#31336)
  refactor(client): Handling of custom statuses (#31500)
  fix: Prevent `Fallback forward departments` feature to go on loop when configured as circular chain (#31328)
  feat: Add `push.test` endpoint (#31289)
  chore: split UserProvider into two: User and Authentication (#31513)
  fix: Can't remove channel's password to join (#31507)
  chore: convert CAS integration code to typescript (#31492)
  feat: Composer keyboard navigability (#31510)
  fix: Render warning in Logs - (MessageType.render is deprecated. Use MessageType.message instead) (#31426)
  feat: Convert emoji shortname to unicode on notification emails. (#31225)
  chore: Normalize `ButtonGroup` (#31499)
  chore: improve type definitions for login service configurations (#31491)
  ...
@casalsgh casalsgh added this to the 6.6 milestone Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: ready to merge PR tested and approved waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants