Commit graph

1262 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
218ce8ad82 Simplify pack data encode/decode package 2016-09-14 22:25:18 +01:00
Tobie Morgan Hitchcock
fbc94f90e5 Pass old and new item data to rules checking code 2016-09-14 22:24:22 +01:00
Tobie Morgan Hitchcock
3bbfa7919a Update Statement ASTs 2016-09-14 22:23:02 +01:00
Tobie Morgan Hitchcock
1fc814bb43 Parse tables and @things better 2016-09-14 22:22:31 +01:00
Tobie Morgan Hitchcock
974f75eea0 Uunexport methods which don’t need to be public 2016-09-14 22:21:25 +01:00
Tobie Morgan Hitchcock
9bbbf4491a Ensure parsed times are stored in UTC 2016-09-14 21:57:42 +01:00
Tobie Morgan Hitchcock
9940640a45 Remove unused token 2016-09-14 21:50:04 +01:00
Tobie Morgan Hitchcock
0a7e93d799 Allow bound params for DIFF, MERGE, CONTENT 2016-09-14 21:49:27 +01:00
Tobie Morgan Hitchcock
19d7c2a14e Don’t embed document data 2016-09-14 21:46:23 +01:00
Tobie Morgan Hitchcock
152c6524f5 Update README 2016-09-14 18:05:52 +01:00
Tobie Morgan Hitchcock
ed6a9555a1 Return an error when data is corrupt 2016-09-14 17:02:48 +01:00
Tobie Morgan Hitchcock
48b644f399 Remove RESYNC INDEX command 2016-09-14 10:23:57 +01:00
Tobie Morgan Hitchcock
7d452b610e Increase maximum body size on PUT/POST 2016-09-14 10:19:08 +01:00
Tobie Morgan Hitchcock
dfa9182711 Use deep copy instead of gob encode/decode 2016-09-12 16:47:22 +01:00
Tobie Morgan Hitchcock
c3ecaed152 Add package for deep copying 2016-09-12 16:47:07 +01:00
Tobie Morgan Hitchcock
6f9372cb66 Ignore indexes which don’t change
Diffs old index values with new index values, and removes those indexes which haven’t changed - preventing deleting and reinserting the same index, improving performance.
2016-09-10 01:33:11 +01:00
Tobie Morgan Hitchcock
2f12feeaaa Improve array, and interface encoding / decoding 2016-09-10 00:24:46 +01:00
Tobie Morgan Hitchcock
529ddbbec2 Encode all numbers as float64
All numbers in encoded keys are now encoded into float64, ensuring that decimal numbers are sorted alongside integers.

The maximum number able to be stored as a float64, without losing precision, is now (1<<53 - 1) - the same maximum number possible in javascript.
2016-09-10 00:21:58 +01:00
Tobie Morgan Hitchcock
0f420d2cae Add ability to get object keys and object values 2016-09-09 18:55:25 +01:00
Tobie Morgan Hitchcock
4836c498a4 Enable parsing tables as struct not string 2016-09-07 17:01:32 +01:00
Tobie Morgan Hitchcock
b82216af21 Enable setting fields to record ids 2016-09-07 16:59:01 +01:00
Tobie Morgan Hitchcock
9492ed7244 Update SQL tests 2016-09-07 16:58:50 +01:00
Tobie Morgan Hitchcock
2fb4791387 Allow modifying whole tables with DIFFs 2016-09-07 16:58:37 +01:00
Tobie Morgan Hitchcock
020dbbe0c2 Allow numbers, dates, times as table names 2016-09-07 16:58:25 +01:00
Tobie Morgan Hitchcock
f8562f1ccb Parse record ids whole instead of seperately 2016-09-07 16:58:05 +01:00
Tobie Morgan Hitchcock
1219b3825f Use values parsed in scanner instead of reparsing 2016-09-07 16:53:04 +01:00
Tobie Morgan Hitchcock
af4281c920 Enable bound parameters in sql queries 2016-09-07 16:44:23 +01:00
Tobie Morgan Hitchcock
96b44a8da6 Move standalone methods to parser class, and allow scanner to access parser 2016-09-07 16:40:05 +01:00
Tobie Morgan Hitchcock
792023bb0e Improve db error messages 2016-09-06 14:36:17 +01:00
Tobie Morgan Hitchcock
065b64c429 Update item manipulation code 2016-09-06 14:35:38 +01:00
Tobie Morgan Hitchcock
a0d3f6ec2a Update to work with sql parser improvements 2016-09-06 14:33:02 +01:00
Tobie Morgan Hitchcock
fe7ab7019c Update query docs 2016-09-06 14:32:39 +01:00
Tobie Morgan Hitchcock
a3672d28b3 Return CKError instead of custom error when encryption fails 2016-09-06 14:32:21 +01:00
Tobie Morgan Hitchcock
c355464094 Add blueprints for sql functions 2016-09-06 14:31:25 +01:00
Tobie Morgan Hitchcock
08943946a9 Improvements on sql parser 2016-09-06 14:30:59 +01:00
Tobie Morgan Hitchcock
d76038652b Add key type for rules 2016-09-06 13:27:59 +01:00
Tobie Morgan Hitchcock
33ef395d5b Remove unused key type 2016-09-06 13:27:15 +01:00
Tobie Morgan Hitchcock
a460ee4a06 Remove old diffing utility packages 2016-09-06 13:11:13 +01:00
Tobie Morgan Hitchcock
244645ac0c Update 3rd party dependencies 2016-09-06 13:09:27 +01:00
Tobie Morgan Hitchcock
94f5a72e26 Add debugging option to codebase 2016-09-06 12:52:11 +01:00
Tobie Morgan Hitchcock
f53a30130b Perform tests on all branches 2016-09-06 12:42:16 +01:00
Tobie Morgan Hitchcock
b8d55c6a74 Add utility package for data encoding and decoding 2016-09-06 12:41:03 +01:00
Tobie Morgan Hitchcock
b5a15a85ae Improve json transformation utility package 2016-09-06 12:39:33 +01:00
Tobie Morgan Hitchcock
fecc1c94b8 Add runtime language cli argument option 2016-09-06 11:19:35 +01:00
Tobie Morgan Hitchcock
8758ce19ff Add test for keys.CK 2016-08-28 09:41:21 +01:00
Tobie Morgan Hitchcock
e8bb3f0654 Update tests 2016-08-28 09:29:31 +01:00
Tobie Morgan Hitchcock
814fee772f Don't decrypt if there is definitely no nonce 2016-08-28 09:29:14 +01:00
Tobie Morgan Hitchcock
629bd7dd92 No need for errors, as cipher block will always be valid 2016-08-28 09:28:53 +01:00
Tobie Morgan Hitchcock
25d9927be2 Update code comments 2016-08-28 09:28:33 +01:00
Tobie Morgan Hitchcock
6a97947084 Update document field checking error messages 2016-08-25 15:03:56 +01:00