Loay
5567917c12
Allow resetPassword if emailVerified
2016-08-26 13:11:42 -04:00
Amir Jafarian
b80666a507
Reorder PATCH Vs PUT endpoints
...
*Reorder PATCH Vs PUT endpoints for update* methods
2016-08-26 11:08:35 -04:00
Miroslav Bajtoš
98eed7238d
Merge pull request #2628 from benkroeger/master
...
Fix acl related model resolution
Close #2628
2016-08-25 13:10:59 +02:00
Benjamin Kroeger
4ff9a4c2ef
streamline use if `self`
2016-08-25 12:51:51 +02:00
Benjamin Kroeger
01c1656fc2
resolve related models from correct registry
...
Also modify setup of test servers when ACL was used, force the app
to `loadBuiltinModels` with localRegistry.
2016-08-25 12:51:29 +02:00
Miroslav Bajtoš
cc95860c68
Merge pull request #2638 from strongloop/feature/kvao-iterate-keys
...
KeyValueModel: add API for listing keys
2016-08-18 13:30:25 +02:00
Miroslav Bajtoš
88e4de5341
KeyValueModel: add API for listing keys
...
- Expose "keys()" at "GET /keys"
- Add a dummy implementation for "iterateKeys" to serve a useful error
message when the model is not attached correctly.
2016-08-18 10:50:45 +02:00
Miroslav Bajtoš
3dfd86f6ff
Merge pull request #2650 from strongloop/fix/token-in-context-3x
...
Fix token middleware crash
2016-08-17 15:05:09 +02:00
Carl Fürstenberg
edd5275b8b
Fix token middleware crash
...
Fix token middleware to check if `req.loopbackContext` is active.
The context is not active for example when express-session calls
setImmediate which breaks CLS.
2016-08-17 14:44:00 +02:00
Miroslav Bajtoš
ba5f36fb91
loopback#context: fix missing "g" symbol
2016-08-17 14:43:59 +02:00
Rand McKinney
01a9fa2ab2
Update acl.js
...
Fix typo in JS doc.
2016-08-16 10:14:17 -07:00
Samuel Reed
22345cfcda
Support 'alias' in mail transport config.
...
Useful if you need to set up multiple transports of the same type.
[forward-port of #2489 ]
2016-08-16 16:24:56 +02:00
Tetsuo Seto
21ce174939
Merge pull request #2634 from strongloop/fixup-glob
...
Remove unnecessary g.log
2016-08-16 07:01:37 -07:00
Miroslav Bajtoš
da0a543983
Merge pull request #2622 from strongloop/fix/unglobalize-swagger
...
Revert globalization of Swagger descriptions
2016-08-16 13:59:26 +02:00
Setogit
d4769c7adf
Remove unnecessary g.log
2016-08-15 21:52:44 -07:00
Miroslav Bajtoš
1a62ed7f27
Merge pull request #2623 from strongloop/fix/unglobalize-asserts
...
Revert globalization of assert() messages
2016-08-15 14:10:13 +02:00
Miroslav Bajtoš
eec326dc80
Revert globalization of Swagger descriptions
2016-08-15 11:06:05 +02:00
Miroslav Bajtoš
80a0b7d7ad
Revert globalization of assert() messages
2016-08-15 08:53:25 +02:00
Loay
21bdb28d37
Merge pull request #2580 from strongloop/bcrypt
...
Add bcrypt validation
2016-08-13 00:37:05 -04:00
Loay
7aebf0d132
Add bcrypt validation
2016-08-12 21:34:50 -04:00
Miroslav Bajtoš
899ab457e9
3.0.0-alpha.3
...
* common: add KeyValueModel (Miroslav Bajtoš)
* Globalize current-context error messages (Miroslav Bajtoš)
* Remove current-context API (Miroslav Bajtoš)
* Fix forceId in tests (jannyHou)
* test: increase timeout to prevent CI failures (Miroslav Bajtoš)
* Update globalization string (Candy)
* Update globalization (Candy)
* Add globalization (Candy)
* test: fix "socket hang up" error in app.test (Miroslav Bajtoš)
* test: increate timeout in Role test (Miroslav Bajtoš)
* test: make status test more robust (Miroslav Bajtoš)
* test: fix broken Role tests (Miroslav Bajtoš)
* Update dependencies to their latest versions (Miroslav Bajtoš)
* Increase timeout (jannyHou)
* test: fix change-tracking setup (Miroslav Bajtoš)
* test: use local registry in test fixtures (Miroslav Bajtoš)
* Update loopback.js (Rand McKinney)
* Fix test case error (Loay)
* Update user.js (Loay)
* Fix security issue 580 (Loay)
* Update URLs in CONTRIBUTING.md (#2503 ) (Ryan Graham)
* Remove legacyExplorer (gunjpan)
* Remove `rectifyAllChanges` and `rectifyChange` (Candy)
* Fix verificationToken bug (Loay)
* update express version (Loay)
* Cleanup unit-test added in 1fc51d129
(Miroslav Bajtoš)
* update errorHandler template (Loay)
2016-08-11 13:34:01 +02:00
Miroslav Bajtoš
32ecd2fc5c
Merge pull request #2594 from strongloop/feature/key-value-model
...
common: add KeyValueModel
2016-08-10 15:25:03 +02:00
Miroslav Bajtoš
a259e59afc
common: add KeyValueModel
2016-08-10 14:15:22 +02:00
Miroslav Bajtoš
f13e584686
Merge pull request #2564 from strongloop/feature/remove-current-context
...
[SEMVER-MAJOR] Remove current-context API
2016-08-10 14:14:38 +02:00
Miroslav Bajtoš
59a82a9d5e
Globalize current-context error messages
2016-08-10 13:43:40 +02:00
Miroslav Bajtoš
b087c930ed
Remove current-context API
...
Change all current-context APIs to throw a helpful error.
2016-08-10 13:43:40 +02:00
Janny
5fd1766a81
Merge pull request #2501 from strongloop/fix/forceId
...
Set forceId = false for AccessToken
2016-08-08 16:24:04 -04:00
jannyHou
19618209c8
Fix forceId in tests
2016-08-08 15:06:29 -04:00
Miroslav Bajtoš
57ca624979
Merge pull request #2591 from strongloop/fix/ci-timeout
...
test: increase timeout to prevent CI failures
2016-08-08 16:04:24 +02:00
Candy
360ec41180
Merge pull request #2589 from strongloop/update_globalize2
...
Update globalization string
2016-08-08 10:04:19 -04:00
Miroslav Bajtoš
a751230cd9
test: increase timeout to prevent CI failures
2016-08-08 15:45:53 +02:00
Candy
bb9a1b5b24
Update globalization string
2016-08-05 15:49:43 -04:00
Candy
79a21b824d
Merge pull request #2583 from strongloop/update_globalize
...
Update globalization
2016-08-04 18:14:15 -04:00
Candy
3239942ff1
Update globalization
2016-08-04 17:35:21 -04:00
Candy
1c1f2c2e8c
Merge pull request #2407 from strongloop/initialize_glob
...
Add globalization
2016-08-04 16:33:40 -04:00
Candy
b52a7217a9
Add globalization
2016-08-04 15:08:16 -04:00
Janny
de0f51b664
Merge pull request #2577 from strongloop/update-deps
...
Update dependencies to their latest versions
2016-08-04 14:32:37 -04:00
Miroslav Bajtoš
39da31bb5a
test: fix "socket hang up" error in app.test
...
Rework the test to always wait for the client request to finish before
calling the test done.
2016-08-04 15:51:53 +02:00
Miroslav Bajtoš
5d18d41b28
test: increate timeout in Role test
2016-08-04 13:32:47 +02:00
Miroslav Bajtoš
caaa296a82
test: make status test more robust
...
Rework assertions to report helpful messages on failure.
Increase the "elapsed" limit from 100ms to 300ms to support our
slow CI machines.
2016-08-04 11:00:00 +02:00
Miroslav Bajtoš
48205fb2bd
test: fix broken Role tests
...
Rework the test suite to always report errors and correctly signal
when async tests are done.
This should prevent spurious test failures on CI servers that are
difficult to troubleshoot, because the error is reported for different
test case.
2016-08-03 16:17:58 +02:00
Miroslav Bajtoš
7546ee531d
Update dependencies to their latest versions
2016-08-03 16:17:58 +02:00
Miroslav Bajtoš
46435bde0f
Merge pull request #2567 from strongloop/fix/CI-timeout
...
Increase timeout
2016-08-03 16:15:32 +02:00
jannyHou
17a046d7a1
Increase timeout
2016-07-29 14:54:34 -04:00
Candy
389fd85218
Merge pull request #2565 from strongloop/fix/misconfigured-change-replication
...
test: fix change-tracking setup
2016-07-29 11:27:52 -04:00
Miroslav Bajtoš
fd0b6fcb96
test: fix change-tracking setup
...
The remote-connector test has misconfigured the client (remote) model,
where the client model was trying to keep track of changes. That's
redundant because it's up to the server model (attached directly to the
database) to track changes.
This commit fixes that configuration and also cleans up the test code
a little bit to make it easier to distinguish between the remote
(client) model and the server model.
2016-07-29 16:49:29 +02:00
Miroslav Bajtoš
ea21169da0
Merge pull request #2551 from strongloop/fix/global-registry-in-fixtures
...
test: use local registry in test fixtures
2016-07-27 14:59:49 +02:00
Miroslav Bajtoš
98816217c9
test: use local registry in test fixtures
...
Use local registry in test fixtures to prevent collision in globally
shared models.
Fix issues discoverd in auth implementation where the global registry
was used instead of the correct local one.
2016-07-27 10:07:49 +02:00
Rand McKinney
1b55d35542
Update loopback.js
...
Fix doc comment per #2534
2016-07-26 15:52:40 -07:00
Loay
68ed6166d8
Merge pull request #2549 from strongloop/fix/issue580-test
...
Fix test case error
2016-07-26 13:23:41 -04:00