Commit graph

1731 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
b2f4101a9c Improve HTTP request error messages
Closes #153
2022-09-16 00:41:16 +01:00
Tobie Morgan Hitchcock
87777aba03 Add Makefile target for REPL development testing 2022-09-15 00:39:44 +01:00
Tobie Morgan Hitchcock
23d1132526 Ignore blank/empty lines in SurrealDB SQL REPL
Closes #147
2022-09-15 00:39:25 +01:00
Tobie Morgan Hitchcock
6a3b1d99b5 Ensure Record IDs are parsed as integers consistently
Closes #149
2022-09-14 23:40:19 +01:00
Tobie Morgan Hitchcock
74c3b6d708 Don’t automatically unwrap errors when sending on WebSocket
Closes #140
2022-09-13 21:50:04 +01:00
Tobie Morgan Hitchcock
fcdc9ebb8e Add bindgen feature for building quickjs on additional platforms
Closes #126
2022-09-11 23:37:25 +01:00
Tobie Morgan Hitchcock
f90eb542bd Add support SCHEMAFUL keyword spelling
Closes #115
2022-09-11 09:08:36 +01:00
Tobie Morgan Hitchcock
a8497ff6b3 Fix tests for improved logging of field and index errors 2022-09-10 06:17:03 +01:00
Tobie Morgan Hitchcock
f9645e3d55 Ensure size of Error type is correctly tracked 2022-09-10 06:16:14 +01:00
Tobie Morgan Hitchcock
498b0a4530 Fix linting errors 2022-09-10 06:11:56 +01:00
Tobie Morgan Hitchcock
fde0c55d34 Improve error logging for field and index errors
Closes #113
2022-09-10 05:59:08 +01:00
Tobie Morgan Hitchcock
3b41217423 Allow switching to current namespace when authenticated as a database user 2022-09-10 05:45:02 +01:00
Tobie Morgan Hitchcock
eba00bbca3 Add debug logging for authentication attempts 2022-09-10 05:44:45 +01:00
Tobie Morgan Hitchcock
d20851325b Allow uppercase or lowercase keys in JWT authentication tokens 2022-09-10 05:43:50 +01:00
Tobie Morgan Hitchcock
10f01f365f Add session::sd() SQL function for retrieving session auth data 2022-09-05 00:57:09 +01:00
Tobie Morgan Hitchcock
491806aa75 Add scope data to $session object 2022-09-05 00:55:51 +01:00
Tobie Morgan Hitchcock
6f0ff853f8 Ensure session data is stored on the session after signup/signin 2022-09-05 00:53:35 +01:00
Tobie Morgan Hitchcock
82e347027d Enable support for dynamic expressions in record IDs 2022-09-04 10:52:01 +01:00
Tobie Morgan Hitchcock
0e2b134de2 Add test for range queries with integer record IDs 2022-09-04 10:51:26 +01:00
Tobie Morgan Hitchcock
820b49c3d1 Allow PERMISSIONS clauses to be separated by commas or spaces
Closes #102
2022-09-04 10:51:06 +01:00
Finn Bear
3d83f086a6
Fix unbounded resource usage in crypto and rand SQL functions (#94) 2022-09-02 16:19:01 +01:00
Tobie Morgan Hitchcock
93dedd4869 Fix SQL Geometry type serialization and output
Closes #93
2022-09-02 11:32:34 +01:00
Rushmore Mushambi
04831b1831
Make validation and parser functions more robust (#89)
Closes #87
2022-09-01 18:46:36 +01:00
Tobie Morgan Hitchcock
9dabae1887 Ensure Windows build requires no dynamic dependencies 2022-09-01 15:05:55 +01:00
Tobie Morgan Hitchcock
c97fd62d70 Don’t cast NONE or NULL values to a fields data type
Closes #73
2022-09-01 01:34:31 +01:00
Finn Bear
8f6d21c1fc
Refactor and optimize functions and Value operators (#80) 2022-09-01 01:27:52 +01:00
Tobie Morgan Hitchcock
5ca3b74e59 Add HTTP /health endpoint for checking database and datastore status
Closes #56
2022-09-01 00:28:43 +01:00
Tobie Morgan Hitchcock
308004aacf Improve unique index duplicate value error messages
Closes #75
2022-08-31 20:00:22 +01:00
Rushmore Mushambi
fbd9c12cc8
Temporarily disable unstable rustfmt options (#86)
Closes #85
2022-08-31 19:04:22 +01:00
Rushmore Mushambi
22f5385a70
Ensure commands in CONTRIBUTING.md just work (#83)
Closes #82
2022-08-31 19:03:21 +01:00
Finn Bear
5381afc893
Fix checkbox markdown in pull request template. (#84) 2022-08-31 18:44:38 +01:00
Tobie Morgan Hitchcock
395d8e5b8c Ensure arrays sort before objects in Record IDs 2022-08-31 14:38:14 +01:00
Finn Bear
8907f0aa14
Make RocksDB integration more, if not completely, sound (#77)
Closes #76
2022-08-31 14:18:23 +01:00
Michael Delaney
960061584d
Add support for specifying database path using env variable DB_PATH (#78) 2022-08-31 14:03:11 +01:00
Finn Bear
a9c6806745
Ensure integer ranges are parsed correctly (#81) 2022-08-31 14:00:43 +01:00
Tobie Morgan Hitchcock
906b969b90 Don’t use writeable TiKV transactions when we don’t need to 2022-08-30 22:35:29 +01:00
Tobie Morgan Hitchcock
58591f82dc Ensure we use the correct transaction type (optimistic/pessimistic)
Closes #79
2022-08-30 22:34:55 +01:00
Tobie Morgan Hitchcock
738ba5d0e5 Release 1.0.0-beta.7 2022-08-29 19:40:00 +01:00
Tobie Morgan Hitchcock
561ef56c29 Release 1.0.0-beta.7 2022-08-29 19:40:00 +01:00
Tobie Morgan Hitchcock
32cacb5595 Don’t add FoundationDB feature to x86_64-linux build 2022-08-29 19:38:20 +01:00
Tobie Morgan Hitchcock
f8802e4881 Update 3rd party dependencies 2022-08-29 17:34:18 +01:00
Tobie Morgan Hitchcock
7a857801d2 Ensure selected NS/DB is reflected in current session info
Closes #36
2022-08-29 17:30:50 +01:00
Tobie Morgan Hitchcock
b9fc84bf18 Prevent panics when remote datastore transactions fail to start 2022-08-29 13:20:30 +01:00
Tobie Morgan Hitchcock
cdf244f0f5 Simplify command line argument verification code 2022-08-29 13:02:20 +01:00
Tobie Morgan Hitchcock
65d91b122e Add support for simpler datastore paths 2022-08-29 12:30:00 +01:00
Tobie Morgan Hitchcock
f22d5d3e51 Ensure read-only transactions are cancelled when complete 2022-08-29 12:29:38 +01:00
Tobie Morgan Hitchcock
8d08c34ddf Add support for writeable queries in LET SQL statements 2022-08-29 12:29:10 +01:00
Tobie Morgan Hitchcock
0bedaec6bb Ensure RocksDB storage builds correctly on aarch64-linux 2022-08-29 02:48:09 +01:00
Tobie Morgan Hitchcock
6cab509f62 Add Windows build 2022-08-29 02:48:09 +01:00
Tobie Morgan Hitchcock
72652d1bf7 Add FoundationDB storage feature for x86_64-linux build 2022-08-29 02:48:09 +01:00