Sayan Nandan
81c3479ffb
Fix handling of EOF keystroke
3 years ago
Sayan Nandan
f67057dfb5
Add authn tests
3 years ago
Sayan
76f493753b
Add the `whereami` action ( #232 )
...
* Move macros into module
* Add the `whereami` action to identify the current entity
* Show entity group in the skysh prompt
* Add tests and actiondoc for `whereami`
* Add changelog entry
* Upgrade deps
3 years ago
Sayan Nandan
b7f34d849f
Add the `!pipe` command to the shell
3 years ago
Sayan Nandan
6ea2f33840
Use a shorter startup message on skysh
...
The "huge" welcome is maybe not what we exactly want right on startup.
Hence, we will switch to using a shorter message.
3 years ago
Sayan Nandan
fe5319bdea
Add shell specific commands
...
A shell-specific help command was added along with support for
explanations of shell-specific commands.
3 years ago
Sayan Nandan
57555e40c0
Use drain to avoid unnecessary clones
3 years ago
Sayan Nandan
58a755bf58
Simplify readline impl in skysh
3 years ago
Sayan Nandan
bc318dd78d
Simplify `Runner` impl in skysh
3 years ago
Sayan Nandan
01ab66f64c
Support comments in `skysh`
...
Also support multiline pasting in the interactive shell
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
eb22456b18
Fix input of multiline commands in skysh
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
af53eda1f7
Simplify line append op and add changelog entry
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
fcc99268fb
Support multiline strings in skysh
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
e55bf528be
Fix `testkey` impl in sky-bench
3 years ago
Sayan Nandan
bca37ede43
Fix bug that allowed empty queries to crash skysh
3 years ago
Sayan
ea1871747d
Re-add TLS ( #181 )
...
* Re-add TLS
When we moved to use the Skytable client driver, we missed out TLS
support. This was re-added.
* Fix attempt to rm PID file if it doesn't exist
* Fix sequence of `inner_repl` and `inner_eval`
3 years ago
Sayan Nandan
0f06f7b26f
Add some LLVM specific optims for O1 builds
3 years ago
Sayan
d53a0cb505
Fix handling of SIGTERM on *nix ( #178 )
...
* Fix handling of SIGTERM on *nix
This is just for future extensibility
* Fix error codes
I have been silly enough to break error codes
3 years ago
Sayan Nandan
0f1264d312
Decompose linearity tests and utils into modules
...
Also fixed license headers
3 years ago
Sayan
e553c5172b
Release v0.6.1 ( #164 )
...
* Explicitly fsync and relax CPU on snap busy-loop
This commit also switches to using global `VERSION` and `URL` statics
than defining it per-crate.
* Add changelog entry and bump up version
* Optimize `dbtest` macro and rm redundant allocs
* Upgrade deps
3 years ago
Sayan Nandan
3616793554
Update versioning and support information [skip ci]
3 years ago
Sayan Nandan
870c6f560d
Upgrade CLI to use the client driver
3 years ago
Sayan Nandan
d18631680c
Bump up version and add changelog entry
3 years ago
Sayan Nandan
f1beb7b1e3
Add support for line editing, history and keyboard shortcuts in skysh ( #142 )
...
* Add line editing and history support
* Enable screen to be cleared by running clear
3 years ago
Sayan Nandan
d3a612e815
Terminate con when exit or ctrl_c sig is received
3 years ago
Sayan Nandan
cfc23d69d9
Close connection on receiving ctrl_c
3 years ago
Sayan Nandan
43779eb08e
And now we're Skytable
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
56b958a9cf
Revise copyright blocks as per OSI guidelines
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
a3398f1d07
Rebrand from TerrabaseDB to Skybase ( #90 )
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
4722e01d23
Add `ran_string()` to `tdb-bench`
...
Also, dependencies were upgraded across all crates and the version for
`tdb-macros` was streamlined to 0.5.0 like the other crates.
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
d84234724d
Update to upstream changes and polish SSL API
...
Also several debug messages were added for debugging SSL connections.
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
07b9985732
Add client side SSL support
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
94c400c962
Enable actions to be run without the REPL in tsh
...
If any user needs to run an action without the REPL, they can now do it
by running `tsh -e 'expr'`
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
477acfab4b
Allow tsh to process flags and opts from the shell
...
This commit enables processing for flags and
options for `tsh`. This is a breaking change as it prevents
users from using the previous launch arguments and
instead requires them to use a `-h` and `-p` combination
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan
a39a7b82a3
Fix packet errors due to empty queries in cli
4 years ago
Sayan Nandan
096a0c901b
Remove unused functions and duplicates
...
`proc_query` is used by both by `tdb-bench` and `tsh` so it was moved.
Also, the `println`s in the query tests were moved into the macros
4 years ago
Sayan Nandan
85662e1f83
Enable tsh to connect to different ports
4 years ago
Sayan Nandan
e49df70aef
Update license headers
4 years ago
Sayan Nandan
67dc83764a
Rename `corelib` to `libtdb`
4 years ago
Sayan Nandan
44e0affc82
Enable remote host connections on tsh
4 years ago
Sayan Nandan
9a4dfd2ebc
Upgrade client to use new corelib modules
4 years ago
Sayan Nandan
bfb1e39fe6
Add way to exit
4 years ago
Sayan Nandan
59046db8f8
Implement client
4 years ago
Sayan Nandan
0f1dde109b
Implement client
...
However, the client has some propagation errors
4 years ago
Sayan Nandan
ab24e6588f
Reimplement terrapipe metaframe
4 years ago
Sayan Nandan
7434071509
Implement basic client
4 years ago
Sayan Nandan
a78e54b215
Make error responses static
4 years ago
Sayan Nandan
ed1815422d
Refactor project and add terrapipe spec
4 years ago