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,-yflags that will automatically overwrite files without prompting.
Copying passwords when sending
- Adds the
--relay [relay-address]flag to the copiableportal receive 1-x-x-xcommand when a sender is sending files through a relay which is not the default.
Configuration
-
New
configcommand with useful subcommands to handle your config file.portal config viewoutputs current config with syntax highlighting.portal config pathoutputs the path of the config file.portal config editopens the config file in default $EDITOR.portal config resetresets the config file to its default values.
-
New configuration options.
relay: [addr:port|domain]replaces thedefault_rendezvous_addressanddefault_rendezvous_portoptions. It incorporates both the IP and port into one value, sorelay: 1.2.3.4:8726is 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:5432or:5432. Previously, one had to use127.0.0.1:5432to address a relay on the loopback interface.
Special thanks
Thank you @ludetie for the feature suggestions and bug reports.