]> git.proxmox.com Git - flutter/proxmox_dart_api_client.git/log
flutter/proxmox_dart_api_client.git
8 days agoupdate dependencies master
Thomas Lamprecht [Wed, 17 Apr 2024 07:53:07 +0000 (09:53 +0200)]
update dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 days agoclient: correctly set parameter for node actions
Dominik Csapak [Mon, 15 Apr 2024 10:30:20 +0000 (12:30 +0200)]
client: correctly set parameter for node actions

using '?' in the url will be escaped and not used for the get
parameters. Instead add the command to the parameters map.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 weeks agopubspec: switch to using dart 3
Thomas Lamprecht [Wed, 10 Apr 2024 06:10:57 +0000 (08:10 +0200)]
pubspec: switch to using dart 3

After following the migration guide [0] switch over to dart 3 to
avoid accumulating to much tech-debt.

[0]: https://dart.dev/resources/dart-3-migration

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 weeks agomodels: node disk list: rename helper to get wearout percentage to camel case
Thomas Lamprecht [Wed, 10 Apr 2024 06:03:42 +0000 (08:03 +0200)]
models: node disk list: rename helper to get wearout percentage to camel case

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 weeks agomodels: qemu config: add "import" as accepted lock
Thomas Lamprecht [Wed, 10 Apr 2024 05:56:07 +0000 (07:56 +0200)]
models: qemu config: add "import" as accepted lock

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 weeks agotree-wide: use super-initializer parameters where possible
Thomas Lamprecht [Wed, 3 Apr 2024 09:44:27 +0000 (11:44 +0200)]
tree-wide: use super-initializer parameters where possible

As recommended by dart analyze for slightly shorter code.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 weeks agotreewide: avoid unnecessary imports
Thomas Lamprecht [Wed, 3 Apr 2024 09:26:07 +0000 (11:26 +0200)]
treewide: avoid unnecessary imports

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 weeks agotree wide: avoid redundant initialization to 'null'
Thomas Lamprecht [Wed, 3 Apr 2024 09:25:06 +0000 (11:25 +0200)]
tree wide: avoid redundant initialization to 'null'

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 weeks agotfa: drop unreachable null-fallback for has-recovery check
Thomas Lamprecht [Wed, 3 Apr 2024 09:23:13 +0000 (11:23 +0200)]
tfa: drop unreachable null-fallback for has-recovery check

any already returns false if there wasn't any value foudn meeting the
check.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 weeks agodrop depreacated author field from pubspec
Thomas Lamprecht [Wed, 3 Apr 2024 09:22:37 +0000 (11:22 +0200)]
drop depreacated author field from pubspec

as recommended by dart analyzer

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 weeks agomodels: fix on-wire value for journal_mode in node disk-list type filter
Thomas Lamprecht [Wed, 3 Apr 2024 09:21:24 +0000 (11:21 +0200)]
models: fix on-wire value for journal_mode in node disk-list type filter

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 weeks agoauto-fix preferring interpolation to compose strings and values
Thomas Lamprecht [Wed, 3 Apr 2024 08:53:41 +0000 (10:53 +0200)]
auto-fix preferring interpolation to compose strings and values

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 weeks agorun dart format
Thomas Lamprecht [Wed, 3 Apr 2024 08:47:35 +0000 (10:47 +0200)]
run dart format

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 weeks agoupdate dependencies
Thomas Lamprecht [Tue, 2 Apr 2024 14:57:20 +0000 (16:57 +0200)]
update dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agoupdate dependencies and track pubspec lock file
Thomas Lamprecht [Tue, 4 Jul 2023 09:57:22 +0000 (11:57 +0200)]
update dependencies and track pubspec lock file

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agodrop unused imports
Thomas Lamprecht [Tue, 4 Jul 2023 08:38:09 +0000 (10:38 +0200)]
drop unused imports

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agologin: increase timeout for gettin auth-realms from 5s to 25s
Thomas Lamprecht [Tue, 4 Jul 2023 08:37:39 +0000 (10:37 +0200)]
login: increase timeout for gettin auth-realms from 5s to 25s

like e3192e3 ("auth: increase login timeout to 25s")

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agosupport older API again
Thomas Lamprecht [Tue, 4 Jul 2023 08:31:02 +0000 (10:31 +0200)]
support older API again

the new-format option got only added in Proxmox VE 7.1, also, the
library is actually product agnostic and thus should not be relying
to much on PVE details...

Simply keep the old check and add a legacy bool to the newer
TfaChallenge class with a constructor that sets this and only allows
TOTP as second factor.

On login check if we got a "unknown param" error for the "new-format"
param, and if, retry the request without that as we can assume that
we talk with an older Proxmox VE instance.

This not only fixes login with TFA enabled, but also normal login, as
no API before PVE 7.1 understood the "new-format" parameter.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agoauth: increase login timeout to 25s
Thomas Lamprecht [Mon, 3 Jul 2023 11:53:15 +0000 (13:53 +0200)]
auth: increase login timeout to 25s

I sometimes get a latency of 10s in some lower developed parts of
europe when travelling with the train and our backend cuts this hard
a 30s, so go for 25s for now – albeit none might be OK too?!

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
9 months agoupdate to new TFA API
Wolfgang Bumiller [Tue, 27 Jun 2023 11:05:14 +0000 (13:05 +0200)]
update to new TFA API

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Co-authored-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
 [TL: drop debug print and fix nullabillity of recovery keys ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
13 months agoupdate build_runner dependency
Thomas Lamprecht [Wed, 15 Mar 2023 08:35:58 +0000 (09:35 +0100)]
update build_runner dependency

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agoupdate dependencies
Thomas Lamprecht [Sat, 5 Nov 2022 10:23:30 +0000 (11:23 +0100)]
update dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 months agopubspec: update lints dev dependency
Thomas Lamprecht [Thu, 8 Sep 2022 14:17:38 +0000 (16:17 +0200)]
pubspec: update lints dev dependency

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agomodels: node network: "type" porperty is not optional
Thomas Lamprecht [Fri, 17 Dec 2021 10:11:35 +0000 (11:11 +0100)]
models: node network: "type" porperty is not optional

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoclient: clarify comment
Thomas Lamprecht [Tue, 14 Dec 2021 20:05:31 +0000 (21:05 +0100)]
client: clarify comment

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agomodels: lxc status: improve null-safety annotation
Thomas Lamprecht [Tue, 14 Dec 2021 20:05:14 +0000 (21:05 +0100)]
models: lxc status: improve null-safety annotation

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agomodels: node/service state: add unit/active state optional properties
Thomas Lamprecht [Tue, 14 Dec 2021 20:04:28 +0000 (21:04 +0100)]
models: node/service state: add unit/active state optional properties

can be used to see if a stopped service is actually startable, added
for PVE 7.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agonode tasks: improve null-safety interface
Thomas Lamprecht [Mon, 13 Dec 2021 13:08:59 +0000 (14:08 +0100)]
node tasks: improve null-safety interface

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agomodels: userid gets only injected into token later, mark nullable
Thomas Lamprecht [Thu, 9 Dec 2021 23:46:21 +0000 (00:46 +0100)]
models: userid gets only injected into token later, mark nullable

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agomodels: further null-safety improvements
Thomas Lamprecht [Thu, 9 Dec 2021 22:30:55 +0000 (23:30 +0100)]
models: further null-safety improvements

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopubspec: update deps
Thomas Lamprecht [Thu, 9 Dec 2021 21:29:35 +0000 (22:29 +0100)]
pubspec: update deps

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agotree wide null-safety improvements
Thomas Lamprecht [Thu, 9 Dec 2021 21:28:35 +0000 (22:28 +0100)]
tree wide null-safety improvements

try to better encode what actually is nullable so that we migrate to
null-safety more easily and nicer in pve flutter frontend.

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

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd win11 ostype
Dominik Csapak [Wed, 17 Nov 2021 11:45:33 +0000 (12:45 +0100)]
add win11 ostype

or else the deserialization will fail for vms with that ostype set

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoAdd double serializer to handle String and int values
Aaron Lauterer [Wed, 23 Jun 2021 10:04:43 +0000 (12:04 +0200)]
Add double serializer to handle String and int values

Adding a custom serializer for double values allows us to handle
situations in which the PVE API provides values in other types. The most
likely possibility is that numbers are formatted as string in the JSON
response which needs to be parsed to double.

We must also handle the situation that the value is an integer which
needs to be cast to double.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2 years agoAdd int serializer to handle string values
Aaron Lauterer [Wed, 23 Jun 2021 10:04:42 +0000 (12:04 +0200)]
Add int serializer to handle string values

Adding a custom serializer for integers, allows us to handle situations
in which the PVE API provides the values in other types. For now, the
most likely situation is that the API formats the JSON value as string
instead of a number, therefore we try to catch that and parse it as int.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2 years agoAdd string serializer to handle int and double values
Aaron Lauterer [Wed, 23 Jun 2021 10:04:41 +0000 (12:04 +0200)]
Add string serializer to handle int and double values

Adding a custom serializer for Strings allows us to catch situations
where the PVE API provides an int or a double instead of the expected
string and convert that to a string.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2 years agoupdate build_runner
Thomas Lamprecht [Sat, 29 May 2021 12:03:25 +0000 (14:03 +0200)]
update build_runner

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agorun darfmt
Thomas Lamprecht [Sat, 29 May 2021 12:02:34 +0000 (14:02 +0200)]
run darfmt

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd wearout_percentage helper
Dietmar Maurer [Thu, 27 May 2021 10:12:14 +0000 (12:12 +0200)]
add wearout_percentage helper

3 years agomake dart analyzer happy, annotate nullable types
Thomas Lamprecht [Thu, 11 Mar 2021 18:15:04 +0000 (19:15 +0100)]
make dart analyzer happy, annotate nullable types

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agomigrate to null safe code
Thomas Lamprecht [Tue, 9 Mar 2021 12:21:36 +0000 (13:21 +0100)]
migrate to null safe code

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate dependencies
Thomas Lamprecht [Tue, 9 Mar 2021 12:16:36 +0000 (13:16 +0100)]
update dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoPveNodesLxcConfigModel: fix lxc parameter parsing
Tim Marx [Mon, 28 Sep 2020 12:14:21 +0000 (14:14 +0200)]
PveNodesLxcConfigModel: fix lxc parameter parsing

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agofix String/num type mismatch for PveNodesLxcStatusModel cpus
Tim Marx [Wed, 23 Sep 2020 10:22:35 +0000 (12:22 +0200)]
fix String/num  type mismatch for PveNodesLxcStatusModel cpus

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoremove unused model fields
Tim Marx [Wed, 23 Sep 2020 09:48:23 +0000 (11:48 +0200)]
remove unused model fields

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd socketexception to retry reasons
Tim Marx [Tue, 15 Sep 2020 11:32:40 +0000 (13:32 +0200)]
add socketexception to retry reasons

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoqemu status model: add spice parameter
Tim Marx [Mon, 14 Sep 2020 12:58:18 +0000 (14:58 +0200)]
qemu status model: add spice parameter

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd typecheck to custom bool serializer
Tim Marx [Thu, 10 Sep 2020 10:40:11 +0000 (12:40 +0200)]
add typecheck to custom bool serializer

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd template parameter
Tim Marx [Thu, 10 Sep 2020 09:49:16 +0000 (11:49 +0200)]
add template parameter

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoupdate HA model
Tim Marx [Mon, 31 Aug 2020 09:17:10 +0000 (11:17 +0200)]
update HA model

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoupdate dependencies
Tim Marx [Mon, 31 Aug 2020 09:16:56 +0000 (11:16 +0200)]
update dependencies

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd meta data
Tim Marx [Tue, 25 Aug 2020 08:38:25 +0000 (10:38 +0200)]
add meta data

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd mailto parameter to vzdump api call
Tim Marx [Wed, 19 Aug 2020 11:01:08 +0000 (13:01 +0200)]
add mailto parameter to vzdump api call

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoremove shared prefs & flutter dependency
Tim Marx [Wed, 29 Jul 2020 12:00:39 +0000 (14:00 +0200)]
remove shared prefs & flutter dependency

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd accessDomains api call
Tim Marx [Wed, 29 Jul 2020 11:09:54 +0000 (13:09 +0200)]
add accessDomains api call

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoremove shared preferences dependency & add ssl validation setting
Tim Marx [Wed, 29 Jul 2020 11:09:26 +0000 (13:09 +0200)]
remove shared preferences dependency & add ssl validation setting

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agofix missing default return value
Tim Marx [Thu, 2 Jul 2020 10:05:28 +0000 (12:05 +0200)]
fix missing default return value

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agocleanup: do use curly brackets
Tim Marx [Thu, 2 Jul 2020 10:03:53 +0000 (12:03 +0200)]
cleanup: do use curly brackets

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoupdate analyzer rules
Tim Marx [Thu, 2 Jul 2020 10:02:30 +0000 (12:02 +0200)]
update analyzer rules

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agocleanup: remove unnecessery this
Tim Marx [Thu, 2 Jul 2020 09:58:53 +0000 (11:58 +0200)]
cleanup: remove unnecessery this

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agocleanup: convert all strings to single quoted
Tim Marx [Thu, 2 Jul 2020 09:57:54 +0000 (11:57 +0200)]
cleanup: convert all strings to single quoted

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agocleanup: remove unused import statements
Tim Marx [Thu, 2 Jul 2020 09:50:47 +0000 (11:50 +0200)]
cleanup: remove unused import statements

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoreword exception message
Tim Marx [Thu, 2 Jul 2020 09:18:11 +0000 (11:18 +0200)]
reword exception message

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoremove unused parameter
Tim Marx [Thu, 2 Jul 2020 09:17:17 +0000 (11:17 +0200)]
remove unused parameter

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoremove unnecessery this prefix
Tim Marx [Thu, 2 Jul 2020 09:16:34 +0000 (11:16 +0200)]
remove unnecessery this prefix

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoremove dead code
Tim Marx [Thu, 2 Jul 2020 09:15:33 +0000 (11:15 +0200)]
remove dead code

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd missing override annotation
Tim Marx [Thu, 2 Jul 2020 09:14:45 +0000 (11:14 +0200)]
add missing override annotation

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoclient remove empty paramters
Tim Marx [Fri, 26 Jun 2020 11:34:47 +0000 (13:34 +0200)]
client remove empty paramters

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd task log model fields
Tim Marx [Fri, 19 Jun 2020 12:23:37 +0000 (14:23 +0200)]
add task log model fields

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd nodesVZDumpCreateBackup api call
Tim Marx [Fri, 19 Jun 2020 12:22:44 +0000 (14:22 +0200)]
add nodesVZDumpCreateBackup api call

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd getNodesVZDumpExtractConfig api call
Tim Marx [Wed, 17 Jun 2020 12:40:32 +0000 (14:40 +0200)]
add getNodesVZDumpExtractConfig api call

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd deleteNodeStorageContent api call
Tim Marx [Wed, 17 Jun 2020 12:39:51 +0000 (14:39 +0200)]
add deleteNodeStorageContent api call

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agofix group model nullable fields
Tim Marx [Fri, 22 May 2020 13:26:57 +0000 (15:26 +0200)]
fix group model nullable fields

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoset timeout for credentials refresh
Tim Marx [Fri, 22 May 2020 13:26:38 +0000 (15:26 +0200)]
set timeout for credentials refresh

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd lxc migrate model
Tim Marx [Fri, 22 May 2020 12:47:08 +0000 (14:47 +0200)]
add lxc migrate model

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd lxc pending config to apiclient
Tim Marx [Fri, 22 May 2020 09:47:31 +0000 (11:47 +0200)]
add lxc pending config to apiclient

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd qemu pending config to apiclient
Tim Marx [Fri, 22 May 2020 09:23:51 +0000 (11:23 +0200)]
add qemu pending config to apiclient

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd default path check to get helper
Tim Marx [Fri, 22 May 2020 09:23:19 +0000 (11:23 +0200)]
add default path check to get helper

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd put request wrapper
Tim Marx [Fri, 22 May 2020 09:22:41 +0000 (11:22 +0200)]
add put request wrapper

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoqemu/lxc config: add parsing for enumerated json fields e.g. scsi0-n
Tim Marx [Mon, 18 May 2020 11:44:02 +0000 (13:44 +0200)]
qemu/lxc config: add parsing for enumerated json fields e.g. scsi0-n

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agochange apt update model fields to nullable
Tim Marx [Tue, 12 May 2020 12:08:49 +0000 (14:08 +0200)]
change apt update model fields to nullable

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd content type to storage content model
Tim Marx [Tue, 12 May 2020 11:33:50 +0000 (13:33 +0200)]
add content type to storage content model

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd api token model
Tim Marx [Mon, 11 May 2020 12:36:46 +0000 (14:36 +0200)]
add api token model

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd tfa challenge to client
Tim Marx [Mon, 27 Apr 2020 18:02:26 +0000 (20:02 +0200)]
add tfa challenge to client

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd access api calls (domain, group, user, role)
Tim Marx [Mon, 27 Apr 2020 15:59:47 +0000 (17:59 +0200)]
add access api calls (domain, group, user, role)

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agofix displayName for guests
Tim Marx [Thu, 23 Apr 2020 16:46:01 +0000 (18:46 +0200)]
fix displayName for guests

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agoconvert wearout field to jsonObject -> api endpoint not typed
Tim Marx [Mon, 20 Apr 2020 17:22:12 +0000 (19:22 +0200)]
convert wearout field to jsonObject -> api endpoint not typed

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agoadd timeout to auth call
Tim Marx [Fri, 17 Apr 2020 10:54:23 +0000 (12:54 +0200)]
add timeout to auth call

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agofix wrong null check
Tim Marx [Fri, 17 Apr 2020 10:53:46 +0000 (12:53 +0200)]
fix wrong null check

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agoremove osdid field from PveNodesDisksListModel
Tim Marx [Wed, 15 Apr 2020 09:05:26 +0000 (11:05 +0200)]
remove osdid field from PveNodesDisksListModel

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agocorrect types for class fields
Tim Marx [Tue, 14 Apr 2020 21:26:26 +0000 (23:26 +0200)]
correct types for class fields

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agoadd getQemuStatus method
Tim Marx [Tue, 14 Apr 2020 21:24:38 +0000 (23:24 +0200)]
add getQemuStatus method

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agoadd unified typed getStatus method
Tim Marx [Tue, 14 Apr 2020 21:23:39 +0000 (23:23 +0200)]
add unified typed getStatus method

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agorearrange class fields
Tim Marx [Tue, 14 Apr 2020 21:22:29 +0000 (23:22 +0200)]
rearrange class fields

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agomake ProxmoxApiException toString more verbose
Tim Marx [Tue, 14 Apr 2020 21:21:38 +0000 (23:21 +0200)]
make ProxmoxApiException toString more verbose

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agotemporarily revert to async for handleAccessTicketResponse
Tim Marx [Tue, 14 Apr 2020 21:21:06 +0000 (23:21 +0200)]
temporarily revert to async for handleAccessTicketResponse

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agoadd null check
Tim Marx [Tue, 14 Apr 2020 21:19:07 +0000 (23:19 +0200)]
add null check

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agowhitespace and format cleanup
Tim Marx [Tue, 14 Apr 2020 21:18:24 +0000 (23:18 +0200)]
whitespace and format cleanup

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agoadd getNodeDisksList api call
Tim Marx [Tue, 14 Apr 2020 21:11:33 +0000 (23:11 +0200)]
add getNodeDisksList api call

Signed-off-by: Tim Marx <t.marx@proxmox.com>