aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ensure that all bytes coming from the terminal actually get writtenJesse Luehrs2019-10-164-94/+135
| | | | | | | | | 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.
* simplifyJesse Luehrs2019-10-163-14/+13
|
* simplifyJesse Luehrs2019-10-162-22/+21
|
* remove some unnecessary movesJesse Luehrs2019-10-161-2/+2
|
* cache refresh tokens and use them when the existJesse Luehrs2019-10-1612-53/+331
| | | | to avoid needing to go through the browser auth flow every time
* further generalize the oauth flowJesse Luehrs2019-10-162-35/+69
|
* better error handling in client oauth login flowJesse Luehrs2019-10-162-17/+35
|
* move address default out of the util functionJesse Luehrs2019-10-163-6/+5
|
* add a bit more debug logging to the clientJesse Luehrs2019-10-161-5/+22
|
* don't block the main thread when waiting for oauth responseJesse Luehrs2019-10-162-72/+142
|
* rename some enum variantsJesse Luehrs2019-10-161-7/+7
| | | | more consistency with the server side
* commentJesse Luehrs2019-10-161-1/+1
|
* pull address out into a constJesse Luehrs2019-10-161-3/+10
|
* relax the http request parsing a bitJesse Luehrs2019-10-161-1/+1
|
* start implementing oauth authenticationJesse Luehrs2019-10-1511-55/+1308
|
* don't send terminal output messages unless we're connectedJesse Luehrs2019-10-151-1/+5
| | | | | the server won't be expecting terminal output messages during the process of a login flow, for instance
* need to reset rsock after closing the connection tooJesse Luehrs2019-10-151-0/+1
| | | | | since the future that produced it completed at this point, so we don't want to poll it again (which could happen since closing is deferred)
* reset reconnect timer after logging inJesse Luehrs2019-10-151-2/+1
| | | | | resetting after connect means that we could still potentially crashloop during a multi-phase login
* add an intermediate LoggingIn stateJesse Luehrs2019-10-151-3/+34
| | | | for login methods that require additional messages back and forth
* add a processing state to server connectionsJesse Luehrs2019-10-151-8/+50
| | | | this allows us to do long-lived actions in response to messages
* send initial terminal size on process startJesse Luehrs2019-10-154-18/+34
| | | | | | 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
* add client message logging tooJesse Luehrs2019-10-151-0/+3
|
* wait to send on_connect messages until after loginJesse Luehrs2019-10-151-6/+6
|
* allow clippy::single_match everywhereJesse Luehrs2019-10-152-2/+1
|
* various client cleanupsJesse Luehrs2019-10-151-91/+99
|
* delay moving to the connected state until we get an ack from the serverJesse Luehrs2019-10-153-3/+35
| | | | | this should make adding additional handshake steps during login more straightforward
* store term type and size data on the clientJesse Luehrs2019-10-151-9/+15
|
* more simplificationJesse Luehrs2019-10-141-8/+11
|
* a few more tweaksJesse Luehrs2019-10-145-53/+56
|
* fix tls poll implementationJesse Luehrs2019-10-141-1/+1
|
* commentJesse Luehrs2019-10-141-0/+1
|
* and more simplifyingJesse Luehrs2019-10-141-63/+60
|
* simplifyJesse Luehrs2019-10-141-166/+199
|
* simplify state management a bitJesse Luehrs2019-10-142-27/+32
|
* simplify some typesJesse Luehrs2019-10-143-12/+11
|
* consolidate errorsJesse Luehrs2019-10-1417-616/+441
|
* move common traits into a preludeJesse Luehrs2019-10-1417-50/+24
|
* move some code aroundJesse Luehrs2019-10-144-137/+171
|
* rename and move around some methodsJesse Luehrs2019-10-141-103/+103
|
* refactor to allow for multiple authentication typesJesse Luehrs2019-10-143-12/+49
|
* add licenseJesse Luehrs2019-10-141-0/+32
|
* name change, againJesse Luehrs2019-10-146-30/+30
|
* polling should be considered doing workJesse Luehrs2019-10-142-2/+2
|
* add command to play ttyrecsJesse Luehrs2019-10-144-3/+337
|
* add command to record terminal sessionsJesse Luehrs2019-10-134-0/+427
|
* add tls support for clientsJesse Luehrs2019-10-124-39/+145
|
* generalize the client implementationJesse Luehrs2019-10-123-64/+112
|
* add tls support to the serverJesse Luehrs2019-10-124-24/+400
|
* generalize the server implementationJesse Luehrs2019-10-111-39/+45
| | | | this should allow using either tls or non-tls sockets
* tweak some buffersJesse Luehrs2019-10-111-3/+5
|