Commit graph

615 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
b7f4984641 Update to CircleCI 2.0 2017-03-28 12:12:07 +01:00
Tobie Morgan Hitchcock
3b9186c000 Move Ember.js GUI to external repository 2017-03-28 12:09:43 +01:00
Tobie Morgan Hitchcock
79518591be Log server ‘starting’ and ‘started’ messages 2017-03-24 21:35:46 +00:00
Tobie Morgan Hitchcock
5a558c0d6f Implement Authable statements for improved logging 2017-03-24 21:25:22 +00:00
Tobie Morgan Hitchcock
84445997eb No need for CGO when running tests 2017-03-24 20:51:23 +00:00
Tobie Morgan Hitchcock
7e88dc856f Update Dockerfile 2017-03-20 16:19:39 +00:00
Tobie Morgan Hitchcock
1ef66368c4 Enable adding generated source files to git 2017-03-20 16:08:20 +00:00
Tobie Morgan Hitchcock
bf83495be6 Don’t enable Makefile command for updating dependencies 2017-03-04 11:02:01 +00:00
Tobie Morgan Hitchcock
b01f987c95 Update 3rd party dependencies 2017-03-04 11:01:14 +00:00
Tobie Morgan Hitchcock
7a071af821 Download generate dependencies in each gen files 2017-03-04 10:55:58 +00:00
Tobie Morgan Hitchcock
a133eb2482 Add HTTP 504 request timeouts to certain routes 2017-03-03 21:41:06 +00:00
Tobie Morgan Hitchcock
a96a8466cb Add initial golang code tracing and logging 2017-03-03 21:39:37 +00:00
Tobie Morgan Hitchcock
24c2c39d9b Use idents not strings in SQL examples 2017-03-03 00:48:03 +00:00
Tobie Morgan Hitchcock
98db89a2d7 Implement query statement timeout functionality 2017-03-02 14:38:56 +00:00
Tobie Morgan Hitchcock
378bbe6dae Ensure default tables/fields are private by default 2017-03-02 10:55:42 +00:00
Tobie Morgan Hitchcock
2d5151c8ba Enable SQL AST string formatting 2017-03-02 10:47:10 +00:00
Tobie Morgan Hitchcock
1157835a29 Don’t perform cpu intensive operations in SQL parser 2017-03-02 10:32:20 +00:00
Tobie Morgan Hitchcock
5fffc4bb73 Diff records with new diff package 2017-02-28 10:46:06 +00:00
Tobie Morgan Hitchcock
e97cac18e8 Don’t remove meta information from records 2017-02-28 10:45:40 +00:00
Tobie Morgan Hitchcock
e3634fb4a8 Improve SQL debug logging 2017-02-28 00:19:21 +00:00
Tobie Morgan Hitchcock
b68c33835e Ensure all db.executor methods are private 2017-02-28 00:17:10 +00:00
Tobie Morgan Hitchcock
3167be73bb No need to pass statements in from goroutine
A series of statements on one request are always handled and run serially, so there is no need to loop over them in a goroutine.
2017-02-28 00:00:39 +00:00
Tobie Morgan Hitchcock
d5ee46ab17 Use chan struct for http connection closed channel 2017-02-27 15:30:46 +00:00
Tobie Morgan Hitchcock
e70cdce87e Fix bug with bearer authentication 2017-02-25 22:09:12 +00:00
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