Commit graph

773 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
49b9b1ead2 Add build information to /info endpoint 2017-02-22 09:00:59 +00:00
Tobie Morgan Hitchcock
1b5b3c9643 Cleanup configuration setting code 2017-02-22 09:00:59 +00:00
Tobie Morgan Hitchcock
715eb86cec Add ability to disable logging output 2017-02-22 09:00:58 +00:00
Tobie Morgan Hitchcock
d9d6cdca6d Only log websocket error if not a close message 2017-02-21 00:17:56 +00:00
Tobie Morgan Hitchcock
05501ba79e Enable CIDR whitelisting for root authentication 2017-02-21 00:09:42 +00:00
Tobie Morgan Hitchcock
b70ef4594d Improve cli error messages 2017-02-21 00:08:23 +00:00
Tobie Morgan Hitchcock
b3c732ad7b Ensure default root password is randomly generated 2017-02-20 16:19:18 +00:00
Tobie Morgan Hitchcock
2c23ee3ffb Simplify cli start command arguments 2017-02-20 16:19:18 +00:00
Tobie Morgan Hitchcock
1373b3d71a Update README for use with rixxdb/dendrodb 2017-02-20 10:44:42 +00:00
Tobie Morgan Hitchcock
a49bbd74c7 Enable REST output as JSON and JSONAPI 2017-02-20 10:38:20 +00:00
Tobie Morgan Hitchcock
ff0acf5041 Add inflection package 2017-02-20 10:26:26 +00:00
Tobie Morgan Hitchcock
969179660b Enable data docs to self encode to JSON 2017-02-20 09:46:26 +00:00
Tobie Morgan Hitchcock
997633eaf4 Update 3rd party dependencies 2017-02-20 09:45:31 +00:00
Tobie Morgan Hitchcock
b3998e369e Minimise code 2017-02-20 09:45:30 +00:00
Tobie Morgan Hitchcock
b1165a6180 Use specific content-type options for each route 2017-02-20 09:45:30 +00:00
Tobie Morgan Hitchcock
b304c9f3f4 Add RETURN NULL / VOID / EMPTY query functionality 2017-02-20 01:45:09 +00:00
Tobie Morgan Hitchcock
631fd694a8 Specify default query values for http REST routes 2017-02-20 01:44:14 +00:00
Tobie Morgan Hitchcock
01621d74fe Add websocket endpoint for sql text queries 2017-02-20 01:44:14 +00:00
Tobie Morgan Hitchcock
529c1028a3 Improve and simplify RPC interface methods 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
e10debba6c Enable query params for USE NS / USE DB in queries 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
ac868694eb Enable query params for VERSION in queries 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
fbb0bd79bd Don’t delete txn until we have cancelled/committed 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
a700ef9bc4 Improve debug logging throughout codebase 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
6a719d815b Improve errors throught codebase 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
c3df9d791d Check websocket subprotocol for auth details 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
20d4bfadef Reduce POST content size to 1MB 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
30d8016d0c Reorder middleware 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
55f272a87c Implement database import and export commands 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
8385719834 Enable specifying NS and DB in http headers 2017-02-20 01:44:13 +00:00
Tobie Morgan Hitchcock
e599497728 Tidy up log package 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
e86857bdf7 Enable import / export of database transaction log 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
58ac9d9424 Add code comments to kvs package 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
1c784da214 Export to stdOut not into a file 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
fcfa88a33b Import from stdIn not from a file 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
cd7922db15 Enable query params for LIMIT and START in queries 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
363cfa8758 Use sync pool for query executor 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
83a64c6c29 Enforce default RETURN value in sql parser 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
3ffaec9265 Remove RETURN statement from SELECT query 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
623d55225c Use transaction mem cache for db config data 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
3f82f83cf1 Remove SQL error for embedded DEFINE/REMOVE queries 2017-02-20 01:44:12 +00:00
Tobie Morgan Hitchcock
1cb44cce2f Only product stack trace if log level is debug 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
0e14256e0f Add log level constants to package 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
6fa73071a5 Add HTTP 501 error message 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
fba3a97a24 Improve HTTP 500 error message 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
b62b7ed2c9 Don’t use pointer as we already are a pointer 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
86aed74cd4 Update documentation 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
6c82529d85 JSON Patch expects only array in SQL, not object 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
b724d864f8 Add ability to define NAMESPACE without DATABASE
Once somebody had specified USE NAMESPACE to select a namespace, it was not possible to DEFINE a DATABASE underneath the NAMESPACE, as an error that ‘no database is selected’ would be returned. Not it is possible to DEFINE DATABASE having selected only a NAMESPACE.
2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
7d88c389e1 Enable use of SQL DEFINE/REMOVE in transactions 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
2a35485089 Output full stacktrace for errors when debugging 2017-02-20 01:44:11 +00:00