aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm/src/server.rs
Commit message (Collapse)AuthorAgeFilesLines
* make the oauth client a struct instead of a traitJesse Luehrs2019-12-181-28/+32
|
* simplifyJesse Luehrs2019-11-281-6/+6
|
* fix confusing type signatureJesse Luehrs2019-11-281-2/+2
|
* simplifyJesse Luehrs2019-11-271-17/+19
|
* refactor a bitJesse Luehrs2019-11-271-84/+116
|
* rethink how oauth logins need to workJesse Luehrs2019-11-271-62/+10
| | | | | | | i can't exchange refresh tokens for access tokens without knowing the webface oauth configuration either, so this strategy also won't work. the server actually needs to only receive access tokens, and request the web server to refresh them as needed.
* make the oauth methods return both tokensJesse Luehrs2019-11-271-4/+6
|
* implement logging in with the oauth tokens on the server sideJesse Luehrs2019-11-271-0/+53
|
* fix method nameJesse Luehrs2019-11-271-2/+2
|
* the server doesn't need to know about the web oauth configsJesse Luehrs2019-11-271-25/+10
|
* split oauth_response into two different messagesJesse Luehrs2019-11-271-2/+2
| | | | | | | | | | the local client needs to receive the code and send it directly to the server, which handles the rest of the oauth flow (because the client doesn't have the server's oauth configuration, so it can't do the exchange itself), but the web client needs to receive the code and exchange it for a token and send that token to the server (because the server doesn't have the web server's oauth configuration, so it can't do the exchange itself)
* fix error messageJesse Luehrs2019-11-261-4/+1
|
* pass oauth login urls along to the browserJesse Luehrs2019-11-261-6/+5
|
* allow multiple oauth configurations using the same auth typeJesse Luehrs2019-11-261-12/+27
| | | | | this should allow us to configure a separate oauth application for tt web than normal (since the redirect_url needs to be different)
* resize the browser terminal if the streamer terminal is resizedJesse Luehrs2019-11-221-7/+16
|
* make sure our terminal size is updated correctlyJesse Luehrs2019-11-221-1/+2
| | | | a couple of our in-memory terminal parsers were being stuck at 80x24
* shorter namesJesse Luehrs2019-11-161-14/+11
|
* use workspacesJesse Luehrs2019-11-151-0/+1073