aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth
AgeCommit message (Collapse)Author
2023-07-04Merge branch 'develop' into fix-implicit-fallthroughPandaNinjas
Signed-off-by: PandaNinjas <admin@malwarefight.wip.la>
2023-06-20Remove inconsistent/unneeded question marks in UIAlfio
Signed-off-by: P2 <tomarchioalfio5@gmail.com>
2023-06-07Resolve other switch fallthrough issuesPandaNinjas
2023-06-07Fix the AccountList codePandaNinjas
Signed-off-by: PandaNinjas <admin@malwarefight.wip.la>
2023-06-07Add sensible defaults in AccountList.cppPandaNinjas
Signed-off-by: PandaNinjas <admin@malwarefight.wip.la>
2023-05-01fix: set `x-xbl-contract-version` header during xbox auth stepRachel Powers
Refrencing GDlauncher and ATLauncher code for auth as well as https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/reference/live/rest/additional/httpstandardheaders it is possible some of microsoft's server's are rejecting our request because of this missing header? Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-04-17Fix: signal/slot macro -> func pointer & network fixesRachel Powers
- convert qt connect calls to use function pointers instead of the signal/slot macros wherever practical (UI classes were mostly left alone, target was tasks and processes) - give signals an explicit receivers to use the static method over the instance method wherever practical - ensure networks tasks are using the `errorOccured` signal added in Qt5.15 over the deprecated `error` signal - ensure all networks tasks have an sslErrors signal connected - add seemingly missing `MinecraftAccount::authSucceeded` connection for `MSAInteractive` login flow Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-25refactor: make shared_qobject_ptr ctor explicitflow
This turns issues like creating two shared ptrs from a single raw ptr from popping up at runtime, instead making them a compile error. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-27refactor: add logging category for credentialsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-14Pass index.parent() as parent parameter for rowCountTheLastRar
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2022-11-14Check parent in rowCount/columnCount/canFetchMoreTheLastRar
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2022-10-19RenameSamisafool
Signed-off-by: Samisafool <thenerdiestguy@gmail.com>
2022-08-04refactor+fix: use QSharedPointer for shared_qobject_ptrflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-26chore: add some debugging prints in AccountListflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-23fix: treat accounts as offline, if auth servers are downSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10fix: fix slots for Qt 6Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: replace QRegExp with QRegularExpressionSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-09Merge pull request #808 from Scrumplex/fix-lgtm-warningsSefa Eyeoglu
2022-07-03Merge pull request #855 from Gingeh/account-listSefa Eyeoglu
2022-06-30Change Online status to ReadyGingeh
2022-06-30add tr() to offline account nameGingeh
Co-authored-by: flow <flowlnlnln@gmail.com>
2022-06-29Move account checkboxes to the profile column (oops)Gingeh
2022-06-29Rename profile column to username and update the tooltipGingeh
2022-06-29Move the profile name column to the leftGingeh
2022-06-29Don't show account name for offline accountsGingeh
2022-06-22fix: add missing connections to the abort signalflow
Beginning with efa3fbff39bf0dabebdf1c6330090ee320895a4d, we separated the failing and the aborting signals, as they can mean different things in certain contexts. Still, some places are not yet changed to reflect this modification. This can cause aborting of progress dialogs to not work, instead making the application hang in an unusable satte. This goes through some places where it's not hooked up yet, fixing their behaviour in those kinds of situation.
2022-06-17fix: fix warnings reported by LGTM.comSefa Eyeoglu
2022-05-02Merge pull request #475 from Scrumplex/fix-hide-all-tokenstimoreo22
Hide all tokens for non-Debug builds for log and logfiles
2022-04-25Use suggested error handlingTheCodex6824
2022-04-23Re-add base64 decode option for Qt versions that support itTheCodex6824
2022-04-23Remove base64 decode option that was added in Qt 5.15TheCodex6824
2022-04-22Fix Mojang auth failing due to Mojang rejecting requests to the profile endpointTheCodex6824
2022-04-20fix: hide LauncherLoginStep tokens for non-Debug buildsSefa Eyeoglu
2022-04-07NOISSUE fix error string for Xbox authorization failuresPetr Mrázek
2022-03-19chore: add license header to files I modifiedSefa Eyeoglu
2022-02-18feat(accounts): interrupt MSAStep when client ID doesn't matchSefa Eyeoglu
2022-02-18feat(accounts): save client id in MSAStepSefa Eyeoglu
2022-02-18feat(accounts): add disabled account stateSefa Eyeoglu
2022-02-18feat(accounts): support msa-client-id valueSefa Eyeoglu
2022-02-12feat: implement MSA client id overrideSefa Eyeoglu
Closes #11
2022-01-30Add offline mode supportbexnoss
2022-01-24Fix error messageStypox
The code is trying to get a string from a json object, and if that fails it should log "is not a string", not "is not a timestamp".
2022-01-24NOISSUE log server response when failing to fetch profilePetr Mrázek
2022-01-24NOISSUE correctly set http status code in auth replyPetr Mrázek
2022-01-24NOISSUE add some logging to profile fetching failuresPetr Mrázek
2022-01-17Revert "Merge pull request #50 from bexnoss/offline-mode"Lenny McLennington
This reverts commit b4f750e7db40352111417ea89a9f375ae8c746ab, reversing changes made to b19e3156154ba0dd232a3d165b1759c57e2858f2.
2022-01-17Revert "Merge pull request #81 from bexnoss/fix-msa-account-refresh"Lenny McLennington
This reverts commit 0bc8baf1172d6967cdb2993826e3469ecd9aab66, reversing changes made to 81fe41a038ee12ff2ee0200525b39e4ad650bec2.
2022-01-16Fix MSA account refreshbexnoss
2022-01-12Remove unnecessary semicolonbexnoss