Commit graph

1864 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
96225afb44 Allow multiple table types in DEFINE FIELD record definition
Closes #15
2022-08-04 16:12:04 +01:00
Tobie Morgan Hitchcock
1869e1ddbc Allow spacing in DEFINE FIELD … TYPE clause 2022-08-04 15:11:50 +01:00
Tobie Morgan Hitchcock
4d36c647f6 Update Docker install command 2022-08-02 21:33:50 +01:00
Tobie Morgan Hitchcock
9313466578 Update Windows install command 2022-08-02 21:33:44 +01:00
Tobie Morgan Hitchcock
f970809030 Fix deletion of embedded array fields using flat path style 2022-08-02 03:12:03 +01:00
Tobie Morgan Hitchcock
c1b71a21ea Release 1.0.0-beta.5 2022-08-01 10:28:43 +01:00
Tobie Morgan Hitchcock
3ab94a5abf Release 1.0.0-beta.5 2022-08-01 10:28:43 +01:00
Tobie Morgan Hitchcock
3c57496655 Ensure aliased GROUP BY fields are output correctly 2022-07-30 22:57:30 +01:00
Tobie Morgan Hitchcock
b5b8f70330 Add initial integrations tests for futures 2022-07-30 22:57:14 +01:00
Tobie Morgan Hitchcock
f535501ec2 Improve CLI command descriptions 2022-07-30 22:56:54 +01:00
Tobie Morgan Hitchcock
ad4393f6ed Add initial integration tests for SQL models 2022-07-29 10:48:23 +01:00
Tobie Morgan Hitchcock
58698f58fe Update default endpoint for import/export requests 2022-07-29 10:39:49 +01:00
Tobie Morgan Hitchcock
fc68e59644 Simplify import / export response streaming 2022-07-29 10:37:12 +01:00
Tobie Morgan Hitchcock
d67e231431 Ensure NS+DB values are required on export CLI command 2022-07-29 10:36:54 +01:00
Tobie Morgan Hitchcock
c0d851751b Ensure NS+DB values are required on import CLI command 2022-07-29 10:36:49 +01:00
Tobie Morgan Hitchcock
f46acec96f Ensure error is returned when NS/DB header are not present 2022-07-29 10:35:15 +01:00
Tobie Morgan Hitchcock
2646ea119e Temporarily disable HTTP response compression
Disable response compression until `Accept-Encoding` headers are properly evaluated, and the compression can be chosen based on the HTTP request. This relies on https://github.com/seanmonstar/warp/pull/513 being implemented.
2022-07-29 10:33:49 +01:00
Tobie Morgan Hitchcock
b68a1814ea Add initial integration tests for DEFINE statements 2022-07-29 09:42:00 +01:00
Tobie Morgan Hitchcock
c8cba2c64d Remove VOID type 2022-07-28 21:54:59 +01:00
Tobie Morgan Hitchcock
89baebbd24 Fix DEFINE INDEX UNIQUE statement parsing 2022-07-28 20:27:39 +01:00
Tobie Morgan Hitchcock
f97e16a036 Release 1.0.0-beta.4 2022-07-28 10:00:54 +01:00
Tobie Morgan Hitchcock
57caaff01d Release 1.0.0-beta.4 2022-07-28 10:00:54 +01:00
Tobie Morgan Hitchcock
54f7395555 Add initial integration tests 2022-07-28 10:00:06 +01:00
Tobie Morgan Hitchcock
078d3d4868 Ensure field values are set even if the field is not specified 2022-07-28 09:42:04 +01:00
Tobie Morgan Hitchcock
d619633340 Enable new database strict mode configuration 2022-07-27 18:20:04 +01:00
Tobie Morgan Hitchcock
f633769b57 Fix linter warnings when using as external library 2022-07-27 14:13:30 +01:00
Tobie Morgan Hitchcock
d6269bbe3d Ensure http module only builds when feature is enabled 2022-07-27 09:15:35 +01:00
Tobie Morgan Hitchcock
6d36aa0b2c Default TABLE permissions are now NONE not FULL 2022-07-27 09:15:35 +01:00
Tobie Morgan Hitchcock
a2c5ea237b Fix bug when defining NS / DB without first selecting NS / DB
Closes #12
2022-07-26 10:06:33 +01:00
Tobie Morgan Hitchcock
8159c10693 Release 1.0.0-beta.3 2022-07-24 01:36:49 +01:00
Tobie Morgan Hitchcock
233a56287b Release 1.0.0-beta.3 2022-07-24 01:36:49 +01:00
Tobie Morgan Hitchcock
7777e3bccd Log a message on startup with root authentication info
Closes #11
2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
960a5a768b Disable root authentication when no password is set
Closes #10
2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
92fe3da531 Ensure Docker container starts and runs successfully
Closes #7
2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
db3115fc7c Add surrealdb module as a global object in JavaScript runtime 2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
3dc29e1228 Add initial ES6 JavaScript modules implementation with ‘os’ module 2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
d647e40d49 Define main embedded function script as a JavaScript module 2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
66946397ed Use function() {} instead of fn::future -> () => {} syntax for SQL embedded functions
Closes #8
2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
db2208a33a Store all macros in a separate module 2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
428fcf697a Ensure CORS headers are set on failed HTTP responses
Closes #6
2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
a71562df9f Use <future> instead of fn::future syntax for SQL futures
Closes #9
2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
e9476b9f85 Add ability to handle quickjs errors ourselves 2022-07-24 01:15:25 +01:00
Tobie Morgan Hitchcock
5c0a0ca556 Add ability to specify durations with years 2022-07-23 20:28:52 +01:00
Tobie Morgan Hitchcock
0b38fab723 Release 1.0.0-beta.2 2022-07-19 23:29:21 +01:00
Tobie Morgan Hitchcock
667b43655d Release 1.0.0-beta.2 2022-07-19 23:29:21 +01:00
Tobie Morgan Hitchcock
05cf6960c2 Set correct description for ‘—log’ command argument 2022-07-19 23:27:06 +01:00
Tobie Morgan Hitchcock
e1c6245151 Use new ‘—log’ command argument to specify server log level 2022-07-19 13:39:35 +01:00
Tobie Morgan Hitchcock
91b8baff3d Set default logging level for import/export/backup commands 2022-07-19 12:58:19 +01:00
Tobie Morgan Hitchcock
7860a205db Use configuration constants in version cli command 2022-07-19 12:54:50 +01:00
Tobie Morgan Hitchcock
a2619a8d72 Don’t show default random password in command-line help 2022-07-19 12:29:43 +01:00