Miroslav Bajtoš
524058d8fc
Travis: drop iojs, add v4.x and v5.x
2016-02-04 16:45:28 +01:00
Miroslav Bajtoš
cd9e5d4173
Merge pull request #2030 from strongloop/safer-tests-step1
...
Safer tests - step 1
2016-02-04 16:09:11 +01:00
Ryan Graham
b0959b7ad8
test: use ephemeral port for e2e server
2016-02-04 15:35:19 +01:00
Ryan Graham
ef9ad587c8
test: fail on error instead of crash
...
If the supertest request fails its basic assertions, there may not even
be a body to perform checks against, so bail early when possible.
2016-02-04 15:35:19 +01:00
Ryan Graham
c317204c74
ensure app is booted before integration tests
2016-02-04 15:35:19 +01:00
Miroslav Bajtoš
0ad150cb6e
Merge pull request #1851 from gausie/patch-4
...
Hide verificationToken from JSON output
2016-01-25 14:23:52 +01:00
Miroslav Bajtoš
18da6993d9
Merge pull request #1988 from strongloop/feature/remove-data-model
...
[SEMVER-MAJOR] Remove "loopback.DataModel"
2016-01-25 10:21:07 +01:00
Miroslav Bajtoš
804c71d7c6
Remove "loopback.DataModel"
...
The model was just a temporary alias to simplify migration of code
based on <=2.0.0-beta3
2016-01-25 10:17:45 +01:00
Simon Ho
76bd587198
Merge pull request #1983 from noderat/patch-1
...
Correct JSDoc findOrCreate() callback in PersistedModel
2016-01-22 10:21:17 -08:00
Chris Coggburn
7252c7686c
Correct JSDoc findOrCreate() callback in PersistedModel
...
Update PersistedModel.findOrCreate() JSDoc to reflect the callback accepts an additional created boolean parameter.
2016-01-21 20:40:19 -07:00
Candy
77eee6a817
Merge pull request #1957 from strongloop/start-3.0
...
Start development of 3.0
2016-01-20 11:43:16 -05:00
Amir-61
c9be67e4d3
Merge pull request #1908 from strongloop/checkpoint_speedup
...
Checkpoint speedup
2016-01-19 10:25:15 -05:00
Miroslav Bajtoš
e06bd1a8b0
Fix typo in package.json (publishConfig)
2016-01-19 14:49:23 +01:00
Candy
492e7da3e9
Start development of 3.0
2016-01-13 16:38:37 -05:00
Janny
27c9e263e0
Merge pull request #1953 from strongloop/doc/user-hasPassword
...
Fix description for User.prototype.hasPassword
2016-01-13 03:14:18 +08:00
Samuel Gaus
2741d50342
Hide verificationToken
...
We should never be showing this publically.
Adds unit test for hiding verification token.
2016-01-12 15:48:03 +00:00
Simon Ho
f1f0100311
Merge pull request #1944 from strongloop/remove-unused-code
...
Remove unused code from loopback-testing-helper
2016-01-11 12:11:30 -08:00
Jue Hou
865789017d
Fix description for User.prototype.hasPassword
2016-01-11 14:28:10 -05:00
Amir Jafarian
08a2786b04
Checkpoint speedup
2016-01-09 01:56:13 -05:00
Janny
70984bd5c0
Merge pull request #1896 from strongloop/feature/upgrade-to-bluebird
...
[SEMVER-MAJOR] Always use bluebird as promise library
2016-01-09 03:31:32 +08:00
Jue Hou
889c561ed3
Always use bluebird as promise library
...
Replace `global.Promise` with `bluebird`
2016-01-08 13:58:12 -05:00
Simon Ho
4b30c27fa2
Remove unused code from loopback-testing-helper
2016-01-06 18:07:33 -08:00
Miroslav Bajtoš
dd7fb60b41
Merge pull request #1943 from strongloop/feature/make-juggler-a-regular-dependency
...
[SEMVER-MAJOR] Make juggler a regular dependency
2016-01-06 18:44:32 +01:00
Miroslav Bajtoš
4ff035aac7
Make juggler a regular dependency
2016-01-06 15:53:35 +01:00
Simon Ho
05556ff661
Merge pull request #1935 from strongloop/remove-loopback-testing
...
Remove dependency on loopback-testing
2015-12-31 17:18:50 -08:00
Simon Ho
186e3e8f92
Remove dependency on loopback-testing
...
- Copy depedent source from loopback-testing into test/helpers
- Removed loopback-testing from package.json
2015-12-31 15:59:03 -08:00
Simon Ho
cdb2605633
Merge pull request #1934 from strongloop/fix-failing-tests
...
Fix failing tests
2015-12-31 14:55:37 -08:00
Simon Ho
e8179e119d
Fix failing tests
...
JSCS is detecting improper whitespaces lib/persisted-model.js.
2015-12-31 14:04:09 -08:00
Rand McKinney
d4040dc39d
Merge pull request #1910 from strongloop/fix-findOrCreate-doc
...
Update persisted-model.js
2015-12-22 17:11:31 -08:00
Rand McKinney
1af03613cc
Update persisted-model.js
...
- Correct doc for findOrCreate.
- Fix indentation
- Remove quotes in example `where`
- Fix typo
- Fix spacing in notional where clause
2015-12-22 17:08:19 -08:00
Miroslav Bajtoš
b0a62422c1
3.0.0-alpha.1
...
* Update juggler to ^3.0.0-alpha.1 (Miroslav Bajtoš)
* Start development of 3.0 (Miroslav Bajtoš)
2015-12-22 14:01:29 +01:00
Miroslav Bajtoš
326f11c8d0
Merge pull request #1909 from strongloop/start-3.0
...
Start development of 3.0
2015-12-22 13:36:15 +01:00
Miroslav Bajtoš
d630b764a3
Update juggler to ^3.0.0-alpha.1
2015-12-22 13:17:04 +01:00
Miroslav Bajtoš
e0ce1fc446
Start development of 3.0
...
- Update version number in package.json, publish under "next" tag
- Add 3.0-DEVELOPING.md describing the process
- Add 3.0-RELEASE-NOTES.md to incrementally build release docs
2015-12-22 12:45:56 +01:00
Miroslav Bajtoš
122c1186ba
2.26.2
...
* Fix bulkUpdate to not trigger rectifyAll (Amir Jafarian)
2015-12-22 10:57:56 +01:00
Miroslav Bajtoš
8aa5c70720
Merge pull request #1899 from strongloop/rectifyChange_Vs_rectifyAllChanges
...
Fix bulkUpdate to not trigger rectifyAll
2015-12-22 10:56:41 +01:00
Amir Jafarian
4aac2776a8
Fix bulkUpdate to not trigger rectifyAll
...
Fix `getIdFromWhereByModelId()` to correctly detect the situation
when "bulkUpdate" performs a write operation using a where filter
containing both id attribute but also all other model attributes.
This should significantly improve the performance of change replication,
because the cost of running rectifyAll is very high.
2015-12-22 10:44:28 +01:00
Miroslav Bajtoš
69940ad3b0
2.26.1
...
* PersistedModel: log rectify/rectifyAll triggers (Miroslav Bajtoš)
2015-12-17 15:52:08 +01:00
Miroslav Bajtoš
b2c9c97c2c
Merge pull request #1894 from strongloop/feature/improve-replication-debugging
...
PersistedModel: log rectify/rectifyAll triggers
2015-12-17 15:51:29 +01:00
Miroslav Bajtoš
5e4bf1dd25
PersistedModel: log rectify/rectifyAll triggers
...
Add debug logging to identify what operations trigger rectify and
rectifyAll calls.
2015-12-17 14:13:47 +01:00
Miroslav Bajtoš
3b66fc1c88
2.26.0
...
* change: skip cp lookup on no change (Miroslav Bajtoš)
* Change: correctly rectify no-change (Miroslav Bajtoš)
* Update model.js (Rand McKinney)
* Adding properties description for User Model (David Cheung)
* Add case-sensitve email option for User model. (Richard Pringle)
2015-12-09 09:44:03 +01:00
Miroslav Bajtoš
1b765922c9
Merge pull request #1860 from strongloop/fix/replication-performance
...
Fix replication performance
2015-12-08 19:32:57 +01:00
Miroslav Bajtoš
62d2b0bf0d
change: skip cp lookup on no change
...
Modify `Change.rectify` to look up the current checkpoint only when
there was actually some change made.
This should improve the performance of `rectifyAll` when called from a
regular timer and there were no changes made since the last call.
Before this commit, `rectifyAll` would perform N calls of
`Checkpoint.current` where N is the number of model instances. With
this commit in place, no call is made.
2015-12-08 17:54:26 +01:00
Miroslav Bajtoš
6d040a98ae
Merge pull request #1804 from richardpringle/master
...
Add case-sensitive email option for User model
2015-12-08 12:47:58 +01:00
Miroslav Bajtoš
bd83df87cf
Merge pull request #1855 from strongloop/fix/user-model-docs
...
Adding properties description for User Model
2015-12-08 12:44:33 +01:00
Amir-61
5b7982d631
Merge pull request #1847 from strongloop/add-nestRemoting-doc
...
Update model.js
2015-12-07 15:11:50 -05:00
Miroslav Bajtoš
d2aaca7460
Change: correctly rectify no-change
...
Modify `Change.rectify()` to not make any changes to the Change instance
(most notably to not modify the `checkpoint` field) when the tracked
model instance was not changed.
This should improve the performance of change replication as it reduces
the number of unnecessary replications.
For example, before this commit, every run of `rectifyAll` would
trigger a full sync of all clients, because all change instances would
be moved to the current checkpoint.
2015-12-07 14:13:25 +01:00
Rand McKinney
17abd8ac76
Update model.js
...
*Add doc comments for nestRemoting
*change cb to filterCallback in nestRemoting
2015-12-04 19:24:03 -05:00
David Cheung
c4917819af
Adding properties description for User Model
...
- Added description for `realm` `created` `lastUpdated` `status`
- End of line for descriptions to be peroid
2015-12-04 14:55:01 -05:00
Richard Pringle
2cca83c4ff
Add case-sensitve email option for User model.
2015-12-03 13:18:49 -05:00