Commit graph

135 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
1b9cbcacaf
Ensure compression is only enabled when response is a certain size (#3168) 2023-12-19 08:53:42 +00:00
Maxwell Flitton
2ae8416791
Add support for ML model storage and execution (#3015) 2023-12-12 13:51:43 +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
Rushmore Mushambi
3baf1c6ea9
Add Query::with_stats to return query statistics along with the results (#3019) 2023-11-27 19:13:52 +00:00
Tobie Morgan Hitchcock
3f43e741c2
Improve WebSocket performance (#2999)
Co-authored-by: Salvador Girones Gil <salvadorgirones@gmail.com>
2023-11-20 19:08:07 +00:00
Emmanuel Keller
f8b559ace1
Introduce http-compression feature flag (#2916) 2023-11-01 13:58:20 +00:00
Emmanuel Keller
bc2f7fdafa
Feat: enable compression on the HTTP connector (#2867) 2023-10-23 13:37:42 +00:00
Jan S
74ad693709
Fix typos (#2764) 2023-09-28 09:17:29 +00:00
Raphael Darley
db5fb6df63
Switch transaction to enum from bool (#2743) 2023-09-26 13:02:53 +00:00
Salvador Girones Gil
8ebd1b4a66
[logging] Move HTTP/WS logs to debug (#2650) 2023-09-08 16:48:12 +01:00
Micha de Vries
e19334f53c
Add X-Forwarded-For Client-IP header (#2600) 2023-09-04 11:10:59 +00:00
Tobie Morgan Hitchcock
8b6af2a562
Ensure transactions are handled properly (#2585) 2023-09-02 22:22:41 +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
Yusuke Kuoka
d52784f953
Fix Ctrl-C to work for node and telemetry (#2476) 2023-08-21 12:35:34 +01:00
Salvador Girones Gil
3b26ad2a44
[rpc] Add WebSocket metrics (#2413) 2023-08-16 13:27:53 +01:00
Przemyslaw Hugh Kaznowski
87705098ab
Change kill id type to value (#2402)
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-08-08 17:15:01 +00:00
Przemyslaw Hugh Kaznowski
abbf9819c4
Add tests for Live Queries over web sockets (#2382)
Co-authored-by: Salvador Girones <salvadorgirones@gmail.com>
Co-authored-by: Tobie Morgan Hitchcock <tobie@surrealdb.com>
2023-08-04 17:43:23 +00:00
Salvador Girones Gil
e91011cc78
[rpc] Better tracing for WebSockets (#2325) 2023-08-03 14:59:05 +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
Tobie Morgan Hitchcock
773cb5f130
Add insert method to WebSocket RPC endpoint (#2296) 2023-07-20 09:19:36 +00:00
Tobie Morgan Hitchcock
09dde86e73
Allow for DIFFs in notifications for simple live queries (#2290) 2023-07-19 16:19:19 +00:00
Salvador Girones Gil
53702c247a
[metrics] HTTP Layer + move to Axum (#2237) 2023-07-19 14:35:56 +00:00
Tobie Morgan Hitchcock
ea76b01ce4
Minor improvements to live queries (#2230) 2023-07-07 20:05:58 +01: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
Rushmore Mushambi
9d680e780e
Remove unused dependencies (#2209) 2023-07-03 20:23:52 +00:00
Tobie Morgan Hitchcock
55918b7c0e
Switch to bincode serialization (#2134)
Co-authored-by: Rushmore Mushambi <rushmore@surrealdb.com>
2023-07-01 20:09:15 +01:00
Przemyslaw Hugh Kaznowski
64adb2e913
Rebased live query changes (#2136) 2023-06-20 23:50:26 +01:00
Tobie Morgan Hitchcock
a1b1fead7b
Ensure formatting and linting are properly checked (#2154) 2023-06-19 22:35:19 +00:00
Tobie Morgan Hitchcock
a6e1bacee0
Add more tests for all key-value storage engines (#2124) 2023-06-10 20:30:37 +00:00
Rushmore Mushambi
409ad61477
Add authentication support for local engines (#1908) 2023-06-09 13:45:07 +00:00
Finn Bear
de016af929
Feature - Detect real IP of client using new config option (#2100) 2023-06-06 06:31:45 +00:00
Tobie Morgan Hitchcock
f5f10d508f
Improve type casting support (#2083)
Co-authored-by: Finn Bear <finnbearlabs@gmail.com>
2023-06-06 06:12:59 +00:00
Przemyslaw Hugh Kaznowski
8c6c5a5e37
Change notification type from sql::Uuid to uuid::Uuid (#2079) 2023-05-31 22:40:24 +00:00
Tobie Morgan Hitchcock
591634e049
Ensure HTTP REST API responses are simplified when serialized (#1924) 2023-05-05 19:54:49 +01:00
Tobie Morgan Hitchcock
bcbd5f3e6e
Add PUT & PATCH methods for updating and merging in the HTTP REST API (#1923) 2023-05-04 21:42:02 +01:00
Rushmore Mushambi
91e949248d
Unify serialisation (#1881) 2023-04-29 16:58:22 +01:00
Finn Bear
c9a9336fdc
Improve performance and security of simple JSON parser (#1813) 2023-04-17 15:39:37 +01:00
Tobie Morgan Hitchcock
2a797f6f3b Add WebSocket id to Open Telemetry tracing 2023-04-14 16:51:15 +01:00
Tobie Morgan Hitchcock
45094c76ce Use custom serialization format 2023-03-31 23:49:52 +01:00
Rushmore Mushambi
179878d672
Add compile-time guarantees to make Surreal::delete safer (#1753) 2023-03-31 23:49:29 +01:00
Tobie Morgan Hitchcock
725b03729b Enable full-type serialisation on HTTP import route 2023-03-31 15:31:24 +01:00
Salvador Girones Gil
565717659a
Add functionality for open telemetry tracing (#1727) 2023-03-29 19:16:18 +01:00
Tobie Morgan Hitchcock
0c95126573 Add support for full binary serialization on HTTP endpoints 2023-03-27 13:52:28 +01:00
Tobie Morgan Hitchcock
a8df2b6a6f Allow any Value in arguments to RPC use method 2023-03-07 09:55:35 +00:00
Tobie Morgan Hitchcock
7dcb0f83fa Add trace logging to WebSocket implementation 2023-03-07 09:54:58 +00:00
Tobie Morgan Hitchcock
454612487a Allow sending Table type for LIVE query RPC method 2023-02-14 11:01:31 +00:00
Tobie Morgan Hitchcock
5d55f28b98 Fix linting warning 2023-02-13 16:05:02 +00:00
Tobie Morgan Hitchcock
efbc5d3219 Add all WebSockets to a global collection 2023-02-13 12:20:13 +00:00