Commit Graph

439 Commits

Author SHA1 Message Date
Kevin Delisle 6bb07257d3 4.2.0
* Add generateUniqueId prototype (Tetsuo Seto)
 * Add travis for CI (#91) (Sakib Hasan)
2017-04-10 15:08:51 -04:00
Tetsuo Seto 4d1574521d Merge pull request #92 from strongloop/cass-work
Add generateUniqueId prototype
2017-04-06 13:15:34 -07:00
Tetsuo Seto 6d5745f8b6 Add generateUniqueId prototype 2017-04-06 11:47:52 -07:00
Sakib Hasan f4f2be2b3a Add travis for CI (#91) 2017-04-05 13:24:54 -04:00
Kevin Delisle 34cd86901a 4.1.0
* Extract getAddModifyColumns into base (#90) (Sakib Hasan)
2017-03-31 10:35:25 -04:00
Sakib Hasan 40f3844b5b Extract getAddModifyColumns into base (#90)
* Extract getAddModifyColmns into base

* Extract globalized strings
2017-03-20 11:15:27 -04:00
Raymond Feng 8f2cb3ae7a 4.0.0
* Update deps and fix styles (Raymond Feng)
 * Add checkFieldAndIndex (#87) (Janny)
 * Refactor SQL migration methods (ssh24)
 * Fix replaceById for Oracle (Loay Gewily)
 * Refactor SQL discovery methods (Loay)
 * Fix replaceById unfound id bug (Loay Gewily)
2017-03-06 15:57:01 -08:00
Raymond Feng 9996e39fd2 Merge pull request #88 from strongloop/feature/update-deps
Update deps and fix styles
2017-03-06 15:55:55 -08:00
Raymond Feng e77b300384 Update deps and fix styles 2017-03-06 15:40:47 -08:00
Janny 050cfa5249 Add checkFieldAndIndex (#87)
* Add checkFieldAndIndex
2017-03-03 20:22:08 -05:00
Sadman Sakib Hasan bba29f88f2 Merge pull request #78 from strongloop/refactor-migration
Refactor migration
2017-03-02 10:28:18 -08:00
ssh24 12a279d248 Refactor SQL migration methods
Extract getTableStatus into a own function itself
Have showFields, showIndexes and alterTable as a base function

Add isActual as a base function

Also include getAddModifyColumns and getDropColumns for the sake of CI

Add getDropColumns as a base function

Add searchForPropertyInActual to base connector

Add addPropertyToActual to base connector

Add propertyHasNotBeenDeleted to base

Add applySqlChanges to base connector

Add columnDataType as base function
2017-03-02 11:32:09 -05:00
Loay 7f429e9a51 Merge pull request #76 from strongloop/replaceById-Oracle
Fix replaceById for Oracle
2017-03-01 14:58:14 -05:00
Loay Gewily 5dc110afbf Fix replaceById for Oracle 2017-02-28 17:02:23 -05:00
Loay 22a39025a1 Merge pull request #75 from strongloop/refactor-discovery
Refactor SQL discovery methods
2017-02-28 11:38:06 -05:00
Loay 1b4409a39a Refactor SQL discovery methods 2017-02-28 11:21:37 -05:00
Loay 292b90a6e4 Merge pull request #73 from strongloop/foreceId-true
Fix replaceById to report an error when id not found
2017-01-26 00:39:16 -05:00
Loay Gewily c232653c5d Fix replaceById unfound id bug 2017-01-26 00:22:43 -05:00
Miroslav Bajtoš e384aa53ee 3.0.0
* Update paid support URL (Siddhi Pai)
 * Start 3.x + drop support for Node v0.10/v0.12 (siddhipai)
 * Drop support for Node v0.10 and v0.12 (Siddhi Pai)
 * Dev of the next major version (Siddhi Pai)
2016-12-21 12:50:08 +01:00
Simon Ho 9a7a01f863 Merge pull request #69 from strongloop/update-support-URL
Replicate .github from loopback repo
2016-12-06 23:56:04 -08:00
Siddhi Pai d563b2d564 Update paid support URL 2016-12-06 03:07:08 -08:00
siddhipai 05ab492d98 Start 3.x + drop support for Node v0.10/v0.12
Start 3.x + drop support for Node v0.10/v0.12
2016-11-21 12:41:41 -08:00
Siddhi Pai 8b11a3d5c7 Drop support for Node v0.10 and v0.12 2016-11-18 12:47:19 -08:00
Siddhi Pai adc9087c62 Dev of the next major version 2016-11-18 12:46:18 -08:00
Miroslav Bajtoš bdf8dd4e89 2.7.1
* Export JSONStringPacker (Masu Lin)
2016-11-10 10:01:52 +01:00
Miroslav Bajtoš f2affc0dfa Merge pull request #66 from yosimasu/issue/export-json-string-packer
Export JSONStringPacker
2016-11-10 10:01:15 +01:00
Masu Lin f08cf3d7a8 Export JSONStringPacker 2016-11-10 11:26:13 +08:00
Miroslav Bajtoš 3ad313aed6 2.7.0
* Add JSONStringPacker (Masu Lin)
2016-11-08 14:49:56 +01:00
Miroslav Bajtoš a812e4648a Merge pull request #65 from yosimasu/feature/json-string-packer
Support JSONStringPacker
2016-11-08 14:49:14 +01:00
Masu Lin d45aaec5ef Add JSONStringPacker
Add a helper for encoding JavaScript values into JSON String format.

The implementation is based on JSON String format
and preserves JavaScript objects like Buffers
and Dates, as opposed to encoding format.
2016-10-29 00:20:34 +08:00
Miroslav Bajtoš b698b82ce7 2.6.0
* Increase delay in tests to stop intermittent fails (Miroslav Bajtoš)
 * Add BinaryPacker from kv-redis connector (Miroslav Bajtoš)
 * Add ModelKeyComposer from kv-redis connector (Miroslav Bajtoš)
2016-10-24 10:18:58 +02:00
Miroslav Bajtoš 9c3fec9a5a Merge pull request #63 from strongloop/feature/keyvalue-helpers
KeyValue helpers
2016-10-24 10:15:35 +02:00
Miroslav Bajtoš 512ff29aa9 Increase delay in tests to stop intermittent fails 2016-10-24 10:05:25 +02:00
Miroslav Bajtoš 6fd3ac7285 Add BinaryPacker from kv-redis connector
Add a helper for encoding JavaScript values into binary Buffers.

The implemenetation is based on msgpack5 format and preserves JavaScript
objects like Buffers and Dates, as opposed to (binary)JSON.
2016-10-24 09:58:04 +02:00
Miroslav Bajtoš 2cbc1143c1 Add ModelKeyComposer from kv-redis connector
Add two helper methods for composing and parsing key-value keys:
 - in juggler, we use (modelName, key) tuple
 - in backends, there is usually a single string key required
2016-10-24 09:58:04 +02:00
Candy 782a68e914 2.5.0
* Update translation files - round#2 (#62) (Candy)
 * Add translated files (Amir Jafarian)
 * Update deps to LB 3.0.0 RC (Miroslav Bajtoš)
 * Run CI with juggler3 (Loay)
 * Add globalization (Candy)
 * Update URLs in CONTRIBUTING.md (#53) (Ryan Graham)
2016-10-12 17:30:01 -04:00
Candy 29c37c4f1a Update translation files - round#2 (#62) 2016-09-28 14:19:30 -07:00
Amirali Jafarian 826ad37e75 Merge pull request #60 from strongloop/add-translatedFiles
Add translation files
2016-09-22 15:29:05 -04:00
Amir Jafarian 9950753656 Add translated files 2016-09-22 15:12:46 -04:00
Miroslav Bajtoš 7f6292cfc2 Merge pull request #61 from strongloop/update-lb-3-rc
Update deps to LB 3.0.0 RC
2016-09-22 13:04:49 +02:00
Miroslav Bajtoš 93f4f0a5d9 Update deps to LB 3.0.0 RC 2016-09-22 12:52:35 +02:00
Loay c6a68ec5d8 Merge pull request #59 from strongloop/update/juggler3
Run CI with juggler3
2016-09-16 11:24:46 -04:00
Loay 3089248447 Run CI with juggler3 2016-09-15 16:17:23 -04:00
Candy cc8809a230 Merge pull request #55 from strongloop/initial_glob
Add globalization
2016-07-27 17:29:42 -04:00
Candy d8f303178c Add globalization 2016-07-27 13:19:19 -04:00
Ryan Graham a61d8c8e2d Update URLs in CONTRIBUTING.md (#53) 2016-07-13 17:59:10 -07:00
Raymond Feng 17fc349cf4 2.4.0
* update copyright notices and license (Ryan Graham)
 * Fix linting errors (Amir Jafarian)
 * Auto-update by eslint --fix (Amir Jafarian)
 * Add eslint infrastructure (Amir Jafarian)
 * fixed build of where statement when filter contains non-existing column (Maor Hayun)
 * change replace to replaceById (Amir Jafarian)
 * Remove underscore from _buildReplaceFields (Amir Jafarian)
 * Change _buildReplace  to buildReplace (Amir Jafarian)
 * Change _buildUpdate to buildUpdate (Amir Jafarian)
 * Apply feedback (Amir Jafarian)
 * call execute directly for _replace (Amir Jafarian)
 * Implement replaceAttributes (Amir Jafarian)
 * Removed filterWhere option (eugene-frb)
 * 1. Error logging. 2. Options argument of model's include function to pass filter.where object. (eugene-frb)
 * Refer to licenses with a link (Sam Roberts)
 * Fixed typo. (Matteo Padovano)
 * Use strongloop conventions for licensing (Sam Roberts)
2016-06-29 16:45:12 -04:00
Ryan Graham 958c6619e3
update copyright notices and license 2016-05-05 21:50:59 -07:00
Amir-61 c15a4b5994 Merge pull request #46 from strongloop/eslint
Add eslint
2016-04-11 15:20:14 -04:00
Amir Jafarian 70277da109 Fix linting errors 2016-04-11 13:06:33 -04:00