2714 Commits

Author SHA1 Message Date
vrde
e3a6d3d343
Add tests for connection.run 2017-02-02 19:58:00 +01:00
vrde
702d74a584
Merge branch 'master' into implement-connection-run-for-mongodb 2017-02-02 19:37:14 +01:00
vrde
16571b539f
Normalize exceptions 2017-02-02 19:26:52 +01:00
Krish
d14f06c9d0 Merge pull request #1139 from bigchaindb/docs-error
Add param 'rethinkdb' in docs for configure cmd.
With support for both mongo and rethink now, the original command for configuration of bigchaindb:
```
docker run --rm -v "$HOME/bigchaindb_docker:/data" -ti   bigchaindb/bigchaindb -y configure
```
needs to be updated to
```
docker run --rm -v "$HOME/bigchaindb_docker:/data" -ti   bigchaindb/bigchaindb -y configure rethinkdb
```
for docker to work without breaking.
2017-02-02 16:18:26 +01:00
Krish
516c753910 Add param 'rethinkdb' in docs for configure cmd. 2017-02-02 16:06:50 +01:00
Troy McConaghy
a50943fc25 Merge remote-tracking branch 'origin/master' into docs/1111/update-CHANGELOG.md-for-v0.9 2017-02-02 15:37:17 +01:00
Troy McConaghy
0e6422f6cc Added line re: PR #1130 to CHANGELOG.md 2017-02-02 15:24:04 +01:00
Rodolphe Marques
90eb38e7f1 Merge pull request #1088 from bigchaindb/feat/1055/commands-add-remove-replicas
BigchainDB commands to add and remove nodes from the replica set
2017-02-02 14:00:49 +01:00
Rodolphe Marques
153b3dd8d4 Merge remote-tracking branch 'origin' into bug/1132/vote-pipeline-validates-transactions-twice 2017-02-02 13:38:34 +01:00
Rodolphe Marques
6b073f0898 Removed duplicated transaction validation in votes pipeline.
Separated block validation from transaction validation.
Refactored block signature validation.
2017-02-02 13:35:20 +01:00
Rodolphe Marques
2262914868 Merge pull request #1130 from bigchaindb/feat/519/fix-logic-validate-block
fix wrong logic in validate_block
2017-02-02 13:34:47 +01:00
Rodolphe Marques
6fd8c7a20b Feat/105/secondary indexes inputs outputs (#1125)
* Added inputs/outputs secondary indexes for rethinkdb

Added tests.

* Added inputs/outputs secondary indexes for mongodb

Fixed tests.

* fixed comment
2017-02-02 09:45:13 +01:00
Troy McConaghy
7206eb35c4 Updated CHANGELOG.md for v0.9.0 2017-02-01 17:44:11 +01:00
Brett Sun
d49b06933a Fix docstring of recipient argument to be a list of tuples (#1091) 2017-02-01 16:24:34 +01:00
Rodolphe Marques
b7f70befe6 fix wrong logic in validate_block 2017-02-01 15:10:17 +01:00
Scott Sadler
c572464be6 fix asset_id index in mongodb 2017-02-01 14:47:19 +01:00
Scott Sadler
7f5318cba4 check validate_transaction raises DoubleSpend in integration test 2017-02-01 14:33:53 +01:00
Scott Sadler
d1b3a206ca get integration test working issue 633 2017-02-01 14:25:11 +01:00
ryan
2de652ad5c add replicating test 2017-02-01 14:25:11 +01:00
libscott
6783478126 Merge pull request #1117 from bigchaindb/unicode-529
test transaction supports unicode
2017-02-01 12:14:11 +01:00
krish7919 (Krish)
b318d62f7e Update Dockerfile with comments on force refresh 2017-01-31 13:07:06 -05:00
krish7919 (Krish)
aae60ea467 Solves #1105.
The `apt-get update` command executed with the install instructions
should not use a locally cached storage layer.
2017-01-31 13:07:06 -05:00
Troy McConaghy
0600483a90 Merge pull request #1119 from bigchaindb/docs/1077/recommend-ubuntu-16.04-for-now
Recommend Ubuntu 16.04 for now
2017-01-31 17:16:19 +01:00
vrde
1588681c5b
Fix pep8 error 2017-01-31 17:13:26 +01:00
vrde
857cdb9b34
Checking for replica set is now within try..except 2017-01-31 17:01:22 +01:00
vrde
157db3e01f
Fix exception in test 2017-01-31 16:59:43 +01:00
Troy McConaghy
2782ed0b32 Merge remote-tracking branch 'origin/master' into docs/1077/recommend-ubuntu-16.04-for-now 2017-01-31 16:49:04 +01:00
Troy McConaghy
815449def4 Merge pull request #1118 from bigchaindb/docs/1112/remove-example-apps-page
Removed 'Example Apps' page from the docs
2017-01-31 16:37:23 +01:00
Rodolphe Marques
c9af57943b Merge remote-tracking branch 'origin/master' into feat/1055/commands-add-remove-replicas 2017-01-31 16:29:18 +01:00
Rodolphe Marques
84626b6e32 Improved tests
Fixed typo
Add extra validation to hostnames to make sure host is not empty
2017-01-31 16:23:09 +01:00
Rodolphe Marques
426b02a3f1 Merge pull request #1082 from bigchaindb/feat/1057/mongodb-configure
Update configure command to support multiple backends
2017-01-31 16:21:35 +01:00
Troy McConaghy
88ea6c6564 In setup-run-node.md, link to page in Appendices re/ installing OS-level deps 2017-01-31 16:18:20 +01:00
Rodolphe Marques
9913929b9d simplify run_configure 2017-01-31 16:14:18 +01:00
Troy McConaghy
70e9a7a33c Updated many docs pages from Ubuntu 14.04 to 16.04 2017-01-31 16:03:57 +01:00
Scott Sadler
2af8fcb918 test unicode write block to disk 2017-01-31 15:48:34 +01:00
Scott Sadler
248e89a666 unicode tests uses serialize() and includes info about unicode symbol 2017-01-31 15:43:46 +01:00
Troy McConaghy
b68557507f Updated Ansible playbooks & docs for Ubuntu 16.04 deployment 2017-01-31 15:40:39 +01:00
Rodolphe Marques
f0e298bcd7 Added docstrings. Removed unnecessary returns.
Created fixture to simplify the tests.
Better comments.
2017-01-31 14:54:36 +01:00
Rodolphe Marques
69068fc919 Document how to run BigchainDB with MongoDB (#1116)
* Document changes in the configure command.

Document new add/remove replicas commands.

* updated quickstart with mongodb instructions

* Docs on how to setup mongodb dev node with and without docker.

Update replSet option in docker-compose

* Fixed typo.

More explicit on how to run the tests.

* Fixed typo in mongodb docker instructions.

More explicit about requiring mongodb 3.4+
2017-01-31 13:53:36 +01:00
Rodolphe Marques
2c26468cea Added some constants to simplify test 2017-01-31 13:51:49 +01:00
Troy McConaghy
375873b6ed Updated docs page about Terraform: Ubuntu 14.04 --> 16.04 2017-01-31 11:24:46 +01:00
Troy McConaghy
002c567bdf Updated the AMIs to Ubuntu 16.04 images in amis.tf 2017-01-31 11:13:45 +01:00
Rodolphe Marques
4740150f6d Updated config fixture
Simplified tests.
2017-01-31 10:57:58 +01:00
Rodolphe Marques
fafdac2523 Retrieve default backend from env if set.
Fixed tests.
2017-01-31 10:34:45 +01:00
Rodolphe Marques
555745abbf fixed pep8 issue 2017-01-31 10:04:45 +01:00
Rodolphe Marques
86542fd745 remove unnecessary test 2017-01-31 09:58:20 +01:00
vrde
1557645e94
Better exception handling 2017-01-31 02:07:36 +01:00
vrde
a8bbc87c1c
Major improvs for MongoDBConnection class 2017-01-31 01:29:12 +01:00
vrde
d8ba1f8f67
Merge branch 'master' into implement-connection-run-for-mongodb 2017-01-30 23:45:44 +01:00
Troy McConaghy
17a07a80f1 Removed 'Example Apps' page from the docs 2017-01-30 18:11:29 +01:00