Commit Graph

2686 Commits

Author SHA1 Message Date
Simon Ho f38709b7cb Add flush operation to KVAO
Used to delete all keys (and values) associated to the current model.
2016-12-30 18:06:36 -08:00
Simon Ho d095cc1161 Merge pull request #1194 from strongloop/1237/fix-block-padding
Fix block padding
2016-12-21 14:17:42 -08:00
Miroslav Bajtoš 0ad75bd93e 3.1.1
* Update package.json for LB3 release (Simon Ho)
 * Fix eslint errors reported by the latest eslint (Miroslav Bajtoš)
 * Fix HasOne.update to propagate options arg (Miroslav Bajtoš)
 * Fix linter errors for CI (Simon Ho)
 * Replicate .github from loopback repo (Siddhi Pai)
 * Update ko translation file (Candy)
 * Honour allowExtendedOperators in "DAO.find" (Miroslav Bajtoš)
 * Fix MySql CI server Failure (Loay)
 * Upgrade eslint & config to latest (Miroslav Bajtoš)
2016-12-21 16:04:41 +01:00
Miroslav Bajtoš 05f10c859e Merge pull request #1198 from strongloop/release/3.x
Prepare for 3.x GA
2016-12-21 10:49:55 +01:00
Simon Ho b60e09756d Update package.json for LB3 release 2016-12-21 10:44:55 +01:00
Miroslav Bajtoš a9a4fa498d Merge pull request #1197 from strongloop/fix/options-propagation
Fix HasOne.update to propagate options arg
2016-12-21 10:32:45 +01:00
Miroslav Bajtoš 2ca081216b Fix eslint errors reported by the latest eslint 2016-12-20 17:37:54 +01:00
Miroslav Bajtoš 0d862890e0 Fix HasOne.update to propagate options arg 2016-12-20 11:40:22 +01:00
Siddhi Pai 3baa61590e Fix block padding
* Remove test/.eslintrc
* run eslint . --fix
2016-12-13 16:05:50 -08:00
Simon Ho d99dca6fc0 Merge pull request #1191 from strongloop/fix-linter-errors
Fix linter errors for CI
2016-12-09 18:35:52 -08:00
Simon Ho c5e905f5c4 Fix linter errors for CI 2016-12-09 18:13:58 -08:00
Simon Ho 4a4ba74114 Merge pull request #1184 from strongloop/update-support-URL
Replicate .github from loopback repo
2016-12-09 17:44:18 -08:00
Siddhi Pai d45943130c Replicate .github from loopback repo 2016-12-09 17:22:45 -08:00
Miroslav Bajtoš 29c60c7b42 Merge pull request #1180 from strongloop/feature/extended-operators-in-query
Honour allowExtendedOperators in "DAO.find"
2016-12-08 09:56:54 +01:00
Simon Ho 1b60245298 Merge pull request #1187 from strongloop/add_translation8
Update ko translation file
2016-12-07 09:46:29 -08:00
Candy 2d016fa090 Update ko translation file 2016-12-07 11:50:40 -05:00
Miroslav Bajtoš 779cf6a370 Honour allowExtendedOperators in "DAO.find"
Modify the coercion of filter.where to hounour "allowExtendedOperators"
and don't coerce property values of type object (extended operators).
2016-12-06 10:28:40 +01:00
Miroslav Bajtoš 80d2264bc9 Merge pull request #1179 from strongloop/update/eslint
Upgrade eslint & config to latest
2016-12-06 10:12:11 +01:00
Loay 64517b5b02 Merge pull request #1181 from strongloop/Mysql-CI-Fix
Fix MySql CI server Failure
2016-12-05 15:53:08 -05:00
Loay e14c48719e Fix MySql CI server Failure 2016-12-05 11:42:08 -05:00
Miroslav Bajtoš 0f7a567f18 Upgrade eslint & config to latest
- eslint ^3.11.1
 - eslint-config-loopback: ^6.0.0
 - fix linter errors (mostly no-undef)
2016-12-05 15:14:09 +01:00
Miroslav Bajtoš 0fea9ebef0 3.1.0
* Apply hasManyThrough filter on target model (jannyHou)
 * Remove valid connectors from downstream ignores (Simon Ho)
 * Add some connectors to ignoreList (jannyHou)
 * Tests cleanup (Amir Jafarian)
 * Fixed example for creating ValidationError (Boštjan Pišler)
 * Correct tests for DAO.Create (Amir Jafarian)
 * Add downstream ignore list config (Simon Ho)
 * Remove duplicate "engines" from package.json (Miroslav Bajtoš)
 * Drop support for Node v0.10 and v0.12 (Miroslav Bajtoš)
 * Fix a test (Amir Jafarian)
 * Add more robust OH tests for find method (Amir Jafarian)
 * Add support for `loaded` hook (Amir Jafarian)
 * Use imperative mood for tests (Amir Jafarian)
 * Continue _coerce after logical operators (Heath Morrison)
 * Make variable names more clear (Amir Jafarian)
 * test/kvao: add connectorCapabilities options (Miroslav Bajtoš)
 * Fix validateNumericality, nullCheck & add tests (CerealGuy)
 * Add test for operation hooks (Amir Jafarian)
 * Add ilike and nilike operators (Nick Duffy)
 * Fix JSDoc issue (Amir Jafarian)
 * Update ja translation file (Candy)
 * Remove 3.0 RELEASE-NOTES (Miroslav Bajtoš)
 * Fix linting errors (Simon Ho)
 * Update validations.js (Rand McKinney)
 * Update translation files - round#2 (Candy)
 * Fix CI Failures in MySQL (Loay)
 * Add code review fixups (Simon Ho)
 * More descriptive name for model with shortid (Tim De Pauw)
 * Polish PR (Tim De Pauw)
 * Support {defaultFn: 'shortid'} (Tim De Pauw)
2016-12-05 10:18:01 +01:00
Amirali Jafarian dd92b8d7e8 Merge pull request #1175 from BostjanPisler/patch-1
Fixed example for creating ValidationError
2016-12-03 10:59:12 -05:00
Kevin Delisle 4f2c16709b Merge pull request #1153 from strongloop/fix/filter-on-related-model
Apply filter on related model
2016-12-01 13:19:51 -05:00
jannyHou 6c8e806bc8 Apply hasManyThrough filter on target model 2016-12-01 10:08:27 -05:00
Simon Ho b95224bd83 Merge pull request #1178 from strongloop/update-downstream-ignore-list
Remove valid connectors from downstream ignore list
2016-11-30 18:24:11 -08:00
Simon Ho edb8fa393e Remove valid connectors from downstream ignores
- Remove Microsoft SQL connector
- Remove Oracle connector
2016-11-30 17:20:50 -08:00
Janny 2ccd666449 Merge pull request #1176 from strongloop/ci/ignore-list
Add some connectors to ignoreList
2016-11-30 15:09:43 -05:00
Amirali Jafarian 3ba7a5d1e8 Merge pull request #1172 from strongloop/tests_cleanup
Tests cleanup
2016-11-30 14:50:59 -05:00
jannyHou b8fb9cded3 Add some connectors to ignoreList 2016-11-30 13:18:07 -05:00
Amir Jafarian e391fd0f3e Tests cleanup
* Tests cleanup for `manipulation.test` and `scope.test`
2016-11-29 10:45:03 -05:00
Boštjan Pišler 93a739d612 Fixed example for creating ValidationError 2016-11-29 16:04:53 +01:00
Amir Jafarian fab269687b Correct tests for DAO.Create
* Create does not return data back
2016-11-28 17:18:10 -05:00
Ryan Graham c8ade9e9d0 Merge pull request #1170 from strongloop/add-downstream-ignore-list-config
Add downstream ignore list config
2016-11-25 11:24:32 -08:00
Simon Ho c352dcff7d Add downstream ignore list config 2016-11-25 10:33:00 -08:00
Miroslav Bajtoš 401b7e4296 Remove duplicate "engines" from package.json
The problem was introduced by 1fb7842
2016-11-15 15:45:24 +01:00
Miroslav Bajtoš 242f261934 Merge pull request #1165 from strongloop/drop-support-node-0x
Drop support for Node v0.10 and v0.12
2016-11-15 15:04:00 +01:00
Miroslav Bajtoš 1fb78422fa Drop support for Node v0.10 and v0.12 2016-11-15 14:21:02 +01:00
Amirali Jafarian 72c27b040c Merge pull request #1160 from strongloop/fix_test
Fix a test
2016-10-30 20:56:42 -04:00
Amir Jafarian d908a52753 Fix a test
* Fix location for an instance in a test
2016-10-30 20:50:06 -04:00
Amirali Jafarian 0b312e02d5 Merge pull request #1158 from strongloop/more_tests_geoQuery
Add more robust OH tests for find method
2016-10-28 17:57:29 -04:00
Amir Jafarian 756e936c4b Add more robust OH tests for find method 2016-10-28 16:56:38 -04:00
Amirali Jafarian 839bb9a81e Merge pull request #1149 from strongloop/near_loaded_oh
Add support for `loaded` operation hook for DAO.find() when near is used
2016-10-28 15:01:21 -04:00
Amir Jafarian 54d0f5b53d Add support for `loaded` hook
* Add support for loaded hook for DAO.find with near filter
2016-10-28 11:46:46 -04:00
Amirali Jafarian fc4ea432dd Merge pull request #1156 from strongloop/fix_test_styles
Use imperative mood for tests
2016-10-27 16:51:00 -04:00
Amir Jafarian a65311dc7c Use imperative mood for tests
* Use imperative mood for tests in test/loopback-dl.test.js
2016-10-27 16:38:40 -04:00
Amirali Jafarian 9d99f9d2af Merge pull request #1142 from doublemarked/hm/coerce-after-logical-operators
_coerce continues after encountering a logical op
2016-10-26 10:11:56 -04:00
Heath Morrison 266e9f5a9a Continue _coerce after logical operators 2016-10-25 23:09:46 +03:00
Amirali Jafarian 5091f71416 Merge pull request #1147 from strongloop/fixup_1109
Fix up #1109
2016-10-24 22:41:29 -04:00
Amir Jafarian 212e9b1f85 Make variable names more clear
* Fix up #1109
2016-10-21 17:26:39 -04:00