Commit graph

1952 commits

Author SHA1 Message Date
James
13b14380c6
Fix anomalies in math functions (#222)
Co-authored-by: tsunyoku <mbruhyo@gmail.com>
2022-09-20 08:26:38 +01:00
Ben Scholer
5843edddac
Fix links in DOCKER.md (#229) 2022-09-20 08:26:11 +01:00
James
782a5d4be6
Add crypto::bcrypt::generate and crypto::bcrypt::compare functions (#224) 2022-09-20 08:14:58 +01:00
Tobie Morgan Hitchcock
0381b6dad2 Simplify SCHEMAFUL and SCHEMAFULL parsing definitions
Closes #220
2022-09-20 08:11:14 +01:00
Tobie Morgan Hitchcock
d6b544771f Rename function for simplicity 2022-09-19 12:28:41 +01:00
Tobie Morgan Hitchcock
70970862f4 Add meta::id() and meta::tb() functions 2022-09-19 03:57:06 +01:00
Sven Taute
94dc566d3f
Fix bug in time::month() (#215) 2022-09-19 02:35:54 +01:00
Tobie Morgan Hitchcock
340af01227 Ensure is::uuid() function returns expected result
Closes #210
2022-09-18 17:44:14 +01:00
Tobie Morgan Hitchcock
acfb4a97d1 Update debian package information 2022-09-18 13:58:32 +01:00
Tobie Morgan Hitchcock
f640a174f3 Update 3rd party dependencies 2022-09-18 13:58:32 +01:00
snoopdouglas
c0645a9c89
Optimise PNGs in README (#208) 2022-09-18 13:45:10 +01:00
Andrei Miulescu
3b649384b2
Ensure datetimes work in +12 timezones (#190)
Closes #189
2022-09-17 16:30:00 +01:00
Tobie Morgan Hitchcock
2bc44af8cd Add session::token() function for retrieving authentication token claims data 2022-09-17 03:05:23 +01:00
Tobie Morgan Hitchcock
0d4d2359d4 Add $token variable for retrieving authentication token claims data 2022-09-17 03:05:23 +01:00
Tobie Morgan Hitchcock
a7444a7c8e Add authentication token claims data to session object
Closes #135
2022-09-17 03:05:23 +01:00
Tobie Morgan Hitchcock
4c98717f1d Update Rust code comments 2022-09-17 03:05:23 +01:00
Stephen Gilboy
63d8034a60
Return permissions error when automatically creating a table without authorization (#178)
Closes #177
2022-09-17 03:05:02 +01:00
a10kiloham
78aca01283
Add docker instructions to match the quickstart (#173)
Make a oneliner to demo the quick-start code snippets like the NodeJS one.
2022-09-17 03:02:06 +01:00
Ryan Russell
59be26e55b
Ensure TOC links in README work correctly (#158) 2022-09-17 02:57:57 +01:00
Ryan Russell
b4b2ceb187
Make readability fixes to Rust code comments (#157) 2022-09-17 02:50:10 +01:00
Tobie Morgan Hitchcock
8403238dbb Use Accept header instead of Content-Type header for client content negotiation 2022-09-16 02:19:06 +01:00
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