Miroslav Bajtoš
934b5a3fa9
1.5.2
2014-05-20 17:59:05 +02:00
Miroslav Bajtoš
8b29ad0974
Merge pull request #116 from strongloop/feature/improve-validation-error-toString
...
validations: include more details in `err.message`
2014-05-20 17:46:26 +02:00
Miroslav Bajtoš
05410d56e1
validations: include more details in `err.message`
...
Modify ValidationError constructor to include the model name and
a human-readable representation of the validation errors (messages)
in the error message.
Before this change, the message was pointing the reader
to `err.details`. Most frameworks (e.g. express, mocha) log only
`err.message` but not other error properties, thus the logs were
rather unhelpful.
Example of the new error message:
The `User` instance is not valid. Details: `name` can't be blank.
2014-05-20 11:00:19 +02:00
Raymond Feng
a4af82a2c9
Merge tag 'v1.5.1'
...
1.5.1
2014-05-16 10:08:01 -07:00
Raymond Feng
929807a92c
Merge branch 'release/1.5.1' into production
2014-05-16 10:07:55 -07:00
Raymond Feng
a9a7ab1315
Bump version
2014-05-16 08:52:25 -07:00
Raymond Feng
7c7855ddc9
Add a path to show customer.orders(query, cb)
2014-05-16 08:50:58 -07:00
Raymond Feng
981185f4c0
Merge pull request #112 from strongloop/feature/logical-operator
...
Add support for logical operator (AND/OR)
2014-05-16 08:46:25 -07:00
Raymond Feng
aab66d3131
Merge pull request #114 from adamschwartz/master
...
Fix typo "Unkown" => "Unknown"
2014-05-16 08:46:06 -07:00
Adam Schwartz
49f0e5dcee
Fix typo "Unkown" => "Unknown"
2014-05-15 23:26:17 -04:00
crandmck
ba3653d406
Updated JSDoc comments with content from .md file
2014-05-15 17:59:23 -07:00
Raymond Feng
8f9dc1b867
Add support for logical operator (AND/OR)
2014-05-15 08:56:00 -07:00
Miroslav Bajtoš
f4dc78e9c6
Merge tag 'v1.5.0'
...
v1.5.0
2014-05-15 09:36:40 +02:00
Miroslav Bajtoš
800202516c
Merge branch 'release/1.5.0' into production
2014-05-15 09:36:20 +02:00
Miroslav Bajtoš
ed533485aa
1.5.0
2014-05-15 09:35:55 +02:00
Miroslav Bajtoš
1f2d012842
Merge pull request #110 from strongloop/feature/multi-column-unique-validation
...
validations: support multi-key unique constraint
2014-05-15 09:31:55 +02:00
Miroslav Bajtoš
2a74bdc4de
validations: support multi-key unique constraint
...
Modify the "unique" validator to accept additional property names to
narrow the space of rows searched for duplicates.
Example:
Consider `SiteUser` belongsTo `Site` via `siteId` foreign key.
Inside every site, the user email must be unique. It is allowed to
register the same email with multiple sites.
SiteUser.validateUniquenessOf('email', { scopedTo: ['siteId'] });
2014-05-15 09:15:44 +02:00
crandmck
1db35cc926
Update JSDoc comments with content from api-model.md
2014-05-14 18:30:42 -07:00
Rand McKinney
affe3cd943
Add JSDoc for lat and lng properties.
2014-05-14 16:34:24 -07:00
skawful@gmail.com
7a02c0935b
1.4.0
2014-05-14 13:47:06 -07:00
Ritchie Martori
db33808502
Merge pull request #107 from strongloop/feature/local-storage
...
Local storage support for memory connector
2014-05-14 13:44:12 -07:00
skawful@gmail.com
afcb877c32
Merge
2014-05-14 13:35:57 -07:00
Ritchie Martori
2922eb63b7
Merge
2014-05-14 13:33:46 -07:00
Ritchie Martori
ad752747d3
Add missing changed event
2014-05-14 13:31:15 -07:00
Ritchie Martori
6c91201f79
Local Storage
2014-05-14 13:31:15 -07:00
Ritchie Martori
0866a55cb2
Do not .toObject if already Object
2014-05-14 13:31:15 -07:00
Raymond Feng
98d5967be7
Merge pull request #109 from EagerIO/master
...
Fix bug where invalid relations in include filters would hang the server
2014-05-13 11:30:09 -07:00
Zack Bloom
dd4089d1c7
Fix bug where invalid relations in include filters would hang the server
2014-05-13 13:59:15 -04:00
Raymond Feng
d3fc157601
Update deps
2014-05-13 08:46:34 -07:00
Raymond Feng
eae6afc456
Merge tag 'v1.3.13'
...
1.3.13
2014-05-13 08:35:50 -07:00
Raymond Feng
853c8a1c07
Merge branch 'release/1.3.13' into production
2014-05-13 08:35:42 -07:00
Raymond Feng
4b93adfbe9
Bump version
2014-05-13 08:34:44 -07:00
Raymond Feng
839be42b82
Merge pull request #108 from strongloop/feature/fix-mongo-upsert
...
Feature/fix mongo upsert
2014-05-13 08:33:08 -07:00
Ritchie Martori
a04c13afef
Add missing changed event
2014-05-09 17:18:28 -07:00
Raymond Feng
3f410cae21
Add test cases for updateOrCreate/save and fix related issues
2014-05-09 15:27:45 -07:00
Raymond Feng
0bcbe6ceae
Remove undefined for the data to be saved
2014-05-09 09:59:34 -07:00
Raymond Feng
4a907b0a18
Remove the undefined property to avoid mongodb upsert overwrite
2014-05-08 15:46:39 -07:00
Raymond Feng
8b128b566d
Make sure ObjectID type is not parsed as object
2014-05-08 15:46:14 -07:00
crandmck
cf75f55f73
Fix JSDoc - remove newlines from function alias declarations, etc.
2014-05-07 11:24:49 -07:00
Ritchie Martori
cbf99d57a9
Local Storage
2014-05-07 07:47:12 -07:00
Rand McKinney
a765ea31ab
Correct JSDoc for discoverModelDefinitions
2014-05-06 14:18:10 -07:00
Ritchie Martori
4049f7338e
Do not .toObject if already Object
2014-05-05 07:23:12 -07:00
Ritchie Martori
9b9833df0f
1.3.12
2014-05-01 14:25:49 -07:00
Ritchie Martori
977c5d1572
Merge pull request #106 from strongloop/fix/id-urls-remoting
...
Fix remoting for IDs in URLs
2014-05-01 14:25:31 -07:00
Ritchie Martori
45eadabbeb
Fix remoting for IDs in URLs
2014-05-01 14:19:31 -07:00
Ritchie Martori
503da59218
1.3.11
2014-04-11 12:37:24 -07:00
Ritchie Martori
4518a07bf2
Merge pull request #100 from strongloop/fix/hidden-nested
...
Add hidden property support
2014-04-11 12:36:30 -07:00
Ritchie Martori
aea5836569
Add hidden property support
2014-04-11 11:39:57 -07:00
Miroslav Bajtoš
b717eafba2
Merge pull request #99 from strongloop/feature/scope-like-rest-methods-for-belongsTo
...
scope-like remotable metadata for belongsTo
2014-04-08 10:33:56 -07:00
Miroslav Bajtoš
440dfaf3a7
scope-like remotable metadata for belongsTo
...
Modify the methods created by `belongsTo` relation to mimick the methods
created by scopes (e.g. via `hasMany` relation).
This allows client code generators like loopback-angular to use the same
code for all relation types.
2014-04-08 10:30:57 +02:00