* Add a background image property in theme
* Add the browse command to theme settings page
The goal was to create a command that permit to browse user pictures.
The user can now select is picture by browsing file or to simply copy the
link of the image in the textbox.
* Try to show the image that we download
* Change the save image method in file service
We call the method `ImportImageFile` so that we can show a picker dialog
and directly import the image in the roaming folder.
We make some check to avoid the application crash, still need to test
* Reorganize the UI for image import
* Add background brush converter
Now that we have a background image we need to set the background according
to the theme color or the selected image.
To do this we need to use the `ThemeViewModel` and the new converter to
select the right brush to use (`ImageBrush` or ` AcrylicBrush`)
* Use the File object insted of a image path
* Add background style to content and toolbar
* Create the ImageFile object
* Use the ImageFile object so that we can serialize the theme
* Remove commented code
* Remove the base64 string of the image file
* Disable if it's a preinstalled theme
* Add new event when background image changed
* Make the RemoveImportedImage method async
* Subscribe to background image event and change background in code behind
* Add the delete background image command
* Remove unused converters that we created
* Save background image in temporary folder
* Remove the temporary images and save the last one
* Implement the cancel and delete background
* Show the background image in terminal
* Split the image file methods in another interface
* Change the name of image saving method
* Prepare the object and methods to export encoded image
* Add import method to deserialize correctly the theme
* Remove the private from the set accessor
* Implememnt the import method
* Implement the conversion base64 image to real image
* Create the background image and import it
* Fix some actions bug
* Get the new image file name after import
* Fix some bugs when the image is deleted
* Move the background image in terminal view
* Translate the background image text
* Add the delete background command
* Fix the background image deletion if we click on cancel
* Add background opacity property to terminal view model
* Need to create a theme changed event
If we don't notify the view that the selected theme has changed with
another theme that has the same background but a different background image
we'll never see this image appear.
In fact the background change is triggered by the background color change.
* Remove the background from the theme settings page
* Fix error of last edited image
* Fix image background aspect ratio
* - Force GC.Collect() on closing of terminal;
- Prepare MainPage, MainViewModel, TabBar, TerminalBridge for disposal.
* Request _dispatcherJobs Task cancellation ASAP on terminal closing.
* Implement delayed saving.
* Delayed command history saving improved.
* Fixing a bug with SSH profiles in "quick command" dialog.
* Opening auto-suggest list on down arrow implemented.
* Minor change.
* Removing an obsolete settings option.
* Separating "SSH Info" and "Quick Launch", and updating translations.
* Adding "Quick Launch" to menu.
* Auto-complete, initial version.
* Builds, but not finished.
* Improved, but there are still some bugs...
* Minor changes.
* Refactroing request/response identifiers.
* Improving command history.
* Minor refactoring.
* Deleting history by using "Del" key.
* Handling mosh special case in quick commands.
* SSH command handled as any other command in the path.
* New resource strings.
* Fixing quick command links.
* Fixing after-merging bugs.
* Improving filtering.
* Finishing filtering.
* Changing placeholder text.
* Minor refactoring.
* Updating resources.
* Renaming NewRemoteTab back to NewSshTab.
* Simplifying view models, step 1: Extracting common terminal configuration into TerminalInfoViewModel.cs.
* Simplifying a bit.
* SSH view models simplfication.
* Refactoring duplicated code.
* Refactoring duplicated code.
* Renaming a resource file.
* Cleanup.
* Fixing an issue with TemplateSelectors.
* QuickSshDialog created.
* Minor fix.
* Wiring up QuickSshDialog.
* Minor fix.
* Fixed an issue with shared resources.
* Single-text-box dialog works.
* Improving "Quick SSH" look.
* Improving data validation workflow to avoid double validations.
* Refactoring view models and templates to avoid duplicated code.
* Minor fix.
* Fixing a bug with mosh.
* Cleanup.
* Cleanup.
* Moving profile view models in a separate folder (namespace).
* Few comment lines (short description) added to profile view models.
* Removing IDisposable from view-models because event-caused memory leaks will be solved differently.
* Implemented quick-ssh shortcuts.
* Fixing quick SSH command validation.
* Minor change.
* Minor change.
* Combining "SSH Info" and "Quick SSH" into a single dialog.
* Quick SSH profiles.
* Fixing a minor bug with custom links.
* Fixing remote profiles look and feel.
* Minor improvements.
* Fixing a minor bug.
* Minor changes based on Felix' comments.
* Saving executed commands history implemented.
Unlike local profiles, it doesn't really make sense to have a default
SSH profile. The UI elements and backing infrastructure for this has
been removed.
The full path to ssh.exe and mosh.exe was being stored in SSH profiles.
The path to mosh.exe includes FluentTerminal's version number causing
SSH profiles to break after an upgrade.
Instead, a token indicating SSH or Mosh is stored in the profile
instead. This is resolved just before the shell is started.
This change also meant that the infrastructure for the
"GetMoshSshExecutable" system tray request is no longer required, so
this has been removed.
* Minor improvements to remote SSH profiles. Username prefilled, and line ending defaults to LF.
* Implementing "Set Default" on SSH Profiles.
* Simplifying profile view models.
* Fixing null themes issue.
* Changing line ending of a sinfle file to CRLF.
* Changing file to LF, to avoid false differences.
* Converting a file to LF in order to avoid false differences.
* Fixining a bug with shortcuts.
The keyboard shortcuts for local and SSH profiles will now result in the
new terminal being started in a window if "Open new terminals as" is set
to "Windows".
The diff is longer than strictly necessary because Visual Studio fixed
inconsistent line endings.