Commit graph

700 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
12c2ada091 Improve error messages on REST API queries 2017-11-16 19:54:55 +00:00
Tobie Morgan Hitchcock
121498e95e Add ‘math’ package for all mathematical functions 2017-11-16 19:54:55 +00:00
Tobie Morgan Hitchcock
34a4132403 Add ‘ints’ package for returning bounded number values from arguments 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
62284f0300 Add text package for specific functions on text strings 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
c2135b1494 Add rand package for generation of random numbers 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
e9bde01cb1 Put index diffing code into a separate package 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
e8f17b1602 Add ‘comp’ package for comparing ordering of data types 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
428ad4312c Add an Append function which appends to a slice 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
4640839231 Use switch statements instead of if statements 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
d66e3d5866 When resetting a doc, reset it to an empty map 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
3f68f1318c Copy should return a new document, not interface{} 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
33391e0a28 Improve and fix diff package 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
c0110b8af9 Implement updated rixxdb api interface 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
ce3b62ab4b Update 3rd party dependencies 2017-11-16 19:54:54 +00:00
Tobie Morgan Hitchcock
ed3b39b6ac Add sql command to the command line ui
Add sql command to the command line ui , useful for executing and processing an sql file against a local or remote database.
2017-11-16 19:54:36 +00:00
Tobie Morgan Hitchcock
973439e73a Update to latest cloud.google.com package 2017-11-15 18:18:52 +00:00
Tobie Morgan Hitchcock
a4d6a0801a Update to latest logrus package 2017-11-15 18:18:38 +00:00
Tobie Morgan Hitchcock
dfe89f7901 Simplify Makefile 2017-11-10 12:02:11 +00:00
Tobie Morgan Hitchcock
8ed69a8774 Add library for generating fake data 2017-06-09 18:59:03 +01:00
Tobie Morgan Hitchcock
f7318dbbe8 Fix godoc comment 2017-06-09 18:57:16 +01:00
Tobie Morgan Hitchcock
54dd56cbd5 Use cork encoder/decoder pools 2017-05-05 16:22:11 +01:00
Tobie Morgan Hitchcock
4c16dafcf3 Add duration method to killable statements 2017-04-28 17:12:11 +01:00
Tobie Morgan Hitchcock
b60c663fdd SQL models need a different min and max value
If the same minimum and maximum value is used in a SQL model … |person:1..1| then the sql query parser will fail.
2017-04-28 17:09:35 +01:00
Tobie Morgan Hitchcock
dacf7b954b Enable WITH aswell as TO in RELATE clause 2017-04-28 17:07:38 +01:00
Tobie Morgan Hitchcock
6bfb30a3b4 Add package for formatting floats with certain decimal precision 2017-04-28 17:06:19 +01:00
Tobie Morgan Hitchcock
6f9cac13f3 No need for a buffer to decode CORK objects 2017-04-28 17:04:47 +01:00
Tobie Morgan Hitchcock
862df0c9e3 Improve diff package efficiency 2017-04-28 17:03:47 +01:00
Tobie Morgan Hitchcock
1e5c90b3d7 Move lua2go conversion code to separate package 2017-04-28 17:03:35 +01:00
Tobie Morgan Hitchcock
8a53ed3617 Fix SQL tests 2017-04-14 13:24:53 +01:00
Tobie Morgan Hitchcock
7aca98a581 No need to generate codec code definitions
SQL ASTs are never outputted to the end user, but instead are only ever encoded/decoded using CORK, so we don’t need to pre-generate any code definitions for codec (JSON, BINC, CBOR, MsgPack).
2017-04-14 13:22:29 +01:00
Tobie Morgan Hitchcock
aa7e4ac561 Enable model expressions in SQL parser
The SQL parser now supports model expressions for defining ranges using the |table:0,0.5..100| notation syntax.
2017-04-14 13:21:08 +01:00
Tobie Morgan Hitchcock
2de5a8fa3f Simplify parsing @table:thing definitions 2017-04-14 13:13:31 +01:00
Tobie Morgan Hitchcock
a3da779190 Improve SQL error messages 2017-04-12 18:45:52 +01:00
Tobie Morgan Hitchcock
9df4c5041a Use pointer 2017-04-12 18:44:01 +01:00
Tobie Morgan Hitchcock
17b1f9ff55 Fix JSON parsing in SQL
Previously, JSON which contained bracket `[]` or brace `{}` characters inside strings would fail to parse as valid JSON.
2017-04-12 17:44:27 +01:00
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