Commit Graph

1471 Commits

Author SHA1 Message Date
Fabien Franzen 7cd880712b Handle toObject in updateAttributes
Since one can call updateAttributes with any kind of properties (as
opposed to save, which uses toObject internally), any objects that
correspond to toObject should be handled as such. This is particularly
the case with List objects, as used by embedsMany.
2014-08-15 18:01:40 +02:00
Miroslav Bajtoš 6ea6f19752 Merge pull request #209 from fabien/fix/refactor-modelto
Refactor modelTo
2014-08-14 20:00:24 +02:00
Fabien Franzen 807a6aaf3f Refactor modelTo logic into lookupModelTo 2014-08-14 19:43:30 +02:00
Miroslav Bajtoš 12514b01d0 Merge pull request #210 from fabien/fix/embeds-many
Tiny fix: use setAttributes
2014-08-14 18:55:00 +02:00
Rand McKinney 4cb22793e2 Fix links to confluence docs 2014-08-11 11:42:21 -07:00
Fabien Franzen 93fab448bc Tiny fix: use setAttributes 2014-08-11 13:03:51 +02:00
Raymond Feng c3f7a7acb5 Merge tag 'v2.3.1'
2.3.1
2014-08-08 15:54:32 -07:00
Raymond Feng a848628db8 Merge branch 'release/2.3.1' into production 2014-08-08 15:54:23 -07:00
Raymond Feng c53dc74d16 Fix a name conflict in scope metadata 2014-08-08 15:52:30 -07:00
Raymond Feng a48d2fdfeb Merge tag 'v2.3.0'
2.3.0
2014-08-08 09:45:38 -07:00
Raymond Feng 82475b58af Merge branch 'release/2.3.0' into production 2014-08-08 09:45:32 -07:00
Raymond Feng 950be998bc Fix the test case so that it works with other DBs 2014-08-08 09:39:36 -07:00
Raymond Feng 366ff3bf62 Bump version 2014-08-08 09:30:16 -07:00
Raymond Feng caff62d8b3 Merge branch 'fabien-feature/plugins' 2014-08-08 09:29:17 -07:00
Raymond Feng 3d5ec63c99 Pass options into scope 2014-08-08 09:25:49 -07:00
Raymond Feng 7fe7bf9b9a Add scope definitions to the model class
See https://github.com/strongloop/loopback/issues/454
2014-08-08 09:01:24 -07:00
Raymond Feng f671c9c726 Clean up the mixin processing 2014-08-08 01:20:57 -07:00
Raymond Feng 55ff28206f Merge branch 'feature/plugins' of github.com:fabien/loopback-datasource-juggler into fabien-feature/plugins 2014-08-07 22:51:25 -07:00
Raymond Feng 0adf440cd1 Merge pull request #203 from lchenay/patch-5
Fix bug when using multiple include keys on related method
2014-08-07 17:01:46 -07:00
Raymond Feng 327f142a89 Merge tag 'v2.2.2'
2.2.2
2014-08-07 10:37:35 -07:00
Raymond Feng 695078df78 Merge branch 'release/2.2.2' into production 2014-08-07 10:37:29 -07:00
Raymond Feng 3efd758658 Bump version 2014-08-07 10:36:49 -07:00
Raymond Feng 1cb4ea2ff0 Upgrade qs 2014-08-07 10:35:13 -07:00
Laurent 71398518ff Fix bug when using multiple include keys 2014-08-06 20:40:24 +02:00
Fabien Franzen 35776311fd Unified plugins into mixins
Mixin types: module function, module object, LDL json object.
2014-08-06 13:26:47 +02:00
Fabien Franzen 455ee9ec63 Fix typo: loadPlugin(s) 2014-08-05 16:28:17 +02:00
Fabien Franzen f1f692a8a5 Minor touch-ups 2014-08-05 16:26:34 +02:00
Fabien Franzen 1a4e8863ef Basic plugin architecture
Similar to http://mongoosejs.com/docs/plugins.html

Next, loopback-boot should be updated to support loading plugins from
dirs.
2014-08-05 16:16:10 +02:00
Raymond Feng 5a2bb6548a Upgrade qs version 2014-08-04 16:37:21 -07:00
Raymond Feng 1ec502404b Merge tag 'v2.2.1'
2.2.1
2014-08-04 15:36:09 -07:00
Raymond Feng 5a4d78ffc8 Merge branch 'release/2.2.1' into production 2014-08-04 15:36:03 -07:00
Raymond Feng e89a79916a Bump version 2014-08-04 15:29:45 -07:00
Raymond Feng d07b716ae8 Merge pull request #200 from strongloop/feature/emit-events-during-attach
Emit dataAccessConfigured events during attach
2014-08-04 15:27:11 -07:00
Raymond Feng c0dce8ff63 Merge pull request #199 from fabien/feature/normalize-url
Customize/Normalize class-level remoting http path
2014-08-04 11:04:32 -07:00
Fabien Franzen 93aea7eb66 Changed options.path to option.http.path 2014-08-04 19:45:47 +02:00
Fabien Franzen 81a822524d Removed normalization (see strong-remoting) 2014-08-04 12:17:06 +02:00
Raymond Feng b9d9ab0fb3 Emit dataAccessConfigured events during attach
See discussions at https://github.com/strongloop/loopback/issues/410
2014-08-01 08:22:33 -07:00
Fabien Franzen ef65ffee48 Changed normalization api - enabled hasOne remoting 2014-08-01 11:24:41 +02:00
Fabien Franzen 71bf0f8240 Customize/Normalize class-level remoting http path 2014-08-01 09:38:25 +02:00
Raymond Feng 1247c449b2 Merge branch 'lchenay-patch-4' 2014-07-30 21:35:20 -07:00
Raymond Feng 6239d8fde5 Merge branch 'patch-4' of github.com:lchenay/loopback-datasource-juggler into lchenay-patch-4 2014-07-30 21:34:41 -07:00
Raymond Feng 7c94cb054e Merge tag 'v2.2.0'
2.2.0
2014-07-30 16:27:45 -07:00
Raymond Feng d334f42ccf Merge branch 'release/2.2.0' into production 2014-07-30 16:27:39 -07:00
Raymond Feng 52a9ab8647 Merge pull request #198 from offlinehacker/master
fix datasources to support new model parameters
2014-07-30 16:26:14 -07:00
Jaka Hudoklin d896a0982e fix datasources to support new model parameters
Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>
2014-07-31 01:06:52 +02:00
Raymond Feng 79af219618 Bump version 2014-07-30 09:19:40 -07:00
Raymond Feng 56a7df4c63 Merge pull request #197 from fabien/feature/references
embedsMany (subdocs) and referencesMany (array of ids)
2014-07-30 09:18:03 -07:00
Fabien Franzen 090c738bb5 Correctly handle remoting of scope methods 2014-07-30 17:30:21 +02:00
Fabien Franzen af0ca5b108 Handle remoting of custom scope methods 2014-07-30 16:46:05 +02:00
Fabien Franzen e38c92af87 ReferencesMany fixes after LB integration tests 2014-07-30 15:01:55 +02:00