871 Commits

Author SHA1 Message Date
kansi
8310b04b17 Merge branch 'master' into bug/1670/asset-language-api-fix 2017-11-03 11:38:09 +05:30
kansi
961d7f5b29 Merge branch 'master' into bug/1702/invalid-asset-data-keys 2017-11-02 19:33:32 +05:30
kansi
263e9a25f6 Unique index for bigchain collection, fixed test case 2017-11-01 21:23:06 +05:30
kansi
f3da30aea0 Validate nested keys for asset.data and metadata 2017-11-01 17:26:16 +05:30
kansi
cd636101a7 Support abbreviated values for "language" 2017-10-31 16:54:47 +05:30
kansi
1de5375962 Validate asset data keys 2017-10-31 15:16:59 +05:30
kansi
7226584215 Api fix for asset language 2017-10-31 10:12:16 +05:30
kansi
421c67c621 Fixed mongodb tests 2017-10-27 15:31:44 +05:30
kansi
199473178f Fix rethinkdb tests 2017-10-24 18:03:57 +05:30
kansi
5954d6360a Added cmd flag --init to start command 2017-10-24 16:59:10 +05:30
kansi
0b44c385a6 Merge branch 'master' into bug/1660/logging-server-port-config 2017-10-24 10:10:18 +05:30
kansi
50eb857133 Fix flake8 ambiguous variable "l" issue 2017-10-23 18:06:11 +05:30
kansi
01390a8cc0 Fix code coverage 2017-10-23 10:20:56 +05:30
kansi
0c0d3049f2 Provide log server port as config paramter 2017-10-23 09:17:58 +05:30
vrde
e7640feaec
Merge branch 'block-publisher-plugin-arch' 2017-08-11 11:24:07 +02:00
vrde
c4853f54b9
Add more coverage 2017-08-09 16:23:03 +02:00
vrde
a0cbb63db8
Rename things, add tests 2017-08-09 10:51:30 +02:00
Krish
3ec4153375 Support for advertised host, port, scheme for Websockets (#1703)
* Support for advertised host, port, scheme for Websockets

* Update docs

* Add a docstring

* Set env vars in Dockerfile-dev too
2017-08-08 12:04:58 +02:00
vrde
21a7da1c9d
Plugins can subscribe to specific events 2017-08-08 11:28:35 +02:00
vrde
8d72421d7c
Add PubSub 2017-08-08 11:28:35 +02:00
Ketan Bhatt
684fffe917 HTTP API Logger logs request path and method too 2017-07-09 16:44:21 +05:30
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
Sylvain Bellemare
26f14aadec Parametrize websocket api tests for docker 2017-07-03 15:23:50 +02:00
Sylvain Bellemare
4d61c5e8ca Refine the condition uri regex for validation
closes #1516
2017-07-03 15:08:47 +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
libscott
69a07b282d remove federation test that is failing sometimes in the case of RethinkDB (#1587) 2017-06-27 15:27:49 -07: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
Rodolphe Marques
842664cb14 Improved documentation
- fixed test name
2017-06-16 10:31:46 +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
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
Rodolphe Marques
cc9c8a4d0d fixed broken test 2017-06-14 10:51:57 +02:00
Rodolphe Marques
03ba6391c6 updated tests for the events api 2017-06-14 10:38: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
Rodolphe Marques
05a6653d5f Fixed web related tests 2017-06-13 12:31:49 +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