aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm
Commit message (Collapse)AuthorAgeFilesLines
* actually, the token response needs to send both tokensJesse Luehrs2019-11-271-7/+23
| | | | | | the server needs the access token to use for the current login process, but it'll also need to store the refresh token so that it doesn't need to re-login afterwards
* simplifyJesse Luehrs2019-11-273-18/+4
|
* calculate the redirect_url for web oauth tooJesse Luehrs2019-11-273-18/+23
| | | | | a bit more complicated because it needs to use the configured public_address, etc
* make the web client use raw clients for everythingJesse Luehrs2019-11-272-22/+20
|
* the server doesn't need to know about the web oauth configsJesse Luehrs2019-11-273-39/+24
|
* split oauth_response into two different messagesJesse Luehrs2019-11-273-14/+39
| | | | | | | | | | 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
|
* make plain logins also hit the serverJesse Luehrs2019-11-261-5/+129
| | | | this also provides a foundation for how to handle oauth logins
* read the oauth method configs in the webfaceJesse Luehrs2019-11-262-1/+1
| | | | the oauth login link doesn't work yet, but the ui works at least
* store more information about the login stateJesse Luehrs2019-11-265-9/+20
| | | | | | we need to know both who we are (so that the webface can display it) and also how to log back in as that user (since oauth methods log back in without specifying the username at all)
* simplify oauth url handlingJesse Luehrs2019-11-262-15/+22
|
* rename this structJesse Luehrs2019-11-261-5/+5
|
* allow creating raw clients that don't handle the login processJesse Luehrs2019-11-261-37/+77
| | | | | so that frontends that want to handle logins themselves can still have the client handle the connection process
* pass oauth login urls along to the browserJesse Luehrs2019-11-264-11/+89
|
* allow multiple oauth configurations using the same auth typeJesse Luehrs2019-11-2610-64/+212
| | | | | this should allow us to configure a separate oauth application for tt web than normal (since the redirect_url needs to be different)
* add a logout buttonJesse Luehrs2019-11-264-1/+16
|
* allow configuring the allowed login methods for the web serverJesse Luehrs2019-11-264-1/+37
|
* remove title from webconfigJesse Luehrs2019-11-263-5/+1
| | | | this was only temporary to prove the webconfig stuff worked
* use the correct username to log in on the server sideJesse Luehrs2019-11-252-10/+11
| | | | now that we're persisting it properly
* also build the wasm with -OzJesse Luehrs2019-11-252-1/+1
|
* remove a format! callJesse Luehrs2019-11-252-1/+1
| | | | apparently they are expensive (in code size)
* move value extraction logic into the viewJesse Luehrs2019-11-252-1/+1
| | | | since it depends more on the structure of the rendered page
* make logins persistentJesse Luehrs2019-11-254-4/+38
| | | | so if the server knows we're logged in, don't show the login page
* autofocus the username text boxJesse Luehrs2019-11-252-1/+1
|
* a bit more refactoringJesse Luehrs2019-11-252-1/+1
|
* add a basic login screenJesse Luehrs2019-11-242-1/+1
|
* simplify the update logic a bitJesse Luehrs2019-11-242-1/+1
|
* refactorJesse Luehrs2019-11-242-1/+1
|
* start working on the login flowJesse Luehrs2019-11-237-1/+171
|
* declare a character encodingJesse Luehrs2019-11-231-0/+1
|
* minify the wasm-bindgen generated jsJesse Luehrs2019-11-231-1068/+1
|
* strip out most logging in release buildsJesse Luehrs2019-11-232-29/+29
|
* remove unicode-normalization from the wasm buildJesse Luehrs2019-11-233-25/+24
| | | | | this cuts about 30% off of the binary size, and should have almost no impact
* stop hardcoding the list and watch urlsJesse Luehrs2019-11-235-67/+97
|
* refactor a bitJesse Luehrs2019-11-233-409/+409
|
* also rely on the middleware for template renderingJesse Luehrs2019-11-231-18/+12
|
* use middleware insteadJesse Luehrs2019-11-231-22/+13
|
* move server address to configurationJesse Luehrs2019-11-235-27/+74
|
* pass configuration from the web server to the web appJesse Luehrs2019-11-235-197/+217
|
* precompile the templatesJesse Luehrs2019-11-231-8/+17
|
* add basic template rendering abilityJesse Luehrs2019-11-235-167/+205
|
* remove some flickeringJesse Luehrs2019-11-232-21/+21
|
* enable lto for release buildsJesse Luehrs2019-11-232-397/+396
|
* i don't think rlib is necessary?Jesse Luehrs2019-11-232-40/+41
| | | | | i thiiiiink that's just if the crate is supposed to be for both native code and wasm
* shuffle some of the view structure aroundJesse Luehrs2019-11-232-44/+43
|
* restrict the api a bit moreJesse Luehrs2019-11-232-32/+33
|
* move some things aroundJesse Luehrs2019-11-232-31/+31
|
* also draw the cursorJesse Luehrs2019-11-222-24/+24
|
* resize the browser terminal if the streamer terminal is resizedJesse Luehrs2019-11-225-46/+55
|
* make sure our terminal size is updated correctlyJesse Luehrs2019-11-222-1/+3
| | | | a couple of our in-memory terminal parsers were being stuck at 80x24