1667 Commits

Author SHA1 Message Date
william gueiros
38b7d7cea2 add travisCi to oracle feature 2016-06-17 17:20:51 +10:00
Mikael Lepistö
9c7a632871 Merge pull request #1498 from elhigu/test-timeout-variable
Made test timeout to be configurable by setting KNEX_TEST_TIMEOUT env…
2016-06-16 14:02:16 +03:00
Mikael Lepistö
db4d0009d9 Updated documentation according to review comments. 2016-06-16 12:33:48 +03:00
Mikael Lepistö
99ed8f13b6 Merge pull request #1504 from blainesch/patch-1
Fix code blocks.
2016-06-16 09:59:34 +03:00
Blaine Schmeisser
3e7c4342c8 Fix code blocks. 2016-06-15 19:24:59 -07:00
Mikael Lepistö
cd28114067 Made test timeout to be configurable by setting KNEX_TEST_TIMEOUT environment variable. 2016-06-14 19:02:43 +03:00
Rhys van der Waerden
6c157a1e3d Merge pull request #1494 from tgriesser/feature/run-eslint-in-ci
Lint before tests in CI
2016-06-14 19:56:16 +10:00
Rhys van der Waerden
a95e39609f Lint before tests in CI 2016-06-14 19:50:51 +10:00
Rhys van der Waerden
f1c1aecd94 Merge pull request #1493 from dannyfritz/seed-stub
🐛 Update seed stubs to run serially.
2016-06-14 15:14:28 +10:00
Danny Fritz
62ec9dcb0c 🐛 Promise.all needs an array. 2016-06-13 20:51:56 -06:00
Danny Fritz
41a54b8545 switch to Promise.all from Promise.join 2016-06-13 20:45:32 -06:00
Danny Fritz
625d3d5bd7 🐛 Update seed stubs to run serially. 2016-06-13 20:33:37 -06:00
Rhys van der Waerden
d3557a0e36 Merge pull request #1473 from robscott/fix/passwordless_database_url
Adding support for specifying a DATABASE_URL without a password
2016-06-13 22:28:08 +10:00
Rhys van der Waerden
a85371f224 Merge pull request #1464 from statyan/master
Fixes for mssql dialect columnInfo and binary fields
2016-06-13 22:23:51 +10:00
Mikael Lepistö
8043e8318e Merge pull request #1489 from agdevbridge/patch-1
Fixes warning "a promise was created but was not returned" in more places
2016-06-13 13:00:53 +03:00
Algirdas Gr
bc5b4f0527 Fixes warning "a promise was created but was not returned" in more places
@teh-botol noticed more places where warning is displayed.
2016-06-13 12:41:09 +03:00
wubzz
e3ea261cd1 Merge pull request #1486 from jacobinary/oraclefix
Fix invalid SQL in Oracle dialect ping function
2016-06-10 23:59:06 +02:00
Jacob Hoschar
eeae6c4e9f Fix invalid SQL in Oracle dialect ping function 2016-06-10 17:35:35 -04:00
Mikael Lepistö
e437d8dd11 Merge pull request #1472 from alarner/mssql-docs
Add mssql to the list of supported database libraries
2016-06-11 00:26:57 +03:00
Rob Scott
6c7809caae Adding support for specifying a DATABASE_URL without a password 2016-06-06 22:19:24 -04:00
Aaron Larner
ca05230e14 Add mssql to the list of supported database libraries 2016-06-06 10:47:18 -05:00
Mikael Lepistö
c5c0a74d9e Merge pull request #1458 from justinhhorner/patch-1
Update to include MSSQL as a supported DB
2016-06-03 09:14:45 +03:00
Mikael Lepistö
b4cef896ab Merge pull request #1460 from agdevbridge/patch-1
Fixes "a promise was created but was not returned" warning
2016-06-03 09:12:22 +03:00
Justin Horner
62f0355e0b Update README to include MSSQL as a supported DB 2016-06-02 16:42:51 -04:00
statyan
4f28c992be Fixed knex #1463 issue
Fixed knex #1422 issue
2016-06-01 16:27:29 +03:00
statyan
04a05eeb50 Fixed knex #1422 issue 2016-06-01 02:42:17 +03:00
statyan
a7802ff8f3 Fixed knex #1463 issue 2016-06-01 02:40:58 +03:00
Rhys van der Waerden
e657aae068 Merge pull request #1447 from elhigu/fix-webpack-build-invalid-dependency
Fix webpack build error 'dependency to an entry point is not allowed'
2016-05-31 10:44:19 +10:00
Mikael Lepistö
dfca38da33 Merge pull request #1459 from wubzz/improvement/undefined_bindings_error_handling
Check for undefined bindings in WHERE clauses and RAW queries during…
2016-05-30 23:25:08 +03:00
wubzz
1fe657ab72 Fix test for undefined bindings and add documentation 2016-05-30 21:17:45 +02:00
wubzz
a7ba49ae7c Add hasOwnProperty condition 2016-05-30 21:09:15 +02:00
wubzz
636a446b6d Made the compiler's where function be the source of the validation, but the toSQL function is still the 'thrower'. 2016-05-30 20:09:16 +02:00
Algirdas Gr
26e720f15b Fixes "a promise was created but was not returned" warning
This would fix Warning: a promise was created in a handler but not returned from it
Issue: #1388
2016-05-30 18:04:43 +03:00
Mikael Lepistö
05a95c2b8b Merge pull request #1445 from sandorfr/bugfix/mssql-bigint
add bigint detection and sets mssql req.input when appropriate
2016-05-30 00:17:38 +03:00
Cyprien Autexier
0e693dfdca replace bigint unit test by integration tests 2016-05-29 18:16:32 +02:00
Cyprien Autexier
b7231ebb2a Add unit tests for mssql bigints (to be fixed) 2016-05-29 15:52:28 +02:00
Mikael Lepistö
b5d4f907ba Added webpack build test to npm test script 2016-05-29 10:08:39 +03:00
Mikael Lepistö
2fd63a7868 Fix webpack build error 'dependency to an entry point is not allowed' 2016-05-29 09:16:47 +03:00
wubzz
6d820b9ff7 Remove test "undefined named bindings are ignored" as they are no longer ignored. 2016-05-28 19:51:47 +02:00
wubzz
cba2cdc364 Check for undefined bindings in SELECT queries and RAW queries during compile and throw an error. 2016-05-28 19:45:00 +02:00
Justin Horner
a966a18e79 Update to include MSSQL as a supported DB 2016-05-28 11:30:36 -04:00
wubzz
27d828273d Merge pull request #1454 from byronmwong/killQuery
`.timeout(ms, {cancel: true})` to cancel query after timeout (only implemented for MySQL)
2016-05-28 11:51:04 +02:00
Byron Wong
34928377b0 update docs on .timeout() 2016-05-27 16:37:44 -07:00
Byron Wong
d42dba05ce share code for throwing not implemented error 2016-05-27 14:47:12 -07:00
Byron Wong
2eecd7cf16 no native startsWith 2016-05-26 17:10:27 -07:00
Byron Wong
89302b2e92 "maria" instead of "mariasql" 2016-05-26 17:04:30 -07:00
Byron Wong
c0a45b58a2 address wubzz's comments, improvements
* add timeout to acquiring connection inside `cancelQuery` + test
* use `KILL QUERY :id` instead of `KILL :id` so the connection is preserved
2016-05-26 16:56:15 -07:00
Cyprien Autexier
5f5aff114e replace int max values by constants 2016-05-26 22:27:55 +02:00
Byron Wong
ea5cbec4e7 Kill queries after timeout for MySQL 2016-05-26 12:00:47 -07:00
wubzz
d566ca28a2 Revert change to release script 2016-05-26 10:24:31 +02:00