2312 Commits

Author SHA1 Message Date
Scott Sadler
01037a0b82 fix warning generated in schema/transaction.rst 2016-11-23 16:14:27 +01:00
Scott Sadler
c8228d7ff7 move 'Data Models' from root to server docs and make links to schema 2016-11-23 16:14:11 +01:00
Ryan Henderson
e2c9e4e746 remove rethinkdb call from election.py (#853) 2016-11-23 10:16:57 +01:00
Rodolphe Marques
848f771655 Merge pull request #854 from bigchaindb/fix-backlog_reassign_delay-hardcoded
Removed hardcoded backlog_reassign_delay.
2016-11-23 10:12:33 +01:00
Rodolphe Marques
e2ea100eb9 Removed hardcoded backlog_reassign_delay.
It now uses the one provided by the settings.
2016-11-22 23:00:16 +01:00
ryan
9ab0294bc9 partial removal of rethinkdb calls from tests 2016-11-22 14:47:11 +01:00
Troy McConaghy
7cbcd4d502 Put timestamps back in docs/root/source/index.rst
The docs page about timestamps in BigchainDB was temporarily removed from the docs by PR #817. The timestamps.md file itself was put back (and edited) but it was never put back in the index. This commit puts it back in the index.
2016-11-22 14:29:00 +01:00
libscott
b59751bba6 Fix documentation error in core.py 2016-11-22 14:08:54 +01:00
troymc
17322b1e3a Addressed all comments by @sohkai in new Azure template page 2016-11-22 13:59:17 +01:00
libscott
10b315086b Merge pull request #817 from bigchaindb/remove_tx_timestamp
Remove user-provided Transaction timestamp
2016-11-22 13:48:23 +01:00
Scott Sadler
22d267efe4 mention assignment_timestamp by name in timestamps.md 2016-11-22 13:05:25 +01:00
Scott Sadler
59394233b2 timestamps.md "many associated timestamps" 2016-11-22 13:03:30 +01:00
Scott Sadler
51452dea57 changes to timestamps.md documentation 2016-11-22 13:03:30 +01:00
Scott Sadler
33bafc341a put back timestamps.md 2016-11-22 13:03:30 +01:00
Scott Sadler
7dc9f52fe0 remove transaction timestamp 2016-11-22 13:03:30 +01:00
libscott
8343bab89f Schema definition (#798)
Commit messages for posterity:

* wip transaction schema definition
* test for SchemaObject
* test SchemaObject definions meta property
* schema documentation updates
* test for basic validation
* commit before change to .json file definiton + rst generation
* move to straight .json schema, test for additionalProperties on each object
* add asset to transaction definiton
* remove outdated tx validation
* make all tests pass
* create own exception for validation error and start validating transactions
* more tx validation fixes
* move to yaml file for schema
* automatic schema documentation generator
* remove redundant section
* use YAML safe loading
* change current_owners to owners_before in tx schema
* re-run tests and make correct yaml schema
* fix some broken tests
* update Release_Process.md
* move tx validation into it's own method
* add jsonschema dependency
* perform schema validation after ID validation on Transaction
* Release_Process.md, markdown auto numbering
* remove old transaction.json
* resolve remaining TODOs in schema docuementation
* add `id` and `$schema` to transaction.yaml
* add transaction.yaml to setup.py so it gets copied
* address some concernes in PR for transaction.yaml
* address more PR concerns in transaction.yaml
* refactor validtion exceptions and move transaction schema validation into it's own function in bigchaindb.common.schema.__init__
* add note to generated schema.rst indicating when and how it's generated
* move tx schema validation back above ID validation in Transaction.validate_structure, test that structurally invalid transaction gets caught and 400 returned in TX POST handler
* remove timestamp from transaction schema index
* Add README.md to bigchaindb.common.schema for introduction to JSON Schema and reasons for YAML
* Use constant for schema definitions' base prefix
* Move import of ValidationError exception into only the tests that require it
* Move validate transaction test helper to tests/common/util.py
* move ordered transaction schema load to generate_schema_documentation.py where it's needed
* use double backticks to render terms in schema docs
* change more backticks and change transaction version description in transaction schema
* make details a mandatory property of condition
* Many more documentation fixes
* rename schema.rst to schema/transaction.rst
* Fix documentation for Metadata
* Add more links to documentation
* Various other documentation fixes
* Rename section titles in rendered documentation
* use  to manage file handle
* fix extrenuous comma in test_tx_serialization_with_incorrect_hash args
* 'a' * 64
* remove schema validation until we can analyze properly impact on downstream consumers
* fix flake8 error
* use `with` always
2016-11-22 11:17:06 +01:00
Scott Sadler
d275890f60 fix race condition in test_stale_monitor test_full_pipeline 2016-11-21 17:13:34 +01:00
troymc
03406d2760 docs: azure template -> old & new azure templates 2016-11-21 16:41:53 +01:00
Rodolphe Marques
7a7d66cf36 Merge pull request #845 from bigchaindb/bug/842/fix-typo
fixed typo
2016-11-21 14:17:49 +01:00
Rodolphe Marques
3ec79a54e7 fixed typo 2016-11-21 14:10:20 +01:00
Brett Sun
8998625706 Remove duplicated documentation test code that's been moved to the driver (#844) 2016-11-21 13:16:16 +01:00
Troy McConaghy
8f24e10fdc Docs: Noted unspents endpoint not yet implemented 2016-11-20 14:03:42 +01:00
Rodolphe Marques
7b170b32c2 Merge pull request #810 from bigchaindb/feat/332/get-txs-by-asset-id-ignore-invalid-blocks
get_transactions_by_asset_id now ignores invalid transactions
2016-11-18 15:56:45 +01:00
Rodolphe Marques
e03a547276 Merge remote-tracking branch 'origin/master' into feat/332/get-txs-by-asset-id-ignore-invalid-blocks 2016-11-18 14:50:36 +01:00
Rodolphe Marques
aef5dcdf1b fixed typo 2016-11-18 14:40:26 +01:00
Rodolphe Marques
8772fcbf32 Merge pull request #811 from bigchaindb/feat/792/get-txs-by-metadata-id-ignore-invalid-blocks
get_transaction_by_metadata_id now ignores invalid transactions
2016-11-18 11:14:04 +01:00
Rodolphe Marques
547ad32966 Merge remote-tracking branch 'origin/master' into feat/792/get-txs-by-metadata-id-ignore-invalid-blocks 2016-11-18 10:17:01 +01:00
Rodolphe Marques
826db6c122 fixed test 2016-11-18 10:12:39 +01:00
Troy McConaghy
950ce9150a Merge pull request #813 from bigchaindb/feat/773/update-aws-deployment-scripts-to-ubuntu-16.04
Updated example AWS deployment config file to use Ubuntu 16.04 LTS
2016-11-17 16:13:02 +01:00
Rodolphe Marques
bc7f27e39a Merge remote-tracking branch 'origin/master' into feat/792/get-txs-by-metadata-id-ignore-invalid-blocks 2016-11-17 12:45:20 +01:00
Rodolphe Marques
f2922222be Added some comments to make the code more readable 2016-11-17 12:45:04 +01:00
libscott
c303fa8b1d Merge pull request #816 from bigchaindb/fix-timestamp-indexes
Fix database timestamp indexes
2016-11-17 12:17:09 +01:00
Rodolphe Marques
524e44bda7 Merge pull request #807 from bigchaindb/feat/746/new-naming-convention-for-keys
Feat/746/new naming convention for keys
2016-11-17 12:14:56 +01:00
Rodolphe Marques
9e1da05103 Fixed some tests 2016-11-17 11:41:54 +01:00
Rodolphe Marques
eead7dbdda Merge remote-tracking branch 'origin/master' into feat/746/new-naming-convention-for-keys 2016-11-17 11:41:23 +01:00
Troy McConaghy
795467c0f2 Merge pull request #824 from bigchaindb/bug/823/fix-bigchaindb-load
Fixed bug in `bigchaindb load`
2016-11-16 16:13:59 +01:00
libscott
f5bf436205 Merge pull request #815 from bigchaindb/bdb_cli_docs
Add a button to the docs linking to the bdb cli
2016-11-16 15:31:58 +01:00
Scott Sadler
9b4252a6c9 wording change to drivers&clients doc as requested by @ttmc 2016-11-16 15:28:01 +01:00
Scott Sadler
9951b61076 add some explanation to the client-drivers documentation page. 2016-11-16 15:28:01 +01:00
Scott Sadler
44e80ce2a0 link to CLI from drivers and clients section of documentation 2016-11-16 15:28:01 +01:00
Scott Sadler
1ead2ea0f1 add a button to the docs linking to the bdb cli 2016-11-16 15:27:13 +01:00
Troy McConaghy
81250e6059 Docs/826/direct link from server docs to py driver docs (#827)
* Removed python-driver.md page in server docs

* In server docs, changed Py Driver docs link to a direct link
2016-11-16 14:24:05 +01:00
Brett Sun
eb362fd6e9 Fix equality check for AssetLinks (#825) 2016-11-16 11:21:25 +01:00
troymc
2f6e8abac2 Fixed the call to Transaction.create(): 2nd arg a list of tuples 2016-11-16 10:10:09 +01:00
troymc
65a54470a6 Updated top docstring of commands/bigchain.py 2016-11-16 09:52:18 +01:00
Brett Sun
786635df4a Explicitly pass settings for flask into flask app factory (#750) 2016-11-15 17:41:35 +01:00
troymc
29d783425d Remove or comment-out the api_endpoint setting everywhere 2016-11-15 17:05:09 +01:00
troymc
5bf213d873 Removed api_endpoint from HTTP API docs & wrote how API Root URL is truly determined 2016-11-15 16:20:18 +01:00
Tim Daubenschütz
2fd6cc332b Merge pull request #819 from bigchaindb/docs/601/get_owned_ids
Corrections to render sphinx correctly
2016-11-15 14:40:44 +01:00
tim
5ef532976d Corrections to render sphinx correctly 2016-11-15 13:46:39 +01:00