Skip to content

Releases: swiftDialog/swiftDialog

swiftDialog 2.5.5

17 Dec 03:23
931d329
Compare
Choose a tag to compare

💡 Please read the release notes carefully regarding command file permissions.

Fixes:

  • #476 Notifications no longer trigger action items from --button1action or --button2action
  • #473 Applying the blur effect then turning it off puts a dialog on top even if it is not on top
  • #477 timer flag causing dialog to stay open indefinitely
  • Added processing to handle if no arguments are used on the command line. This should allow enough time for whatever action is being run from a notification to take effect.
  • Fix issue where default string values were not being populated on arguments with optional values
  • updated logic for /usr/local/bin/dialog to avoid permission issues and warn if the command file is detected as a symlink

Updates:

  • #463 customize the label on the Help pane’s close button to any desired text --helpsheetbuttontext

🚨 /usr/local/bin/dialog and command file permissions 🚨

The /usr/local/bin/dialog launch script has been updated and no longer performs the convenience task of ensuring the command file (default or custom) is readable from a standard user account.

If you have a workflow that uses command files you will need to check the following:

  • use custom command files where possible
  • do not use symlinks
  • if pre-creating the file ahead of launching swiftDialog, ensure standard users have rw permissions to the file.
    • you can use a path to a command file without creating the file first. In this case swiftDialog will create the file for you which will have the correct permissions as a consequence. Of course, the target directory will need to have appropriate permissions for a standard user to be able to create the file.

If the file cannot be read when launched using /usr/local/bin/dialog a message will be sent to stderr. If the file is detected to be a symbolic link to another file a message will be sent to stderr and the process stopped.

If you need to run an older version of swiftDialog, it is recommended you update the launcher using the dialog-2.5.5-4802-launcher.pkg package attached to this release. This will upgrade just the launcher and not swiftDialog itself. This should be compatible with any prior version.

swiftDialog 2.5.5 RC 1

13 Dec 12:05
Compare
Choose a tag to compare
Pre-release

Fixes:

  • all fixes in v2.5.5 Beta 1
  • #479 /usr/local/bin/dialog --help shows No argument found with the given name: none and not help info
  • #477 timer flag causing dialog to stay open indefinitely
  • updated logic for /usr/local/bin/dialog to avoid permission issues and warn if the command file is detected as a symlink

swiftDialog 2.5.5 Beta 1

12 Dec 12:39
Compare
Choose a tag to compare
Pre-release

Fixes:

  • #476 Notifications no longer trigger action items from --button1action or --button2action
  • #473 Applying the blur effect then turning it off puts a dialog on top even if it is not on top
  • Added processing to handle if no arguments are used on the command line. This should allow enough time for whatever script is being launced from a notification to launch.
  • Fix issue where default string values were not being populated on arguments with optional values
  • Remove code for dealing with commandfile permissions in the dialog launch script. Should no longer be needed

Updates:

  • #463 customize the label on the Help pane’s close button to any desired text --helpsheetbuttontext

swiftDialog 2.5.4

14 Nov 07:48
7a8fdf8
Compare
Choose a tag to compare

Hotfix release for some issues present in 2.5.3

  • notifications causing boilerplate windows popping up #467
  • boilerplate text being used when "" is provided to denote a null value #467
  • overlay icons not showing when using a single --icon and --centreicon is used #466

swiftDialog 2.5.3

12 Nov 02:45
eebc5b6
Compare
Choose a tag to compare

New:

  • Added ability to create QR codes as images
    • e.g. --icon qr=<text> where can be a URL or other string
  • Multiple icons can be specified when using --centreicon which will display centred along the top of the window
    • e.g. --centreicon --icon image1.png --icon image2.png --icon image3.png
  • Added --helpimage which will add an image to the right of any --helpmessage. accepts any valid image type
    • e.g. --helpmessage "Scan the QR code for help" --helpimage "qr=https://swiftdialog.app"

Fixes:

  • --webcontent caching account/sessions between dialog instances #439
  • Add check for CGSession to make login window operations on boot more reliable #442
  • moved file select dialog to a popover sheet. This lets it inherit the window peoperties of the parent and appear over the top of blurscreen #441
  • Allow --helpmessage to support markdown files #447
  • Fixed #456 - Enable rounded corners when using base64 encoded images
  • Remove dependency on third party fileicon shell script for branding.
  • Add -H option to the sudo command in the runAsUser function in /usr/local/bin/dialog script. Should help with context when performing tasks like launching URL's in Chrome

Under the hood changes

A lot of updates to how command line arguments are processed internally. This doesn't change operation but will assist future planned refactoring work.

Known issues

On macOS 15 you might see the following on stderr:

2024-10-24 19:07:22.157 Dialog[26712:1399071] +[IMKClient subclass]: chose IMKClient_Legacy
2024-10-24 19:07:22.157 Dialog[26712:1399071] +[IMKInputSession subclass]: chose IMKInputSession_Legacy

This shouldn't affect any output processing and can be ignored. It has been raised as an issue to Apple as FB15576915 and is not unique to swiftDialog.

Workaround: send stderr to null i.e. dialog <args> 2>/dev/null

swiftDialog 2.5.3 Beta 3

30 Oct 11:44
Compare
Choose a tag to compare
Pre-release

All the things in Beta 2 plus the following:

  • Added ability to create QR codes as images
    • e.g. --icon qr=<text> where can be a URL or other string
  • Multiple icons can be specified when using --centreicon which will display centred along the top of the window
    • e.g. --centreicon --icon image1.png --icon image2.png --icon image3.png
  • Added --helpimage which will add an image to the right of any --helpmessage. accepts any valid image type
    • e.g. --helpmessage "Scan the QR code for help" --helpimage "qr=https://swiftdialog.app"
  • Fixed #456 - Enable rounded corners when using base64 encoded images

swiftDialog 2.5.3 Beta 2

24 Oct 08:11
Compare
Choose a tag to compare
Pre-release

Fixes

Same as Beta 1

  • --webcontent caching account/sessions between dialog instances #439
  • Add check for CGSession to make login window operations on boot more reliable #442
  • moved file select dialog to a popover sheet. This lets it inherit the window peoperties of the parent and appear over the top of blurscreen #441
  • Allow --helpmessage to support markdown files #447

Additional

This release is compiled with Xcode 15.4 instead of 16 which should resolve the issue where swiftDialog might not launch depending on the order and arrangement of the arguments you use when run on macOS 15. This has been raised as an issue with Apple as FB15577018

Under the hood changes

A lot of updates to how command line arguments are processed internally, mostly while debugging the issue with argument order described above. This doesn't change operation (or shouldn't, please test) but will make future planned refactoring a bit easier.

Known issues

On macOS 15 you might see the following:

2024-10-24 19:07:22.157 Dialog[26712:1399071] +[IMKClient subclass]: chose IMKClient_Legacy
2024-10-24 19:07:22.157 Dialog[26712:1399071] +[IMKInputSession subclass]: chose IMKInputSession_Legacy

This output appears on stderr and shouldn't affect any output processing and can be ignored. It has been raised as an issue to Apple as FB15576915 and is not unique to swiftDialog.

swiftDialog 2.5.3 Beta 1

13 Oct 04:48
Compare
Choose a tag to compare
Pre-release

Fixes:

  • --webcontent caching account/sessions between dialog instances #439
  • Add check for CGSession to make login window operations on boot more reliable #442
  • moved file select dialog to a popover sheet. This lets it inherit the window peoperties of the parent and appear over the top of blurscreen #441
  • Allow --helpmessage to support markdown files #447

swiftDialog 2.5.2

10 Sep 07:49
7c85fc0
Compare
Choose a tag to compare

Some small fixes and updates:

  • update command file processing so all commands are parsed for built in variables
  • update processing for markdown files so built in variables get processed
  • fix mini mode because button3 doesn't belong there #427
  • fix image corner radius when displayed as a list item icon #430
  • fix error and help sheets when displayed in a login window context #404
  • update authorisation key localisation #395

swiftDialog 2.5.2 Beta 1

02 Sep 09:05
Compare
Choose a tag to compare
Pre-release

Fix release

  • Fix issue where default system properties like {computername} could not be used via command file #426
  • Fix issue where infobutton could be displayed in mini view (wasn't designed to support that) #427
  • Fix default image corner radius when used in info list items. was too large for the display size #430
  • Fix error and help sheets not displaying in the login window context #404
  • Fix help text for --key argument to add support for localised spelling of Authorisation. Also added AuthKey or just Key as valid key names. Will need to update the wiki #395

Some general code tidy up, particularly in how command file command and argument is processed. Some testing required but there shouldn't be any noticeable differences.