Raymond Feng
aabe5fb1c4
Fix a bug in merging ACLs
2013-12-16 17:14:56 -08:00
Raymond Feng
dedffa3fb0
Merge tag 'v1.2.10'
...
1.2.10
2013-12-16 14:28:53 -08:00
Raymond Feng
9fd52f32c3
Merge branch 'release/1.2.10' into production
2013-12-16 14:28:46 -08:00
Raymond Feng
e550a25d7e
Bump version
2013-12-16 14:28:00 -08:00
Raymond Feng
1fcb691e50
Merge pull request #52 from strongloop/feature/fix-geo-near
...
Feature/fix geo near
2013-12-16 14:26:27 -08:00
Raymond Feng
3d9061aa69
Make the identation consistent for now
2013-12-16 08:40:06 -08:00
Raymond Feng
aeecfa5551
Split the tests
2013-12-16 08:36:15 -08:00
Raymond Feng
1b9edbcfcb
Fix a regression in mongodb connector
2013-12-15 22:51:47 -08:00
Raymond Feng
8d1d6f4466
Add more comments
2013-12-15 21:43:21 -08:00
Raymond Feng
9890af119e
Check for null & undefined values
2013-12-14 09:54:28 -08:00
Raymond Feng
fab504b5d9
Fix the coercion issue related to GeoPoint near
2013-12-14 09:49:11 -08:00
Raymond Feng
dab99c4ebb
Merge tag 'v1.2.9'
...
1.2.9
2013-12-14 00:06:05 -08:00
Raymond Feng
d3f8e72115
Merge branch 'release/1.2.9' into production
2013-12-14 00:05:57 -08:00
Raymond Feng
fd6fa3558d
Bump version
2013-12-14 00:04:26 -08:00
Raymond Feng
1cc5988b02
Merge pull request #51 from strongloop/feature/fix-duplicate-methods
...
Dedupe the alias methods during mixin
2013-12-13 16:49:37 -08:00
Raymond Feng
bf592413e1
Dedupe the alias methods during mixin
...
To prevent the same method from showing up multiple times in API explorer,
for example, Model.deleteById, Model.removeById
2013-12-13 16:45:31 -08:00
Ritchie Martori
f757e6918d
1.2.8
2013-12-13 11:30:51 -08:00
Ritchie Martori
efb5b36c84
Merge pull request #50 from strongloop/fix/prototype
...
Always call inherits to ensure prototypes are setup
2013-12-13 11:29:57 -08:00
Ritchie Martori
749a494e53
Always call inherits to ensure prototypes are setup
2013-12-13 11:27:29 -08:00
Raymond Feng
e950264edd
Merge tag 'v1.2.7'
...
1.2.7
2013-12-10 10:10:26 -08:00
Raymond Feng
76edc79232
Merge branch 'release/1.2.7' into production
2013-12-10 10:10:19 -08:00
Raymond Feng
441596b870
Merge pull request #47 from strongloop/feature/query-coercing
...
Coerce query values of where clause based on property types
2013-12-10 10:09:42 -08:00
Raymond Feng
1131914bc6
Bump version
2013-12-10 09:56:35 -08:00
Raymond Feng
99230efe80
Merge pull request #49 from strongloop/feature/merge-settings
...
Merge settings for base and sub models
2013-12-06 16:20:25 -08:00
Raymond Feng
29405976fb
Merge settings for base and sub models
2013-12-06 15:52:39 -08:00
Raymond Feng
6515021e40
Merge tag 'v1.2.6'
...
1.2.6
2013-12-06 08:27:57 -08:00
Raymond Feng
aeb1a7cce2
Merge branch 'release/1.2.6' into production
2013-12-06 08:27:49 -08:00
Raymond Feng
2e4ed3f057
Merge pull request #48 from strongloop/feature/fix-discovery
...
Attach models to the data source
2013-12-05 15:40:43 -08:00
Raymond Feng
96ca0079cc
Merge pull request #46 from strongloop/feature/proxy-shared-methods
...
Clone shared methods so that they can be customized per model
2013-12-05 15:39:41 -08:00
Raymond Feng
adc9482df0
Enhance the test case with more assertions
2013-12-05 15:19:40 -08:00
Raymond Feng
e5824356ca
Fix belongsTo relation
2013-12-04 21:38:40 -08:00
Raymond Feng
8360576c40
Attach models to the data source
2013-12-04 15:24:53 -08:00
Raymond Feng
52d2c8425f
Make all methods proxied for DAO
2013-12-04 13:44:25 -08:00
Ritchie Martori
2bc8d21969
Merge tag 'v1.2.5'
...
1.2.5
2013-12-04 11:41:21 -08:00
Ritchie Martori
e2cd20d73f
Merge branch 'release/1.2.5' into production
2013-12-04 11:41:00 -08:00
Ritchie Martori
9a549cfe5d
Bump version
2013-12-04 11:40:50 -08:00
Raymond Feng
abe6d2bb22
Add more tests to address the PR comments
2013-12-04 10:00:33 -08:00
Raymond Feng
ed6d8839ba
Add a test case
2013-12-03 21:27:46 -08:00
Raymond Feng
a953ba13de
Clone shared methods so that they can be customized per model
2013-12-03 21:14:12 -08:00
Miroslav Bajtoš
9a5241e8e8
Merge pull request #45 from strongloop/feature/improve-validation-error-properties
...
Improve properties of ValidationError
2013-12-02 12:36:36 -08:00
Miroslav Bajtos
b5e0035d73
Improve properties of ValidationError
...
- change `statusCode` from 400 to 422
- nest `context` and `codes` inside `details`
- add `details.messages`
- reword the main error message
Remove the call to Error's constructor from ValidationError constructor,
because it's a no-op - Error's constructor creates a new
instance when called via `.call()`.
2013-12-02 21:35:47 +01:00
Raymond Feng
2df0c4b21d
Coerce types for values of where clause
2013-11-29 14:45:50 -08:00
Rand McKinney
4c0c852c20
Removed most text that's in docs.strongloop.com
2013-11-25 17:03:56 -08:00
Miroslav Bajtoš
8acb4053ab
Merge pull request #44 from strongloop/feature/get-unknown-id-should-return-404
...
REST call of DataAccessObject.findById returns 404
2013-11-21 10:09:04 -08:00
Miroslav Bajtos
f7c48c0d72
REST call of DataAccessObject.findById returns 404
...
Modify the remoting configuration of `DataAccessObject.findById()`
and add a `rest.before` handler that converts `null` to 404 error.
The change is covered by a test in loopback project.
2013-11-21 19:05:52 +01:00
Miroslav Bajtos
e028d44271
Add .jshintignore
...
Ignored paths:
node_modules
support/nodeunit
2013-11-21 19:05:19 +01:00
Raymond Feng
ca9de9665d
Merge tag 'v1.2.4'
...
1.2.4
2013-11-20 11:11:33 -08:00
Raymond Feng
ae9ebdc562
Merge branch 'release/1.2.4' into production
2013-11-20 11:11:27 -08:00
Raymond Feng
c55a5153a5
Bump version
2013-11-20 11:10:40 -08:00
Raymond Feng
88b2d9945c
Merge pull request #43 from strongloop/feature/fix-regression
...
Add properties/methods to DataSource from ModelBuilder
2013-11-20 11:09:29 -08:00