1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-25 13:57:45 +00:00
Commit graph

16 commits

Author SHA1 Message Date
f28f8c392d Add LauncherCore::autoLogin function, remove separate impls
Previously there was two separate auto-login functions, one in the cli
interface and one for the desktop interface. If I didn't stop myself,
there would probably be one in the tablet interface too!
2022-09-05 16:14:07 -04:00
ce7854626f Introduce LauncherCore::login, which removes the wierd if-else checks
For some reason the login call sites required them to handle whether or
not the profile was Sapphire or not, which is stupid.
2022-09-05 16:05:39 -04:00
33f68c5586 Make auto-login cancel button actually functional 2022-08-31 21:31:03 -04:00
5ee036dd09 Add option to generate OTP codes automatically
* This uses the great libcotp library, I stripped it down to fit inside
the repository.
* This is a security-convenience trade-off, and it's made very clear
with the tooltips on the settings page.
* It's still secured by your system keychain, and it's up to the users
whether that's good enough for them. Eventually down the line
I would like to support more esoteric keychains such as Bitwarden or
KeePass.
* Right now it's only integrated into the auto-login desktop feature,
but there will eventually be like an "auto-fill OTP" button in the main
window.

There's still a lot to clean up with these new features but they work
a little at least :-)
2022-08-31 21:19:25 -04:00
540c8b6f80 Add relevant buttons and inputs in settings window to accept otp secret 2022-08-31 17:27:30 -04:00
d28ed71e87 Add a basic auto-login window
Soon, you'll be able to store an OTP secret with Astra :-)

Also, the cancel button is broken ATM, so you have to manually turn the
feature off in the config.
2022-08-31 17:14:54 -04:00
5a96467f14 Reformat code 2022-08-15 11:14:37 -04:00
935d5d6593 Use physis for reading game/boot versions 2022-08-09 23:18:18 -04:00
66f65784a8 Fix more leaked memory due to QObject parents not being set 2022-07-21 21:38:26 -04:00
0b9f46674f Fix crash due to bad deref 2022-07-20 11:45:29 -04:00
21e272ab66 Add placeholder tab for a new accounts interface 2022-06-09 09:51:50 -04:00
a489326fd5 Fix capitalization 2022-06-09 09:48:54 -04:00
4cd39d0431 Discern from "FFXIV for Mac" and "XIV on Mac", which are very similar
I never noticed until now, but their names are virtually identical, so
now the official one is marked properly.
2022-06-09 09:47:50 -04:00
c00c55ac87 Change all qlineedits in settings with qlabels
This makes it a whole lot easier to view and copy the text in macOS, it
never really made sense for these to be line edits in the first place
anyway.
2022-06-09 09:44:58 -04:00
55aaf7c1f6 Make tablet interface functional
Right now OTP and other stuff is missing for an actual login, but it
calls!
2022-06-08 13:55:15 -04:00
51e1bd7ac4 Rearrange source directories 2022-06-08 12:45:12 -04:00