Skip to content

v1.2.0

Compare
Choose a tag to compare
@ZinoKader ZinoKader released this 24 Feb 16:42
· 242 commits to master since this release
09abbee

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 copiable portal 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 the default_rendezvous_address and default_rendezvous_port options. It incorporates both the IP and port into one value, so relay: 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 use 127.0.0.1:5432 to address a relay on the loopback interface.

Special thanks

Thank you @ludetie for the feature suggestions and bug reports.

Full changelog

See full changelog
  • b2da919 feat: cleaner, more consistent progress output
  • 09abbee feat: overwrite prompt, config file + commands, add relay flag when copying password (#53)
  • 8f87c7c fix: incorrect release links for Linux x86
  • c3276cc fix: spelling error in cURL dependency check