• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

strongloop / loopback
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: chore/update-lts
DEFAULT BRANCH: master
Repo Added 31 Jan 2017 11:54AM UTC
Files 36
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feature/enable-email-verification-replay
branch: feature/enable-email-verification-replay
CHANGE BRANCH
x
Reset
  • feature/enable-email-verification-replay
  • 2.x
  • 2.x-backport
  • 2.x-eol
  • 2.x-latest
  • 3.x-latest
  • 3.x/update-dependencies
  • acl-apidoc-fix
  • add-codeowner
  • add-node-10
  • add-validate-updateAll
  • backport/babel-es6-to-es5
  • backport/do-not-allow-duplicate-role-names
  • bajtos-patch-1
  • catch-err
  • change-status
  • chore/add-node-12
  • chore/improve-issue-templates
  • chore/update-juggler
  • copyright
  • copyrights
  • create-issue-pr-templates
  • declarative-nest-remoting
  • disable-context-tests
  • drop-node-4x
  • drop/node-0x
  • empty-password-lb3
  • empty_password
  • eol
  • feat/maintenance-lts
  • feature/access-scopes
  • feature/access-token-scopes
  • feature/change-password-api
  • feature/detectUserConfig
  • feature/object-storage
  • feature/refactor-access-token-id
  • feature/remove-model
  • feature/set-password-with-token
  • fix-acl
  • fix-comma-dangle
  • fix-crash-when-replacing-unknown-user
  • fix-create-id
  • fix-dep
  • fix-lint
  • fix-npm-audit
  • fix-translation
  • fix/build
  • fix/build-2x
  • fix/change-password-multiple-users
  • fix/change-password-validation
  • fix/ci
  • fix/crash-in-verifyUserRelations
  • fix/dangling-promise-in-test
  • fix/debug-statements
  • fix/diff-remoting
  • fix/eslint-issues
  • fix/get-access-context-user
  • fix/multi-user-reset-password
  • fix/options-in-token-invalidations
  • fix/options-in-token-invalidations-master
  • fix/principal-type-polymorphic-user
  • fix/role-acl-with-multiple-users
  • fix/setRemote-updateAll
  • fix/travis-config
  • fix/unauthorized-current-user-literal-2x
  • fix/windows-ci
  • fixFilterDef
  • fix_type
  • ignore-failing-downstream-builds
  • improve/github-templates
  • juggler-version
  • license
  • lts
  • maintenance/passing-context-options-in-user.verify
  • master
  • nestRemoting/prevent-endless-relation-recursion
  • npm-test
  • persisted-model/fix-updateonly-props-check
  • production
  • remove/lehni
  • revert-3541-add-validate-updateAll
  • set-default-remote-options
  • speed-up-acl-tests
  • string-username-email
  • test-branch
  • test-ci
  • test-readme
  • translate
  • travis
  • update-dependencies
  • update-dev-deps
  • update-eslint-config
  • update-juggler
  • update-juggler-2
  • update-karma-nyc
  • update-lts
  • update-msg
  • update-strong-error-handler
  • update-strong-globalize
  • update/travis-platforms
  • updateonly_feature
  • upgrade-nodemailer
  • v2.38.2
  • v2.38.3
  • v2.39.0
  • v2.39.1
  • v2.39.2
  • v2.41.1
  • v2.41.2
  • v2.42.0
  • v3.10.0
  • v3.10.1
  • v3.11.0
  • v3.11.1
  • v3.12.0
  • v3.13.0
  • v3.14.0
  • v3.15.0
  • v3.16.0
  • v3.16.1
  • v3.16.2
  • v3.17.0
  • v3.17.1
  • v3.18.0
  • v3.18.1
  • v3.18.2
  • v3.18.3
  • v3.19.0
  • v3.19.1
  • v3.19.2
  • v3.19.3
  • v3.20.0
  • v3.21.0
  • v3.22.0
  • v3.22.1
  • v3.22.2
  • v3.22.3
  • v3.23.0
  • v3.23.1
  • v3.23.2
  • v3.24.0
  • v3.24.1
  • v3.24.2
  • v3.25.0
  • v3.25.1
  • v3.26.0
  • v3.27.0
  • v3.28.0
  • v3.5.0
  • v3.6.0
  • v3.7.0
  • v3.8.0
  • v3.9.0
  • welcome-lehni
  • welcome-nitro404
  • welcome-zbarbuto

pending completion
5730

push

travis-ci

ebarault
Remote method /user/:id/verify

This commit adds:
- user.prototype.verify(verifyOptions, options, cb)
- remote method /user/:id/verify
- User.getVerifyOptions()

The remote method can be used to replay the sending of a user
identity/email verification message.

`getVerifyOptions()` can be fully customized programmatically
or partially customized using user model's `.settings.verifyOptions`

`getVerifyOptions()` is called under the hood when calling the
/user/:id/verify remote method

`getVerifyOptions()` can also be used to ease the building
of identity verifyOptions:

```js
var verifyOptions = {
  type: 'email',
  from: 'noreply@example.com'
  template: 'verify.ejs',
  redirect: '/',
  generateVerificationToken: function (user, options, cb) {
    cb('random-token');
  }
};

user.verify(verifyOptions);
```

NOTE: the `User.login()` has been modified to return the userId when
failing due to unverified identity/email. This userId can then be used
to call the /user/:id/verify remote method.

1755 of 2206 branches covered (79.56%)

6 of 6 new or added lines in 1 file covered. (100.0%)

3214 of 3585 relevant lines covered (89.65%)

6317.41 hits per line

Relevant lines Covered
Build:
Build:
3585 RELEVANT LINES 3214 COVERED LINES
6317.41 HITS PER LINE
Source Files on feature/enable-email-verification-replay
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
5730 feature/enable-email-verification-replay Remote method /user/:id/verify This commit adds: - user.prototype.verify(verifyOptions, options, cb) - remote method /user/:id/verify - User.getVerifyOptions() The remote method can be used to replay the sending of a user identity/email verifica... push 26 Apr 2017 05:09PM UTC ebarault travis-ci pending completion  
5728 feature/enable-email-verification-replay code review push 26 Apr 2017 02:57PM UTC ebarault travis-ci pending completion  
5725 feature/enable-email-verification-replay code review push 25 Apr 2017 02:44PM UTC ebarault travis-ci pending completion  
5723 feature/enable-email-verification-replay wip - user.prototype.verify() + remote method push 21 Apr 2017 10:53AM UTC ebarault travis-ci pending completion  
5655 feature/enable-email-verification-replay code review applying changes from code review moving remote method to user.prototype.verify() preparing user.verify() rebase with context options push 08 Apr 2017 12:11AM UTC ebarault travis-ci pending completion  
5631 feature/enable-email-verification-replay implementing User.verify(uid) + remote method push 05 Apr 2017 02:12PM UTC ebarault travis-ci pending completion  
5627 feature/enable-email-verification-replay implementing User.verify(uid) + remote method push 05 Apr 2017 01:46PM UTC ebarault travis-ci pending completion  
5625 feature/enable-email-verification-replay implementing User.verify(uid) + remote method push 05 Apr 2017 01:37PM UTC ebarault travis-ci pending completion  
5594 feature/enable-email-verification-replay wip, first draft without tests push 28 Mar 2017 09:33AM UTC ebarault travis-ci pending completion  
5592 feature/enable-email-verification-replay wip, first draft without tests push 28 Mar 2017 09:14AM UTC ebarault travis-ci pending completion  
See All Builds (1043)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc