Miroslav Bajtoš
586fa1cebb
Merge pull request #2938 from strongloop/feature/verify-template-fn-2x
...
Add templateFn option to User#verify()
2016-11-15 14:17:32 +01:00
Adrien Kiren
5c1558f969
Add templateFn option to User#verify()
2016-11-15 13:46:35 +01:00
Loay
d06190dae6
Merge pull request #2927 from strongloop/backport/require-verification-email-change
...
Backport/Require verification after email change
2016-11-09 13:09:33 -05:00
Loay
67e5c6ec1e
Require verification after email change
...
When the User model is configured to require email verification,
then any change of the email address should trigger re-verification.
2016-11-09 11:51:37 -05:00
Loay
d61e173d6f
Merge pull request #2914 from strongloop/backport-email-case-sensitive
...
[backport #2912 ] adding check of string for case insensitive emails
2016-11-04 23:25:01 -04:00
Dhaval Trivedi
6e880137e4
adding check of string for case insensitive emails
2016-11-04 10:35:08 -04:00
Simon Ho
1915d09424
Merge pull request #2890 from strongloop/backport/fix/pr-template
...
Fix PR template to not link all PRs to #49 (#2887 )
2016-10-24 17:44:31 -07:00
Miroslav Bajtoš
f80b27880e
Fix PR template to not link all PRs to #49 ( #2887 )
...
- Add comment with syntax examples
- Remove direct links to #49 in section header
Backport of #2887
2016-10-24 17:10:02 -07:00
Miroslav Bajtoš
4cb9f0d74d
2.36.0
...
* Need index on principalId for performance. (#2883 ) (#2884 ) (Simon Ho)
* Remove redundant items in PR template (#2877 ) (#2878 ) (Simon Ho)
* Refactor PR template based on feedback (#2865 ) (#2874 ) (Simon Ho)
* Add pull request template (#2843 ) (#2862 ) (Simon Ho)
* Fix description of updateAll response (Miroslav Bajtoš)
2016-10-24 10:40:26 +02:00
Simon Ho
3e0fd94f60
Need index on principalId for performance. ( #2883 ) ( #2884 )
...
Backport of #2883
2016-10-21 16:31:33 -07:00
Simon Ho
df13b094bb
Remove redundant items in PR template ( #2877 ) ( #2878 )
...
- Remove sign CLA since CI already shows unsigned CLAs
- Remove all tests must pass CI since we have to check each on a case by
case basis anyways
- Update example to include linking to the current repo using number
sign (ie. #49 in addition to org/repo#49 )
Backport of #2877
2016-10-19 18:25:04 -07:00
Simon Ho
809ba35fdb
Refactor PR template based on feedback ( #2865 ) ( #2874 )
...
Updated based on feedback received during sprint demo.
Backport of #2865
2016-10-18 23:53:43 -07:00
Simon Ho
f97906d397
Add pull request template ( #2843 ) ( #2862 )
...
Backport of #2843
2016-10-17 09:02:24 -07:00
Miroslav Bajtoš
f9cd880eaa
Merge pull request #2846 from strongloop/fix/metadata-update-delete-all-2x
...
Fix description of updateAll response
2016-10-17 14:10:46 +02:00
Miroslav Bajtoš
060630aad6
2.35.0
...
* Reword ticking checkbox note in issue template (#2855 ) (Simon Ho)
* Add how to tick checkbox in issue template (#2851 ) (#2853 ) (Simon Ho)
* Use GitHub issue templates (#2810 ) (#2852 ) (Simon Ho)
* Allow tokens with eternal TTL (value -1) (Miroslav Bajtoš)
* Update ja and nl translation files (Candy)
* Fix support for remote hooks returning a Promise (Tim van der Staaij)
* Validate non-email property partial update (Loay)
* Update translation files - round#2 (Candy)
* Update tests to use registry for model creation (gunjpan)
* Call new disable remote method from model class. (Richard Pringle)
* Temporarily disable Karma tests on Windows CI (Miroslav Bajtoš)
* Add translation files for 2.x (Candy)
* Allow resetPassword if email is verified (Loay)
* Add docs for KeyValue model (Simon Ho)
* Invalidate sessions after email change (Loay)
* Upgrade loopback-testing to the latest ^1.4 (Miroslav Bajtoš)
2016-10-13 10:12:11 +02:00
Simon Ho
446d2a5078
Reword ticking checkbox note in issue template ( #2855 )
...
Backport of #2854
2016-10-12 18:03:09 -07:00
Simon Ho
81c951f212
Add how to tick checkbox in issue template ( #2851 ) ( #2853 )
...
Many people are putting "*" instead of x, which causes the markdown to
render funny. Adding instructions to that particular section.
Backport of #2851
2016-10-12 17:27:22 -07:00
Simon Ho
f72fb69cfe
Use GitHub issue templates ( #2810 ) ( #2852 )
...
Backport of #2810
2016-10-12 17:08:56 -07:00
Miroslav Bajtoš
bf5c206bd6
Fix description of updateAll response
...
Correctly describe the first non-error callback arg as an `info` object
containing a `count` property.
2016-10-12 13:04:35 +02:00
Miroslav Bajtoš
765e53098b
Merge pull request #2845 from strongloop/feature/allow-eternal-access-tokens-2x
...
Allow tokens with eternal TTL (value -1)
2016-10-12 12:55:12 +02:00
Miroslav Bajtoš
b3497c6778
Allow tokens with eternal TTL (value -1)
...
- Add a new User setting 'allowEternalTokens'
- Enhance 'AccessToken.validate' to support eternal tokens with ttl
value -1 when the user model allows it.
2016-10-12 12:30:33 +02:00
Candy
b445d80191
Merge pull request #2836 from strongloop/add_translation3_2x
...
Update ja and nl translation files
2016-10-06 15:27:06 -04:00
Candy
6d08df4f0a
Update ja and nl translation files
2016-10-06 14:19:57 -04:00
Miroslav Bajtoš
87a89db15f
Merge pull request #2822 from strongloop/fix/promise-remote-hooks-2x
...
Fix support for remote hooks returning a Promise
2016-10-05 13:59:10 +02:00
Tim van der Staaij
b8b92fbeda
Fix support for remote hooks returning a Promise
...
Fix beforeRemote/afterRemote to correctly return promises returned
by the user-provided hook callback.
2016-10-05 11:02:36 +02:00
Loay
715bc1ece6
Merge pull request #2814 from strongloop/backport/partial-update
...
Validate non-email property partial update
2016-10-03 18:02:47 -04:00
Loay
bdeaf654fa
Validate non-email property partial update
2016-10-03 16:53:36 -04:00
Amirali Jafarian
46f0c061c0
Merge pull request #2804 from strongloop/add_translation2_2x
...
Update translation files - round#2
2016-09-28 17:25:56 -04:00
Candy
26147b6bc2
Update translation files - round#2
2016-09-28 15:32:12 -04:00
Gunjan Pandya
7037994a6b
Merge pull request #2782 from strongloop/backport/compat_flag_cleanup
...
Update tests to use registry for model creation [2.x]
2016-09-27 18:49:55 -04:00
gunjpan
e244153eb7
Update tests to use registry for model creation
...
Current implementation of `app.model(modelName, settings)`
works as a sugar for model creation. In LB 3.0, this is
not supported anymore. This backporting:
- keeps the sugar method for model creation for backward
compatibility
- updates test cases to use `app.registry.createModel()`
for model creation
Backport of #2401
2016-09-27 16:44:01 -04:00
Richard Pringle
4a0835a032
Merge pull request #2781 from strongloop/backport/disableMethodByName
...
Call new disable remote method from model class [2.x]
2016-09-26 10:59:01 -04:00
Richard Pringle
f7dbc97763
Call new disable remote method from model class.
2016-09-23 11:14:51 -04:00
Miroslav Bajtoš
5ee43fec83
Merge pull request #2783 from strongloop/fix/windows-ci-2x
...
Temporarily disable Karma tests on Windows CI
2016-09-23 10:22:06 +02:00
Miroslav Bajtoš
6ac1f694b9
Temporarily disable Karma tests on Windows CI
...
We are observing frequent test failures on Windows CI, where PhantomJS
cannot start because there are no free handles available. Finding
and fixing the process leaking handles is non-trivial and will take
long time.
This commit disables Karma tests on Windows CI machines to prevent
build failures that we are ignoring anyways.
2016-09-23 09:58:16 +02:00
Candy
f3317ec39b
Merge pull request #2768 from strongloop/add_translation
...
Add translation files for 2.x
2016-09-21 17:34:45 -04:00
Candy
74063ab559
Add translation files for 2.x
2016-09-20 14:15:19 -04:00
Loay
bd3f875ced
Merge pull request #2763 from strongloop/backport/allow-reset-emailVerified
...
Backport/ Allow resetPassword if EmailVerified
2016-09-20 13:03:08 -04:00
Loay
59eeb99803
Allow resetPassword if email is verified
2016-09-20 11:29:56 -04:00
Loay
e10dcf7c2c
Merge pull request #2759 from strongloop/backport/invalidate-email-sessions
...
Backport/invalidate email sessions
2016-09-20 09:48:16 -04:00
Simon Ho
f7c74eb24d
Merge pull request #2760 from strongloop/backport/docs-for-kv-model
...
Backport: Add docs for KeyValue model
2016-09-19 17:08:26 -07:00
Simon Ho
f7f448d569
Add docs for KeyValue model
...
Backport of #2743
2016-09-19 15:39:01 -07:00
Loay
fa310d5882
Invalidate sessions after email change
2016-09-19 14:55:23 -04:00
Miroslav Bajtoš
14b8426687
Merge pull request #2736 from strongloop/update/loopback-testing-in-2x
...
Upgrade loopback-testing to the latest ^1.4 [2.x-only]
2016-09-13 09:13:57 +02:00
Miroslav Bajtoš
ec8250cf58
2.34.1
...
* Fix double-slash in confirmation URL (Miroslav Bajtoš)
2016-09-13 09:08:28 +02:00
Miroslav Bajtoš
68558d7afa
Merge pull request #2718 from strongloop/fix/user-verify-email-with-empty-rest-root-2x
...
Fix double-slash in confirmation URL
2016-09-13 08:49:23 +02:00
Miroslav Bajtoš
3df5b2814c
Fix double-slash in confirmation URL
...
Fix the code building the URL used in the email-verification email
to prevent double-slash in the URL when e.g. restApiRoot is '/'.
Before:
http://example.com//users/confirm ?...
Now:
http://example.com/users/confirm ?...
2016-09-12 17:12:24 +02:00
Miroslav Bajtoš
c4214024be
Upgrade loopback-testing to the latest ^1.4
2016-09-12 13:21:07 +02:00
Miroslav Bajtoš
7d1f31cfb4
2.34.0
2016-09-12 11:27:35 +02:00
Miroslav Bajtoš
8f642b593c
2.33.0
...
* Fix data argument for upsertWithWhere (Amir Jafarian)
* Expose upsertWithWhere (Sonali Samantaray)
* Fix remoting metadata for "data" arguments (Miroslav Bajtoš)
* Rework email validation to use isemail (Miroslav Bajtoš)
2016-09-09 10:25:18 +02:00