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
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