Commit graph

414 commits

Author SHA1 Message Date
Victor Denisov
5c6f015309 Use the latest version of mongo 2.6 2016-05-21 01:07:43 -07:00
Victor Denisov
761ddd194c Allow failure of the latest ghc build 2016-05-21 00:05:11 -07:00
Victor Denisov
18dffc982d Report the version of mongodb we run tests against 2016-05-20 23:41:24 -07:00
Victor Denisov
5cd545a16f Run tests on different mongo versions 2016-05-20 12:45:18 -07:00
Victor Denisov
e683f59faa Merge pull request #46 from VictorDenisov/tls
Merge a simple implementation of TLS and drop System.IO.Pipeline
2016-05-06 23:50:42 -07:00
Victor Denisov
8132604443 Add warning about experimental TLS support 2016-05-03 23:43:55 -07:00
Victor Denisov
5ca93be5e8 Drop io-region dependency 2016-05-03 23:02:54 -07:00
Victor Denisov
f18e4ff9f8 Update CHANGELOG 2016-05-03 00:03:46 -07:00
Victor Denisov
e38ec59d1e Move Tls module to Transport 2016-05-02 22:05:02 -07:00
Victor Denisov
89ee88e67c Rename Internal.Connection module to Transport 2016-05-02 21:30:00 -07:00
Victor Denisov
ccd6727ab4 Use conventional types for Tls.Connect 2016-05-01 19:24:40 -07:00
Victor Denisov
a4e5726e1e Clean up redundant warnings 2016-05-01 19:11:02 -07:00
Victor Denisov
655f4b90bc Rename readExactly to read 2016-05-01 19:05:51 -07:00
Victor Denisov
73dfdb0b7f Remove IOStream from Internal.Protocol 2016-05-01 18:17:22 -07:00
Victor Denisov
c011b1a23c Move content of System.IO.Pipeline to Internal.Protocol 2016-05-01 17:34:06 -07:00
Victor Denisov
f956cb2623 Incorporate Tls implementation 2016-05-01 16:15:08 -07:00
Victor Denisov
19e631c9f4 Implement readExactly using hGet 2016-04-30 14:08:19 -07:00
Victor Denisov
b3effd4439 Increase benchmark size for better resolution 2016-04-30 14:08:19 -07:00
Victor Denisov
494bdcbe56 Add tls implementation 2016-04-30 14:08:19 -07:00
Greg Weber
5ae56f6c49 Merge pull request #41 from VictorDenisov/fix_ci
Drop hpc-coveralls
2016-04-24 17:06:01 -07:00
Victor Denisov
ba64084d1a Drop hpc-coveralls 2016-04-24 15:29:12 -07:00
Victor Denisov
011914591b Do force reinstalls when installing sdist 2015-12-22 08:32:19 -08:00
Victor Denisov
47614e0834 Update changelog and bump version 2015-12-22 03:11:01 -08:00
Victor Denisov
ec0dac6915 Merge pull request #37 from Yuras/mongolab-auth
Support mongolab SCRAM auth
2015-12-22 02:31:13 -08:00
Yuras Shumovich
0b4e3d96ed Support mongolab SCRAM auth
For some reason mongolab requires additional message exchange round.
2015-11-30 15:55:20 +03:00
Victor Denisov
4f48ca92be Update changelog and bump version 2015-11-07 11:28:13 -08:00
Victor Denisov
8af6a82ec8 Clean trailing whitespaces 2015-11-07 10:37:40 -08:00
Victor Denisov
ca74e7e074 Merge pull request #34 from Feeniks/master
Add support for SCRAM-SHA-1 authentication
2015-11-06 21:57:19 -08:00
Ralph Morton
6f5f76afbb Add support for SCRAM-SHA-1 authentication 2015-11-01 18:05:39 +02:00
Greg Weber
32200918a0 Merge pull request #31 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2015-10-28 19:28:53 -07:00
Greg Weber
8ddcb45a52 Merge pull request #33 from wojtnar/patch-1
Update MongoDB.hs
2015-10-19 06:43:03 -07:00
Wojtek Narczyński
4fbabd19db Update MongoDB.hs
Correct mispelled language extension in comment.
2015-10-19 15:39:39 +02:00
The Gitter Badger
417d6dea1a Add Gitter badge 2015-10-04 00:03:13 +00:00
Victor Denisov
632f0eaafa Bump version 2015-10-03 14:11:40 -07:00
Greg Weber
1e84ac0d3c Merge pull request #29 from VictorDenisov/master
Retrieve another batch for next in case of unlimited request
2015-09-30 04:13:55 -07:00
Victor Denisov
75470af421 Retrieve another batch for next in case of unlimited request 2015-09-29 22:42:22 -07:00
Victor Denisov
bbba3f37ea Add test for rest function 2015-09-29 22:42:22 -07:00
Victor Denisov
f3353c94ef Use sandboxes for package build
Installation of cabal and hpc may cause dependency conflicts.
2015-09-04 12:05:35 -07:00
Victor Denisov
fff024b135 Bump version 2015-09-04 11:03:54 -07:00
Greg Weber
23784db8df Merge pull request #28 from VictorDenisov/master
Fix slow requests to the database server
2015-08-31 20:57:31 -07:00
Victor Denisov
68ed7beb56 Remove unused writeLazy 2015-08-31 18:04:00 -07:00
Victor Denisov
0306ea9c21 Increase default stack size for test 2015-08-30 14:51:22 -07:00
Victor Denisov
1373e6303f Add note to the chagelog 2015-08-29 22:37:05 -07:00
Victor Denisov
e45d9329e9 Address performance issues with insert
Compile notices and request into one strict string for performance
boost.
2015-08-29 22:37:05 -07:00
Victor Denisov
79b88ddeb5 Add benchmark for inserts 2015-08-29 22:36:58 -07:00
Victor Denisov
6d3f617dd2 Add changelog and bump version 2015-08-02 10:15:11 -07:00
Greg Weber
f385dade31 Merge pull request #25 from VictorDenisov/master
Handle the case when mongodb returns less documents than cursor reque…
2015-07-31 17:59:04 -07:00
Victor Denisov
dca5ae051a Apply reviewer's comments 2015-07-31 03:25:01 -07:00
Victor Denisov
0038e4163c Add big test 2015-06-20 21:14:26 -07:00
Victor Denisov
5e72c8ad61 Handle the case when mongodb returns less documents than cursor requested
If we request certain amount of values from a cursor the mongo db server can
return less than requested. So, if we provide -100000 then mongodb may
return 97899 and close the cursor.

Instead of relying on negative values this implementation will use only
positive numbers and will close the cursor itself as soon as the driver
receives enough results.

It fixes the issue #24 from github.
2015-06-19 18:23:44 -07:00