Commit Graph

1587 Commits

Author SHA1 Message Date
Fabien Franzen 73330113ae Applied Coobaha's PR fix - prevents undefined values 2014-08-26 17:15:07 +02:00
Fabien Franzen bed97a75cb Expose validation metadata
The new Validatable.validations mixin method returns the validations as
an object
indexed by property name.
2014-08-26 16:56:09 +02:00
Raymond Feng d419ae80d0 Merge tag 'v2.6.1'
2.6.1
2014-08-25 22:19:47 -07:00
Raymond Feng db3351baac Merge branch 'release/2.6.1' into production 2014-08-25 22:19:42 -07:00
Raymond Feng debcc3d831 Bump version 2014-08-25 22:18:19 -07:00
Raymond Feng 6bc2a53afb Tweak the model names used by tests to avoid mssql conflicts 2014-08-25 22:17:51 -07:00
Raymond Feng 4470c02bbc Merge pull request #254 from fabien/fix/has-one-fk
Use the correct dataSource for modelFrom/modelTo
2014-08-22 14:25:44 -07:00
Fabien Franzen b27fd6527e Use the correct dataSource for modelFrom/modelTo 2014-08-22 21:38:28 +02:00
Raymond Feng 129e8f9fd9 Merge tag 'v2.6.0'
2.6.0
2014-08-22 11:08:37 -07:00
Raymond Feng ffe1ead124 Merge branch 'release/2.6.0' into production 2014-08-22 11:08:32 -07:00
Raymond Feng b26dc8207b Bump version 2014-08-22 11:07:24 -07:00
Raymond Feng ce12db3e45 Merge pull request #250 from offlinehacker/embedsMany_deleted
Emit deleted event on delete for embedsMany relations
2014-08-22 11:05:21 -07:00
Raymond Feng 0f3e7d50bd Merge pull request #239 from strongloop/feature/add-ping
Add ping() to test connections
2014-08-22 09:30:43 -07:00
Jaka Hudoklin 000c380a48 Emit deleted event on delete for embedsMany relations
Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>
2014-08-22 16:02:01 +02:00
Raymond Feng fb91c5463e Merge tag 'v2.5.2'
2.5.2
2014-08-21 13:51:06 -07:00
Raymond Feng dbc03178c0 Merge branch 'release/2.5.2' into production 2014-08-21 13:51:00 -07:00
Raymond Feng 9e25cf1cd3 Bump version 2014-08-21 13:50:15 -07:00
Raymond Feng fcd8ed984c Make sure falsy value is kept for properties not predefined 2014-08-21 13:47:09 -07:00
Raymond Feng 07e65d6618 Merge tag 'v2.5.1'
2.5.1
2014-08-21 11:42:57 -07:00
Raymond Feng f6ef201ec8 Merge branch 'release/2.5.1' into production 2014-08-21 11:42:50 -07:00
Raymond Feng 76119e1f56 Bump version 2014-08-21 10:59:31 -07:00
Raymond Feng b8a6183a2a Merge branch 'fabien-fix/issue-242' 2014-08-21 10:54:46 -07:00
Fabien Franzen 3f0380296a Fix side-effects of PR #237 - see #242 2014-08-21 10:44:55 +02:00
Raymond Feng 3875c561e0 Add ping() to test connections 2014-08-20 16:31:23 -07:00
Raymond Feng 2d6068794c Merge tag 'v2.5.0'
2.5.0
2014-08-20 15:09:34 -07:00
Raymond Feng 7b00635d82 Merge branch 'release/2.5.0' into production 2014-08-20 15:09:28 -07:00
Raymond Feng 6f680f92fc Bump version 2014-08-20 15:08:33 -07:00
Raymond Feng 1088055c2f Merge branch 'fabien-feature/to-one-update' 2014-08-20 14:36:16 -07:00
Raymond Feng a43bed1f1b Merge branch 'feature/to-one-update' of github.com:fabien/loopback-datasource-juggler into fabien-feature/to-one-update 2014-08-20 14:30:38 -07:00
Raymond Feng 9398ea863c Merge branch 'fabien-feature/embeds-one' 2014-08-20 14:29:00 -07:00
Raymond Feng f5839fb6ae Merge branch 'feature/embeds-one' of github.com:fabien/loopback-datasource-juggler into fabien-feature/embeds-one 2014-08-20 14:28:45 -07:00
Raymond Feng af329e3a66 Save the instance even the callback is not present 2014-08-20 14:22:47 -07:00
Raymond Feng b9c8018ca0 Merge branch 'fabien-feature/embeds-one' 2014-08-20 13:57:25 -07:00
Raymond Feng a1c1a9c658 Fix the embedsOne test cases 2014-08-20 11:42:14 -07:00
Raymond Feng beaf6e5345 Merge branch 'master' into fabien-feature/embeds-one 2014-08-20 09:25:20 -07:00
Raymond Feng 5088c4dd74 Fix test cases 2014-08-20 08:58:08 -07:00
Fabien Franzen 20e5d3c01b Validate embedded models by default 2014-08-20 08:58:08 -07:00
Fabien Franzen 1ec5357a6c Implemented embedsOne 2014-08-20 08:58:08 -07:00
Fabien Franzen faed0510c1 Coerce embedded model types 2014-08-20 08:58:07 -07:00
Fabien Franzen 3b81b928fb Implement DAO unsetAttribute 2014-08-20 08:57:20 -07:00
Raymond Feng 1705bd0f7f Merge pull request #237 from fabien/fix/rdbms-relations
Fix relations for RDBMS connectors (mysql, postgresql)
2014-08-20 08:53:40 -07:00
Fabien Franzen af99a8d344 Implemented belongsTo update/destroy on scope 2014-08-20 16:46:54 +02:00
Fabien Franzen 12ebaf77f2 Implemented hasOne destroy() 2014-08-20 15:58:45 +02:00
Fabien Franzen 123b2558a1 Implemented hasOne update() 2014-08-20 15:54:47 +02:00
Fabien Franzen 1d5079d811 Implement update() on embedsOne scope 2014-08-20 15:37:40 +02:00
Fabien Franzen a446551a59 Fix relations for RDBMS connectors (mysql, postgresql)
- fix tests (explicit model/property definitions)
- fix include vs. RDBMS model strictness
2014-08-20 14:03:38 +02:00
Raymond Feng 0290109cdb Fix test cases 2014-08-19 15:23:37 -07:00
Fabien Franzen 6f815526b0 Validate embedded models by default 2014-08-19 22:15:30 +02:00
Fabien Franzen 7c901af6d9 Implemented embedsOne 2014-08-19 22:10:35 +02:00
Fabien Franzen 2b262c04f6 Coerce embedded model types 2014-08-19 22:06:55 +02:00