Tobie Morgan Hitchcock
d425f67a8b
Allow NULL and missing values in RPC query method
2022-07-08 21:56:04 +01:00
Tobie Morgan Hitchcock
11a3911f70
Add RPC let’ command as a duplicate of ‘set’ command
2022-07-08 21:55:44 +01:00
Tobie Morgan Hitchcock
a430e89c1f
Ensure values are parsed in the correct order
2022-07-08 10:19:01 +01:00
Tobie Morgan Hitchcock
a242884871
Add Makefile command for updating dependencies
2022-07-07 11:37:18 +01:00
Tobie Morgan Hitchcock
41d7d2842d
Update 3rd party dependencies
2022-07-07 11:37:02 +01:00
Tobie Morgan Hitchcock
3c7bd098f3
Enable concurrent requests in WebSocket RPC Server
2022-07-07 11:25:22 +01:00
Tobie Morgan Hitchcock
4438415b55
Fix error in RPC Modify method query
2022-07-07 11:22:41 +01:00
Tobie Morgan Hitchcock
4ab552a8e3
Allow PATCH clauses to accept parameters
2022-07-07 11:22:41 +01:00
Tobie Morgan Hitchcock
63d099e305
Fix code comment typo
2022-07-07 10:55:59 +01:00
Tobie Morgan Hitchcock
3417d152e0
Ensure PARALLEL clauses don’t run on WASM
2022-07-06 14:40:43 +01:00
Tobie Morgan Hitchcock
f73ecebba1
Remove unused dependency ‘utf-8’
2022-07-06 14:40:33 +01:00
Tobie Morgan Hitchcock
338bf3e142
Switch from Boa to QuickJS for JavaScript runtime
2022-07-06 14:40:20 +01:00
Tobie Morgan Hitchcock
6ef120f7ce
Ensure record ids are escaped properly in JSON format
2022-07-06 10:09:21 +01:00
Tobie Morgan Hitchcock
073c15b826
Escape record id parts like ⟨this⟩ rather than this
2022-07-06 10:08:11 +01:00
Tobie Morgan Hitchcock
2d076c79a7
Format SQL Durations as a string format
2022-07-05 11:36:10 +01:00
Tobie Morgan Hitchcock
6c5ddbf70f
Ensure undefined fields are removed in schemafull mode
2022-07-04 17:54:43 +01:00
Tobie Morgan Hitchcock
59d7e733eb
Ignore errors when automatically adding NS, DB, or TB definitions
2022-07-04 17:54:03 +01:00
Tobie Morgan Hitchcock
b575f3a9db
Remove unused files
2022-07-04 17:54:03 +01:00
Tobie Morgan Hitchcock
8ebcff6d18
Ensure table is added if it does not exist
...
If the user is is creating a record in a table / collection that does not exist, and the user is authenticated with KV, NS, or DB level permissions, then we need to add the table with the default definition parameters.
2022-07-04 13:58:59 +01:00
Tobie Morgan Hitchcock
8ca211f96d
Simplify SQL string::slug function implementation
2022-07-04 10:41:18 +01:00
Tobie Morgan Hitchcock
508538e0cc
Add initial WebSocket JSON RPC implementation
2022-07-04 02:32:26 +01:00
Tobie Morgan Hitchcock
8dc7341cb1
Add functions on SQL Value for matching on type
2022-07-04 02:02:46 +01:00
Tobie Morgan Hitchcock
410295c800
Improve map! macro to allow extending the map with other map
2022-07-04 02:02:03 +01:00
Tobie Morgan Hitchcock
983a7b3f5c
Add mrg! macro for merging Maps together
2022-07-04 02:02:03 +01:00
Tobie Morgan Hitchcock
7af9daf159
Update 3rd party dependencies
2022-07-04 01:59:02 +01:00
Tobie Morgan Hitchcock
7bb4aa74f3
Move authentication code to separate module
2022-07-04 01:46:09 +01:00
Tobie Morgan Hitchcock
187d9c08dc
Allow ‘application/octet-stream’ content-type when importing
2022-07-04 01:25:35 +01:00
Tobie Morgan Hitchcock
527361efd4
Ensure script function is asynchronous
2022-07-04 01:25:35 +01:00
Tobie Morgan Hitchcock
039d2fbd54
Use alphabetical ordering for Cargo.toml dependencies
2022-07-03 20:33:13 +01:00
Tobie Morgan Hitchcock
663848172e
Simplify code for conversion between Boa and SurrealDB
2022-07-03 20:30:18 +01:00
Tobie Morgan Hitchcock
d0c37f4d66
Enable parsing of thing records inside strings
...
This allows for thing records to be parsed within JSON strings.
2022-07-03 20:28:30 +01:00
Tobie Morgan Hitchcock
0c86061086
Accept Thing as argument to type::thing SQL function
2022-07-03 19:22:12 +01:00
Tobie Morgan Hitchcock
bc16645d38
Ensure library build only includes specified features
2022-07-03 10:43:23 +01:00
Tobie Morgan Hitchcock
d5a6f80460
Ensure all operator keywords are one word only
2022-06-28 14:39:07 +01:00
Tobie Morgan Hitchcock
569182ee7b
Implement LIVE and KILL statements
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
219f4a54ed
Enable ability to pass arguments to JavaScript functions
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
3f4a144ef0
Ensure Date uses correct prototype in javascript functions
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
519d10fbd3
Update 3rd party dependencies
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
44f20d3740
Remove unnecessary public function definitions in sql module
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
34ba79428c
Ensure correct permissions are used on each query
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
ccdce709f2
Add UUID data type to SQL for efficient storage of UUIDs
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
d04db02ee0
Add introductory message to command-line app
2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
4ba6581714
Update status page URL in README
2022-06-21 11:59:43 +01:00
Tobie Morgan Hitchcock
86c2285564
Fix output of SQL DEFINE SCOPE statement
2022-06-20 15:51:29 +01:00
Tobie Morgan Hitchcock
eff4d2c5e9
Implement scope signup and signin functionality
2022-06-20 12:29:06 +01:00
Tobie Morgan Hitchcock
b93b87f2a1
Remove unused CONNECT clause on DEFINE SCOPE statements
2022-06-20 12:28:05 +01:00
Tobie Morgan Hitchcock
951ca55b54
Add SQL Thing parsing functionality to external API
2022-06-20 12:26:43 +01:00
Tobie Morgan Hitchcock
0cb42d7283
Add functionality to compute sql value within database context
2022-06-20 12:26:27 +01:00
Tobie Morgan Hitchcock
b4e2082196
Use BTreeMap for database execution variables
2022-06-20 02:13:28 +01:00
Tobie Morgan Hitchcock
20c4e03446
Ensure graph edges are purged correctly when deleted
2022-06-17 23:55:09 +01:00