Commit graph

117 commits

Author SHA1 Message Date
3eba65f6e6 Refactor in prep for clip 2024-06-22 07:32:11 -07:00
3f7afc5b78 More clippy 2024-06-22 06:13:09 -07:00
08a41492b8 Clippy I guess 2024-06-21 08:26:56 -07:00
1e33561d92 Allow manual trigger of workflow dispatch 2024-04-14 06:51:26 -07:00
e11b6e025e Maybe release for aarch64? Who can say. 2024-04-13 14:59:19 -07:00
7766feafd4 Bump the version in the crate
Forgot to do this on release, whoops
2024-03-01 06:15:56 -08:00
10984034fa Supply the error message when connect fails
This might be too ugly
2024-02-29 13:16:16 -08:00
0368074ea0 Explicit tokio features
Somehow I thought this would make my binary smaller lol
2023-11-25 08:04:40 -08:00
2684d7f009 Upgrade dependencies 2023-11-25 07:58:00 -08:00
00daedeb95 Some silly refactoring 2023-11-25 07:57:52 -08:00
519b7bc415 Display the URL we're trying to open when it fails
This means that it is not lost forever and you can, I don't know,
click it in your terminal window or something.

(Thanks @quodlibetor for the patch!)
2023-11-25 07:33:44 -08:00
9671da9750 Make notes about the future 2023-08-28 09:25:46 -07:00
fd02779ba0 Bump version to 0.7.0 2023-04-30 07:33:55 -07:00
b85e3fa9a6 Fix crash on changing selection with no ports
No ports always means no selection
2023-04-30 07:33:06 -07:00
815ee5e86e Remove explanation for what fwd does
You probably know already, and it feels clunky here.
2023-04-30 07:24:18 -07:00
ec130d38b9 Support running server side with sudo
This allows forwarding ports that you would otherwise not be able to
see. More dangerous, probably not what you want most of the time, but
OK for now.

(I continue to resist adding clap as a dependency.)
2023-04-30 06:51:37 -07:00
d3d7b4f137 Bump cargo version to v0.6.2 2023-04-26 12:01:17 -07:00
59b8b8f3dc Cleanup some help text 2023-04-26 12:00:01 -07:00
0f8486d418 Upgrade dependencies 2023-04-26 11:53:15 -07:00
b74bf4aa9a The release that we create should be a draft
A human should have to publish it.
2023-04-26 11:47:48 -07:00
7deb8489e4 Bump the cargo version
Whoops I forgot.
2023-04-26 11:44:21 -07:00
a3c4c3ea5e Track the selection across refreshes by port number
The next step would obviously be to track the selection only by port
number, so that we remember the selection if the port goes away and
comes back.
2023-03-23 19:40:42 -07:00
99d377d4ce Make help modal
I don't like that ENTER and the arrow keys still manipulate the list
while help is showing. Ignore other keypresses while the help screen
is shown.

Also, make the spelling/capitalization a little cleaner.
2023-03-21 23:17:16 -07:00
34340e2575 Simplify centering math, don't crash if the rectangle clips
Also, tests
2023-03-21 23:07:08 -07:00
Brandon W Maister
290dcff9b6 tui: Add a help popup 2023-03-21 22:53:35 -07:00
Brandon W Maister
381c008665 tui: Add a fwd column with a ✓ to show that ports are being forwarded
I didn't realize that everything was forwarded by default, this makes it more
obvious.
2023-03-21 22:53:35 -07:00
7410ec5143 Add tests for keypresses 2023-03-21 22:48:06 -07:00
f174f364a4 Re-add assertions and simplify wrapping 2023-03-21 19:45:17 -07:00
Brandon W Maister
3060032a95 ui: Wrap around list when at the endoflife
Pressing "up"/"k" at the top of the UI will now go to the end of the list. And
same in reverse.
2023-02-18 11:27:58 -08:00
Brandon W Maister
85dc2f0707 ui: Switch j and k keys to match vi -- j means down, k means up 2023-02-18 11:27:23 -08:00
5fb0410eee Make README a little more clear
Thanks Digant!
2023-02-03 15:32:11 -08:00
Digant C Kasundra
19d6095c86
Make the README a little more clear 2023-02-03 18:21:35 -05:00
19e7baf89c Update dependencies
Thanks dependabot, I guess
2023-02-03 15:18:26 -08:00
766aad15f4 Update the version number for new args 2023-01-24 09:14:31 -08:00
fc144162b9 Better command line parsing, version, usage
Also tests for same
2023-01-24 09:13:53 -08:00
52fe5523b2 Update version to 0.4.0 for a clean release 2023-01-20 13:34:53 -08:00
e6a9caa1b5 Remove version from release archive
Makes downloading easier probably?
2023-01-20 13:27:00 -08:00
505eed6ea5 More stuff; use the cross compiler and stuff 2023-01-20 13:18:51 -08:00
33adbd3e27 Whoops bad YAML 2023-01-20 13:01:41 -08:00
ad5c47456a Version 0.3.0 2023-01-20 12:56:59 -08:00
de43067e0e I like vs actually 2023-01-20 12:55:55 -08:00
5f6b5054d4 I HATE YAML 2023-01-20 12:53:54 -08:00
65d26509d9 Maybe this is a release workflow 2023-01-20 12:51:20 -08:00
1dea6c5042 Add a basic CI workflow 2023-01-20 09:24:24 -08:00
528d616777 Single binary for browsing
Some systems require a single binary for the BROWSER variable, and
rather than muck about with shell scripts we have this small thing
instead.
2022-12-20 07:20:16 -08:00
57c01b0dd4 Vendoring is not for me
I cannot get the checksums to consistently match across all operating
systems.
2022-12-20 06:55:23 -08:00
81b53355f2 Some more bad tests because I'm bored 2022-12-19 20:53:26 -08:00
e0d1efb997 Add a test for that underflow I fixed 2022-12-19 19:45:07 -08:00
c75e684f5b Remove unused import on unix-family systems 2022-12-19 19:09:29 -08:00
0bb3fac61b Don't underflow on no ports
If ports are empty we underflow on `len()-1`, which is bad. Stop doing
that.
2022-12-19 19:07:05 -08:00