Commit Graph

2989 Commits

Author SHA1 Message Date
Biniam Admikew 0ca56309ea Merge pull request #1438 from fullcube/tkp/validatesFormatOf-numbers-1437
fix: support numbers in validatesFormatOf
2017-08-03 16:01:26 -04:00
Tom Kirkpatrick 1ebad655e4 test: call true/false in isValid checks 2017-08-03 14:47:11 -04:00
Tom Kirkpatrick 138b99c703 fix: support numbers in validatesFormatOf
Fix for #1437
2017-08-03 14:47:11 -04:00
Raymond Feng 03753b6fe2 Fix undefined properties in where
https://github.com/strongloop/loopback/issues/2364
2017-08-03 14:09:21 -04:00
Sakib Hasan c813bf19fb Merge pull request #1451 from strongloop/backwards-compatability-validate-update
Honor backwards compatibility with validate update
2017-08-03 13:43:01 -04:00
ssh24 80f015c2d2 Honor backwards compatability with validate update 2017-08-03 11:50:44 -04:00
Sakib Hasan b8739cf80f Merge pull request #1450 from strongloop/fix/validation-callback
Fix update validation callback
2017-08-02 16:08:51 -04:00
ssh24 9cd0108fc6 Fix update validation callback 2017-08-02 14:55:47 -04:00
Sakib Hasan 2f7dd90f1f Merge pull request #1445 from strongloop/fix/validate-update
Add validation on update
2017-08-02 14:12:40 -04:00
ssh24 b1a0cb8c3b Validate updateAll 2017-08-02 13:24:21 -04:00
Sakib Hasan edf93fca17 Merge pull request #1449 from strongloop/fix/array-sort
Sort arrays before comparing
2017-08-02 11:14:22 -04:00
ssh24 aec1179a30 Sort arrays before testing
Sorting the array so the ordering is the same
2017-08-02 10:45:36 -04:00
Diana Lau dcf83dc6af Merge pull request #1447 from strongloop/translate
update translation file
2017-08-02 09:21:52 -04:00
Diana Lau 5c566274c0 update translation file 2017-08-01 22:53:25 -04:00
dmellonch 1b7c346bca Missing the option argument (#1426)
* Fix missing option arguments in scope.js

Added option arguments in find.relatedmodel
Added case test

* Add order filter in verify function

Fix for cloudant test
2017-08-01 14:15:21 -04:00
Diana Lau 25ead1ce97 Merge pull request #1440 from strongloop/add-codeowner
Add CODEOWNERS file
2017-07-26 22:28:09 -04:00
Biniam Admikew fc83ff14a5 Merge pull request #1439 from strongloop/use-connector-flag
use connector flag throughout tests
2017-07-26 21:44:54 -04:00
Diana Lau bf2679a885 Add CODEOWNER file 2017-07-26 20:50:07 -04:00
biniam 59b3ac22a8 use connector flag throughout tests 2017-07-26 16:18:30 -04:00
Kevin Delisle bebac1ee3f 3.9.3
* Catch errors using cb (loay)
 * Rename getAsync() methods to find() and get() (Jürg Lehni)
 * #1386 Allow empty values when allowBlank is true (Simo Moujami)
 * Skip imcompatible tests (#1420) (Janny)
 * Run juggler tests for Cloudant (#1414) (Janny)
2017-07-26 10:37:13 -04:00
Diana Lau 03fc097f28 Merge pull request #1435 from strongloop/create-update-pass3
Catch errors using cb
2017-07-24 15:11:13 -04:00
loay b1b2d5df0c Catch errors using cb 2017-07-24 14:08:58 -04:00
Diana Lau ff9b25a905 Merge pull request #1432 from simoami/master
#1386 Allow empty values when allowBlank is true
2017-07-20 11:23:54 -04:00
Miroslav Bajtoš 1fb7b0e24d Merge pull request #1424 from lehni/feature/rename-get-async
Rename getAsync() methods to find() and get()
2017-07-20 15:15:12 +02:00
Jürg Lehni 4c9e91423f
Rename getAsync() methods to find() and get()
Keep getAsync() around for backward compatibility, but deprecate it
2017-07-20 14:48:29 +02:00
Simo Moujami 82a8e3d9a1 #1386 Allow empty values when allowBlank is true 2017-07-19 19:26:13 -04:00
Janny 6a1b55568c Skip imcompatible tests (#1420)
* Skip imcompatible tests
2017-07-18 15:20:21 -04:00
Janny b9129e6973 Run juggler tests for Cloudant (#1414) 2017-07-11 14:56:39 -04:00
Kevin Delisle 5da8170d9e 3.9.2
* Fix the case where qWhere[idKey] is null (Tetsuo Seto)
 * test/helpers: annotate skipped tests (Kevin Delisle)
 * Fix mixins/validatable docs (ssh24)
2017-06-22 17:03:33 -04:00
Tetsuo Seto b79763d065 Merge pull request #1401 from strongloop/smart-merge-fix
Fix the case where qWhere[idKey] is null
2017-06-09 10:14:41 -07:00
Tetsuo Seto 4a6f0a4aa0 Fix the case where qWhere[idKey] is null 2017-06-09 09:33:22 -07:00
Kevin Delisle 1f27ca57b2 Merge pull request #1398 from strongloop/debug-annotations-for-tests
test/helpers: annotate skipped tests
2017-06-07 17:10:24 -04:00
Kevin Delisle 828a71e576 test/helpers: annotate skipped tests
Differentiate between tests skipped by feature flags, and those
manually marked as skipped.

Tests that use the bdd.describe and bdd.it helper functions
will be marked as [UNSUPPORTED] if they are conditionally disabled.
2017-06-07 14:05:48 -04:00
Sakib Hasan 3b45c76d0f Merge pull request #1395 from strongloop/fix/api-docs-mixins-validatable
Fix mixin and validatable docs
2017-06-06 14:46:21 -04:00
ssh24 98174251f1 Fix mixins/validatable docs 2017-06-06 14:21:49 -04:00
Kevin Delisle a54064b989 3.9.1
* Update translated strings Q2 2017 (Allen Boone)
 * Fix updateAttributes cb (ssh24)
 * Apply iteration on the model object (ssh24)
 * Remove spurious extra options arg (#1390) (Rand McKinney)
 * include: remove JSDoc refs to recursive calls (Kevin Delisle)
 * Fix count of properties (ssh24)
 * hooks: add JSDoc for .trigger (Kevin Delisle)
 * model-builder: JSDoc tidy-up (Kevin Delisle)
2017-06-01 11:37:49 -04:00
Candy fba8cf9480 Merge pull request #1385 from kallenboone/master
Update translated strings Q2 2017
2017-05-31 16:06:17 -04:00
Allen Boone 1f8d34ffb9 Update translated strings Q2 2017 2017-05-31 14:23:15 -04:00
Sakib Hasan 7eca34552d Merge pull request #1392 from strongloop/fix/model-inheritance-test
Apply iteration on the model object
2017-05-30 21:58:56 -04:00
Sakib Hasan 3a10c77cbd Merge pull request #1393 from strongloop/fix/updateAttributes-cb
Fix updateAttributes cb
2017-05-30 21:28:00 -04:00
ssh24 ba1901b2a0 Fix updateAttributes cb
Allow pass through of the new data from the connector
Specifically for cloudant since updateAttributes changes the _rev
2017-05-29 15:32:32 -04:00
ssh24 e791e9006c Apply iteration on the model object 2017-05-26 18:49:54 -04:00
Rand McKinney 0a056adee4 Remove spurious extra options arg (#1390)
* Remove spurious extra options arg

* Remove space
2017-05-26 11:34:50 -07:00
Kevin Delisle 3630bb9ae4 Merge pull request #1387 from strongloop/ref/inclusion-docs
include: remove JSDoc refs to recursive calls
2017-05-24 19:41:06 -04:00
Kevin Delisle 1b625228b9 include: remove JSDoc refs to recursive calls 2017-05-24 17:10:45 -04:00
Sakib Hasan 0abfceebaa Merge pull request #1384 from strongloop/fix/model-inheritance-test
Fix count of properties
2017-05-24 10:27:54 -04:00
ssh24 825fa3171c Fix count of properties 2017-05-23 22:17:50 -04:00
Kevin Delisle 1fb4dd70e8 Merge pull request #1383 from strongloop/ref/hookable-docs
hooks: add JSDoc for .trigger
2017-05-23 19:54:32 -04:00
Kevin Delisle d058244594 hooks: add JSDoc for .trigger 2017-05-23 12:12:11 -04:00
Kevin Delisle a007c5a3fa Merge pull request #1379 from strongloop/ref/modelbuilder-apidocs
ModelBuilder API Doc Touchup
2017-05-23 10:38:57 -04:00