Commit Graph

1094 Commits

Author SHA1 Message Date
Raymond Feng 061b274055 Merge branch 'partial-fix-for-58' of github.com:arlaneenalra/loopback-datasource-juggler 2014-02-12 21:55:53 -08:00
Raymond Feng 4ff189770f Merge tag 'v1.3.1'
1.3.1
2014-02-11 19:49:02 -08:00
Raymond Feng 3d5844d0d9 Merge branch 'release/1.3.1' into production 2014-02-11 19:48:27 -08:00
Raymond Feng e5b03f5bcd Bump version 2014-02-11 19:47:23 -08:00
Raymond Feng 24c76bff0c Revert the inflection version due to regression in camelize 2014-02-11 15:39:40 -08:00
Raymond Feng d8e11590e2 Merge tag 'v1.3.0'
1.3.0
2014-02-11 14:34:28 -08:00
Raymond Feng c653483568 Merge branch 'release/1.3.0' into production 2014-02-11 14:34:20 -08:00
Raymond Feng e7c84c333f Bump version and update deps 2014-02-11 14:31:26 -08:00
Raymond Feng dbd97eb423 Merge pull request #68 from strongloop/feature/fix-lb-162
Make sure own properties are copied by toObject for non-strict mode
2014-02-11 14:29:21 -08:00
Raymond Feng 22eef6a33d Add a test case 2014-02-10 22:46:25 -08:00
Raymond Feng 85232f31b3 Clean up the options for model constructor 2014-02-10 22:38:59 -08:00
arlaneenalra 99dff35de2 Add unit test for datatype handling in updateAttributes. 2014-02-07 06:50:35 -06:00
arlaneenalra 5252d0e805 Move new var into thunk.
There really was no reason for it to be in the
outer context.
2014-02-05 22:21:27 -06:00
arlaneenalra abd46961da Use type converted data when writing back to database.
This allows foreignKey types and other custom types
to be converted into natvie values before writing them
to the database.
2014-02-04 23:10:42 -06:00
Raymond Feng 1961fbeefe Enhance the assertions 2014-02-03 20:52:01 -08:00
Ritchie Martori 61a54da418 Merge pull request #65 from strongloop/feature/change-hook
Add change / delete events
2014-01-30 13:54:47 -08:00
Raymond Feng ee5b351398 Make sure own properties are copied by toObject for non-strict mode
See https://github.com/strongloop/loopback/issues/162
2014-01-30 11:51:34 -08:00
Raymond Feng 38e31b3033 Merge pull request #62 from strongloop/feature/connector-metadata
Add getType/getDefaultIdType from connectors
2014-01-29 17:26:15 -08:00
Raymond Feng da571c0c23 Use String[] for types and add test for supported types 2014-01-29 17:19:07 -08:00
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