Commit graph

2529 commits

Author SHA1 Message Date
Salvador Girones Gil
4de6775aa4
[statements] Fix NS/DB validation (#2630) 2023-09-05 16:20:07 +01:00
Rushmore Mushambi
4259e05413
Fix relative paths (#2615) 2023-09-05 07:38:39 +01:00
Finn Bear
e9821ee09e
Experimental Bugfix - consolidate execution depth limit. (#2616) 2023-09-04 23:51:33 +01:00
Finn Bear
64c0b8b471
Bugfix - impl Try{Add, Sub, Mul, Div, Pow, Neg} for Number. (#2613) 2023-09-04 19:53:03 +01:00
Finn Bear
65ceb61f6a
Bugfix - Prevent niche parser recursion due to subqueries. (#2614) 2023-09-04 19:52:32 +01:00
Tobie Morgan Hitchcock
abb5ce00db
Ensure incorrect data causes error (#2559) 2023-09-04 18:54:17 +01:00
Salvador Girones Gil
c64ccf7cf2
[docker] Run Docker container as root (#2612) 2023-09-04 18:28:05 +01:00
Micha de Vries
22c36b80c8
move is::* -> string::is::*, add new type::is::* fncs (#2603) 2023-09-04 16:10:18 +00:00
Salvador Girones Gil
7265136c0a
[security] Allow all functions by default (#2608) 2023-09-04 16:46:57 +01:00
Adam Gąsowski
4c61e3a556
Update Docker Compose usage example in DOCKER.md (#2607)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-09-04 12:27:16 +00:00
Mees Delzenne
48a2bb52ac
Provide existing context to functions called from scripting functions (#2605) 2023-09-04 12:12:24 +00:00
Micha de Vries
e19334f53c
Add X-Forwarded-For Client-IP header (#2600) 2023-09-04 11:10:59 +00:00
Tobie Morgan Hitchcock
8c13d711b8
No need for custom serialization of sql::Datetime (#2594) 2023-09-04 07:54:04 +00:00
Tobie Morgan Hitchcock
576996aafd
Ensure dbs::Capabilities are visible in Rust docs (#2593) 2023-09-04 07:48:25 +00:00
Rushmore Mushambi
87a9631898
Drop compact UUID attributes (#2570) 2023-09-03 09:35:16 +01:00
Tobie Morgan Hitchcock
8b6af2a562
Ensure transactions are handled properly (#2585) 2023-09-02 22:22:41 +01:00
Rushmore Mushambi
99e84d8f77
Return an error when db.connect() is called multiple times (#2576) 2023-09-02 06:40:49 +00:00
Tobie Morgan Hitchcock
fd73619349 Release 1.0.0-beta.10 2023-09-01 15:36:54 +01:00
Tobie Morgan Hitchcock
e9ee5245c2 Code cleanup (#2569) 2023-09-01 15:36:54 +01:00
Tobie Morgan Hitchcock
ed48fddd2a Ensure release build deploys correctly (#2567) 2023-09-01 15:36:54 +01:00
Tobie Morgan Hitchcock
3c40af0165
Add PERMISSIONS to DEFINE PARAM and DEFINE FUNCTION clauses (#2564) 2023-09-01 11:07:04 +01:00
Tobie Morgan Hitchcock
c07f9c131b
Remove RPC diff and use third argument in RPC patch method (#2565) 2023-09-01 10:38:19 +01:00
Salvador Girones Gil
129757a28d
[import] Support larger files when connecting to an HTTP endpoint (#2557) 2023-09-01 09:09:41 +01:00
Tobie Morgan Hitchcock
efa7a14964
Add diff RPC method to WebSocket API (#2560) 2023-09-01 08:00:32 +01:00
Rushmore Mushambi
742a353a8f
Refactor and improve Surreal::export (#2555) 2023-08-31 19:44:18 +00:00
Przemyslaw Hugh Kaznowski
efec9448c0
Fix returned value of bootstrap to not lose errors (#2553) 2023-08-31 20:48:21 +01:00
Tobie Morgan Hitchcock
fc7f5cb0b0
Support variable field projection with type::field() and type::fields() (#2552) 2023-08-31 13:06:10 +01:00
Przemyslaw Hugh Kaznowski
414fc68d24
Change how bootstrap handles transactions and errors (#2551) 2023-08-31 11:06:37 +00:00
Salvador Girones Gil
b56e13bd05
[capabilities] Enable all capabilities for the sql and import cmds (#2548) 2023-08-30 20:34:46 +00:00
Salvador Girones Gil
bdac1fae72
[security] Introduce "allow-guests". Deny all caps by default (#2547) 2023-08-30 18:01:30 +00:00
Emmanuel Keller
0d43e7a156
Implements revision on indexes states (#2516) 2023-08-29 20:21:55 +01:00
Rushmore Mushambi
d06ed3ad3a
Fix time issues on Wasm (#2544) 2023-08-29 18:52:25 +00:00
Salvador Girones Gil
e2cc94b2ad
[tracing] Fix the WS spans (#2540) 2023-08-29 13:04:53 +01:00
Mees Delzenne
daf6743c4e
Miscellaneous parser improvements (#2515) 2023-08-29 11:50:00 +01:00
Rushmore Mushambi
bae9217b72
Fix Wasm binaries (#2541) 2023-08-29 11:47:53 +01:00
Tobie Morgan Hitchcock
8be97a697f
Support ON DUPLICATE KEY UPDATE when a unique index entry exists (#2534) 2023-08-29 09:46:48 +01:00
Rushmore Mushambi
6cb12db82b
Make patch return the patched record (#2530) 2023-08-27 19:28:38 +01:00
Tobie Morgan Hitchcock
5565c8f355
Add support for OMIT clause in SELECT statements (#2529) 2023-08-27 19:00:11 +01:00
Rushmore Mushambi
a29241666d
Serialise Kind::Null variant (#2528) 2023-08-27 17:31:29 +01:00
Tobie Morgan Hitchcock
a31d25d3c5
Support arbitrary number of arrays in array::concat() (#2526) 2023-08-27 11:40:49 +01:00
Tobie Morgan Hitchcock
e491789e20
Add null as a specific field type (#2524) 2023-08-27 11:22:27 +01:00
Tobie Morgan Hitchcock
a867eae362
Add more complete and complex test for SurrealQL functionality (#2520) 2023-08-26 14:13:48 +01:00
Tobie Morgan Hitchcock
2e49aad26a
Enable parsing raw values at base of query (#2508) 2023-08-26 12:08:16 +01:00
Rushmore Mushambi
fd364e56da
Make tick a configuration option (#2495) 2023-08-25 07:55:22 +00:00
Rushmore Mushambi
6cfc270d32
Run rustfmt and clippy using Rust 1.72.0 (#2512) 2023-08-24 19:02:44 +00:00
Salvador Girones Gil
70da8d26a4
[ci] Pin the Rust version (#2511) 2023-08-24 17:33:57 +01:00
Mees Delzenne
e477dc9133
Fix build by upgrading rquickjs (#2509) 2023-08-24 15:05:28 +01:00
Przemyslaw Hugh Kaznowski
cbf933b319
Adding auth to live queries (#2307) 2023-08-24 15:04:57 +01:00
Tobie Morgan Hitchcock
a6ec9dbd02
Ensure edge in and out fields are not overwritten (#2506) 2023-08-24 09:19:19 +01:00
Tobie Morgan Hitchcock
1a4e310e46
Improve output of THROW errors (#2505) 2023-08-23 23:30:13 +01:00