1369 Commits

Author SHA1 Message Date
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
ddfce61b79 Added secondary index for "id" in bigchain collection. 2017-10-27 15:05:43 +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
020d463e8d Modified log port config checks. 2017-10-23 21:08:44 +05:30
kansi
dc00e16fda Apply "log" environment variables to config 2017-10-23 16:00:09 +05:30
kansi
0c0d3049f2 Provide log server port as config paramter 2017-10-23 09:17:58 +05:30
Troy McConaghy
6648b3473c Update version.py version to 1.2.0.dev for docs 2017-09-26 11:39:47 +02:00
vrde
e7640feaec
Merge branch 'block-publisher-plugin-arch' 2017-08-11 11:24:07 +02:00
vrde
0f139a1999
Fix typo 2017-08-09 16:35:12 +02:00
vrde
c4853f54b9
Add more coverage 2017-08-09 16:23:03 +02:00
vrde
05ff9cd61f
Add docs 2017-08-09 16:14:14 +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
vrde
f5f964d07a Merge pull request #1644 from ketanbhatt/feat/1546/http-api-logger-logs-path-and-method
HTTP API Logger logs request path and method too
2017-08-03 09:53:18 +02:00
Rodolphe Marques
640c9cc5d6 Merge pull request #1643 from ketanbhatt/chore/679/rename-variable-validity
Rename validity to blocks_validity_status
2017-08-01 09:44:58 +02:00
Isaac van Bakel
cb5125ecfa Fixed error line missing from transaction.py
The second instance of the recipients error message is missing a line,
making the message meaningless.
2017-07-28 20:35:06 +01:00
KURO1
3e6948bca4 Add the missing table asset in backend.schema 2017-07-10 17:54:04 +08:00
Ketan Bhatt
684fffe917 HTTP API Logger logs request path and method too 2017-07-09 16:44:21 +05:30
Ketan Bhatt
4056f315ae Rename validity to blocks_validity_status 2017-07-09 12:22:39 +05:30
libscott
e8ee39463f 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-06 19:50:28 +02:00
Troy McConaghy
74c57d3e2b Changed version in version.py to 1.1.0.dev 2017-07-05 15:36:22 +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