v1.2.0
Portal v1.2.0 brings some new QoL-features and fixes a bug where the config file would not be read.
The config file has been moved to $HOME/.config/portal/config.yml
.
Prompt
- (default!) Prompt with a [Y/n] for each file that would be overwritten when receiving files.
- Adds
--yes
,-y
flags that will automatically overwrite files without prompting.
Copying passwords when sending
- Adds the
--relay [relay-address]
flag to the copiableportal receive 1-x-x-x
command when a sender is sending files through a relay which is not the default.
Configuration
-
New
config
command with useful subcommands to handle your config file.portal config view
outputs current config with syntax highlighting.portal config path
outputs the path of the config file.portal config edit
opens the config file in default $EDITOR.portal config reset
resets the config file to its default values.
-
New configuration options.
relay: [addr:port|domain]
replaces thedefault_rendezvous_address
anddefault_rendezvous_port
options. It incorporates both the IP and port into one value, sorelay: 1.2.3.4:8726
is a valid value.verbose: [true|**false**]
can now be configured in the config to always output verbose info.prompt_overwrite_files: [**true**|false]
can be configured to always prompt, or never prompt when overwriting files.
-
Changes to config file behavior.
- fixes reading configs from the config file (it was broken!).
- moved the config file to
$HOME/.config/portal/config.yml
.
Valid relay addresses
- Now you can use loopback relay addresses on the form
localhost:5432
or:5432
. Previously, one had to use127.0.0.1:5432
to address a relay on the loopback interface.
Special thanks
Thank you @ludetie for the feature suggestions and bug reports.