Commit graph

67 commits

Author SHA1 Message Date
Micha de Vries
876e55918f
surreal fix command (#4605)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-27 09:20:53 +00:00
Micha de Vries
70584115ab
Versioned storage (#4581)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-08-23 09:27:21 +01:00
Tobie Morgan Hitchcock
bf2eb32f01
Add improved instrumentation to kvs module layer (#4418) 2024-07-30 06:51:28 +01:00
Hamir Mahal
b37929b6ab
style: simplify string formatting (#4260)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2024-07-18 12:19:28 +00:00
Sergii Glushchenko
c73435a881
Remove global static Datastore (#4377) 2024-07-18 12:11:59 +00:00
Tobie Morgan Hitchcock
bfc474e4d8
Refactor transaction, caching, and key-value store interfaces (#4257)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-07-17 22:44:05 +00:00
Gerard Guillemas Martos
bf702b0d67
Require explicit authentication level (#4089) 2024-05-27 08:15:15 +00:00
Emmanuel Keller
23653e5fce
[Feat] Add TEMPFILES clause to the SELECT statement (#4084) 2024-05-23 13:04:20 +00:00
Emmanuel Keller
e37a6fb18b
Make temporary table active only if the temporary directory is set (#4079) 2024-05-22 10:05:32 +00:00
Gerard Guillemas Martos
246e8021cb
Require authentication by default (#4059) 2024-05-22 08:43:21 +00:00
Emmanuel Keller
c82bbc0820
Feature: On disk temporary table (#3749)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-03-28 16:29:55 +00:00
Przemyslaw Hugh Kaznowski
47a1589018
Refactor ds tasks to single part of codebase (#3655) 2024-03-18 12:30:31 +00:00
Mees Delzenne
87da9c0b01
Fix warnings (#3634) 2024-03-08 10:58:07 +00:00
Przemyslaw Hugh Kaznowski
e06cd111cf
Add Engine Config for configuring how many live queries can be created per transaction (#3559) 2024-03-01 17:12:53 +00:00
Rushmore Mushambi
690dd55a86
Extract core lib into a standalone crate (#3423)
Co-authored-by: Gerard Guillemas Martos <gerard.guillemas@surrealdb.com>
2024-02-02 22:10:47 +00:00
Gerard Guillemas Martos
bc4ffcb4cf
Revert to using legacy authentication in signin by default (#3052)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-12-04 08:47:37 +00:00
Gerard Guillemas Martos
a70ddb2e2a
[auth] Support auth levels for basic auth (#2985)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-11-28 14:53:40 +00:00
Raphael Darley
db5fb6df63
Switch transaction to enum from bool (#2743) 2023-09-26 13:02:53 +00:00
Salvador Girones Gil
7265136c0a
[security] Allow all functions by default (#2608) 2023-09-04 16:46:57 +01:00
Tobie Morgan Hitchcock
8b6af2a562
Ensure transactions are handled properly (#2585) 2023-09-02 22:22:41 +01:00
Salvador Girones Gil
bdac1fae72
[security] Introduce "allow-guests". Deny all caps by default (#2547) 2023-08-30 18:01:30 +00:00
Salvador Girones Gil
b5b6f6f1d4
[security] Introduce the Datastore capabilities (#2489) 2023-08-23 20:26:31 +01:00
Rushmore Mushambi
61f4580ba8
Switch to std::sync::OnceLock and fix Surreal::clone (#2370) 2023-08-10 06:33:38 +00:00
Salvador Girones Gil
998b263517
[iam] RBAC and multiple root users (#2176)
Co-authored-by: Przemyslaw Hugh Kaznowski <hughkaznowski@protonmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-29 18:47:25 +00:00
Przemyslaw Hugh Kaznowski
ac213d69bb
Sur 191 self garbage collection 2 (#2137)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-07-13 13:44:54 +00:00
Tobie Morgan Hitchcock
4b690c763b
Improve datastore configuration options (#2227) 2023-07-05 21:26:13 +00:00
Rushmore Mushambi
20ee2f1dc6
Remove manual log targets (#2214) 2023-07-04 21:02:10 +00:00
Finn Bear
5c07a7b2d4
Security - Add global query timeouts (attempt 2). (#2097) 2023-06-12 12:23:30 +01:00
Rushmore Mushambi
c2dce39f91
Integrate client library into surrealdb crate (#1514) 2022-12-30 08:23:19 +00:00
Tobie Morgan Hitchcock
d619633340 Enable new database strict mode configuration 2022-07-27 18:20:04 +01:00
Tobie Morgan Hitchcock
7bb4aa74f3 Move authentication code to separate module 2022-07-04 01:46:09 +01:00
Tobie Morgan Hitchcock
d5c53b7791 Extract core surrealdb code into separate library 2022-02-22 14:16:50 +00:00
Tobie Morgan Hitchcock
12aea63928 Use trice instead of std::time for performance measurement 2022-02-19 23:30:43 +00:00
Tobie Morgan Hitchcock
222e417c79 Change method argument names 2022-02-19 23:09:23 +00:00
Tobie Morgan Hitchcock
8a08de951e Ensure session auth data is passed to executor options 2022-02-18 19:09:00 +00:00
Tobie Morgan Hitchcock
691d6ac895 Move byte formatting macro to macro module 2022-02-17 08:05:25 +00:00
Tobie Morgan Hitchcock
10a76ec3a1 Inject datastore instance instead of globally instantiated instance 2022-02-17 08:04:08 +00:00
Tobie Morgan Hitchcock
a5c1d95a64 Add initial implementation for parallel execution 2022-02-15 03:40:01 +00:00
Tobie Morgan Hitchcock
36d114be55 Simplify module import statements 2022-02-15 03:34:57 +00:00
Tobie Morgan Hitchcock
f22352aee6 Switch to asynchronous owned mutex locks in underlying kv storage 2022-02-15 03:33:16 +00:00
Tobie Morgan Hitchcock
efa67bb043 Only pass transaction when processing queries
Instead of passing the executor instance, we only need to pass the current transaction which is to be used for processing and running any queries.
2022-02-15 01:05:39 +00:00
Tobie Morgan Hitchcock
113d02cbfc Add functionality to extract a single query response 2022-02-14 23:21:12 +00:00
Tobie Morgan Hitchcock
5f3c5b8e73 Replace xid with nanoid for record ID generation 2022-02-14 10:19:18 +00:00
Tobie Morgan Hitchcock
fbd924fbac Use copy-on-write semantics for document values
Instead of blindly cloning document values (even if we don't need to mutate them), we now use copy-on-write semantics to only create a copy if we need to update a document value. This improves performance, especially when selecting documents.
2022-02-13 19:03:00 +00:00
Tobie Morgan Hitchcock
8cd1cfba08 Remove unnecessary public export 2022-02-09 09:27:04 +00:00
Tobie Morgan Hitchcock
9d957849b0 Dont cancel iterator when recieving an Ignore error 2022-02-09 08:53:47 +00:00
Tobie Morgan Hitchcock
be7f22e35b Don't store selected NS and DB on executor 2022-02-08 14:50:45 +00:00
Tobie Morgan Hitchcock
49a62aaba5 Add initial iterator blueprint implementation 2022-02-06 01:14:56 +00:00
Tobie Morgan Hitchcock
b419a36384 Add initial blueprint code for SQL export functionality 2022-02-05 09:56:03 +00:00
Tobie Morgan Hitchcock
89867e9bfb Remove unused constant 2022-01-30 19:31:48 +00:00