Skip to content

feat(ms-users): 429 error add more info#412

Merged
annahassel merged 4 commits intomakeomatic:masterfrom
pajgo:feat/pretty429error
Sep 13, 2019
Merged

feat(ms-users): 429 error add more info#412
annahassel merged 4 commits intomakeomatic:masterfrom
pajgo:feat/pretty429error

Conversation

@pajgo
Copy link
Copy Markdown
Collaborator

@pajgo pajgo commented Jul 27, 2019

Added ipaddress in HttpError 429 messages

Comment thread test/suites/challenge.js Outdated
});

it('must fail to send challenge email more than once in an hour per user', function test() {
const msgRe = /^We've already sent you an email, if it doesn't come - please try again in (.*) or send us an email$/;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe (\d+)?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

'5 minutes' !~ /\d+/ ((( some other too

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

\d+\D+???

Comment thread test/suites/challenge.js Outdated
});

it('must fail to send challeng email during race condition', function test() {
const msgRe = /^We've already sent you an email, if it doesn't come - please try again in (.*) or send us an email$/;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe (\d+)?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

same as #412 (comment)

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 28, 2019

Codecov Report

Merging #412 into master will decrease coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #412      +/-   ##
==========================================
- Coverage   94.57%   94.49%   -0.09%     
==========================================
  Files         130      130              
  Lines        2361     2343      -18     
==========================================
- Hits         2233     2214      -19     
- Misses        128      129       +1
Impacted Files Coverage Δ
src/utils/challenges/challenge.js 95.45% <100%> (+0.45%) ⬆️
src/utils/checkIpLimits.js 100% <100%> (ø) ⬆️
src/actions/login.js 93.33% <100%> (ø) ⬆️
src/actions/organization/members/permission.js 91.3% <0%> (-5.13%) ⬇️
src/users.js 88.33% <0%> (-3.34%) ⬇️
src/actions/organization/members/remove.js 94.73% <0%> (-0.92%) ⬇️
src/actions/organization/invites/send.js 94.11% <0%> (-0.62%) ⬇️
src/utils/organization/getOrganizationMembers.js 100% <0%> (ø) ⬆️
src/actions/organization/delete.js 100% <0%> (ø) ⬆️
src/utils/organization/addOrganizationMembers.js 100% <0%> (ø) ⬆️
... and 2 more

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 93b7371...68ca978. Read the comment docs.

@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 28, 2019

Codecov Report

Merging #412 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #412      +/-   ##
==========================================
+ Coverage   94.52%   94.53%   +<.01%     
==========================================
  Files         130      130              
  Lines        2375     2377       +2     
==========================================
+ Hits         2245     2247       +2     
  Misses        130      130
Impacted Files Coverage Δ
src/utils/challenges/challenge.js 95.45% <100%> (+0.45%) ⬆️
src/utils/checkIpLimits.js 100% <100%> (ø) ⬆️
src/actions/login.js 93.33% <100%> (ø) ⬆️

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 afdbe1c...489a79c. Read the comment docs.

@pajgo pajgo force-pushed the feat/pretty429error branch from 802fe87 to 489a79c Compare September 13, 2019 09:27
@annahassel annahassel merged commit 6f989a8 into makeomatic:master Sep 13, 2019
AVVS pushed a commit that referenced this pull request Sep 13, 2019
# [11.3.0](v11.2.7...v11.3.0) (2019-09-13)

### Features

* **ms-users:** 429 error add more info ([#412](#412)) ([6f989a8](6f989a8))
@AVVS
Copy link
Copy Markdown
Member

AVVS commented Sep 13, 2019

🎉 This PR is included in version 11.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@AVVS AVVS added the released label Sep 13, 2019
@pajgo pajgo deleted the feat/pretty429error branch September 20, 2019 10:50
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