Commit Graph

1203 Commits

Author SHA1 Message Date
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
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