1568 Commits

Author SHA1 Message Date
Sylvain Bellemare
64cafc62ad Merge common lib (#739)
* Planning release

* Clean up after move

* Add exceptions.py

* Add crypto.py

* Adjust setup to package structure

* Fix tests

* Add test coverage

* Comply to flake8

* Add test coverage

* Transfer-tx fulfillments validation

* Remove condition and fulfillment ids

* Fix signing logic

Specifically for transfer-tx with multiple inputs
and outputs.

* Compliance to legacy BDB models

* Adjust fulfillment validation interface

* Add serialization validation for txids

* Use __eq__ to compare objects

* Heavy refactor to comply with current implementation

* Add Transaction.create

* Correct fulfillment validation logic

* Add Transaction.create for hashlock conditions

* Add hashlock condition serialization

* Transaction.transfer add single input and outputs

* Small adjustments to transfer-tx interface

* Create transfer-tx interface

* Increase test coverage

* Adjust fulfillment (de)serialization

* Catch CC Error for Fulfillment

* Allow custom thresholds

* PR feedback

* Fix tests

* Rename Data to Metadata

* Add Asset exceptions

* Add basic Asset model

* More renaming of payload => data

* Add Asset into work-flow-functions

* Add Asset amount to condition

* add fulfillment exception

* initial integration of asset

* Make transaction.py compy to 79 chars

* Make util.py comply to 79 chars

* Make exceptions.py comply to 80 chars

* Renaming inp to input_

* fix pep8 issues

* Correct raised error

* Remove resolved TODOs

* prevent adding None as fulfillment / condition to Transaction

* Small modifications to support new cryptoconditions

* Improve documentation (#42)

* Add doc strings for Fulfillment cls

* Add doc strings for TransactionLink cls

* Add doc strings for Condition cls

* Add doc strings for Data cls

* Add doc strings for Transaction cls

* Add doc strings for Asset cls

* Extract common implementation

* Tx model: Add test for empty inputs

* WIP: Implement sign tx

* Add tests for:
    - Conditions; and
    - Fulfillments

Mostly on the (de)serialization part.

* Finalize serialization logic for tx class

* Add Tests for tx serialization logic

* Add fulfillment validation

* Add ThresholdCondition support

* WIP transfer

* Clean up after move

* Adjust setup to package structure

* Fix tests

* Add test coverage

* Add test coverage

* Transfer-tx fulfillments validation

* Remove condition and fulfillment ids

* Fix signing logic

Specifically for transfer-tx with multiple inputs
and outputs.

* Fix test case

* Compliance to legacy BDB models

* Adjust fulfillment validation interface

* Add serialization validation for txids

* Use __eq__ to compare objects

* Heavy refactor to comply with current implementation

* Add Transaction.create

* Add validation tests

* Add Transaction.create for hashlock conditions

* Add hashlock condition serialization

* Transaction.transfer add single input and outputs

* Small adjustments to transfer-tx interface

* Create transfer-tx interface

* Increase test coverage

* Adjust fulfillment (de)serialization

* Catch CC Error for Fulfillment

* Allow custom thresholds

* Rename Data to Metadata

* Add basic Asset model

* Add Asset into work-flow-functions

* Add Asset amount to condition

* initial integration of asset

* Make tests comply to 79 chars per line

* Fixed tests

* fix pep8 issues

* Correct raised error

* Add test for asset initialization

* Remove resolved TODOs

* prevent adding None as fulfillment / condition to Transaction

* Small modifications to support new cryptoconditions

* Extract common tests

* Copy conftest from bigchaindb-common - by @timdaub

* Replace bigchaindb_common pkg by bigchaindb.common
2016-10-25 10:21:20 +02:00
Troy McConaghy
35788088f2 Merge pull request #705 from bigchaindb/update-docs-re-azure-node-deployment
Wrote instructions to deploy using Azure quickstart template
2016-10-24 17:12:15 +02:00
Troy McConaghy
53460a6856 Merge pull request #735 from bigchaindb/fix-doc-status-badge
Fix non-rendering Doc Status badge
2016-10-21 13:45:44 +02:00
Troy McConaghy
3c1fc13f22 Attempt to fix non-rendering Doc Status badge
on the README.md page
2016-10-21 10:25:07 +02:00
Troy McConaghy
846dffbc72 Removed the "We're hiring" line from README.md
because we're done hiring for a while.
2016-10-21 10:06:13 +02:00
troymc
2e2bf00990 Wrote instructions to deploy using Azure quickstart template 2016-10-20 14:50:35 +02:00
vrde
832c79d58e
Merge branch 'remove-conn-from-bigchaindb-core' 2016-10-20 13:44:12 +02:00
Troy McConaghy
81f7b9c306 Merge pull request #699 from bigchaindb/feat/691/document-HTTP-API-root
Documented the HTTP API root endpoint
2016-10-20 10:30:16 +02:00
Troy McConaghy
5d5c50cbd3 Merge pull request #702 from bigchaindb/add-explanation-to-cla-comment
Add Greg's explanation to our standard CLA comment
2016-10-19 17:56:10 +02:00
troymc
59f11484e5 Merge two paras in comment on CLA as suggested by Greg 2016-10-19 17:52:48 +02:00
Troy McConaghy
fba3762dcb Add Greg's explanation to our standard CLA comment
When someone outside of BigchainDB GmbH submits a pull request, we have a standard comment that we post, asking them to agree to our CLA. @gmcmullen recently wrote [a comment to explain why](https://github.com/bigchaindb/bigchaindb/pull/695#issuecomment-254747113), and I thought it would be a good idea to include that every time we ask.
2016-10-19 17:17:08 +02:00
vrde
15fb27f327
Remove conn property from core API 2016-10-18 17:32:32 +02:00
troymc
9e8daa72f3 Documented the HTTP API root endpoint 2016-10-18 15:01:02 +02:00
Troy McConaghy
b3b5137e6c Merge pull request #698 from bigchaindb/bug/694/install-ffi.h-dependency
Added installation of libffi-dev (or libffi-devel) to install docs, scripts, Dockerfiles
2016-10-18 11:28:35 +02:00
troymc
818f38f688 Added installation of libffi-dev (or libffi-devel) to install docs, scripts, Dockerfiles 2016-10-18 10:10:34 +02:00
Troy McConaghy
6cef0ca005 Merge pull request #684 from bigchaindb/fix-docstring-in-config-utils-py
Fixed the docstring in config_utils.py
2016-10-17 14:54:31 +02:00
troymc
6ef3f9943c Changed it’s to it's in 2 places 2016-10-17 14:49:21 +02:00
vrde
425d6714ac
Merge branch 'wrap-queries-in-connection-class' 2016-10-17 14:15:27 +02:00
Rodolphe Marques
cf359f7d2c Merge pull request #688 from bigchaindb/document-digital-asset
document digital asset
2016-10-17 12:59:39 +01:00
Tim Daubenschütz
cbece9df67 Merge pull request #687 from bigchaindb/bug/251/remove-unnecessary-test
Remove unnecessary test
2016-10-17 13:55:43 +02:00
tim
6346dc1f74 Remove unnecessary test
Checking whether or not write_transaction modifies a dict is not
relevant anymore, as no dict is passed.
2016-10-17 13:48:53 +02:00
Rodolphe Marques
5d71fb4369 fixed typo 2016-10-17 13:46:08 +02:00
Rodolphe Marques
a86a144dbb Merge branch 'master' into document-digital-asset 2016-10-17 13:45:09 +02:00
Rodolphe Marques
2c0ed0dc13 Merge pull request #685 from bigchaindb/bug/617/support-new-cc
Added support for cryptoconditions 0.5.0
2016-10-17 12:44:20 +01:00
Rodolphe Marques
b813021a44 replace minimum version with version matching 2016-10-17 13:37:58 +02:00
Rodolphe Marques
ebfc03d94d document digital asset 2016-10-17 12:59:49 +02:00
Rodolphe Marques
7275e6f44b Added support for cryptoconditions 0.5.0
Fixed tests.
2016-10-14 17:48:45 +02:00
troymc
4c6d97ec4a Fixed the docstring in config_utils.py 2016-10-14 14:53:44 +02:00
Troy McConaghy
ae2477b621 Merge pull request #666 from bigchaindb/bind-http-to-localhost-on-aws
New ability to bind the RethinkDB web interface port to localhost when deploying on AWS
2016-10-14 14:12:18 +02:00
troymc
b756e47e72 Merge remote-tracking branch 'origin/master' into bind-http-to-localhost-on-aws 2016-10-14 13:30:20 +02:00
Ryan Henderson
cac7c711f9 add top-level bigchaindb README (#678) 2016-10-14 11:05:00 +02:00
Troy McConaghy
46cdb4a3a2 Merge pull request #674 from bigchaindb/change-the-link-to-apiary
Changed BANNER message & link so it doesn't point to Apiary any more
2016-10-14 10:01:45 +02:00
troymc
e6337cd40d Changed HTTP API docs link in BANNER to https://bigchaindb.com/http-api 2016-10-14 09:49:35 +02:00
troymc
4a860dfb7a Updated docs to account for default example BIND_HTTP_TO_LOCALHOST=True 2016-10-13 17:19:34 +02:00
troymc
f3e092deab Changed the default example BIND_HTTP_TO_LOCALHOST=True 2016-10-13 17:01:45 +02:00
Rodolphe Marques
23cec1bcb1 Merge pull request #680 from bigchaindb/rebase/feat/564/implement-digital-asset-template
Rebase/feat/564/implement digital asset template
2016-10-13 13:55:49 +01:00
Rodolphe Marques
7d3c6ee5ce Addressed comments to import tests.
Fixed some pep8 violations
2016-10-13 13:53:08 +02:00
Rodolphe Marques
19caad3d34 use right version number for common 2016-10-13 11:47:30 +02:00
Rodolphe Marques
abf1c98d7c Merge remote-tracking branch 'origin/master' into rebase/feat/564/implement-digital-asset-template 2016-10-12 16:56:49 +02:00
Rodolphe Marques
3a3aea9207 remove assets import 2016-10-12 16:28:43 +02:00
Rodolphe Marques
1b002d6f3d Bumped version number for common 2016-10-12 16:15:46 +02:00
Troy McConaghy
2acf37e087 Merge pull request #673 from bigchaindb/change-readthedocs-io-links-to-docs-bigchaindb
Changed many *.readthedocs.io URLs to docs.bigchaindb.com URLs
2016-10-12 11:44:18 +02:00
Troy McConaghy
c92a70ab92 Merge pull request #667 from bigchaindb/update-python-driver-docs-page
Docs: Updated page about the Python Driver
2016-10-12 11:43:36 +02:00
Rodolphe Marques
753a1879f5 Delete assets.py
Code moved to models.py and core.py
2016-10-12 10:30:24 +02:00
Rodolphe Marques
80c9cdcb09 Finished integration of digital asset.
Fixed tests
2016-10-12 10:29:25 +02:00
vrde
3081f6b537
Wrap queries with connection object 2016-10-11 17:24:50 +02:00
troymc
00828a3488 Changed BANNER message & link so it doesn't point to Apiary any more 2016-10-11 10:02:10 +02:00
troymc
b70f3389b8 Changed a bunch more readthedocs.io URLs to docs.bigchaindb.com 2016-10-10 17:10:48 +02:00
troymc
2eda1c4781 In CONTRIBUTING.md, changed readthedocs.io URLs to docs.bigchaindb.com 2016-10-10 16:57:05 +02:00
troymc
49db7c70dc In README.md, changed readthedocs.io URLs to docs.bigchaindb.com 2016-10-10 16:55:39 +02:00