]> git.proxmox.com Git - flutter/proxmox_login_manager.git/log
flutter/proxmox_login_manager.git
20 months agologin_form: keep Continue button above Android softnav
Aaron Lauterer [Thu, 8 Sep 2022 09:55:38 +0000 (11:55 +0200)]
login_form: keep Continue button above Android softnav

By placing the items in a SafeArea we avoid having the "Continue" button
behind the Android soft navigation buttons.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agopub: upgrade depednecies
Thomas Lamprecht [Fri, 4 Feb 2022 09:21:49 +0000 (10:21 +0100)]
pub: upgrade depednecies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoTFA: improve color-readabillity for input
Dominik Csapak [Mon, 20 Dec 2021 11:35:09 +0000 (12:35 +0100)]
TFA: improve color-readabillity for input

with the recent changes, the input field was invisible, adapting like
the login dialog - note this is still not using the correct colors that
the actual main app theme defines, as its always derived from the dark
default theme now.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-By: Aaron Lauterer <a.lauterer@proxmox.com>
[ Thomas: clarified/extended commit message ]
Signed-off-by: Thomas Lamprecht <thomas@lamprecht.org>
2 years agocolors and stuff
Thomas Lamprecht [Tue, 14 Dec 2021 20:32:58 +0000 (21:32 +0100)]
colors and stuff

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

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoTFA: fix awaiting TOTP verification page
Thomas Lamprecht [Thu, 10 Jun 2021 09:54:15 +0000 (11:54 +0200)]
TFA: fix awaiting TOTP verification page

The cast to the FutureOr<> type confuses dart/flutter nowadays:

flutter: type 'Future<dynamic>' is not a subtype of type 'FutureOr<ProxmoxApiClient>' in type cast
flutter: #0      _ProxmoxLoginPageState._onLoginButtonPressed (package:proxmox_login_manager/proxmox_login_form.dart:406:12)
<asynchronous suspension>

just drop it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoupdate dependencies
Thomas Lamprecht [Sat, 29 May 2021 12:06:12 +0000 (14:06 +0200)]
update dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agomigrate to sound null safety
Thomas Lamprecht [Fri, 12 Mar 2021 14:12:26 +0000 (15:12 +0100)]
migrate to sound null safety

tried to strike a balance between auto migration and checking what
can actually get null, or improve that by promoting some variables.

Learnt that for class fields dart cannot promote nullable fields to
null-safe after a if (field == null) return 'early'; check, so we
need to introduce a intermediate varibable and check on that - a bit
of a bummer..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupgrade dependencies
Thomas Lamprecht [Thu, 11 Mar 2021 18:21:02 +0000 (19:21 +0100)]
upgrade dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate dependencies
Tim Marx [Wed, 23 Sep 2020 11:34:17 +0000 (13:34 +0200)]
update dependencies

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoinform user about unsupported pve version
Tim Marx [Wed, 23 Sep 2020 11:13:38 +0000 (13:13 +0200)]
inform user about unsupported pve version

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agofix issue when 443 port is used
Thomas Lamprecht [Wed, 23 Sep 2020 08:20:16 +0000 (10:20 +0200)]
fix issue when 443 port is used

The reason for this issue was that the dart Uri.hasPort[0] property
is queried when checking if the passed URL has no port added and thus
the implied 8006 port should be added. For https and port 443 the
port is detected as "default" and omitted, thus this is always false
for that, argh!

Just use a simple regex on the original trimmed origin text.
IPv6 must be wrapped in brackets so [::1] or [::1]:443 is also
correctly detected.

[0]: https://api.dart.dev/stable/2.9.1/dart-core/Uri/hasPort.html

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoadd autofill group to login form
Tim Marx [Tue, 22 Sep 2020 12:10:03 +0000 (14:10 +0200)]
add autofill group to login form

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agocatch expired sessions before login
Tim Marx [Tue, 22 Sep 2020 10:48:47 +0000 (12:48 +0200)]
catch expired sessions before login

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd multi session usage
Tim Marx [Fri, 18 Sep 2020 10:56:49 +0000 (12:56 +0200)]
add multi session usage

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agochange proxmox logo styles
Tim Marx [Fri, 18 Sep 2020 08:34:51 +0000 (10:34 +0200)]
change proxmox logo styles

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd autofill hints to form fields
Tim Marx [Mon, 14 Sep 2020 10:42:23 +0000 (12:42 +0200)]
add autofill hints to form fields

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd close button to login form
Tim Marx [Wed, 9 Sep 2020 12:12:52 +0000 (14:12 +0200)]
add close button to login form

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd onsubmitted handler for origin & password field
Tim Marx [Wed, 9 Sep 2020 11:56:07 +0000 (13:56 +0200)]
add onsubmitted handler for origin & password field

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd product name to header
Tim Marx [Mon, 7 Sep 2020 10:01:15 +0000 (12:01 +0200)]
add product name to header

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agologin form: ensure textfields are visibile when keyboard is shown
Tim Marx [Mon, 7 Sep 2020 09:46:08 +0000 (11:46 +0200)]
login form: ensure textfields are visibile when keyboard is shown

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

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agotrim form fields
Tim Marx [Thu, 27 Aug 2020 10:32:42 +0000 (12:32 +0200)]
trim form fields

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd message if no account is configured
Tim Marx [Tue, 25 Aug 2020 09:52:37 +0000 (11:52 +0200)]
add message if no account is configured

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoadd delete account button
Tim Marx [Tue, 25 Aug 2020 09:43:21 +0000 (11:43 +0200)]
add delete account button

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

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoupgrade packages
Tim Marx [Thu, 20 Aug 2020 11:34:16 +0000 (13:34 +0200)]
upgrade packages

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoupdate readme
Tim Marx [Tue, 28 Jul 2020 10:43:30 +0000 (12:43 +0200)]
update readme

Signed-off-by: Tim Marx <t.marx@proxmox.com>
3 years agoinitial commit
Tim Marx [Thu, 23 Jul 2020 12:43:51 +0000 (14:43 +0200)]
initial commit

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