Commit Graph

106 Commits

Author SHA1 Message Date
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
Amir Jafarian fc33ced470 Auto-update by eslint --fix 2016-04-09 14:35:52 -04:00
Amir Jafarian 9061026027 Add eslint infrastructure 2016-04-09 14:31:22 -04:00
Amir-61 505d219129 Merge pull request #35 from strongloop/replace
Implement replace
2016-03-28 17:06:11 -04:00
Raymond Feng c010aed2bb Merge pull request #36 from maorhayoun/master
fixed build of where statement when filter contains non-existing column
2016-03-23 08:29:55 -07:00
Maor Hayun eba7e68059 fixed build of where statement when filter contains non-existing column 2016-02-06 19:07:49 +02:00
Amir Jafarian 9c7fef5789 change replace to replaceById 2016-01-27 09:46:35 -05:00
Amir Jafarian b16f9e0169 Remove underscore from _buildReplaceFields
*Remove underscore from _buildReplaceFields because it is a protected method subject to override by subclasses.
2016-01-14 12:46:14 -05:00
Amir Jafarian 48931922c3 Change _buildReplace to buildReplace 2016-01-12 17:27:55 -05:00
Amir Jafarian 98795213fc Change _buildUpdate to buildUpdate 2016-01-12 13:22:37 -05:00
Amir Jafarian 97c972e3ea Apply feedback 2016-01-09 03:23:49 -05:00
Amir Jafarian 1e5c7dbfc4 call execute directly for _replace 2016-01-07 22:03:10 -05:00
Amir Jafarian 3a92328fc3 Implement replaceAttributes 2016-01-07 18:12:45 -05:00
Raymond Feng 26712a7014 Merge pull request #34 from eugene-frb/master
1. Error logging. 2. Options argument of model's include function to …
2015-11-23 15:08:19 -08:00
Raymond Feng cbb25cc37f Merge pull request #30 from mrbatista/typo-transaction
Fixed typo
2015-11-23 15:07:35 -08:00
eugene-frb 0cb12f085b Removed filterWhere option
The correct place to set this option that triggers injection of
PARTITION BY clause is includeHasMany() in juggler.js.
2015-11-19 11:18:17 -08:00
eugene-frb ac52394746 1. Error logging. 2. Options argument of model's include function to pass filter.where object. 2015-11-10 14:48:52 -08:00
Sam Roberts 286ead05af Refer to licenses with a link 2015-11-03 12:27:49 -08:00
Matteo Padovano 89939cff52 Fixed typo. 2015-10-13 12:59:17 +02:00
Sam Roberts 3ba31d9c18 Use strongloop conventions for licensing 2015-09-21 16:42:54 -07:00
Raymond Feng 12aa7d6485 2.3.0
* Fix RegExp coercion (Simon Ho)

 * Add support for RegExp operator (Simon Ho)

 * Add a test for nesting and/or (Raymond Feng)
2015-07-29 07:52:36 -07:00
Simon Ho 1e2d0692b5 Merge pull request #27 from strongloop/fix-regex-coercion
Fix RegExp coercion
2015-07-28 16:48:13 -07:00
Simon Ho 8d01d3e8e2 Fix RegExp coercion
- Do not coerce RegExp literal/objects into a string
2015-07-28 11:58:14 -07:00
Simon Ho 7f76270940 Merge pull request #26 from strongloop/add-regex-support
Add support for RegExp operator
2015-07-27 15:25:11 -07:00
Simon Ho 4437b32e4b Add support for RegExp operator 2015-07-27 09:33:10 -07:00
Raymond Feng 98eeab1044 Add a test for nesting and/or 2015-06-24 23:03:13 -07:00
Raymond Feng 6989cfc5fb 2.2.2
* Enable Inversion of Control in connector hooks through modifications of the context object. (Frank Steegmans)
2015-06-23 14:36:02 -07:00
Raymond Feng 60f0dc2a0c Merge pull request #22 from steegi/enable_ioc_in_hook
Enable Inversion of Control in connector hooks
2015-06-23 14:35:08 -07:00
Frank Steegmans 8762196028 Enable Inversion of Control in connector hooks through modifications of the context object. 2015-06-21 17:54:21 +02:00
Raymond Feng 1996c83d95 2.2.1
* Fix the callback (Raymond Feng)
2015-05-27 13:40:15 -07:00
Raymond Feng 39cb95579a Fix the callback 2015-05-27 13:40:03 -07:00
Raymond Feng 455774e666 2.2.0
* Update deps (Raymond Feng)

 * Add hooks to sql based connectors (Raymond Feng)
2015-05-27 11:19:48 -07:00
Raymond Feng 2fc9258d67 Update deps 2015-05-27 11:19:24 -07:00
Raymond Feng 1644a00f15 Merge pull request #18 from strongloop/feature/add-connector-hooks
Add hooks to sql based connectors
2015-05-26 13:31:43 -07:00