Commit graph

933 commits

Author SHA1 Message Date
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
Tobie Morgan Hitchcock
7f0ea653b8 Improve sql query requests timing 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
dd230dca56 Enable SQL ASTs to self-encode and self-decode 2017-02-20 01:44:11 +00:00
Tobie Morgan Hitchcock
1fd450890b Fix typo 2017-02-20 01:44:10 +00:00
Tobie Morgan Hitchcock
a5dc358e4e Don’t pass txn around, but use executor txn 2017-02-20 01:44:08 +00:00
Tobie Morgan Hitchcock
6807d4c338 Switch underlying KV store to rixxdb/dendrodb 2017-02-20 01:31:15 +00:00
Tobie Morgan Hitchcock
f56196a150 Update keys package 2017-02-09 20:35:19 +00:00
Tobie Morgan Hitchcock
99ea0a3368 Use sirupsen/logrus instead of abcum fork 2017-02-09 15:46:27 +00:00
Tobie Morgan Hitchcock
3ea681ca34 Enable ability to bind to specific ip/hostname 2017-02-09 11:20:23 +00:00
Tobie Morgan Hitchcock
a3b9362adb Switch underlying KV store to rixxdb/dendrodb 2017-02-09 11:16:59 +00:00
Tobie Morgan Hitchcock
07b5c5ce38 Add code spacing 2017-02-09 10:32:32 +00:00
Tobie Morgan Hitchcock
dfee11339e Fix SQL bug where NAMESPACE/DATABASE were needed twice
DEFINE NAMESPACE and REMOVE NAMESPACE statements expected two NAMESPACE keywords in the SQL query.

DEFINE DATABASE and REMOVE DATABASE statements expected two DATABASE keywords in the SQL query.
2017-02-09 10:31:53 +00:00
Tobie Morgan Hitchcock
1b83dace69 Add JSON Patch go package 2017-02-07 17:23:12 +00:00
Tobie Morgan Hitchcock
955e736a4d Enable expressive array item selection using [:] 2017-02-07 17:22:57 +00:00
Tobie Morgan Hitchcock
664ab1054c Add Diff method for comparing data docs 2017-02-04 11:23:30 +00:00
Tobie Morgan Hitchcock
e6df3dbeb9 Add Each method
Add Each method for iterating through all of the values in a document. This is in contrast to Walk which will iterate over a given path regardless of whether it exists or not.
2017-02-04 11:22:53 +00:00
Tobie Morgan Hitchcock
865a0b16a3 Improve path parsing enabling [] array characters 2017-02-04 11:13:11 +00:00
Tobie Morgan Hitchcock
db2fb6159c Specify struct fields on struct initialisation 2017-02-04 11:00:13 +00:00
Tobie Morgan Hitchcock
74658132c1 Enable password field types 2017-02-03 19:10:51 +00:00
Tobie Morgan Hitchcock
1901f6fd8c Enable simplified json in SQL queries 2017-02-03 19:08:57 +00:00
Tobie Morgan Hitchcock
a941987349 Remove unnecessary return statement 2017-02-03 19:08:37 +00:00
Tobie Morgan Hitchcock
15cb9f7b96 Remove old diffing package 2017-02-03 19:01:57 +00:00
Tobie Morgan Hitchcock
ac95aa1bcd Remove javascript language runtime 2017-02-02 00:07:45 +00:00
Tobie Morgan Hitchcock
b49ae370f6 Remove unused file 2017-01-24 17:33:41 +00:00
Tobie Morgan Hitchcock
27767ba2e1 Simplify makefile ember command 2017-01-13 19:11:17 +00:00
Tobie Morgan Hitchcock
cbb1d9c5f6 Update code coverage workflow 2017-01-13 19:11:10 +00:00
Tobie Morgan Hitchcock
97ccc34af1 Update gitignore file 2017-01-13 18:40:06 +00:00
Tobie Morgan Hitchcock
e3c472b31a Remove incorrect build tags 2017-01-11 11:22:17 +00:00
Tobie Morgan Hitchcock
fa40f52302 Place build instruction before package name 2016-12-08 22:04:22 +00:00
Tobie Morgan Hitchcock
7728c5b398 Use keyed fields for ‘go vet’ 2016-12-08 22:03:42 +00:00
Tobie Morgan Hitchcock
9b8aec6549 Add SQL functions for hotp/totp/yubikey security 2016-12-08 21:57:22 +00:00
Tobie Morgan Hitchcock
455fd3a35a Ensure go-bindata is installed 2016-11-27 13:08:47 +00:00
Tobie Morgan Hitchcock
f931341a95 Add ability to check if db transaction is closed 2016-11-26 16:52:43 +00:00
Tobie Morgan Hitchcock
1bf7f5c7e4 Set GOMAXPROCS at runtime to CPU number 2016-11-26 13:39:48 +00:00
Tobie Morgan Hitchcock
fbe34c6083 Add PERMISSIONS and remove DEFINE / REMOVE RULES 2016-11-26 13:39:03 +00:00
Tobie Morgan Hitchcock
2b47e6e0a9 No need for a default TYPE on SQL DEFINE FIELD
Previously the default type for DEFINE FIELD statements was “any”, but this is unnecessary, as fields with type “any” are not type-checked anyway, so there is little point in defining the default as “any”. Therefore the type is left blank if no TYPE is specifically defined.
2016-11-26 13:35:58 +00:00
Tobie Morgan Hitchcock
90953735d9 DEFINE and REMOVE SQL queries can not be inside transactions 2016-11-26 13:05:21 +00:00
Tobie Morgan Hitchcock
7bbe6cb610 Extend session authentication time for NS/DB users 2016-11-23 18:18:44 +00:00
Tobie Morgan Hitchcock
3442275878 Ensure in-memory config can be accessed concurrently 2016-11-23 15:42:32 +00:00
Tobie Morgan Hitchcock
bf60887dc0 Fix typo 2016-11-23 15:41:21 +00:00
Tobie Morgan Hitchcock
2fcc2e3668 Improve SQL INFO command to support namespaces 2016-11-23 12:53:27 +00:00