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

refactor: remove some Meteor.bindEnvironment #28822

Merged
merged 9 commits into from Apr 10, 2023

Conversation

MarcosSpessatto
Copy link
Contributor

@MarcosSpessatto MarcosSpessatto commented Apr 5, 2023

Proposed changes (including videos or screenshots)

ARCH-948

Issue(s)

Steps to test or reproduce

Further comments

@MarcosSpessatto MarcosSpessatto self-assigned this Apr 5, 2023
@codecov
Copy link

codecov bot commented Apr 5, 2023

Codecov Report

Merging #28822 (e247bdd) into develop (2eb690e) will increase coverage by 0.04%.
The diff coverage is n/a.

❗ Current head e247bdd differs from pull request most recent head 2eac66f. Consider uploading reports for the commit 2eac66f to get more accurate results

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #28822      +/-   ##
===========================================
+ Coverage    45.39%   45.43%   +0.04%     
===========================================
  Files          728      728              
  Lines        14202    14202              
  Branches      2189     2189              
===========================================
+ Hits          6447     6453       +6     
+ Misses        7448     7445       -3     
+ Partials       307      304       -3     
Flag Coverage Δ
e2e 45.39% <ø> (+0.04%) ⬆️

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

@MarcosSpessatto MarcosSpessatto marked this pull request as ready for review April 6, 2023 12:05
@MarcosSpessatto MarcosSpessatto requested review from a team as code owners April 6, 2023 12:05
@MarcosSpessatto MarcosSpessatto requested a review from a team April 6, 2023 12:06
@@ -46,6 +46,9 @@ Meteor.startup(function () {

const file = await RocketChatFileCustomSoundsInstance.getFileWithReadStream(fileId);
if (!file) {
res.writeHead(404);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sampaiodiego I've changed this to a 404 error because it was doing nothing here, leading to a timeout error. I don't think this should be considered a breaking change.

Copy link
Member

Choose a reason for hiding this comment

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

that's great.. we desperately need tests these endpoints =)

edit: oh you did it already! 🎉

@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels Apr 10, 2023
@sampaiodiego sampaiodiego merged commit 9c15429 into develop Apr 10, 2023
37 checks passed
@sampaiodiego sampaiodiego deleted the refactor/remove-meteor-bind branch April 10, 2023 18:34
gabriellsh added a commit that referenced this pull request Apr 12, 2023
…hideSysMes

* 'develop' of github.com:RocketChat/Rocket.Chat: (50 commits)
  fix: application crashing when clicking on "Files" button (#28878)
  revert: rate limiter bindEnvironment
  refactor: Changed settings registry's callbacks to work with async functions (#28784)
  revert: removal of `Meteor.bindEnvironment` on `DDPRateLimiter.addRule` (#28874)
  chore: Limit 10 usernames on reactions tooltip (#28141)
  fix: quote line break (#28798)
  fix: Add function to get installation source (#28806)
  regression: `fetch` call in `getWorkspaceAccessTokenWithScope` (#28866)
  fix(docs,readme): use raw image url (#28861)
  refactor: Make onLicense support async callbacks (#28791)
  refactor: remove some Meteor.bindEnvironment (#28822)
  refactor: Move callbacks to ts - 2 (#28771)
  chore: Update issue_template.md (#28753)
  fix: Fixed business hours route redirect (#28344)
  feat: add GA4 support (#28830)
  chore(deps): Prettier version (#28857)
  remove meteor.call from server (#28774)
  refactor: Remove fibers from `linkedin-oauth` (#28779)
  fix: Invalid JSON in Custom Translations setting crashes the UI (#28600)
  regression(e2e): Missing private key blocks sending message in encrypted rooms (#28831)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA skipped stat: ready to merge PR tested and approved waiting for merge
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants