30 Commits

Author SHA1 Message Date
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
Troy McConaghy
8f24e10fdc Docs: Noted unspents endpoint not yet implemented 2016-11-20 14:03:42 +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
eead7dbdda Merge remote-tracking branch 'origin/master' into feat/746/new-naming-convention-for-keys 2016-11-17 11:41:23 +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
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
tim
5ef532976d Corrections to render sphinx correctly 2016-11-15 13:46:39 +01:00
tim
f82f1add03 TransactionLinks --> URIs 2016-11-15 13:18:25 +01:00
tim
284411d881 PR Feedback 2016-11-15 13:18:25 +01:00
tim
93f3e9a06b Document unspents endpoint 2016-11-15 13:18:25 +01:00
tim
74b1662a78 Format http api docs to 79 chars 2016-11-15 13:18:25 +01:00
troymc
38e28d80e5 Changed example AWS deployment config file to use an Ubuntu 16.04 AMI & updated docs 2016-11-13 14:59:40 +01:00
tim
1c8fec730c Format http api docs to 79 chars 2016-11-11 15:38:28 +01:00
Rodolphe Marques
3909538c62 Replace all occurrences where vk is used as a shortcut
for public key and replaced it with `pk`
2016-11-10 17:20:27 +01:00
Rodolphe Marques
c068f04a82 Replaced VerifyingKey with PublicKey
Replaced SigningKey with PrivateKey
Replaced all occurences of signing key with private key
Replaced all occurences of verifying key with public key
2016-11-10 17:01:06 +01:00
MinchinWeb
658aa117c0 Remove sphinxcontrib-napoleon from doc requirements
As of Sphinx 1.3, this is included in the the core Sphinx package
2016-11-02 09:29:05 +01:00
troymc
e86f52fa15 Security: updated the Ubuntu AMI in example_deploy_config.py 2016-10-31 14:22:31 +01:00
Troy McConaghy
7ed82be0fe Merge pull request #759 from bigchaindb/rm-docs-page-python-server-api-by-example
Removed docs page "The Python Server API by Example"
2016-10-28 12:05:53 +02:00
Troy McConaghy
c1aa19935d Merge pull request #757 from bigchaindb/update-http-api-docs
Updated the docs page about the HTTP API
2016-10-28 12:04:58 +02:00
troymc
b55dd4ae29 Updated the end of quickstart.md to point reader to the Python driver docs 2016-10-28 10:51:58 +02:00
troymc
0fb9c7539a Removed python-server-api-examples from index 2016-10-28 10:40:44 +02:00
troymc
97dd4eae85 Removed page python-server-api-examples.md 2016-10-28 10:39:26 +02:00
troymc
b9b2ccdf62 Updated Transaction Concepts heading and link 2016-10-27 19:01:33 +02:00
troymc
a52921e9ec Updated the docs page about the HTTP API 2016-10-27 18:45:11 +02:00
troymc
740cb34828 Merge remote-tracking branch 'origin/master' into move-data-models-docs-page-to-root-docs 2016-10-27 14:59:24 +02:00
troymc
d2d9539e4c Updated path to version.py in docs/server/source/conf.py 2016-10-27 14:17:16 +02:00
troymc
cd2fd494ac Moved docs directory to docs/server, except README.md 2016-10-27 14:09:24 +02:00