Commit Graph

1093 Commits

Author SHA1 Message Date
Sylvain Bellemare 8d54d2ea4b Increase version for patch release v1.0.1 2017-07-13 12:13:55 +02:00
KURO1 18dcb98d2b Add the missing table asset in backend.schema 2017-07-13 12:11:26 +02:00
libscott 599dd21410 MongoDB socket timeout to handle master re-election (#1638)
* add a socket timeout so that changefeeds can reconnect if theres a re-election

* fix threshold max depth at 100
2017-07-13 12:11:26 +02:00
Troy McConaghy fc0ec050f1 Updated version.py for the 1.0.0 release 2017-07-05 14:48:17 +02:00
vrde 8457cb35eb
Add middleware to strip content-type headers from GETs 2017-07-04 14:01:56 +02:00
Krish e8411fc99e Do not allow duplicate GENESIS block creation - #1556 (#1612)
* Add a check for GENESIS transaction

* Add test and fixture

* Removed database query for GENESIS block

* Undo log level change
2017-07-03 17:21:15 +02:00
Rodolphe Marques e89623c836 Merge pull request #1470 from bigchaindb/fix/outputs-public-keys-validate
check output conditions with single statement (#1450 unrevert)
2017-07-03 15:46:46 +02:00
Sylvain Bellemare 4d61c5e8ca Refine the condition uri regex for validation
closes #1516
2017-07-03 15:08:47 +02:00
Rodolphe Marques 9033ba76f8 Remove unnecessary output_has_owner method.
- Refactor the code
2017-07-03 14:30:19 +02:00
Rodolphe Marques aaf4fcb91e Merge remote-tracking branch 'origin/master' into fix/outputs-public-keys-validate 2017-07-03 14:15:40 +02:00
libscott 5e9b7f4ffe Remove condition details signature, rename subfulfillments to subconditions (#1589)
* implement output.condition.details marshalling and remove signature field

* rename outputs[].condition.details.subfulfillments to subconditions

* simpler threshold depth overlow handling

* pass public_key as kwarg

* change ccv1 condition uri in docs

* import base58 at top in test_transaction
2017-06-30 09:44:22 +02:00
libscott b1ad6045b6 Rename "output" to "output_index" in /api/v1/outputs (#1596)
* rename output to output_index in /api/v1/outputs

* rename transaction.input.fulfills.output to output_index

* fix rethinkdb queries for output_index
2017-06-30 09:40:50 +02:00
Sylvain Bellemare 3aab15d398 Switch version to development mode 2017-06-23 11:39:23 +02:00
Sylvain Bellemare e74e32d6ea Bump version to 1.0.0rc1 2017-06-23 10:50:49 +02:00
libscott 074e783088 tx version break step with server version (#1574)
* tx version break step with server version
* fix regular expression for tx version
* restore docstring for Transaction version parameter
* add test for correct transaction version
2017-06-22 07:50:42 -07:00
Krish 9ceea89537 Enable Auth over TLS connections (#1552)
* Changes to support auth on the infrastructure
* Auth over TLS/SSL support in BigchainDB, MongoDB, Monitoring Agent, Backup Agent
* Update certificates: Different OUs specified now
* Code formatting
- Make flake happy!
* Raise proper authentication failed error
* Documentation changes for auth
* Support auth in k8s deployment
* Commit certs for monitoring and backup agents
* Configuration to allow Cloud Manager Backup Agent to backup data
* Update docs and remove authentication error
2017-06-22 16:32:04 +02:00
Sylvain Bellemare 02fe712c34 Integrate cryptoconditions version 02 2017-06-22 14:56:22 +02:00
vrde 0b4c067129 Merge pull request #1540 from bigchaindb/handle-exception-if-conn-closed
Add exception handling
2017-06-22 14:03:54 +02:00
Troy McConaghy 869e3c978f Fixed error message when GET /api/v1/statuses
Fixes #1568
2017-06-21 10:18:57 +02:00
Rodolphe Marques b523ba3fe5 Rename unspent -> spent in outputs endpoint
- If spent=None return all outputs
- If spent=True return only spent outputs
- If spent=False return only unspent outputs
- Updated documentation
- Add the ability to return only spent outputs in core
- Added and update tests
2017-06-16 10:31:46 +02:00
Rodolphe Marques 8d60796765 Merge pull request #1541 from bigchaindb/feat/1525/inconsistency-relative-links
Remove relative links
2017-06-16 10:30:20 +02:00
Rodolphe Marques 4d1131d90c Remove links from statuses endpoint
- Updated documentation
- Updated tests
2017-06-16 10:01:45 +02:00
Rodolphe Marques 446e454a77 outputs endpoint returns list of objects instead of links
- Updated documentation
- Updated tests
2017-06-16 10:01:45 +02:00
tim 555e823781 Resolve TODO configurable ws endpoint 2017-06-16 09:58:51 +02:00
tim bd0d79d399 Allow scheme configuration for ws-server 2017-06-16 09:55:46 +02:00
tim 673062f892 Remove host+port from / and /api/v1/ 2017-06-16 09:52:47 +02:00
Rodolphe Marques dda6517451 Merge pull request #1532 from bigchaindb/feat/1531/consistent-naming
Consistent naming of `transaction_id`
2017-06-16 09:50:43 +02:00
Tim Daubenschütz 41805de0c2 Merge pull request #1543 from bigchaindb/feat/1038/fix-tx-endpoint
Fix /transactions/id endpoint
2017-06-16 09:50:06 +02:00
Rodolphe Marques c2e44d99d4 Merge pull request #1529 from bigchaindb/feat/1147/consolidate-root-urls
Consolidate root urls
2017-06-15 15:05:31 +02:00
tim eb791aa2ce Include Location header in POST /transactions 2017-06-14 16:53:22 +02:00
tim 6cedab47a1 /transactions/ID only returns VALID transactions 2017-06-14 15:42:04 +02:00
vrde 55e766ce07
Add exception handling 2017-06-14 11:49:05 +02:00
Rodolphe Marques f1a9650679 Consistent naming on the events api 2017-06-14 10:36:23 +02:00
Rodolphe Marques fa04899003 Merge remote-tracking branch 'origin/feat/1147/consolidate-root-urls' into feat/1531/consistent-naming 2017-06-14 10:19:01 +02:00
vrde e5ca42a159 Merge pull request #1483 from bigchaindb/remove-useless-options-from-cors
Remove useless options from CORS
2017-06-13 16:23:07 +02:00
Rodolphe Marques 7ffea9e8a4 Renamed `tx_id` to `transaction_id`
- Documentation
- Api
2017-06-13 12:24:04 +02:00
Krish f35f01f1cb Add SSL support for MongoDB connections (#1510)
* Add SSL support for MongoDB connections

* Tests for TLS connectivity and other fixes

* Add test for ssl parameters

* Add test for AuthenticationError

* Cleanup branch

* Split env vars as per @r-marques suggestion

* Remove SSL_ENABLED and use BIGCHAINDB_DATABASE_SSL instead

* Changes as per comments from @r-marques

* Remove redundant tests

* Test for ConfigurationError
2017-06-13 12:04:34 +02:00
Rodolphe Marques 3ecb05a62d Renamed `txid` to `transaction_id` in data models
- Updated schema validation
- Updated database schema
- Updated database queries
- Fixed tests
2017-06-13 11:36:58 +02:00
Rodolphe Marques 27b1292497 Renamed `streams_v1` to `streams`
- Updated tests
- Updated documentation
2017-06-12 17:39:49 +02:00
Rodolphe Marques e0e27dc121 Consolidate root urls
- All information added to root url `/`
- Information specific to v1 under `/api/v1`
- Removed `_links`
- Removed `self`
2017-06-12 15:13:42 +02:00
libscott 32fc9244e6 Benchmark for CREATE transactions (#1511)
* benchmark code, throughput stats collection with graphite

* benchmarks readme

* benchmark readme update with results

* Update README.md

* add comment on why 10000 backlog size in benchmark
2017-06-10 10:01:28 +02:00
libscott c9b5637681 Merge pull request #1518 from bigchaindb/require_asset_data
Require asset.data for CREATE and asset.id for TRANSFER in the schemas
2017-06-08 13:22:04 +02:00
Scott Sadler 622885aef8 require asset.data for CREATE and asset.id for TRANSFER in the schemas 2017-06-07 13:39:24 +02:00
Rodolphe Marques edf2edac5b Merge remote-tracking branch 'origin/master' into fix/outputs-public-keys-validate 2017-06-01 17:24:12 +02:00
Rodolphe Marques 066ec71333 Remove unnecessary if statement 2017-06-01 17:07:26 +02:00
Rodolphe Marques 00dc44721f Merge remote-tracking branch 'origin/master' into init-timeout-rethinkdb-conn 2017-06-01 14:53:44 +02:00
Rodolphe Marques cc2e83f07d Added unit test for rethinkdb connection timeout
- Cosmetic changes
2017-06-01 14:30:20 +02:00
Scott Sadler 9e22e060ea Merge remote-tracking branch 'origin/master' into pipeline-fast-transaction 2017-06-01 14:15:46 +02:00
libscott 479bb78d9b Merge pull request #1389 from bigchaindb/vote-order-bug
Resume voting on blocks in order
2017-06-01 12:48:22 +02:00
Rodolphe Marques b3d72d84e4 Merge pull request #1357 from lavinasachdev3/bug/1336/handle-authentication-exception
Add a new exception for MongoDB Authentication errors
2017-06-01 10:15:26 +02:00