-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
show error on on lading page for insecure contexts (#89)
- Loading branch information
Showing
7 changed files
with
113 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["esbenp.prettier-vscode"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,90 @@ | ||
## 0.3.1.2 | ||
* [bugfix] `termpair --version` was throwing an error. Fix the argument parsing so this command works. | ||
* remove full screen css to avoid unnecesary horizontal scroll bar | ||
## 0.3.1.4 | ||
|
||
## 0.3.1.2 | ||
* [bugfix] Require command in command line. `termpair` now results in an error instead of displaying no output and returning 0. | ||
* Upgrade JavaScript dependencies | ||
- Show user a clear error if the browser is not running in a secure context | ||
|
||
## 0.3.1.3 | ||
|
||
- [bugfix] Require command in command line. `termpair` now results in an error instead of displaying no output and returning 0. | ||
- Upgrade JavaScript dependencies | ||
|
||
## 0.3.1.1 | ||
* [feature] add small, dark grey outline around the terminal | ||
* [bugfix] center the terminal instead of left aligning it | ||
* [bugfix] better text spacing in bottom status bar | ||
|
||
- [feature] add small, dark grey outline around the terminal | ||
- [bugfix] center the terminal instead of left aligning it | ||
- [bugfix] better text spacing in bottom status bar | ||
|
||
## 0.3.1.0 | ||
* [feature] Store user input values of the terminal id, key, and host, and restore them when the page loads | ||
* [bugfix] Ensure width fits on mobile devies | ||
|
||
- [feature] Store user input values of the terminal id, key, and host, and restore them when the page loads | ||
- [bugfix] Ensure width fits on mobile devies | ||
|
||
## 0.3.0.0 | ||
|
||
**Breaking API Changes** | ||
In this version, TermPair clients from previous versions cannot connect to this TermPair server | ||
|
||
* Use new key sharing scheme: Different keys used in different directions; keys rotated | ||
* [bugfix] Terminal dimensions in browser match upon initial connection, instead of after resizing | ||
* Allow static site to route terminal traffic through other server. If static site is detected, user can enter the terminal id and server url in the browser UI. | ||
* Allow Terminal ID and initial encryption key to be entered on landing page | ||
* Add additional random string to each encrypted message | ||
* Display version in webpage | ||
* Add troubleshooting instructions to webpage | ||
* Rename `--no-browser-control` argument of `termpair share` to `--read-only` | ||
- Use new key sharing scheme: Different keys used in different directions; keys rotated | ||
- [bugfix] Terminal dimensions in browser match upon initial connection, instead of after resizing | ||
- Allow static site to route terminal traffic through other server. If static site is detected, user can enter the terminal id and server url in the browser UI. | ||
- Allow Terminal ID and initial encryption key to be entered on landing page | ||
- Add additional random string to each encrypted message | ||
- Display version in webpage | ||
- Add troubleshooting instructions to webpage | ||
- Rename `--no-browser-control` argument of `termpair share` to `--read-only` | ||
|
||
## 0.2.0.0 | ||
* Add ability to copy+paste using keystrokes (copy with ctrl+shift+c or ctrl+shift+x, and paste with ctrl+shift+v) | ||
* Add a status bar to the bottom of the page | ||
* Show terminal dimensions in bottom status bar | ||
* Add toasts to notify user of various events | ||
* Fix bug where connected browsers do not have their websocket connection closed when terminal closes, which makes it look like the terminal is still connected when it is not. | ||
* Improve error messages, in particular if there is no server running | ||
* Fixed bug where websocket connection is briefly accepted regardless of whether a valid terminal id is provided to `/terminal/{terminal_id}`. Instead of returning a JSON object with the TermPair version, a 404 error is now returned. | ||
* [dev] migrate codebase to typescript | ||
* [dev] use React functional component instead of class component for main application | ||
|
||
- Add ability to copy+paste using keystrokes (copy with ctrl+shift+c or ctrl+shift+x, and paste with ctrl+shift+v) | ||
- Add a status bar to the bottom of the page | ||
- Show terminal dimensions in bottom status bar | ||
- Add toasts to notify user of various events | ||
- Fix bug where connected browsers do not have their websocket connection closed when terminal closes, which makes it look like the terminal is still connected when it is not. | ||
- Improve error messages, in particular if there is no server running | ||
- Fixed bug where websocket connection is briefly accepted regardless of whether a valid terminal id is provided to `/terminal/{terminal_id}`. Instead of returning a JSON object with the TermPair version, a 404 error is now returned. | ||
- [dev] migrate codebase to typescript | ||
- [dev] use React functional component instead of class component for main application | ||
|
||
## 0.1.1.1 | ||
* Fix server bug when using SSL certs (#44) | ||
|
||
- Fix server bug when using SSL certs (#44) | ||
|
||
## 0.1.1.0 | ||
* Ensure error message is printed to browser's terminal if site is not served in a secure context (#39) | ||
* Make default TermPair terminal client port 8000 to match default server port (#38) | ||
* Always display port to connect to in browser's connection instructions | ||
|
||
- Ensure error message is printed to browser's terminal if site is not served in a secure context (#39) | ||
- Make default TermPair terminal client port 8000 to match default server port (#38) | ||
- Always display port to connect to in browser's connection instructions | ||
|
||
## 0.1.0.2 | ||
* Change default sharing port to None due to difficulties sharing to port 80/reverse proxies | ||
* Print port in web UI's sharing command | ||
|
||
- Change default sharing port to None due to difficulties sharing to port 80/reverse proxies | ||
- Print port in web UI's sharing command | ||
|
||
## 0.1.0.1 | ||
* Remove debug message from server | ||
|
||
- Remove debug message from server | ||
|
||
## 0.1.0.0 | ||
|
||
* Pin dependencies | ||
* Change default sharing port to 8000 to match default server port | ||
- Pin dependencies | ||
- Change default sharing port to 8000 to match default server port | ||
|
||
## 0.0.1.3 | ||
|
||
* Upgrade xtermjs | ||
- Upgrade xtermjs | ||
|
||
## 0.0.1.2 | ||
|
||
* Update landing page when terminal id is not provided | ||
- Update landing page when terminal id is not provided | ||
|
||
## 0.0.1.1 | ||
|
||
* Fix pipx install link in frontend | ||
- Fix pipx install link in frontend | ||
|
||
## 0.0.1.0 | ||
|
||
* Add end-to-end encryption | ||
* Change `termpair serve` to allow browser control by default, and update CLI API by replacing `-a` flag with `-n` flag. | ||
- Add end-to-end encryption | ||
- Change `termpair serve` to allow browser control by default, and update CLI API by replacing `-a` flag with `-n` flag. | ||
|
||
## 0.0.3.0 | ||
|
||
* Use FastAPI on backend and update UI | ||
- Use FastAPI on backend and update UI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters