]> git.proxmox.com Git - flutter/pve_flutter_frontend.git/log
flutter/pve_flutter_frontend.git
20 months agomove to ElevatedButton from RaisedButton
Dominik Csapak [Thu, 8 Sep 2022 09:55:46 +0000 (11:55 +0200)]
move to ElevatedButton from RaisedButton

flutter 3.0 removed RaisedButton

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
20 months agomove to TextButton from FlatButton
Dominik Csapak [Thu, 8 Sep 2022 09:55:45 +0000 (11:55 +0200)]
move to TextButton from FlatButton

flutter 3.0 removed FlatButton

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
20 months agomove to OutlinedButton from OutlineButton
Dominik Csapak [Thu, 8 Sep 2022 09:55:44 +0000 (11:55 +0200)]
move to OutlinedButton from OutlineButton

flutter 3.0 removed OutlineButton in favor of OutlinedButton.
also change the default text color to white, and drop an unnecessary
padding in one case

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
20 months agofix null handling in MainActivity.kt
Dominik Csapak [Thu, 8 Sep 2022 09:55:43 +0000 (11:55 +0200)]
fix null handling in MainActivity.kt

in newer flutter versions, call.arguments() can return null, so handle that

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
20 months agoincrease compileSdkVersion to 32
Dominik Csapak [Thu, 8 Sep 2022 09:55:42 +0000 (11:55 +0200)]
increase compileSdkVersion to 32

current version of webview_flutter_android (2.10.0) needs it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
20 months agoavoid elements hiding behind Android softnav buttons
Aaron Lauterer [Thu, 8 Sep 2022 09:55:41 +0000 (11:55 +0200)]
avoid elements hiding behind Android softnav buttons

In a few places we had elements hiding behind the Android soft nav
buttons at the bottom.

Those were:
* Qemu HW overview list
* Qemu Power Control menu
* LXC and Qemu Options list

Placing them within a SafeArea avoids that.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agobump version to 1.4.2+34
Thomas Lamprecht [Fri, 4 Feb 2022 09:47:36 +0000 (10:47 +0100)]
bump version to 1.4.2+34

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopub: upgrade dependencies
Thomas Lamprecht [Fri, 4 Feb 2022 09:21:36 +0000 (10:21 +0100)]
pub: upgrade dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: sync with bumblee android studio gradle
Thomas Lamprecht [Fri, 4 Feb 2022 09:21:14 +0000 (10:21 +0100)]
android: sync with bumblee android studio gradle

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopubspec: update (transitive) dependencies
Thomas Lamprecht [Tue, 28 Dec 2021 08:44:41 +0000 (09:44 +0100)]
pubspec: update (transitive) dependencies

Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
2 years agotransform android splash screen logo to vector
Aaron Lauterer [Tue, 21 Dec 2021 15:48:30 +0000 (16:48 +0100)]
transform android splash screen logo to vector

The new Android 12 splash screen will mask the logo / icon.
> As with adaptive icons, one-third of the foreground is masked (3).
-- figure 2, [0]

This resulted in the current logo being cut off by the circular mask,
appearing broken.

[0] https://developer.android.com/guide/topics/ui/splash-screen

Create a new version, based on the stacked variant accounting for the
additional space around the logo needed for the mask and transform it
to a (android) vector drawable via the android studio's Asset Studio
import wizard, see the README.md for more details.

The source svg file plus a template should we need to change that in the
future, are stored in the assets directory.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoweb console: tell noVNC to hide broken fullscreen-button
Dominik Csapak [Mon, 20 Dec 2021 11:37:57 +0000 (12:37 +0100)]
web console: tell noVNC to hide broken fullscreen-button

since the webview seemingly does not allow javascripts
'requestFullscreen', workaround that by making the whole webview
fullscreen and hiding noVNCs fullscreen button.

Note, noVNC 1.3.0-1 is the first one to recognice the new GET param

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
2 years agoweb console: put in safe-area to avoid interference with notches
Thomas Lamprecht [Tue, 21 Dec 2021 15:38:48 +0000 (16:38 +0100)]
web console: put in safe-area to avoid interference with notches

Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
2 years agobump version to 1.4.1+33
Thomas Lamprecht [Mon, 20 Dec 2021 20:14:30 +0000 (21:14 +0100)]
bump version to 1.4.1+33

Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
2 years agoupdate dependencies
Thomas Lamprecht [Mon, 20 Dec 2021 20:14:20 +0000 (21:14 +0100)]
update dependencies

Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
2 years agoandroid manifest: avoid duplicate entry
Thomas Lamprecht [Mon, 20 Dec 2021 20:10:36 +0000 (21:10 +0100)]
android manifest: avoid duplicate entry

Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
2 years agoconsole menu: add hint about trusted SSL requirement
Thomas Lamprecht [Mon, 20 Dec 2021 20:09:52 +0000 (21:09 +0100)]
console menu: add hint about trusted SSL requirement

Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
2 years agoconsole web view: avoid intermediate card
Thomas Lamprecht [Mon, 20 Dec 2021 20:09:30 +0000 (21:09 +0100)]
console web view: avoid intermediate card

Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
2 years agobump version to 1.4.0+32
Thomas Lamprecht [Thu, 16 Dec 2021 13:04:40 +0000 (14:04 +0100)]
bump version to 1.4.0+32

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd noVNC console to CTs/VMs and Node console action card
Thomas Lamprecht [Thu, 16 Dec 2021 13:04:16 +0000 (14:04 +0100)]
add noVNC console to CTs/VMs and Node console action card

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agore-bump version for theme mode fix
Thomas Lamprecht [Tue, 14 Dec 2021 19:59:12 +0000 (20:59 +0100)]
re-bump version for theme mode fix

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agofixup: do not hard code theme mode
Thomas Lamprecht [Tue, 14 Dec 2021 19:58:01 +0000 (20:58 +0100)]
fixup: do not hard code theme mode

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 1.3.0+30
Thomas Lamprecht [Tue, 14 Dec 2021 19:14:32 +0000 (20:14 +0100)]
bump version to 1.3.0+30

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agocleanup color usage and add initial dark mode
Thomas Lamprecht [Tue, 14 Dec 2021 19:07:12 +0000 (20:07 +0100)]
cleanup color usage and add initial dark mode

Makes use of the relatively new colorScheme from the Theme class and
switches use from the old ThemData special colors and most of the
many hard coded ones we had sprinkled all over the place to that one.
Note, this is not finished and it can still be improved a bit, but
basic theming should be quite ok and the remaining improvements can
be done way easier gradually, with the feedback we get once this is
out, as else I think this would be never finished..

Note: This patch does quite a bit more than that, and I'm not to
happy to have all the null-safety, unrelated refactoring and bug
fixes squashed into this commit but the color cleanup was a mammoth
task and touched so much that I also saw so much to cleanup.

While I picked the low-and-easy fruits of untangling and committed
those up front, doing so for all of the changes now is just to
unfeasible, it would require me quite a few hours to do cleanly; so,
lets just ignore style rules for this one and go ahead..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agowidget/line chart: clamp maxima to 0.001 as lower limit
Thomas Lamprecht [Tue, 14 Dec 2021 18:39:45 +0000 (19:39 +0100)]
widget/line chart: clamp maxima to 0.001 as lower limit

this is used for scaling the graph, and if we do not clamp then a
idleing guest that produces cpu load noise < 0.001 looks like there's
a lot going on, as its scaled the same as when there's intertia
changes going on with an actual relevant load level.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agowidget/rrd chart: improve null safety
Thomas Lamprecht [Tue, 14 Dec 2021 18:37:05 +0000 (19:37 +0100)]
widget/rrd chart: improve null safety

guests that has been offline for a while can cause trouble else

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobloc: handle null from apiClient.getMigratePreconditions
Thomas Lamprecht [Tue, 14 Dec 2021 18:32:27 +0000 (19:32 +0100)]
bloc: handle null from apiClient.getMigratePreconditions

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobase BLOC class: do not further process Events if eventSubject got closed
Thomas Lamprecht [Tue, 14 Dec 2021 16:07:11 +0000 (17:07 +0100)]
base BLOC class: do not further process Events if eventSubject got closed

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agomove scroll-behavior class to utils and use it for node overview too
Thomas Lamprecht [Tue, 14 Dec 2021 11:48:09 +0000 (12:48 +0100)]
move scroll-behavior class to utils and use it for node overview too

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agofile selector: add missing "vztmpl" case to getContentIcon
Thomas Lamprecht [Mon, 13 Dec 2021 16:24:46 +0000 (17:24 +0100)]
file selector: add missing "vztmpl" case to getContentIcon

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoguest overviews: factor out creating an action card
Thomas Lamprecht [Mon, 13 Dec 2021 08:36:39 +0000 (09:36 +0100)]
guest overviews: factor out creating an action card

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoguest overview: fix sroll/drag on desktop for rrd graphs
Thomas Lamprecht [Mon, 13 Dec 2021 08:31:25 +0000 (09:31 +0100)]
guest overview: fix sroll/drag on desktop for rrd graphs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agomigrate to sound null safety
Thomas Lamprecht [Fri, 10 Dec 2021 00:09:54 +0000 (01:09 +0100)]
migrate to sound null safety

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopubspec: swap depreacted pedantic module with (flutter_)lints
Thomas Lamprecht [Thu, 9 Dec 2021 16:03:58 +0000 (17:03 +0100)]
pubspec: swap depreacted pedantic module with (flutter_)lints

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agorun dart fix
Thomas Lamprecht [Thu, 9 Dec 2021 13:23:17 +0000 (14:23 +0100)]
run dart fix

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 1.2.4+29
Thomas Lamprecht [Thu, 9 Dec 2021 12:09:26 +0000 (13:09 +0100)]
bump version to 1.2.4+29

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid manifest: record x-virt-viewer mime VIEW intent
Thomas Lamprecht [Thu, 9 Dec 2021 11:54:59 +0000 (12:54 +0100)]
android manifest: record x-virt-viewer mime VIEW intent

can only help..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoconsole menu: catch if spice proxy/shell API returns null
Thomas Lamprecht [Thu, 9 Dec 2021 11:36:33 +0000 (12:36 +0100)]
console menu: catch if spice proxy/shell API returns null

This can happen if the user has no Sys.Console permission on the
node, or no VM.Console on the guest, respectively.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoconsole menu: factor out showing text dialog
Thomas Lamprecht [Thu, 9 Dec 2021 11:35:15 +0000 (12:35 +0100)]
console menu: factor out showing text dialog

we'll reuse that for another check in this module, IMO this simple
thing should even be available more globally..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoconsole menu: refactor and throw error on unsuported type
Thomas Lamprecht [Thu, 9 Dec 2021 10:14:24 +0000 (11:14 +0100)]
console menu: refactor and throw error on unsuported type

Unify the api request and spice file writing, its the same for guests
and nodes.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: commit missing styles
Thomas Lamprecht [Thu, 9 Dec 2021 12:15:38 +0000 (13:15 +0100)]
android: commit missing styles

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: record query-intent for https URLs to allow opening docs/proxmox.com
Thomas Lamprecht [Thu, 9 Dec 2021 08:40:50 +0000 (09:40 +0100)]
android: record query-intent for https URLs to allow opening docs/proxmox.com

required since Android 11 / API level 30 and we recently jumped from
28 to 31.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopubspec: update url_launcher and transitive dependencies
Thomas Lamprecht [Thu, 9 Dec 2021 08:34:59 +0000 (09:34 +0100)]
pubspec: update url_launcher and transitive dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 1.2.3+27
Thomas Lamprecht [Thu, 9 Dec 2021 07:39:31 +0000 (08:39 +0100)]
bump version to 1.2.3+27

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: update dependencies, mostly test/dev ones
Thomas Lamprecht [Thu, 9 Dec 2021 07:39:24 +0000 (08:39 +0100)]
android: update dependencies, mostly test/dev ones

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: migrate to compiled API v31+, with splash screen support
Thomas Lamprecht [Thu, 9 Dec 2021 06:47:44 +0000 (07:47 +0100)]
android: migrate to compiled API v31+, with splash screen support

use AndroidX for getting compat support with our min SDK level v23

The splash screen support is now handled directly by android, I
actually noticed that as Flutter complained about the old way
being used and pointed to
http://flutter.dev/go/android-splash-migration
which redirects to
https://docs.flutter.dev/development/ui/advanced/splash-screen

Note, I saw some issues with the icon not showing up on Android 12
while the older versions were OK, seems like it could be:
https://issuetracker.google.com/issues/207095799

But need to closer investigate, for now splash screen is not /that/
essential and the basics should be right, so we better move forward
now and bugfix whatever it is.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopubspec: update some dependencies
Thomas Lamprecht [Thu, 9 Dec 2021 06:35:19 +0000 (07:35 +0100)]
pubspec: update some dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: manifest: export main activity
Thomas Lamprecht [Tue, 7 Dec 2021 20:24:31 +0000 (21:24 +0100)]
android: manifest: export main activity

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: manifest: whitespace cleanup
Thomas Lamprecht [Tue, 7 Dec 2021 20:23:59 +0000 (21:23 +0100)]
android: manifest: whitespace cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: update gradle version
Thomas Lamprecht [Tue, 7 Dec 2021 19:58:37 +0000 (20:58 +0100)]
android: update gradle version

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: avoid setting R8 byte code shrinker
Thomas Lamprecht [Tue, 7 Dec 2021 19:54:49 +0000 (20:54 +0100)]
android: avoid setting R8 byte code shrinker

depreacated and warns with API target level 31

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: indendation fixes
Thomas Lamprecht [Tue, 7 Dec 2021 13:47:53 +0000 (14:47 +0100)]
android: indendation fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 1.2.3+26
Thomas Lamprecht [Tue, 7 Dec 2021 11:02:12 +0000 (12:02 +0100)]
bump version to 1.2.3+26

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agorefresh source template
Thomas Lamprecht [Tue, 7 Dec 2021 11:00:41 +0000 (12:00 +0100)]
refresh source template

with `flutter create .`

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoupgrade all dependencies
Thomas Lamprecht [Tue, 7 Dec 2021 10:46:12 +0000 (11:46 +0100)]
upgrade all dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoandroid: bump targetSdkVersion to 31
Thomas Lamprecht [Tue, 7 Dec 2021 10:44:07 +0000 (11:44 +0100)]
android: bump targetSdkVersion to 31

keep compileSdkVersion as is as we should not require any newer APIs
yet

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 1.2.2+25
Thomas Lamprecht [Wed, 23 Jun 2021 11:39:37 +0000 (13:39 +0200)]
bump version to 1.2.2+25

for initial PVE 7 compat

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopubspec: set min flutter release to 2.0.0
Thomas Lamprecht [Wed, 23 Jun 2021 11:37:18 +0000 (13:37 +0200)]
pubspec: set min flutter release to 2.0.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agomain layout: fix code format
Thomas Lamprecht [Wed, 23 Jun 2021 11:34:00 +0000 (13:34 +0200)]
main layout: fix code format

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopower settings: fix handling null for template status
Aaron Lauterer [Wed, 23 Jun 2021 10:04:44 +0000 (12:04 +0200)]
power settings: fix handling null for template status

The template status of a guest can be null and we need to catch it.

This patch aligns that with all the other instances where we do check
the template status.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2 years agobump version: 1.2.1+24
Thomas Lamprecht [Thu, 10 Jun 2021 10:07:54 +0000 (12:07 +0200)]
bump version: 1.2.1+24

for the adaptions regarding TOTP login in proxmox_login_manager
dependency

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version: 1.2.0+23
Thomas Lamprecht [Wed, 9 Jun 2021 12:39:22 +0000 (14:39 +0200)]
bump version: 1.2.0+23

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadnroid: bump target SDK from 29 to 30
Thomas Lamprecht [Wed, 9 Jun 2021 12:21:42 +0000 (14:21 +0200)]
adnroid: bump target SDK from 29 to 30

As that will become the new lower limit for new Apps in August 2021.

The lower limit for minimal SDK version did not change.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agochange rrd graph memory icon
Dietmar Maurer [Wed, 2 Jun 2021 09:33:38 +0000 (11:33 +0200)]
change rrd graph memory icon

3 years agoadd memory rrd graph to node overview
Dietmar Maurer [Wed, 2 Jun 2021 09:18:04 +0000 (11:18 +0200)]
add memory rrd graph to node overview

3 years agostorage: drop wide layout for now
Thomas Lamprecht [Tue, 1 Jun 2021 11:47:28 +0000 (13:47 +0200)]
storage: drop wide layout for now

it is rather broken, with no way to go back or navigate somewhere
else and a centered view with lots of outer margin, so for now just
use the slim one everywhere

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocolors: use less flashy/neon green for online resources
Thomas Lamprecht [Tue, 1 Jun 2021 10:37:03 +0000 (12:37 +0200)]
colors: use less flashy/neon green for online resources

Switch to the same one used by the PVE ExtJS webinterface for the
play icon of online guests in the resource tree #21bf4b

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agorenderDuration: use days as longest time unit
Thomas Lamprecht [Tue, 1 Jun 2021 09:36:08 +0000 (11:36 +0200)]
renderDuration: use days as longest time unit

Showing only hours is odd, as one is not really accustomed to derive
the day amount from the hour figure in practice.

So use only the h % 24 for hours and show the rest in days, somewhat
like the uptime CLI tool does too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoreadme: chrome port: explain what happens and avoid pronouns
Thomas Lamprecht [Sun, 30 May 2021 15:02:47 +0000 (17:02 +0200)]
readme: chrome port: explain what happens and avoid pronouns

Pronouns like I, we, .. are just confusing in docs, as it's never
clear who is actually meant, so lets please avoid that...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version: 1.1.0+22
Thomas Lamprecht [Sun, 30 May 2021 08:50:37 +0000 (10:50 +0200)]
bump version: 1.1.0+22

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocapacity indicator: re-tune percentage level for warning & critical
Thomas Lamprecht [Mon, 24 May 2021 11:40:29 +0000 (13:40 +0200)]
capacity indicator: re-tune percentage level for warning & critical

That > 50% is showed as warning makes no sense in the real world, use
> 75 % for warning color and > 85 % for a critical (at that level
quite some storage tech starts to degrade in performance (expensive to
find new free blocks) and/or redundancy guarantees.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupgrade dependencies
Thomas Lamprecht [Mon, 24 May 2021 11:39:40 +0000 (13:39 +0200)]
upgrade dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate linux boiler-plate
Thomas Lamprecht [Mon, 24 May 2021 11:32:34 +0000 (13:32 +0200)]
update linux boiler-plate

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoREADME.md: add example to run with fixed local port
Dietmar Maurer [Fri, 28 May 2021 06:11:56 +0000 (08:11 +0200)]
README.md: add example to run with fixed local port

3 years agofix node CPU usage (correctly render percentage)
Dietmar Maurer [Thu, 27 May 2021 11:52:03 +0000 (13:52 +0200)]
fix node CPU usage (correctly render percentage)

And try to avoid null errors.

3 years agoupdate pubspec.lock
Dietmar Maurer [Thu, 27 May 2021 10:23:26 +0000 (12:23 +0200)]
update pubspec.lock

using versions for current stable channel

3 years agouse new wearout_percentage helper
Dietmar Maurer [Thu, 27 May 2021 10:13:46 +0000 (12:13 +0200)]
use new wearout_percentage helper

To correctly display the disk wearout.

3 years agoalways use Provider.of(..., listen: false) inside handlers
Dietmar Maurer [Fri, 21 May 2021 07:42:41 +0000 (09:42 +0200)]
always use Provider.of(..., listen: false) inside handlers

3 years agoREADME: update chrome CORS/cert workaround
Thomas Lamprecht [Thu, 20 May 2021 07:47:50 +0000 (09:47 +0200)]
README: update chrome CORS/cert workaround

from https://bugs.chromium.org/p/chromium/issues/detail?id=1150447#c21

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/install: update to new build target output paths
Thomas Lamprecht [Fri, 19 Mar 2021 15:34:38 +0000 (16:34 +0100)]
d/install: update to new build target output paths

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate dependencies, including last non sound-null-safe one (font awesome)
Thomas Lamprecht [Fri, 19 Mar 2021 13:21:39 +0000 (14:21 +0100)]
update dependencies, including last non sound-null-safe one (font awesome)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoreadme: alternative for CORS workaround in web build + cleanups
Thomas Lamprecht [Sun, 14 Mar 2021 16:13:01 +0000 (17:13 +0100)]
readme: alternative for CORS workaround in web build + cleanups

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoreadme: add some more text
Thomas Lamprecht [Sat, 13 Mar 2021 14:59:55 +0000 (15:59 +0100)]
readme: add some more text

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agolinux: submit updated auto-generated boilerplate
Thomas Lamprecht [Fri, 12 Mar 2021 16:35:53 +0000 (17:35 +0100)]
linux: submit updated auto-generated boilerplate

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocompat: adapt to validators and auto-validation changes
Thomas Lamprecht [Fri, 12 Mar 2021 16:33:56 +0000 (17:33 +0100)]
compat: adapt to validators and auto-validation changes

Actually changing to `AutovalidateMode.always` would restore behavior
as it was with the depreacated `autovalidate` boolean property, but
on user change should make more sense - but I did no in-depth testing
about bugs!

https://flutter.dev/docs/release/breaking-changes/form-field-autovalidation-api

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocompat: switch from Scaffold to ScafoldMessenger
Thomas Lamprecht [Fri, 12 Mar 2021 16:32:17 +0000 (17:32 +0100)]
compat: switch from Scaffold to ScafoldMessenger

Basically the new one has some improvements for async and navigation
route changes. See
https://flutter.dev/docs/release/breaking-changes/scaffold-messenger

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agodartfmt and autogenerated changes
Thomas Lamprecht [Fri, 12 Mar 2021 16:31:23 +0000 (17:31 +0100)]
dartfmt and autogenerated changes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocompat: ignore provider changes when not stateful
Thomas Lamprecht [Fri, 12 Mar 2021 16:26:39 +0000 (17:26 +0100)]
compat: ignore provider changes when not stateful

in callbacks for button events or other things which need a new
provider we canno listen to the provider events at this point in the
hierachy, as there's nothing we can trigger a state change on (or we
already are in a state change event callback, and must not recurse)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocompat migration: import ValueStreamExtensions
Thomas Lamprecht [Fri, 12 Mar 2021 16:13:37 +0000 (17:13 +0100)]
compat migration: import ValueStreamExtensions

was moved out to extension getters in a 0.26 release:
https://pub.dev/packages/rxdart/changelog#0260-nullsafety1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate dependencies to new major versions
Thomas Lamprecht [Fri, 12 Mar 2021 16:11:34 +0000 (17:11 +0100)]
update dependencies to new major versions

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoAdd first welcome screen
Aaron Lauterer [Fri, 11 Dec 2020 10:37:08 +0000 (11:37 +0100)]
Add first welcome screen

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
3 years agoadd Proxmox symbol logo white orange
Aaron Lauterer [Fri, 11 Dec 2020 10:37:07 +0000 (11:37 +0100)]
add Proxmox symbol logo white orange

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
3 years agoadd class for Proxmox corporate identity colors
Aaron Lauterer [Fri, 11 Dec 2020 10:37:06 +0000 (11:37 +0100)]
add class for Proxmox corporate identity colors

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
3 years agoPveLxcOptions: fix config.unprivileged is null behavior
Aaron Lauterer [Mon, 16 Nov 2020 13:10:51 +0000 (14:10 +0100)]
PveLxcOptions: fix config.unprivileged is null behavior

If config.unprivileged is null we should set it to the default (false)
so the ternary operator evaluates correctly.

Otherwise the LXC options screen shows "Failed assertion: boolean
expression must not be null" if the unprivileged config option is not
present in the config file.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
3 years agoupdate dependencies
Thomas Lamprecht [Wed, 11 Nov 2020 12:59:33 +0000 (13:59 +0100)]
update dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agofixes for current flutter master
Thomas Lamprecht [Wed, 11 Nov 2020 12:57:35 +0000 (13:57 +0100)]
fixes for current flutter master

fixes build with 1.24.0-8.0.pre.194 which seems to have dropped the
nullOk property

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version: 1.0.3+21
Thomas Lamprecht [Wed, 30 Sep 2020 10:54:24 +0000 (12:54 +0200)]
bump version: 1.0.3+21

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version: 1.0.2+20
Thomas Lamprecht [Mon, 28 Sep 2020 12:50:49 +0000 (14:50 +0200)]
bump version: 1.0.2+20

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agotrack linux/ folder
Thomas Lamprecht [Fri, 25 Sep 2020 10:27:59 +0000 (12:27 +0200)]
track linux/ folder

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agofix wrongly calculated offline container count
Dominik Csapak [Fri, 25 Sep 2020 07:22:24 +0000 (09:22 +0200)]
fix wrongly calculated offline container count

calculate the offline container count from the number of total
containers not vms

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>