Commit graph

342 commits

Author SHA1 Message Date
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
Greg Weber
bcce3704d9 Merge pull request #26 from Feeniks/index-expireAfterSeconds
Support for TTL
2015-06-19 09:48:24 -07:00
Ralph Morton
9087719087 Support for TTL 2015-06-19 18:26:38 +02:00
Greg Weber
cb912cb952 version bump for export of MongoContext constructor 2015-05-16 09:43:05 -07:00
Greg Weber
15b14c0acb Merge pull request #21 from mschristiansen/patch-2
Remove Control.Applicative imports and tab character
2015-05-16 11:40:11 -05:00
Mikkel Christiansen
f69440d7fa Remove applicative import warnings in GHC 7.10.1. 2015-05-15 15:26:34 +02:00
Greg Weber
1438926c31 Merge pull request #20 from mschristiansen/patch-1
Export MongoContext constructor
2015-05-15 07:34:27 -05:00
Mikkel Christiansen
6d877b4da2 Change all instances of myPipe, etc. to mongoPipe, etc. 2015-05-15 09:58:25 +02:00
Mikkel Christiansen
78c0619e02 Export MongoContext constructor
I have a reader monad with app configuration that I would like to make an instance of HasMongoContext and then need the MongoContext constructor to add a MongoContext to my own reader monad.
2015-05-14 14:53:08 +02:00
Greg Weber
64215c59a7 Merge pull request #15 from docmunch/aggregate-test
Add aggregate test
2015-03-22 13:48:34 -07:00
Sean Leather
77cde91c61 Add aggregate test 2015-03-22 19:55:01 +02:00
Sean Leather
6fd7c099a5 Install the dependencies for all packages 2015-03-22 19:02:20 +02:00
Sean Leather
8cfcb3894a Refactor to reduce duplicate code 2015-03-21 19:46:08 +02:00
Greg Weber
bcf0fa8495 Merge pull request #17 from docmunch/add-multi-ghc-travis
Use multi-ghc-travis
2015-03-21 10:39:04 -07:00
Sean Leather
c332becbb3 Use hvr/multi-ghc-travis to test multiple platforms
Note the comments regarding decisions to be made if you want to use various
features of this .travis.yml carried over from the previous version.
2015-03-21 14:00:39 +02:00
Sean Leather
d548af688e FlexibleContexts required for GHC 7.10 2015-03-21 13:53:16 +02:00
Greg Weber
4eb328e9b2 rename to ConnectionSpec 2015-03-05 12:21:41 -08:00
Greg Weber
c493f8f7b1 version bump for new Connection module 2015-03-05 12:17:45 -08:00
Greg Weber
ab123e55d8 Merge pull request #14 from mongodb-haskell/connection
Connection
2015-03-05 12:12:55 -08:00
Greg Weber
91701962c3 fix ActionWith usage 2015-03-05 12:00:01 -08:00
Greg Weber
98bcc2dfe8 abstract connection interface
rebase #13 to master
2015-03-05 11:21:58 -08:00
Greg Weber
a77370f2d9 Merge pull request #8 from fujimura/add-tests
Add tests for insert operations
2015-03-05 11:13:33 -08:00
Greg Weber
98a479dacb Merge pull request #11 from Cipherwraith/patch-1
Update tutorial.md
2015-01-10 08:13:58 -08:00