Commit graph

155 commits

Author SHA1 Message Date
Rushmore Mushambi
a908d6dd10
Use new client library in CLI export command (#1565) 2022-12-31 08:02:41 +00:00
Rushmore Mushambi
a24bb4f4b8
Allow memory as an address endpoint in CLI sql command (#1563) 2022-12-30 23:53:45 +00:00
Rushmore Mushambi
7c199ff586
Use new client library in CLI sql command (#1561) 2022-12-30 21:27:19 +00:00
Michal Jirman
157f7c8abe
Add CLI option flag to disable banner (#1537) 2022-12-21 11:42:59 +00:00
Tobie Morgan Hitchcock
4067efd1e8 Add a user-agent header to CLI HTTP requests 2022-12-20 10:30:06 +00:00
George
a2038f239b
Fix future clippy linting warnings (#1423) 2022-12-18 16:00:36 +00:00
Igor Morozov
ddaea59d05
Improve error messages for CLI import/export (#1455) 2022-11-23 09:35:29 +00:00
Rushmore Mushambi
12ded8b066
Log version when starting the server (#1358) 2022-10-27 01:58:08 -07:00
Rushmore Mushambi
bcac94f9d6
Add additional build metadata to version identifier (#1254) 2022-09-28 20:13:40 +01:00
Rushmore Mushambi
c064890284
Fix the build (#1248) 2022-09-27 16:35:03 +01:00
Tobie Morgan Hitchcock
abd15ec55c Use Accept header on /import and /export HTTP routes
Closes #1245
2022-09-27 15:58:20 +01:00
Tobie Morgan Hitchcock
2fccc87fab Don’t prettify empty responses in SQL REPL 2022-09-25 10:56:57 +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
23d1132526 Ignore blank/empty lines in SurrealDB SQL REPL
Closes #147
2022-09-15 00:39:25 +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
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
69c166fd8e Only send NS and DB header in SQL REPL requests if specified 2022-08-26 23:16:13 +01:00
clawcastle
2bfcb9d694
Make --ns and --db arguments optional in command-line REPL (#63)
Closes #34
2022-08-26 21:51:44 +01:00
Kian-Meng Ang
40157f6170
Fix typos (#42)
Found via `codespell -L crate,inout,ser,fetchs,te,tre,whats`.
2022-08-21 13:13:38 +01:00
Yusuke Kuoka
1d3880d652
Initial implementation of SurrealDB KVS for FoundationDB (#37)
Referenced in discussion #25 

Closes #38
2022-08-15 19:35:41 +01:00
Tobie Morgan Hitchcock
70a6c5a1ee Enable server configuration to be setup with environment variables 2022-08-12 21:21:32 +01:00
Tobie Morgan Hitchcock
9ed50a9514 Add command-line SurrealQL REPL 2022-08-06 13:13:14 +01:00
Tobie Morgan Hitchcock
0043e38bef Add —host command-line option as an alias of —conn 2022-08-06 11:34:17 +01:00
Tobie Morgan Hitchcock
f535501ec2 Improve CLI command descriptions 2022-07-30 22:56:54 +01:00
Tobie Morgan Hitchcock
58698f58fe Update default endpoint for import/export requests 2022-07-29 10:39:49 +01:00
Tobie Morgan Hitchcock
fc68e59644 Simplify import / export response streaming 2022-07-29 10:37:12 +01:00
Tobie Morgan Hitchcock
d67e231431 Ensure NS+DB values are required on export CLI command 2022-07-29 10:36:54 +01:00
Tobie Morgan Hitchcock
c0d851751b Ensure NS+DB values are required on import CLI command 2022-07-29 10:36:49 +01:00
Tobie Morgan Hitchcock
d619633340 Enable new database strict mode configuration 2022-07-27 18:20:04 +01:00
Tobie Morgan Hitchcock
7777e3bccd Log a message on startup with root authentication info
Closes #11
2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
960a5a768b Disable root authentication when no password is set
Closes #10
2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
db2208a33a Store all macros in a separate module 2022-07-24 01:15:26 +01:00
Tobie Morgan Hitchcock
05cf6960c2 Set correct description for ‘—log’ command argument 2022-07-19 23:27:06 +01:00
Tobie Morgan Hitchcock
e1c6245151 Use new ‘—log’ command argument to specify server log level 2022-07-19 13:39:35 +01:00
Tobie Morgan Hitchcock
91b8baff3d Set default logging level for import/export/backup commands 2022-07-19 12:58:19 +01:00
Tobie Morgan Hitchcock
7860a205db Use configuration constants in version cli command 2022-07-19 12:54:50 +01:00
Tobie Morgan Hitchcock
a2619a8d72 Don’t show default random password in command-line help 2022-07-19 12:29:43 +01:00
Tobie Morgan Hitchcock
81bad3211d Improve command-line logging 2022-07-19 09:28:24 +01:00
Tobie Morgan Hitchcock
4468e10bd1 Change the default port to 8000 2022-07-18 18:49:43 +01:00
Tobie Morgan Hitchcock
7bb4aa74f3 Move authentication code to separate module 2022-07-04 01:46:09 +01:00
Tobie Morgan Hitchcock
d04db02ee0 Add introductory message to command-line app 2022-06-28 11:54:04 +01:00
Tobie Morgan Hitchcock
ba7c31e2dc Improve server configuration parsing and option storage 2022-05-11 15:23:08 +01:00
Tobie Morgan Hitchcock
f7b82bc7bd When unset, ensure default root password in randomised 2022-05-07 16:11:19 +01:00
Tobie Morgan Hitchcock
0ff3d0f7d0 Remove auth CLI argument and use user + pass instead 2022-05-07 15:13:58 +01:00
Tobie Morgan Hitchcock
d1c2daaee4 Apply cargo clippy lint recommendations 2022-03-05 14:42:58 +00:00
Tobie Morgan Hitchcock
d5c53b7791 Extract core surrealdb code into separate library 2022-02-22 14:16:50 +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
b98986fa12 Remove unnecessary 'anyhow' crate 2022-02-16 23:45:23 +00:00
Tobie Morgan Hitchcock
ae70844524 Simplify server setup configuration options 2022-02-13 23:34:21 +00:00
Tobie Morgan Hitchcock
d0a0065807 Rename 'web' module to 'net' 2022-02-09 15:55:04 +00:00
Tobie Morgan Hitchcock
351ef8264a Update 3rd party dependencies 2022-01-23 15:03:37 +00:00
Tobie Morgan Hitchcock
643344151b Verify database path parameter on command-line 2022-01-13 06:56:24 +00:00
Tobie Morgan Hitchcock
5d57c105b9 Continue with initial code 2021-12-14 10:24:54 +00:00
Tobie Morgan Hitchcock
dfcfb32903 Add initial code 2021-12-14 10:24:54 +00:00