Raymond Feng
cc2fcf5f89
Merge tag 'v1.7.0'
...
1.7.0
2014-07-15 16:11:39 -07:00
Raymond Feng
e592fb0527
Merge branch 'release/1.7.0' into production
2014-07-15 16:11:33 -07:00
Raymond Feng
82c6c8e851
Make sure related properties are defined for RDBMS
2014-07-15 16:10:37 -07:00
Raymond Feng
ee6da650e9
Test instance or id by the model type
2014-07-15 16:09:54 -07:00
Raymond Feng
f406c32b33
Bump version
2014-07-15 12:55:40 -07:00
Raymond Feng
dc6ada6348
Merge pull request #165 from strongloop/feature/allow-hook-skip-next
...
Pass callback to hooks so that next can be skipped
2014-07-15 12:53:52 -07:00
Raymond Feng
efeb59178f
Merge pull request #174 from fabien/fix/validations
...
Fix/validations
2014-07-15 12:53:33 -07:00
Raymond Feng
9325ce316b
Allow before hooks to pass arguments to next()
2014-07-15 12:51:33 -07:00
Raymond Feng
32736a630b
Merge pull request #175 from strongloop/feature/cleanup-remoting-add-remove
...
Remoting methods for hasMany through
2014-07-15 08:53:46 -07:00
Raymond Feng
f3dbc6ca5f
Remoting methods for hasMany through
2014-07-15 08:50:34 -07:00
Raymond Feng
ae9c7f8cac
Fix the error message
2014-07-14 08:56:33 -07:00
Raymond Feng
a6d59a2ba0
Merge branch 'fabien-feature/dynamic-scope'
2014-07-11 15:30:50 -07:00
Fabien Franzen
03617b58df
Sign-off
...
Signed-off-by: Fabien Franzen <info@atelierfabien.be>
2014-07-12 00:24:07 +02:00
Fabien Franzen
48c4f25b09
Renamed mapping to properties
2014-07-12 00:02:16 +02:00
Fabien Franzen
61f6d49518
Fix validateUniqueness/nextTick
2014-07-11 23:55:15 +02:00
Fabien Franzen
50656b8206
Handle custom error codes
...
Fixes #151
2014-07-11 23:03:07 +02:00
Fabien Franzen
a58dbe3a54
More validations and tests
...
Added validatesAbsenceOf. Handle async with if/unless prevention of
validators correctly. See: #170 #158
2014-07-11 22:56:02 +02:00
Fabien Franzen
5f1431aa05
Don't check uniqueness of blank values
2014-07-11 22:07:57 +02:00
Fabien Franzen
6aaa3f216e
RelationDefinition applyScope/applyMapping
...
Add the ability to set static/dynamic filtering (where, order, limit,
skip, fields …) and property mapping/transfer (de-normalization) for
hasMany/hasOne.
2014-07-11 15:29:47 +02:00
Raymond Feng
2dfef8cc7f
Merge pull request #167 from strongloop/feature/allow-default-model
...
Allows default model class to be configured
2014-07-09 08:36:55 -07:00
Raymond Feng
a37129bdff
Allows default model class to be configured
2014-07-08 14:04:20 -07:00
Raymond Feng
42c6973979
Merge pull request #164 from STRML/master
...
DAO.prototype.exists should return 'boolean' type.
2014-07-08 13:52:19 -07:00
Samuel Reed
b66183f7dc
DAO.prototype.exists should return 'boolean' type.
...
Signed-off-by: Samuel Reed <samuel.trace.reed@gmail.com>
2014-07-08 15:51:24 -05:00
Miroslav Bajtoš
bf17304558
Merge tag 'v1.6.3'
...
1.6.3
2014-07-03 08:42:18 +02:00
Miroslav Bajtoš
f720980afe
Merge branch 'release/1.6.3' into production
2014-07-03 08:42:14 +02:00
Miroslav Bajtoš
1e3be7f474
1.6.3
2014-07-03 08:41:31 +02:00
Miroslav Bajtoš
c92538143a
Merge pull request #162 from strongloop/feature/fix-deleteById-remoting
...
Make sure 'deleteById' is used as the remote operation name
2014-07-03 08:22:32 +02:00
Miroslav Bajtoš
0296ef113d
Make sure 'deleteById' is used as the remote operation name
...
See strongloop/loopback#359
2014-07-03 08:17:01 +02:00
Raymond Feng
21b467e649
Merge pull request #160 from strongloop/feature/fix-upsert-remoting
...
Make sure 'upsert' is used as the remote operation name
2014-07-02 22:55:47 -07:00
Raymond Feng
f7afade229
Make sure 'upsert' is used as the remote operation name
...
See https://github.com/strongloop/loopback/issues/359
2014-07-02 12:20:56 -07:00
Raymond Feng
8a7e5806a3
Merge tag 'v1.6.2'
...
1.6.2
2014-06-27 10:13:26 -07:00
Raymond Feng
748e674a15
Merge branch 'release/1.6.2' into production
2014-06-27 10:13:16 -07:00
Raymond Feng
e7a97da3bf
Bump version and update deps
2014-06-27 10:12:10 -07:00
Raymond Feng
e45834b454
Merge pull request #156 from strongloop/feature/fix-lb-353
...
Make sure type of the foreign key match the primary key
2014-06-27 10:08:54 -07:00
Raymond Feng
d0e61af26f
Merge pull request #157 from strongloop/feature/query-order
...
Normalize filter.order and enforce more checks
2014-06-27 10:01:33 -07:00
Ritchie Martori
53fd123a19
Merge pull request #155 from strongloop/fix/missing-relation-type
...
Add "hasOne" to relationTypes
2014-06-27 09:47:45 -07:00
Raymond Feng
e0c7619908
Normalize filter.order and enforce more checks
2014-06-26 23:40:20 -07:00
Raymond Feng
4515491318
Make sure type of the foreign key match the primary key
...
See https://github.com/strongloop/loopback/issues/353
2014-06-26 23:38:04 -07:00
Ritchie Martori
a3ed1a575e
Add "hasOne" to relationTypes
2014-06-26 14:48:27 -07:00
Rand McKinney
a1d3e72046
Update link to doc
2014-06-24 16:15:35 -07:00
Miroslav Bajtoš
a7124c4821
2.0.0-beta2
2014-06-24 08:29:21 +02:00
Miroslav Bajtoš
89fbf168fc
Merge pull request #152 from strongloop/fix-validation-error-stack-in-browsers
...
[2.0] validations: support non-V8 browsers
2014-06-24 08:27:04 +02:00
Miroslav Bajtoš
3572ecd12d
validations: support non-V8 browsers
...
Call `Error.captureStackTrace()` only when it is available.
Use `this.stack = (new Error).stack` when `captureStackTrace` is not
available but the `stack` property is (Firefox).
2014-06-23 14:39:37 +02:00
Raymond Feng
ce8254125f
Merge branch 'master' into 2.0
2014-06-21 12:53:46 -07:00
Raymond Feng
3edee5c4c5
Work around for Date default
...
See https://github.com/strongloop/loopback-connector-postgresql/issues/15
2014-06-21 12:53:06 -07:00
Raymond Feng
332579ec87
Synchronize with cachedRelations
2014-06-21 11:44:33 -07:00
Raymond Feng
cbee68706f
Remove remoting metadata
2014-06-20 23:54:46 -07:00
Raymond Feng
44de2da21f
Merge branch 'master' into 2.0
2014-06-20 23:02:37 -07:00
Raymond Feng
a3b178cbea
Merge tag 'v1.6.1'
...
1.6.1
2014-06-20 21:33:38 -07:00
Raymond Feng
83cb174b1e
Merge branch 'release/1.6.1' into production
2014-06-20 21:33:32 -07:00