Raymond Feng
dfd26e4c23
Merge branch 'release/2.13.0' into production
2015-01-07 13:58:08 -08:00
Raymond Feng
0c4bc5e40e
v2.13.0
2015-01-07 13:58:06 -08:00
Raymond Feng
eac7526e80
Merge pull request #379 from cvette/memory-order-fix
...
fix sorting of undefined values in memory connector
2015-01-06 09:39:49 -08:00
Christian Vette
99acd364d2
added test for sorting undefined values
2015-01-05 21:56:17 +01:00
Raymond Feng
f4c540ca02
Merge pull request #382 from clarkorz/feature/findOrCreate-flag
...
add a flag to callback of findOrCreate to indicate find or create
2015-01-05 11:18:06 -08:00
Raymond Feng
f20eefc8b5
Merge pull request #383 from TorchlightSoftware/es-compat
...
replace deprecated function __defineGetter__
2015-01-05 10:53:53 -08:00
Raymond Feng
88b85a7fa2
Fix the floating number comparison
2015-01-05 10:53:26 -08:00
Ryan Graham
efdbe69039
Fix bad CLA URL in CONTRIBUTING.md
2014-12-29 08:27:46 -08:00
bitmage
803e75e9b9
replace deprecated function __defineGetter__
2014-12-28 14:14:12 -07:00
Clark Wang
ce2b580ccd
add a flag to callback of findOrCreate to indicate find or create
...
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-12-25 22:19:15 +08:00
Christian Vette
e45407256e
fix sorting of undefined values with multiple columns
2014-12-22 21:06:01 +01:00
cvette
31c7973763
code style
2014-12-22 18:54:56 +01:00
cvette
a6b8ca70af
fix sorting with undefined in memory connector
2014-12-22 18:45:39 +01:00
Ritchie Martori
efe4601fdb
Merge pull request #370 from simoami/master
...
Fixed the haversine formula to calculate distance between 2 points
2014-12-18 15:08:42 -08:00
Simo Moujami
e1a60f146e
Added support for inline parameters like: new GeoPoint(-34, 150)
2014-12-18 10:47:06 -05:00
Raymond Feng
78795406d6
Merge pull request #371 from clarkorz/fix/findById-default-include
...
fix default include in default scope fails findById
2014-12-11 09:06:00 -08:00
Clark Wang
6fa8969912
fix default include in default scope fails findById
...
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-12-11 15:14:35 +08:00
Simo Moujami
b990afc910
Added test for toString()
2014-12-10 19:43:49 -05:00
Simo Moujami
8ba0c3f87d
Additional formatting
2014-12-10 19:38:39 -05:00
Simo Moujami
beaa97f6f4
Fixed constructor parameters and added bdd tests for constructor validation
2014-12-10 19:36:02 -05:00
Simo Moujami
87027b49f8
Fixed indentation
2014-12-10 17:47:32 -05:00
Simo Moujami
62c6ea0ddd
Added mocha tests for GeoPoint
2014-12-10 17:41:49 -05:00
Simo Moujami
45fb633c3a
renamed intermediary variable
2014-12-10 17:08:56 -05:00
Simo Moujami
ed5aeb1d2d
Fixed the haversine formula to calculate distance between 2 points properly
2014-12-10 16:30:07 -05:00
Raymond Feng
56323ee10f
Merge tag 'v2.12.0'
...
2.12.0
* Relax the id comparison (Raymond Feng)
* Allow more flavors of nullable values from DB discovery (Raymond Feng)
* Fix a typo (Raymond Feng)
* docs.json: add lib/model.js (Miroslav Bajtoš)
* Update README.md (Rand McKinney)
* fix embedsOne error when embed instance is undefined or null (Clark Wang)
* Be explicit: set RelationDefinition multiple flag (Fabien Franzen)
* Allow hasOne relation to have a scope option (Clark Wang)
* fix skipping async validator will always fail if condition is un-fulfilled (Clark Wang)
2014-12-08 16:19:12 -08:00
Raymond Feng
acd20ae6f8
Merge branch 'release/2.12.0' into production
2014-12-08 16:19:10 -08:00
Raymond Feng
01e578be15
v2.12.0
2014-12-08 16:19:09 -08:00
Raymond Feng
73d022398a
Relax the id comparison
2014-12-08 16:18:42 -08:00
Raymond Feng
fe047d3ecf
Merge pull request #364 from strongloop/feature/include-base-model-in-apidocs
...
docs.json: add lib/model.js
2014-12-03 15:35:34 -08:00
Raymond Feng
d92905d53e
Merge pull request #360 from clarkorz/fix/embedsOne-errors
...
fix embedsOne error when embed instance is undefined or null
2014-12-03 15:35:18 -08:00
Raymond Feng
c51d1e9a08
Merge pull request #354 from clarkorz/fix/skip-validation
...
fix skipping async validator will always fail if condition is un-fulfilled
2014-12-03 15:22:57 -08:00
Raymond Feng
6914733a41
Allow more flavors of nullable values from DB discovery
2014-12-03 15:11:27 -08:00
Raymond Feng
48e8ebed7b
Fix a typo
2014-12-03 15:11:27 -08:00
Miroslav Bajtoš
52bd144bc1
docs.json: add lib/model.js
2014-12-02 08:28:02 +01:00
Rand McKinney
24f20d2ba7
Update README.md
2014-12-01 13:22:24 -08:00
Raymond Feng
5255afe9b2
Merge pull request #357 from fabien/fix/rel-multiple
...
Set RelationDefinition multiple flag
2014-12-01 11:33:28 -08:00
Clark Wang
9d2e6516c3
fix embedsOne error when embed instance is undefined or null
...
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-11-28 13:45:47 +08:00
Clark Wang
40f03f084b
fix recursive calls if create belongsTo model in beforeCreate hook
...
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-11-24 19:20:38 +08:00
Fabien Franzen
77028b07f8
Be explicit: set RelationDefinition multiple flag
2014-11-24 10:31:28 +01:00
Raymond Feng
d5dcf0a966
Merge pull request #356 from clarkorz/feature/allow-scope-hasone
...
Allow hasOne relation to have a scope option
2014-11-20 08:19:40 -08:00
Clark Wang
a9cc1c38df
Allow hasOne relation to have a scope option
...
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-11-20 19:27:04 +08:00
Clark Wang
973dd33d63
fix skipping async validator will always fail if condition is un-fulfilled
...
If the validator configured with `{async:true}` option and `if/unless`
condition, validator should be skipped when the condition is un-fulfilled,
so the validator should be pass.
But currently, when skipping the validator, it calls `done(true)` which
accepts a `fail` flag as a param, this will fail the entire validation.
Signed-off-by: Clark Wang <clark.wangs@gmail.com>
2014-11-19 21:50:08 +08:00
Raymond Feng
293d904bf0
Merge tag 'v2.11.0'
...
2.11.0
2014-11-13 12:58:35 -08:00
Raymond Feng
59ca63cbe0
Merge branch 'release/2.11.0' into production
2014-11-13 12:58:28 -08:00
Raymond Feng
7e69d7c691
Bump version
2014-11-13 12:57:35 -08:00
Raymond Feng
9c575a3902
Merge branch 'BuddyHOPP-fix/350-create-batch-hasmany-relation'
2014-11-13 12:56:38 -08:00
Raymond Feng
ba29669e0d
Merge branch 'fix/350-create-batch-hasmany-relation' of github.com:BuddyHOPP/loopback-datasource-juggler into BuddyHOPP-fix/350-create-batch-hasmany-relation
2014-11-13 12:50:21 -08:00
Raymond Feng
13d08d83cc
Merge pull request #352 from TorchlightSoftware/fix-create-rel
...
handle relationship create with [array]
2014-11-13 09:29:27 -08:00
bitmage
d11eacffc6
handle relationship create with [array]
2014-11-11 14:48:34 -07:00
Alex Voitau
5c2468c4ef
#350 : Creating a batch via hasMany relation is failing. Added handling of array argument.
2014-11-07 18:01:18 -08:00