Janny
ccf52f0822
Try mocha test
2016-01-22 09:17:54 +08:00
Amir-61
adaf7dee7c
Merge pull request #815 from strongloop/findOrCreate
...
Implement `findOrCreate` for memory connector
2016-01-16 18:48:42 -05:00
Amir Jafarian
ba7161b39e
Implement `findOrCreate` for memory connector
2016-01-16 18:46:53 -05:00
Amir Jafarian
a5150265ec
Fix a bug when validation is off for findOrCreate
2016-01-08 16:47:38 -05:00
Janny
1771bfabcc
Merge pull request #790 from strongloop/feature/upgrade-to-bluebird
...
[SEMVER-MAJOR] Always use bluebird as the Promise implementation
2016-01-08 08:07:55 +08:00
Jue Hou
853ca03491
Use bluebird in utils.js
...
Replace `global.Promise` with `bluebird`
2016-01-07 15:27:33 -05:00
Miroslav Bajtoš
b509c759c4
Merge pull request #796 from strongloop/fix/various
...
Various fixes in operation hooks
2016-01-05 11:08:35 +01:00
Simon Ho
5cf37aae5b
Merge pull request #809 from alFReD-NSH/patch-1
...
Fix broken code fencings in the docs
2015-12-28 16:40:33 -08:00
Farid Nouri Neshat
93c9f63b0d
Fix broken code fencings in the docs
2015-12-28 23:03:37 +08:00
Simon Ho
bffa4b6ab6
Merge pull request #806 from strongloop/revert-redis-test-fixes
...
Revert "Correct syntax for should and more"
2015-12-23 17:27:50 -08:00
Simon Ho
5d453b5038
Revert "Correct syntax for should and more"
...
This reverts commit 62de2ed69e
.
2015-12-23 15:41:16 -08:00
Simon Ho
2e22583fcc
Merge pull request #804 from strongloop/upgrade-shouldjs
...
Upgrade shouldjs to 8.0.2
2015-12-23 15:38:37 -08:00
Simon Ho
b63133d1d6
Fix test for shouldjs 8.0.2 upgrade
2015-12-22 15:03:50 -08:00
Simon Ho
edd2d301e5
Upgrade shouldjs to 8.0.2
2015-12-22 15:03:16 -08:00
Miroslav Bajtoš
990307f3d5
3.0.0-alpha.1
...
* Start development of 3.0 (Miroslav Bajtoš)
* Correct syntax for should and more (Amir Jafarian)
2015-12-22 13:15:52 +01:00
Miroslav Bajtoš
4319414fb2
Merge pull request #801 from strongloop/start-3.0
...
Start development of 3.0
2015-12-22 13:12:30 +01:00
Miroslav Bajtoš
d3e2520b1f
Start development of 3.0
...
- Update version number in package.json, publish under "next" tag
- Add 3.0-RELEASE-NOTES.md to incrementally build release docs
2015-12-22 12:48:06 +01:00
Miroslav Bajtoš
e9899a93cf
Enhance "persist" hook in DAO.updateOrCreate
...
Report `ctx.isNewInstance` when the connector provides this info.
2015-12-18 16:08:38 +01:00
Miroslav Bajtoš
fd9bef4aa7
Enhance "persisted" hook in DAO.updateAttributes
...
Add `isNewInstance:false` to the context reported by
DAO.updateAttributes()
2015-12-18 16:08:01 +01:00
Miroslav Bajtoš
3028329126
"loaded" hook in DAO.find: ctx.data, not instance
...
Fix the implementation od DAO.find to provide "ctx.data" to the
"loaded" hook.
2015-12-18 15:54:35 +01:00
Miroslav Bajtoš
89e4555bc0
describe-operation-hooks: add "loaded" hook
2015-12-18 15:42:36 +01:00
Amir-61
dfda177ff7
Merge pull request #792 from strongloop/Redis_test_failiures
...
Redis test failiures
2015-12-16 16:29:56 -05:00
Amir Jafarian
62de2ed69e
Correct syntax for should and more
...
This fixes lots of failures in connectors
2015-12-16 16:24:48 -05:00
Raymond Feng
1e9bbd2787
2.44.0
...
* Fix failing test for MongoDB connector (Simon Ho)
* Make automatic validation optional (Bert Casier)
* Add refresh script (Simon Ho)
* Add clean scripts (Simon Ho)
* Refactor Makefile (Simon Ho)
2015-12-13 11:20:22 -08:00
Simon Ho
4ce02cbcc1
Merge pull request #789 from strongloop/fix-failing-tests-for-mongodb
...
Fix failing test for MongoDB connector
2015-12-10 15:20:33 -08:00
Simon Ho
9cfda16194
Fix failing test for MongoDB connector
2015-12-09 12:58:21 -08:00
Miroslav Bajtoš
80c3bd9d41
Merge pull request #752 from ernie58/optionalValidation
...
make automatic validation optional
2015-12-04 17:03:28 +01:00
Bert Casier
0f3f27af51
Make automatic validation optional
...
Make automatic validation optional on all CRUD methods in a loopback
model. This can be done in 2 ways
- set `automaticValidation` in the model settings
- set `validate` on the options passed when calling the crud methods
The options take precedence on the model setting.
By default the automatic validation remains true to be backwards
compatible
2015-12-03 16:34:25 +01:00
Simon Ho
48695b711f
Merge pull request #776 from strongloop/update-helper-scripts
...
Update helper scripts
2015-11-27 17:59:09 -08:00
Raymond Feng
dbab15554d
2.43.0
...
* Explicitly initialize column of partition by clause and pass it in find()'s options argument (eugene-frb)
* Fix for issue #774 (Pradeep Kumar Tippa)
* silence a warning that introduced in bluebird 3.0 (Clark Wang)
* fixed a bug where an error was sent to the updateAttributesCallback and then ignored (Abe BW)
* Capture includeHasMany() as a find()'s caller by findCaller option (eugene-frb)
* UpdateAttributes: Raises an error if database fails (Wilson Júnior)
* fixes #753 (Joseph M. Persie)
* typo fix (nennad)
* Fix foreignKey length issue (nennad)
2015-11-27 10:48:29 -08:00
Raymond Feng
bc825fafc4
Merge pull request #755 from zmijevik/zmijevik-feature/include-if-contains-results
...
fixes #753
2015-11-26 09:33:47 -08:00
Raymond Feng
cb776b1354
Merge branch 'wpjunior-fix_update_attributes_error'
2015-11-26 09:31:59 -08:00
Raymond Feng
6f7fc5030a
Merge branch 'fix_update_attributes_error' of https://github.com/wpjunior/loopback-datasource-juggler into wpjunior-fix_update_attributes_error
2015-11-26 09:31:40 -08:00
Raymond Feng
c071c5687f
Merge pull request #775 from pktippa/master
...
Fix for issue #774
2015-11-26 09:29:44 -08:00
Raymond Feng
3a3cb5b7cb
Merge pull request #764 from eugene-frb/master
...
Capture includeHasMany() as a find()'s caller by findCaller option
2015-11-26 09:29:14 -08:00
Raymond Feng
e1f20ee3ea
Merge pull request #772 from Abebw/master
...
Ignored Error
2015-11-26 09:28:50 -08:00
Raymond Feng
486c1de1ba
Merge pull request #715 from nennad/master
...
foreignKey dataLength fix
2015-11-26 09:28:08 -08:00
Raymond Feng
6cfcc4296f
Merge pull request #773 from clarkorz/fix/bluebird-v3-warning
...
silence a warning that introduced in bluebird 3.0.x
2015-11-26 09:26:44 -08:00
eugene-frb
ba4600e564
Explicitly initialize column of partition by clause and pass it in find()'s options argument
2015-11-25 13:56:59 -08:00
Simon Ho
003cb1061f
Add refresh script
2015-11-24 22:46:13 -08:00
Simon Ho
70871a5a44
Add clean scripts
2015-11-24 22:46:00 -08:00
Simon Ho
974536c669
Refactor Makefile
2015-11-24 22:45:36 -08:00
Pradeep Kumar Tippa
24808fa772
Merge pull request #1 from pktippa/datasource-connector-doc-fix
...
Fix for issue #774
2015-11-24 16:51:09 +05:30
Pradeep Kumar Tippa
6a18df4b36
Fix for issue #774
2015-11-24 16:50:41 +05:30
Clark Wang
0ac70766eb
silence a warning that introduced in bluebird 3.0
...
see http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-none-were-returned-from-it
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2015-11-24 17:15:53 +08:00
Raymond Feng
b8fb67beb5
2.42.0
...
* Correction of a regression introduced by commit 632898b: when querying an empty array ([]) with a 'neq' filter, there were no matching. (Michael Diguet)
* dropped unused functions and tests fixed (Wert_Lex)
* One more comment (Wert_Lex)
* Looks better now (Wert_Lex)
* home-written map extended with proper .set() method (Wert_Lex)
* on the halfway to keeping original keys (Wert_Lex)
* with updated map which stores original key and tests for them (Wert_Lex)
* Moved inst initialization to place where it used (Wert_Lex)
* All tests passed (Wert_Lex)
* Dirty merge. Tests are broken (Wert_Lex)
* include utils add. Tests ported to should.js (Wert_Lex)
2015-11-23 16:00:29 -08:00
Raymond Feng
c67922cc59
Merge branch 'wertlex-with-simpe-and-fast-hasmany'
2015-11-23 15:58:19 -08:00
Raymond Feng
bd314e6a87
Merge branch 'with-simpe-and-fast-hasmany' of https://github.com/wertlex/loopback-datasource-juggler into wertlex-with-simpe-and-fast-hasmany
2015-11-23 15:21:18 -08:00
Abe BW
0334766490
fixed a bug where an error was sent to the updateAttributesCallback and then ignored
2015-11-23 14:07:35 -05:00
Raymond Feng
b6eff7f221
Merge pull request #770 from MichaelDiguet/master
...
Correction of a regression introduced by commit 632898b
2015-11-23 09:09:33 -08:00