Gary Wang
f03cd3f4c6
Fix SSO login button needs to click twice to open login URL
...
Before this patch, the `ssoUrlChanged` signal might emitted before the URL actually get changed. This patch ensure the signal emitted at the correct place, and also disable the Login button before `LoginHelper` done its work.
To test this change, you can simply enter `@a:mozilla.org` (or whatever the account name is) and attempt to login it by click "continue". Then click the "Login" button and see if the first click can let your browser open the SSO login URL.
2023-01-05 00:42:56 +00:00
Laurent Montel
c46bfe05c1
Remove duplicate headers between cpp/h files
2022-12-19 13:32:39 +01:00
Tobias Fella
f207f57bd5
Various Qt6 fixes
2022-11-30 00:13:29 +00:00
Jan Bidler
5f12e10fe9
Adds a workaround to login on servers without .well_known
2022-11-14 23:31:36 +00:00
James Graham
5bd184b297
Prevent logging into the same account twice
...
Check if an account is already logged in before allow the login process to continue.
BUG:459603
2022-11-07 18:26:47 +00:00
Tobias Fella
22448ea9ae
Clean up includes
2022-10-08 19:03:49 +02:00
Tobias Fella
d70a8a652a
Always use system-style includes for libQuotient
2022-09-09 00:16:39 +02:00
Tobias Fella
f004f9e3c8
Fix build
2022-08-26 12:52:46 +02:00
Tobias Fella
9027db264a
Don't capture 'this' implicitely
2021-11-13 14:17:20 +01:00
Tobias Fella
c844f2a157
Fix SSO login
2021-10-03 18:34:16 +02:00
Tobias Fella
21c571e2a1
Remove leftover debug log
2021-10-03 18:23:27 +02:00
Tobias Fella
6b86c113f4
Refactor login.cpp and fix crash
2021-10-03 18:17:37 +02:00
Tobias Fella
452380e274
Don't parent connections to controller/Login.
...
This prevents a crash upon destruction for newer libquotient versions
2021-10-03 14:13:04 +02:00
Tobias Fella
886ee1f5b6
Refactor startup
2021-09-29 22:38:45 +02:00
Tobias Fella
7dc48cabcb
Don't try to remove the access token from the settings during login
2021-09-08 20:35:05 +02:00
Tobias Fella
6570cf396a
Only emit initialSyncFinished once
2021-08-24 01:40:19 +02:00
Nicolas Fella
589dfe0343
Re-run clang-format
2021-08-23 19:38:56 +02:00
Tobias Fella
4b75e7d588
Make login more robust
2021-08-03 14:34:19 +00:00
Tobias Fella
a117eaa12b
Improve License header style
2021-04-18 17:47:22 +02:00
Tobias Fella
e4ab2e565f
Apply clang-format
2021-04-04 22:43:17 +02:00
Tobias Fella
464c48540e
Improve first-run UX
...
- Replace LoginPage with step-by-step approach to support different login flows
- Implement login using SSO
2021-02-07 21:23:31 +00:00