122 Commits

Author SHA1 Message Date
Scott Sadler
04a78aacec Merge remote-tracking branch 'origin/master' into inputs-outputs 2016-12-22 13:45:02 +01:00
Brett Sun
9319583ab4 Remove Asset and AssetLink (#982)
* Remove asset.validate_asset and move its validation checks to other areas

* Move Asset.get_asset_id to Transaction

* Remove Asset and AssetLink models

* Add test against creating TRANSFER transactions with bad asset
2016-12-22 10:19:21 +01:00
libscott
7e33f2bd52 Tx ID as Asset ID (#926)
* Allow AssetLinks to be used in place of Assets in the Transaction Model and enforce `Transaction.transfer()` to only take an AssetLink

* Remove AssetLink's inheritance from Asset

* Remove id from the Asset model

* Fix get_txids_by_asset_id query for rethinkdb after removing asset's uuid

Because `CREATE` transactions don't have an asset that contains an id
anymore, one way to find all the transactions related to an asset is to
query the database twice: once for the `CREATE` transaction and another
for the `TRANSFER` transactions.

* Add TODO notice for vote test utils to be fixtures

* Update asset model documentation to reflect usage of transaction id

* Fix outdated asset description in transaction schema
2016-12-20 17:28:15 +01:00
Troy McConaghy
8fa6789745 Merge pull request #965 from bigchaindb/move-all-runtests-docs-to-one-place
Consolidated all tests-related docs in one place
2016-12-20 14:02:52 +01:00
Brett Sun
ad6f267055 Add instructions for rebuilding docker images after upgrading 2016-12-20 13:52:46 +01:00
troymc
854d2974f5 Removed instructions for the case when PR #2884 wasn't merged 2016-12-20 11:33:47 +01:00
libscott
b2cb426097 Merge pull request #962 from bigchaindb/remove-asset-keywords
Remove asset keywords
2016-12-20 10:02:42 +01:00
Brett Sun
8470854769 Add extra set of backticks for code-blocks in inputs and outputs docs 2016-12-19 16:14:58 +01:00
Brett Sun
b64026441b Add changes from @ttmc's suggestions 2016-12-19 16:12:09 +01:00
Brett Sun
d412c934b1 Add extra sentence to inputs and outputs docs describing divisible assets 2016-12-19 16:04:31 +01:00
Brett Sun
727e9822b5 Move asides in inputs and outputs docs to be sphinx notes 2016-12-19 16:04:31 +01:00
Brett Sun
a0487493ae Small wording and typo fixes for inputs and outputs docs 2016-12-19 16:04:31 +01:00
Scott Sadler
9002066d4a fix documentation link error re inputs-outputs 2016-12-19 12:42:54 +01:00
Scott Sadler
33f05f7f6b re-frame documentation on crypto conditions around inputs and outputs 2016-12-19 12:29:29 +01:00
Scott Sadler
d479a186a4 address wording problems re inputs/outputs in transaction-model.rst docs 2016-12-19 12:29:29 +01:00
Brett Sun
2f4da6a32f Extra renames and small fixes for inputs-outputs (#952)
* Fix typos pointed out in review by @ttmc

* Reword description of an input in the transaction schema

* Re-add removed comment in transaction model

* Fix small typos in some comments in the transaction model

* Add trailling commas to a multiline dict in the transaction model tests

* Fix small things with server docs changes

* Add description of public keys' association with conditions in transaction concept docs

* Reword description of Transaction.create's  and  args

* Rename output_uri to output_condition_uri

* Fix hardcoded class name vs. self.__class__

* Rename instances of 'out' with 'output'

* Rename instances of  and  with  to avoid name clash with built-in

* Remove unnecessary renaming of cryptoconditions.Fulfillment import in transaction model

* Remove instances of  in transaction model

* Remove usages of fulfillment in cases where input makes more sense

* Reword docstrings for init methods in transaction models

* Rename usages of condition where output is now a better fit

* Add descriptions to TransactionLink's txid and idx in schema

* Minor correction to output idx description in transaction yaml
2016-12-19 12:29:29 +01:00
Scott Sadler
27ad7b5092 s/fulfillments/inputs/g && s/conditions/outputs/g (docs changes) 2016-12-19 12:29:29 +01:00
Scott Sadler
ed55b3984e s/fulfillments/inputs/g && s/conditions/outputs/g (code changes) 2016-12-19 12:29:29 +01:00
troymc
ae236d9f23 Moved dev-and-test/running-all-tests.md content to tests/README.md 2016-12-18 11:41:04 +01:00
troymc
8fe0ece001 Renamed docs page 'Running Unit Tests' > 'Running All Tests' 2016-12-18 11:13:54 +01:00
Scott Sadler
d2827dfae8 remove asset keywords 2016-12-16 13:50:23 +01:00
troymc
71e52ccf3e Fixed HTTP API docs re/ API Endpoint 2016-12-16 13:36:13 +01:00
troymc
3b7464b498 Updated Azure Quickstart Template docs 2016-12-15 18:52:00 +01:00
Rodolphe Marques
976a3e8254 Merge remote-tracking branch 'origin/master' into feat/905/abstract-db-changefeed 2016-12-14 12:43:47 +01:00
libscott
dcede16aae Merge pull request #944 from bigchaindb/docs-warnings-as-errors
Treat warnings as errors in documentation builds
2016-12-13 16:59:52 +01:00
Scott Sadler
ec31fdeb30 treat warnings as errors in documentation builds 2016-12-13 14:55:46 +01:00
Troy McConaghy
f75e9e9c0d Merge pull request #929 from bigchaindb/update-cryptography-page-in-docs
Updated the Cryptography page in the docs
2016-12-13 14:18:56 +01:00
troymc
0e100e405c There's no standard for Base58 encoding. 2016-12-13 14:10:18 +01:00
Rodolphe Marques
8c46e40761 fixed documentation 2016-12-13 11:40:20 +01:00
Troy McConaghy
4493c17476 Merge pull request #930 from bigchaindb/fix-links-in-docs
Fixed broken & redirecting links in the docs
2016-12-12 18:41:47 +01:00
Brett Sun
d7d223801d Add configuration documentation for new database.backend setting (#934) 2016-12-12 18:31:34 +01:00
Sylvain Bellemare
8a68e24e69 Abstract db layer cherrypick docs (#932)
* Add README.md to tests/ to describe test structure and pytest customizations

* Add package-level docstrings to backends

* Add README.md explaining the backend architecture

* Small improvements to docstrings in backend modules

* Restructure the backend automodule docs

* Add more docstrings to backend connections

* Add init to base backend Connection class to document expected interface

* Reword the backend/README.md docs
2016-12-12 18:28:43 +01:00
Sylvain Bellemare
9c102aa140 Add todos 2016-12-12 15:48:48 +01:00
Sylvain Bellemare
d43e77ce4a Add docs for backend 2016-12-12 15:48:48 +01:00
Scott Sadler
98ca6ee5ab always try to include all operands on the first level of the statement 2016-12-12 15:15:38 +01:00
Scott Sadler
ea6ae4db20 revert data-models/vote-model documentation 2016-12-12 15:15:38 +01:00
Scott Sadler
94df6fc00a merge test_schema tests and tweak Data Models documentation index 2016-12-12 15:15:38 +01:00
Scott Sadler
7cb6c8913b unversion vote.rst since it's JITted now 2016-12-12 15:15:38 +01:00
Scott Sadler
a690fbee53 documentation fix for vote schema 2016-12-12 15:15:38 +01:00
Scott Sadler
e861353a73 documentation fixes for vote schema and remove vote-model.md in place of vote schema doc, and link to vote schema doc from data-models index 2016-12-12 15:15:38 +01:00
Scott Sadler
ecbeaa0b25 vote.id doesn't exist in server 2016-12-12 15:15:38 +01:00
Scott Sadler
b227739d89 render schema/vote.rst 2016-12-12 15:15:38 +01:00
Scott Sadler
31be5b3c8a generalize generate_schema_documentation.py 2016-12-12 15:15:38 +01:00
troymc
3a64f43016 Upgraded link to RethinkDB installation page to HTTPS 2016-12-11 16:32:02 +01:00
troymc
bdb6c62833 Fixed a broken link to the Data Models section 2016-12-11 16:29:44 +01:00
troymc
16390efaaf Improved the link to the PDF about setting up on Cloud9 2016-12-11 16:27:29 +01:00
troymc
10a697fa60 Fixed broken link to The Transaction Model 2016-12-11 16:23:39 +01:00
troymc
95691579ac Updated some links in the page about setting up a dev machine 2016-12-11 16:12:25 +01:00
troymc
606dfbb1d9 Updated link to InfluxDB home page 2016-12-11 13:08:16 +01:00
troymc
fb07aeb20d Updated link to fabtools on GitHub 2016-12-11 13:05:00 +01:00