Commit Graph

1063 Commits

Author SHA1 Message Date
Raymond Feng 6e1900ca01 Add tests 2014-01-27 16:04:37 -08:00
Raymond Feng 1339250c8f Promote the included relations as properties 2014-01-27 15:56:04 -08:00
Miroslav Bajtoš 08fb43adb2 Merge tag 'v1.2.13'
v1.2.13
2014-01-27 10:15:20 +01:00
Miroslav Bajtoš 758cea9f5c Merge branch 'release/1.2.13' into production 2014-01-27 10:15:12 +01:00
Miroslav Bajtoš 3cc51a2dff v1.2.13 2014-01-27 10:14:15 +01:00
Raymond Feng 2b8c1ebaee Reformat the code 2014-01-24 09:09:53 -08:00
Raymond Feng 58a06272c3 Merge pull request #61 from strongloop/feature/fix-foreign-key
Use the primary key type for the generated foreign key
2014-01-24 08:31:02 -08:00
Rand McKinney 9391c6e14e Improve links to docs 2014-01-23 11:00:12 -08:00
Miroslav Bajtoš 411bb6e311 Merge pull request #60 from strongloop/feature/improve-remoting-metadata
Fill ModelClass.http.path
2014-01-22 09:06:19 -08:00
Raymond Feng c374cc89cd Use the primary key type for the generated foreign key 2014-01-21 09:47:32 -08:00
Miroslav Bajtoš dbb7c6d9ae Fill ModelClass.http.path
Set the HTTP route to `'/' + pluralModelName` so that we don't have
to duplicate this bit of logic in strong-remoting and other places.
2014-01-21 16:31:11 +01:00
Giustino Borzacchiello 803821e736 Fix jsdoc code examples formatting
Some examples in the docs were not showing as code snippets,
but as regular text.
2014-01-20 10:47:23 +01:00
Raymond Feng 4c83a8b50f Merge tag 'v1.2.12'
1.2.12
2014-01-13 13:22:13 -08:00
Raymond Feng bf30a00a94 Merge branch 'release/1.2.12' into production 2014-01-13 13:22:06 -08:00
Raymond Feng a8606f4b8e Bump version 2014-01-13 13:21:13 -08:00
Raymond Feng a81c2a4b41 Merge pull request #57 from strongloop/feature/require-connector
Allows the full module name for connectors
2014-01-13 13:20:17 -08:00
Raymond Feng 2a50388894 Make the code testable following the review comments 2014-01-13 11:06:02 -08:00
Raymond Feng acd02bf482 Allows the full module name for connectors 2014-01-09 17:03:37 -08:00
Raymond Feng 61039dbf87 Merge tag 'v1.2.11'
1.2.11
2013-12-20 18:27:16 -08:00
Raymond Feng 4982858819 Merge branch 'release/1.2.11' into production 2013-12-20 18:27:11 -08:00
Raymond Feng 96d9da290d Bump version 2013-12-20 18:25:56 -08:00
Raymond Feng a9720d4b08 Merge pull request #56 from strongloop/feature/fix-relation-remoting
Fix the remoting method with the current receiver (this)
2013-12-20 18:24:21 -08:00
Raymond Feng d9d9d82141 Add more comments 2013-12-20 17:49:14 -08:00
Raymond Feng f1773857bb Fix the remote delegation 2013-12-20 17:28:21 -08:00
Raymond Feng 1f965bfedb Fix the remoting method with the current receiver (this) 2013-12-20 14:47:41 -08:00
Raymond Feng cab59eb61b Merge pull request #55 from strongloop/feature/import-models
Add models to LDL options
2013-12-18 19:14:40 -08:00
Raymond Feng c9e133d7bc Add a EOL 2013-12-18 17:14:54 -08:00
Raymond Feng e1ec152c78 Add models to LDL options
1. Use 'models' to specify the dependencies to other models
2. The 'models' property is an object, such as:

{
    Model1: 'Model1',
    Model2: Model2
}

3. The model classes will be injected into the newly defined class as
static properties using the keys from the models option.
2013-12-18 16:13:41 -08:00
Raymond Feng 7d19b94c97 Merge pull request #53 from strongloop/feature/fix-merge-acls
Fix a bug in merging ACLs
2013-12-16 17:23:57 -08:00
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