Commit Graph

1375 Commits

Author SHA1 Message Date
Raymond Feng cf200a2e27 Add getType/getDefaultIdType from connectors 2014-01-29 17:19:07 -08:00
Raymond Feng e65d21dcdb Merge pull request #67 from strongloop/feature/memory-persistence
Add an option for the memory connector to persist model instances
2014-01-29 17:18:00 -08:00
Raymond Feng 349205ce69 Merge pull request #66 from strongloop/feature/fix-through
Fix a regression caused by 'include' changes
2014-01-29 15:18:53 -08:00
Raymond Feng 130dcdb582 Fix the write closure to use the correct task info 2014-01-29 13:41:42 -08:00
Raymond Feng 6b535f5d1c Add a file option for the memeory connector to persist data 2014-01-29 12:04:09 -08:00
Ritchie Martori e909749455 Add tests for change / delete events 2014-01-29 11:03:04 -08:00
Raymond Feng c008c4d30a Add more comments 2014-01-28 23:01:11 -08:00
Raymond Feng 2a57a909f0 Clean up lookupModel 2014-01-28 18:00:12 -08:00
Raymond Feng 43637a690d Handle hasMany.though 2014-01-28 17:59:59 -08:00
Ritchie Martori bef1bc1ca4 Add change / delete events 2014-01-28 13:51:45 -08:00
Raymond Feng 3b6070fe58 Merge pull request #64 from strongloop/feature/fix-include
Fix the response for included models following relations
2014-01-28 10:21:43 -08:00
Raymond Feng 93c18163c8 Make sure __cachedRelations is not enumerable 2014-01-28 09:57:23 -08:00
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