Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | put vt100 in the streaming pathvt100-stream | Jesse Luehrs | 2019-11-12 | 1 | -33/+78 |
| | | | | | this isn't quite ideal yet because it means we lose all scrollback - maybe this is okay? | ||||
* | bump deps | Jesse Luehrs | 2019-11-06 | 1 | -2/+2 |
| | |||||
* | move resizing out into a separate crate | Jesse Luehrs | 2019-10-27 | 1 | -29/+29 |
| | |||||
* | move process out to a separate crate | Jesse Luehrs | 2019-10-24 | 1 | -5/+9 |
| | |||||
* | move component_future to a separate crate | Jesse Luehrs | 2019-10-24 | 1 | -35/+25 |
| | |||||
* | remove unnecessary tokio::spawn use | Jesse Luehrs | 2019-10-22 | 1 | -1/+2 |
| | |||||
* | remove some duplication | Jesse Luehrs | 2019-10-22 | 1 | -15/+19 |
| | |||||
* | add a basic wizard to generate the initial config file | Jesse Luehrs | 2019-10-21 | 1 | -1/+4 |
| | |||||
* | use log::error! instead of eprintln! | Jesse Luehrs | 2019-10-21 | 1 | -1/+1 |
| | |||||
* | make running with no config file work again | Jesse Luehrs | 2019-10-20 | 1 | -4/+8 |
| | |||||
* | these all need a default deserialization | Jesse Luehrs | 2019-10-20 | 1 | -0/+3 |
| | |||||
* | exit with an error if we fail to parse the config file | Jesse Luehrs | 2019-10-20 | 1 | -5/+7 |
| | | | | | just using the defaults is confusing for subcommands that don't display errors by default (stream, record, etc) | ||||
* | also move the flag definitions into the config reader | Jesse Luehrs | 2019-10-20 | 1 | -24/+3 |
| | |||||
* | simplify config loading | Jesse Luehrs | 2019-10-20 | 1 | -95/+32 |
| | |||||
* | use separate configuration items for listen and connect addresses | Jesse Luehrs | 2019-10-19 | 1 | -5/+6 |
| | |||||
* | don't allow configuring command to run except on the command line | Jesse Luehrs | 2019-10-19 | 1 | -2/+2 |
| | |||||
* | improve error messages | Jesse Luehrs | 2019-10-19 | 1 | -8/+10 |
| | |||||
* | debug-log the final configuration | Jesse Luehrs | 2019-10-18 | 1 | -1/+1 |
| | |||||
* | load config data from a file too | Jesse Luehrs | 2019-10-18 | 1 | -2/+5 |
| | |||||
* | give component_future its own try_ready! macro | Jesse Luehrs | 2019-10-17 | 1 | -32/+13 |
| | | | | this simplifies quite a lot of things | ||||
* | ensure resize handling works everywhere | Jesse Luehrs | 2019-10-17 | 1 | -13/+13 |
| | | | | | previously record wasn't getting resize events because they were being handled in the client (which record doesn't use) | ||||
* | improve the interface of component_future a bit | Jesse Luehrs | 2019-10-17 | 1 | -29/+32 |
| | | | | make it feel more like the standard futures::Poll/futures::Async | ||||
* | refactor config handling | Jesse Luehrs | 2019-10-17 | 1 | -93/+146 |
| | |||||
* | factor out caching of the client oauth id | Jesse Luehrs | 2019-10-17 | 1 | -11/+3 |
| | |||||
* | use a real enum for auth types | Jesse Luehrs | 2019-10-17 | 1 | -5/+8 |
| | |||||
* | use different logic for buffering on the client side vs server | Jesse Luehrs | 2019-10-16 | 1 | -1/+1 |
| | | | | | they have different needs and performance profiles, so try to be a bit more intelligent | ||||
* | ensure that all bytes coming from the terminal actually get written | Jesse Luehrs | 2019-10-16 | 1 | -8/+7 |
| | | | | | | | | | it's not actually safe to just skip over bytes when we see a reset escape sequence, because there might be other escape sequences changing the terminal state that don't get cleared by a reset. for instance, starting vim sends "switch to alternate screen" followed by "reset", and if those two come in the same packet, we were previously dropping the "switch to alternate screen" escape sequence, causing incorrect display. | ||||
* | cache refresh tokens and use them when the exist | Jesse Luehrs | 2019-10-16 | 1 | -1/+11 |
| | | | | to avoid needing to go through the browser auth flow every time | ||||
* | move address default out of the util function | Jesse Luehrs | 2019-10-16 | 1 | -2/+2 |
| | |||||
* | start implementing oauth authentication | Jesse Luehrs | 2019-10-15 | 1 | -13/+23 |
| | |||||
* | don't send terminal output messages unless we're connected | Jesse Luehrs | 2019-10-15 | 1 | -1/+5 |
| | | | | | the server won't be expecting terminal output messages during the process of a login flow, for instance | ||||
* | send initial terminal size on process start | Jesse Luehrs | 2019-10-15 | 1 | -2/+6 |
| | | | | | | sending it on connect meant that the terminal size wouldn't be set at all if there was a problem connecting to the server, which confuses programs running in the pty | ||||
* | a few more tweaks | Jesse Luehrs | 2019-10-14 | 1 | -7/+8 |
| | |||||
* | consolidate errors | Jesse Luehrs | 2019-10-14 | 1 | -44/+14 |
| | |||||
* | move common traits into a prelude | Jesse Luehrs | 2019-10-14 | 1 | -4/+1 |
| | |||||
* | polling should be considered doing work | Jesse Luehrs | 2019-10-14 | 1 | -1/+1 |
| | |||||
* | add tls support for clients | Jesse Luehrs | 2019-10-12 | 1 | -22/+59 |
| | |||||
* | generalize the client implementation | Jesse Luehrs | 2019-10-12 | 1 | -8/+23 |
| | |||||
* | make all of my futures/streams not do any work until polled | Jesse Luehrs | 2019-10-10 | 1 | -9/+5 |
| | |||||
* | make argument parsing more consistent | Jesse Luehrs | 2019-10-10 | 1 | -32/+34 |
| | |||||
* | bump heartbeat interval to 30s | Jesse Luehrs | 2019-10-10 | 1 | -18/+6 |
| | | | | | also stop trying to make it configurable, since there's really no need for that | ||||
* | ensure that the length delimited codec expects the right packet size | Jesse Luehrs | 2019-10-09 | 1 | -1/+2 |
| | | | | | | | | | this was causing errors because we were buffering up to 10MB of terminal data, but by default, the length delimited codec throws an error if it sees a packet of over 8MB. this drops the default buffer size to 4MB, and also ensures that if the buffer size changes that we update the codec max packet size to match (with some extra to handle overhead and other packet types). | ||||
* | split Reconnect events into Disconnect/Connect | Jesse Luehrs | 2019-10-08 | 1 | -1/+4 |
| | | | | | | this makes the logic easier to follow, and also opens up the possibility of doing something different during times that we are actively disconnected | ||||
* | cast -> stream | Jesse Luehrs | 2019-10-08 | 1 | -0/+332 |