546d394868
Merge pull request #475 from Scrumplex/fix-hide-all-tokens
...
Hide all tokens for non-Debug builds for log and logfiles
2022-05-02 10:45:58 +02:00
1ff459d995
Use suggested error handling
2022-04-25 14:08:27 -04:00
a0bafa4952
Re-add base64 decode option for Qt versions that support it
2022-04-23 11:11:55 -04:00
e56f0db11b
Remove base64 decode option that was added in Qt 5.15
2022-04-23 10:32:52 -04:00
8bcbe07c87
Fix Mojang auth failing due to Mojang rejecting requests to the profile endpoint
2022-04-22 23:39:38 -04:00
b3e1691c01
fix: hide LauncherLoginStep tokens for non-Debug builds
2022-04-20 18:33:33 +02:00
e6564aa69f
NOISSUE fix error string for Xbox authorization failures
2022-04-07 18:29:10 +02:00
a160bd0062
chore: add license header to files I modified
2022-03-19 12:46:56 +01:00
c5d9944993
feat(accounts): interrupt MSAStep when client ID doesn't match
2022-02-18 12:32:24 +01:00
14717396eb
feat(accounts): save client id in MSAStep
2022-02-18 12:32:24 +01:00
9c71f364d2
feat(accounts): add disabled account state
2022-02-18 12:32:24 +01:00
be910374dc
feat(accounts): support msa-client-id value
2022-02-18 12:32:24 +01:00
0854e83ce4
feat: implement MSA client id override
...
Closes #11
2022-02-12 21:27:32 +01:00
9d23ac562f
Add offline mode support
2022-01-30 02:35:56 +01:00
0235eb5c28
Fix error message
...
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-24 11:44:47 +01:00
8804b035b2
NOISSUE log server response when failing to fetch profile
2022-01-24 11:44:47 +01:00
54e3438e37
NOISSUE correctly set http status code in auth reply
2022-01-24 11:44:47 +01:00
70c04745ee
NOISSUE add some logging to profile fetching failures
2022-01-24 11:44:47 +01:00
55597b458c
Revert "Merge pull request #50 from bexnoss/offline-mode"
...
This reverts commit b4f750e7db40352111417ea89a9f375ae8c746ab, reversing
changes made to b19e3156154ba0dd232a3d165b1759c57e2858f2.
2022-01-17 03:45:47 +00:00
f55297eca9
Revert "Merge pull request #81 from bexnoss/fix-msa-account-refresh"
...
This reverts commit 0bc8baf1172d6967cdb2993826e3469ecd9aab66, reversing
changes made to 81fe41a038ee12ff2ee0200525b39e4ad650bec2.
2022-01-17 03:45:33 +00:00
5f9270ed4b
Fix MSA account refresh
2022-01-16 23:30:17 +01:00
46a3b4de6e
Remove unnecessary semicolon
2022-01-12 18:41:33 +01:00
a1ff3b1ee3
Add offline mode support
2022-01-12 14:26:02 +01:00
1d8196e11a
More rebranding
...
Closes : #39
Mostly done with rebranding now. We just need to translate some services
to PolyMC.
2022-01-10 12:47:35 -05:00
fa98ed3ccd
Merge remote-tracking branch 'upstream/develop' into upstream_update
2021-12-31 18:05:40 +01:00
94fdf13f4a
NOISSUE proper fix for missing profile + demo mode
2021-12-30 21:26:29 +01:00
a6e59cb4f4
NOISSUE detect when user loses entitlements
2021-12-30 17:19:41 +01:00
e6246a9306
Move MSA Client ID to the same place as the others
...
MSA Client ID has been moved to CMakeLists.txt, and defaults to the
Client ID for the PolyMC application.
Removed secrets/notsecrets library, replace with (temporary?)
program_info subdirectory.
2021-12-20 02:57:13 +00:00
dba4c452e0
NOISSUE account tweaks
2021-12-08 01:22:57 +01:00
825ef52dd5
NOISSUE fix up some corner cases around migrating accounts
2021-12-06 20:16:13 +01:00
c8ca6acc15
NOISSUE fix some error mappings for Mojang accounts
2021-12-05 03:48:07 +01:00
d37003b1de
NOISSUE fix builds, make account refresh queue user friendly
2021-12-04 02:10:14 +01:00
db6431d9e0
NOISSUE add missing chrono include
2021-12-04 01:27:58 +01:00
3c46d8a412
GH-4071 Heavily refactor and rearchitect account system
...
This makes the account system much more modular
and makes it treat errors as something recoverable,
unless they come directly from the MSA refresh token
becoming invalid.
2021-12-04 01:18:05 +01:00
285188ea53
GH-4071 handle network errors when logging in with MSA as 'soft'
...
This makes the tokens not expire when such errors happen.
Only applies to MSA, not the XBox and Mojang steps afterwards.
Further testing and improvements are still needed.
2021-11-28 18:42:01 +01:00
b49987e876
NOISSUE fix fix fix the accounts again
2021-11-23 01:25:24 +01:00
69213b1206
NOISSUE continue refactoring things to make tests pass
2021-11-21 23:21:12 +01:00
0c861db7a2
NOISSUE Some happy little refactors
2021-11-20 16:22:22 +01:00
eafeb64dec
NOISSUE qnam -> network
2021-11-17 13:20:50 +01:00
6c82883206
NOISSUE fix account re-adding not updating current account
2021-11-16 02:21:59 +01:00
25fbeb265a
NOISSUE fix build some more
2021-11-10 03:16:04 +01:00
30d5a7ab48
NOISSUE fix build
2021-11-10 03:12:01 +01:00
475d949a1e
GH-4217 Add support for GamePass accounts and MC profile setup
...
- We now use the new endpoint for loggiong in via XBox tokens (/launcher/login)
- We now check game entitlements instead of only relying on MC profile presence
- Accounts can now be added even when they do not have a profile
- The launcher will guide you through selecting a Minecraft name if you don't have one yet
2021-11-10 03:02:51 +01:00
27f276ef13
GH-1795 add terminal launch option to use a specific Minecraft profile
...
Used like this:
```
./MultiMC --launch 1.17.1 --profile MultiMCTest --server mc.hypixel.net
```
2021-10-31 21:43:33 +01:00
5b3dffce62
NOISSUE continue debranding...
2021-10-21 00:47:53 +02:00
8c4fb86ba0
Merge pull request #4103 from tobfos2611/develop
...
Fix underaged account that isn't linked to a family help link.
2021-10-03 21:59:46 +02:00
0b312956db
NOISSUE Remove outdated SSL docs
...
the link is dead and the equivalent newer page is useless, https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn265983(v=ws.11)?redirectedfrom=MSDN#related-content
2021-10-03 13:43:43 +02:00
a5956194df
NOISSUE Remove Requestor, it is unused
2021-09-21 22:02:12 +02:00
28d7c5d309
Removed unnecessary text in link.
...
Thanks @RDKRACZ.
2021-09-15 20:46:07 +10:00
7229ebbb08
Fix underaged account that isn't linked to a family help link.
2021-09-15 18:10:00 +10:00