Tobie Morgan Hitchcock
6e223f5f08
Move authentication level constants to cnf package
...
Instead of defining the authentication level types as ints in the sql package, there is now a specific type which is now located in the cnf package.
2017-02-24 13:33:03 +00:00
Tobie Morgan Hitchcock
e4bef0c4b7
Differentiate between IDENT and EXPR in SQL
...
Previously it was possible to CREATE/UPDATE/DELETE path expressions as this would satisfy an IDENT in the SQL parser.
Now however, there is a difference between an IDENT and an EXPR…
IDENT: person | person_main | person123
EXPR: person | person.path | person[0].path
As a result, path expressions are only possible when setting data or setting conditional conditions.
2017-02-24 13:05:07 +00:00
Tobie Morgan Hitchcock
79812544e8
Use fibre error fields instead of logging twice
2017-02-24 00:49:41 +00:00
Tobie Morgan Hitchcock
a5aefdb8ba
Set HTTP request timeout durations
2017-02-23 22:06:42 +00:00
Tobie Morgan Hitchcock
a3fd5a0775
Update 3rd party dependencies
2017-02-23 22:06:41 +00:00
Tobie Morgan Hitchcock
ca6d0d86fd
Fix bug when deleting range queries
...
When performing a range query on an array when deleting, the items which were supposed to be removed, ended up being the ones which were kept.
Not the ramining array items are kept instead when deleting.
2017-02-23 15:43:17 +00:00
Tobie Morgan Hitchcock
d27e00e737
Fix sql tests
2017-02-23 15:09:02 +00:00
Tobie Morgan Hitchcock
7b78ff5b6e
Add request context data to db query logs
2017-02-23 10:14:10 +00:00
Tobie Morgan Hitchcock
07c034bb75
Add request context to query executor
2017-02-23 10:14:02 +00:00
Tobie Morgan Hitchcock
73c56e4df5
Log sql queries centrally, not separately
2017-02-23 10:11:52 +00:00
Tobie Morgan Hitchcock
98f103cbaf
Add fibre.Context to logs on /singup and /signin
2017-02-22 22:47:00 +00:00
Tobie Morgan Hitchcock
add1a11ceb
No need to make error public
2017-02-22 22:46:34 +00:00
Tobie Morgan Hitchcock
5b9efa865b
Add functionality to ignore fileds in logger
2017-02-22 21:20:21 +00:00
Tobie Morgan Hitchcock
99ad86b22d
Fix bug with default syslog tag name
2017-02-22 21:20:06 +00:00
Tobie Morgan Hitchcock
04e8098338
Report errors when using google logging driver
2017-02-22 19:44:33 +00:00
Tobie Morgan Hitchcock
51dd3aa364
Implement syslog and google stackdriver logging
2017-02-22 14:48:22 +00:00
Tobie Morgan Hitchcock
fe535e73ba
Update 3rd party dependencies
2017-02-22 09:11:14 +00:00
Tobie Morgan Hitchcock
e5a98d4c0c
Improve websocket RPC API
2017-02-22 09:00:59 +00:00
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