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

fix(user): allow users to choose notification email. Fixes MA-134 #179

Merged
merged 7 commits into from
Feb 8, 2021

Conversation

LeonVreling
Copy link
Member

Add backend for #722, fixes issue MA-134

@WikiRik WikiRik changed the title Multiple emails feat(user): allow users to choose notification email. Fixes MA-134 Nov 14, 2020
Copy link
Member

@WikiRik WikiRik left a comment

Choose a reason for hiding this comment

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

I might have found the problem with the tests

models/User.js Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Nov 23, 2020

Codecov Report

Merging #179 (f1d75be) into master (d5c5534) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #179   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           42        42           
  Lines         1329      1332    +3     
  Branches       207       208    +1     
=========================================
+ Hits          1329      1332    +3     
Impacted Files Coverage Δ
lib/constants.js 100.00% <ø> (ø)
middlewares/campaigns.js 100.00% <ø> (ø)
middlewares/login.js 100.00% <ø> (ø)
middlewares/join-requests.js 100.00% <100.00%> (ø)
models/User.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b1e378...f1d75be. Read the comment docs.

@LeonVreling
Copy link
Member Author

All I need to do now is add new tests so that Codecov does not complain about not reached all cases of the if-statement

@WikiRik
Copy link
Member

WikiRik commented Nov 29, 2020

Okay, so I added a test but it failed of course. We need #184 to be merged first

@WikiRik WikiRik marked this pull request as draft December 8, 2020 13:39
@WikiRik WikiRik marked this pull request as ready for review December 9, 2020 20:27
Copy link
Member

@WikiRik WikiRik left a comment

Choose a reason for hiding this comment

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

Tests pass, so should be good to me

@WikiRik WikiRik changed the title feat(user): allow users to choose notification email. Fixes MA-134 fix(user): allow users to choose notification email. Fixes MA-134 Feb 7, 2021
@WikiRik WikiRik merged commit 353d9d4 into master Feb 8, 2021
@WikiRik WikiRik deleted the multiple-emails branch February 8, 2021 02:01
serge1peshcoff pushed a commit that referenced this pull request Feb 8, 2021
## [1.31.3](1.31.2...1.31.3) (2021-02-08)

### Bug Fixes

* **user:** allow users to choose notification email. Fixes MA-134 ([#179](#179)) ([353d9d4](353d9d4))
@serge1peshcoff
Copy link
Member

🎉 This PR is included in version 1.31.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants