Commit Graph

111 Commits

Author SHA1 Message Date
Mark Johnson 4b515ef6c8 Check for supported terminal emulators before activating SSH button. 2021-12-15 21:57:49 +00:00
Mark Johnson 0c2c15481a Support more terminal emulators 2021-12-15 21:37:58 +00:00
Yannick Mauray 4bc479d392
Fixed: remove unwanted text. 2021-12-10 00:55:53 +01:00
Yannick Mauray 4684e779b9
Fixed: removed 'cy', 'gd' and 'oc' as from locales
Flutter doesn't support those locales, and the app crashes if they are activated.
2021-12-10 00:39:01 +01:00
Yannick Mauray c00526a5be
Added: settings entry to switch the locale dynamically. 2021-12-10 00:37:17 +01:00
Yannick Mauray 118d39659c
Fixed/Added/Reordered supported languages. 2021-12-09 21:56:29 +01:00
paadza ed636d0854
Added Czech translation. (#47)
* Added Czech translation.

* Added locale cs_CZ for the Czech language to lib/src/app.dart.

* Added Download cancelled string as per PR #42 to the Czech translation.

Co-authored-by: Yannick Mauray <yannick.mauray@gmail.com>
2021-12-09 21:47:17 +01:00
Ben Hall 35f11fbf67
Simple check for negative process.exitCode when active download is cancelled re #41 (#42)
* slight improvements to italian

* some corrections thanks to Alessandro Volturno

* consistently dithering is better than inconsistency

* Simple check for negative process.exitCode when active download is cancelled re #41

* added cancel download to pot

* Suggested translations added to existing lanquages

* First addition missed the italian evolution

Co-authored-by: Phil Clifford <philip.clifford@gmail.com>
Co-authored-by: Yannick Mauray <yannick.mauray@gmail.com>
2021-12-09 21:42:42 +01:00
Mejans 847b12108d
i18n: adds Occitan locale (#36)
* Adds Occitan

* Add files via upload

* Update oc.po

Co-authored-by: Yannick Mauray <yannick.mauray@gmail.com>
2021-12-09 21:40:58 +01:00
Phil Clifford 29381f7214
Dutch, Norwegian, Russian and Welsh (#33)
* Dutch, Norwegian and Russian

A little knowledge is a dangerous thing, but a little ML and
crowdsourcing can make you feel less nervous.

* Adding Welsh

* first cut at Welsh added

* updates to supported locales list

* Generous corrections from Sadykhzadeh applied
2021-12-09 21:37:05 +01:00
Phil Clifford 8d512d5109
Scots gaelic (#24)
* starting Scottish

* Initial attempt at Gàidhlig na h-Alba

* Updated pot addressed

* Tweaks, updates and satisfying the inspector

* Scots Gaelic added to locales in app.dart

* little improvements
2021-12-09 21:36:51 +01:00
Ben Hall 4c17797603
Added check for ports file when launching a new VM re #28 (#29) 2021-11-15 22:56:49 +01:00
Phil Clifford 5afb732f5e
Italian translation (#23)
* starting italian

* First attempt at Itialian

* front matter tweaks

* Updated pot addressed

* satisfy the inspector

* more little corrections

* Adding it to app.dart supported locale list
2021-11-15 22:52:10 +01:00
Yannick Mauray 2602f36fb8
Closes #25 : text on "Cancel/Close" button not visible 2021-11-14 23:30:55 +01:00
Yannick Mauray 20c97e1906
Remove useless comment 2021-11-14 23:30:03 +01:00
Yannick Mauray bd1fa1b937
Fixed various i18n issues 2021-11-14 21:58:37 +01:00
Yannick Mauray 62d4049710
Formatting issues 2021-11-14 21:31:51 +01:00
Yannick Mauray 533742f41f
Changed : using gettext_i18n instead of embedding the code. 2021-11-14 21:31:26 +01:00
Yannick Mauray fb22a0b2d1
Improved i18n 2021-11-14 12:38:46 +01:00
Mark Johnson 4a50904f87 Improve consistency of VM manager buttons. 2021-11-13 22:59:27 +00:00
Mark Johnson e078126b22 Always launch VMs with --display spice, if the spicy client is available. 2021-11-13 22:54:53 +00:00
Mark Johnson fcf1ab92f0 Add button to launch SSH session 2021-11-12 23:07:14 +00:00
Mark Johnson f93ae4bfe3 Add button to connect to running VM with spicy. 2021-11-12 22:34:06 +00:00
Dani Llewellyn 2008115558
Use local imports, not package imports for our own files (#18)
Following best practice from https://dart.dev/guides/libraries/create-library-packages local imports should not reference our package name, but use relative paths.
2021-11-12 13:27:26 +01:00
Dani Llewellyn a8cb368f94
Preselect the version when only one version is available (#19)
e.g. Arch Linux only has `latest` available. We can preselect `latest` in this instance.
2021-11-12 13:21:10 +01:00
Dani Llewellyn 5ddb7f80e2
Small nullability check in manager.dart for null working directory (#17)
This squashes a potential bad interaction on initial launch that causes at the least a message in the terminal about using a null value instead of string.
2021-11-12 13:19:08 +01:00
Dani Llewellyn 692825c0ee
Add a desktop notification on download complete (#16)
Using the `desktop_notifications` package from Canonical.
2021-11-12 13:18:21 +01:00
Yannick Mauray d1ccc710ce
Internationalization 2021-11-11 16:49:33 +01:00
Philipp Kiemle cf4e0fefb3
Add German translation (#13)
* Added German translation
* Make French translation actually French
* Added 'de' to supported locales
2021-11-11 11:00:12 +01:00
Yannick Mauray b48450657d
Fixed i18n stuff before merging PR #13 2021-11-11 09:59:57 +01:00
Yannick Mauray 6f6bc29a72
Initial support for localization 2021-11-11 02:03:56 +01:00
Yannick Mauray d5855b2433
Dark mode settings save to SharedPreferences 2021-11-10 22:07:24 +01:00
Yannick Mauray b37600f7e1
Made PreferencesMixin generic 2021-11-10 22:06:27 +01:00
Yannick Mauray 0ffa311d4f
Added a button to select the working directory. 2021-11-09 22:59:20 +01:00
Yannick Mauray f72e025817
Fixed version number in settings menu, added theme switcher. 2021-11-09 22:32:08 +01:00
Yannick Mauray 08d849f20e
Forgot that bit with the new hamburger menu 2021-11-08 00:42:55 +01:00
Yannick Mauray 71c43b08b5
Dark theme 2021-11-08 00:40:29 +01:00
Yannick Mauray adcd5f9b92
New hamburger menu 2021-11-08 00:39:48 +01:00
Yannick Mauray c9a5411290
Change logos, and fix README.
TODO : the README needs to be updated with new screencast.
2021-11-08 00:38:51 +01:00
Yannick Mauray e278ac7f6e
Prevent crash if quickget produces more than 5 columns in CSV 2021-11-08 00:33:41 +01:00
Ben Hall d38146736c
Added basic checking of .conf files in working directory re #6. Simple check that file contains 'guest_os' (#7)
Thank you !
2021-11-07 17:57:19 +01:00
Ben Hall a9ae0e28fd
Mixin preferences: Refactored shared preferences functions to be generic setters/getters used as a mixin (#2)
* Refactored shared preferences functions to be generic setters/getters using key/values to allow for multiple preferences to be stored. Refactored the shared preferences functions as a mixin for ease of use. Directory change is now remembered across the app pages.

* Added initState() to downloader_menu.dart to fetch prefWorkingDirectory

Co-authored-by: ElanMan <ben@elanman.com>
2021-11-05 01:52:58 +01:00
Mark Johnson 7124b6fc35 Read VM ports from .ports file
Closes #3
2021-11-02 20:19:41 +00:00
Yannick Mauray 989eb69f1f
The Big Merge©®️™!
Integrated Mark's files, and it all works !
2021-10-28 01:52:14 +02:00
Yannick Mauray 9ab0f54f14
Getting ready for The Big Merge©®️™! 2021-10-28 00:58:14 +02:00
Yannick Mauray b537c74b21
Implemented "cancel download" button.
Requires PR #165 to be merged in quickemu.
2021-10-27 23:58:20 +02:00
Yannick Mauray 035efc5e32
More refactoring : moves widgets around. 2021-10-27 22:04:39 +02:00
Yannick Mauray 2c00135a59
Refactoring : extracted many widgets from downloader 2021-10-27 21:56:29 +02:00
Yannick Mauray 08c2152145
Target directory can be changed. 2021-10-27 21:37:17 +02:00
Yannick Mauray 334cd71b37
Code cleanup 2021-10-27 21:36:29 +02:00
Yannick Mauray 51b6d576a0
fix : progress bar for macrecovery and wget, graceful fallback for zsync 2021-10-27 20:57:49 +02:00
Yannick Mauray a7c507bfce
Removed current working directory default value of "/home/yannick" 2021-10-27 18:06:03 +02:00
Yannick Mauray 0a2fe5b032
Support for the "downloader" field from `quickget list_csv` 2021-10-27 18:04:55 +02:00
Yannick Mauray efd6125425
Compatibility with quicksync 2021-10-21 23:54:27 +02:00
Yannick Mauray 2f27c161cf
New downloader, with progress indicator. 2021-10-21 02:49:32 +02:00
Yannick Mauray 4cd8e168df
Use the new valid CSV format from `quickget list_csv` 2021-10-20 02:02:20 +02:00
Yannick Mauray 5788e1fa9e
Support for `quickget list`, including options. 2021-10-20 01:30:11 +02:00
Yannick Mauray 0e082ac402
WIP 2021-10-19 15:13:50 +02:00
Yannick Mauray 038d4a0ace
Added a "Download finished" dialog. 2021-10-16 17:37:10 +02:00
Yannick Mauray 9c564d7e8c
Getting close to initial release 2021-10-16 14:58:44 +02:00
Yannick Mauray 09104a1f9c
Initial commit 2021-10-09 09:20:17 +02:00