Commit Graph

2570 Commits

Author SHA1 Message Date
Candy 2d016fa090 Update ko translation file 2016-12-07 11:50:40 -05: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
Amirali Jafarian d9a736a4a8 Merge pull request #1109 from C3realGuy/dev_validations
validateNumericality should skip undefined
2016-10-20 07:37:52 -04:00
Miroslav Bajtoš b76a49aedd Merge pull request #1140 from strongloop/feature/parameterize-kvao-tests
test/kvao: add connectorCapabilities options
2016-10-19 12:28:09 +02:00
Miroslav Bajtoš 011bfbb236 test/kvao: add connectorCapabilities options
- canExpire
 - canQueryTtl
 - ttlPrecision
 - canIterateKeys
 - canIterateLargeKeySets

These options allow connectors to disable shared tests for features
that are not supported/implemented.
2016-10-19 11:06:17 +02:00
CerealGuy 662458dc2c Fix validateNumericality, nullCheck & add tests
validateNumericality didn't test if attributes value is a number
only if it's type is number.
Further nullCheck had a wrong testing order. It first checked if
value is null, later if blank. Also null check only used two equals,
not three. We don't use blank() anymore, testing if variable is
undefined should be fine too.
Added tests covering validateNumericality.
2016-10-15 10:59:22 +02:00
Amirali Jafarian ec204dfa14 Merge pull request #1125 from strongloop/Add_test_for_geo_query_oh
Add test for operation hooks
2016-10-14 09:36:29 -04:00
Amir Jafarian f5e9b53289 Add test for operation hooks
* Add test for operation hook when near filter is used
2016-10-14 09:23:26 -04:00
Simon Ho 1ee04421c0 Merge pull request #1091 from duffn/ilike
Add ilike and nilike operators
2016-10-12 18:09:15 -07:00
Nick Duffy a23076d3a8 Add ilike and nilike operators
Closes #633
2016-10-12 18:31:31 -06:00
Amirali Jafarian c6e5d385c7 Merge pull request #1133 from strongloop/issue_1132
Fix JSDoc issue
2016-10-11 12:54:38 -04:00
Amir Jafarian e42b1327aa Fix JSDoc issue 2016-10-11 12:15:35 -04:00
Candy 85625829e0 Merge pull request #1130 from strongloop/add_translation3
Update ja translation file
2016-10-06 15:22:12 -04:00
Candy e1b7c31e0f Update ja translation file 2016-10-06 11:26:33 -04:00
Miroslav Bajtoš f4d92cf131 Merge pull request #1126 from strongloop/docs/remove-release-notes
Remove 3.0 RELEASE-NOTES
2016-10-06 12:44:26 +02:00
Miroslav Bajtoš d70ce8aba5 Remove 3.0 RELEASE-NOTES
The release notes were moved to loopback.io docs site.
2016-10-05 16:04:33 +02:00
Simon Ho 99a864e9c6 Merge pull request #1123 from strongloop/superkhau/fix-linting-errors
Fix linting errors
2016-09-29 20:19:08 -07:00
Simon Ho b089b0d786 Fix linting errors
Trailing spaces in comments causing linter to fail. Errors introduced
at commit 9a1ef08495.
2016-09-29 19:28:02 -07:00