Octol1ttle
838687fb2e
fix: log error if file open/commit fails
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-03-23 01:07:05 +05:00
Octol1ttle
fac0ad7493
feat: mark accounts with errors
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-03-15 16:07:55 +05:00
Seth Flynn
352b98db8e
Enable warnings as errors ( #5101 )
2026-03-06 07:42:39 +00:00
Alexandru Ionut Tripon
b114d043f6
Use an owning QByteArray in ByteArraySink ( #5050 )
2026-03-02 16:53:22 +00:00
Octol1ttle
ec4b36b299
Fix compiler warnings
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-26 17:49:11 +05:00
TheKodeToad
316121ba8f
Use an owning QByteArray in ByteArraySink
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2026-02-18 00:31:05 +00:00
Octol1ttle
d81fa77d1f
fix: don't manually format UUIDs
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-18 01:14:35 +05:00
Octol1ttle
a9f3be9f45
refactor: LaunchController
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-18 00:19:30 +05:00
Rachel Powers
45df360e4c
Reduce include chain further, forward declare settings and log model
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2026-02-09 20:03:10 -07:00
Rachel Powers
0ba2c09787
refactor(Application.h): reduce include chain
...
Include only what's absolutely necessary to reduce headers pulled into a
translation unit. If you need access to
instance's from `APPLICATION` include `BaseInstance.h` separately
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2026-02-09 19:16:58 -07:00
Rachel Powers
e8da9ee4fb
feat: Auto handle Http 429 Too Many Requests with retry
...
- Must be explicitly enabled for a request
- Uses Retry-After Header if present, falls back to exponential back off
starting with 10 seconds
- if retry delay is greater than 1 minute or it retries more than 3
times then fail with a "Rate Limited" reason
- Sets task status to inform user of retry.
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2026-02-06 09:36:09 -07:00
Octol1ttle
d35155ca66
change(accounts): stop retrieving Xbox API token for gamertag
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-04 09:11:30 +05:00
Alexandru Ionut Tripon
131e8711aa
launcher/minecract/auth/AccountList.cpp: add missing QIcon include ( #4956 )
2026-02-03 21:59:41 +00:00
Octol1ttle
8e992a324c
change(AuthFlow): remove XboxProfileStep
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-03 21:28:44 +05:00
Octol1ttle
9fac7065a7
fix(XboxAuthorizationStep): set x-xbl-contract-version
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-02-03 21:26:18 +05:00
Alfred Wingate
8a53949f67
launcher/minecract/auth/AccountList.cpp: add missing QIcon include
...
In member function ‘virtual QVariant AccountList::data(const QModelIndex&, int) const’:
/var/tmp/portage/games-action/prismlauncher-9999/work/prismlauncher-9999/launcher/minecraft/auth/AccountList.cpp:331:35: error: incomplete type ‘QIcon’ used in nested name specifier
331 | return QIcon::fromTheme("noaccount").pixmap(24, 24);
|
Fixes: fc1e29111b
Signed-off-by: Alfred Wingate <parona@protonmail.com >
2026-02-03 14:41:16 +02:00
Octol1ttle
584dc47da5
chore: remove double spaces from logs
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-29 19:15:27 +05:00
Octol1ttle
665aa4c546
change(MSAStep): log server errors
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-29 17:11:30 +05:00
Alexandru Ionut Tripon
1184a28a05
MSAStep: Tighten isSchemeHandlerRegistered check ( #4841 )
2026-01-25 10:28:13 +02:00
Octol1ttle
87b3a2ef99
fix(MSAStep): tighten isSchemeHandlerRegistered check
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-23 01:00:01 +05:00
Octol1ttle
507de0fcbd
fix: add missing returns after emitFailed/Aborted
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-21 18:30:31 +05:00
Seth Flynn
fd91f87c21
style: re-format tree with editorconfig
...
```
find $PWD \
-type f \
! -path '*/.git/*' ! -path '*/flatpak/shared-modules/*' \
! -path '*/libraries/*' ! -path '*/testdata/*' ! -name '*.patch' \
! -name '*.svg' ! -name '*.scd' ! -path '*/program_info/LICENSE' \
! -path '*/COPYING.md' ! -path '*/cmake/*' ! -name '.gitmodules' \
-exec eclint -fix {} \;
```
Signed-off-by: Seth Flynn <getchoo@tuta.io >
2026-01-18 15:48:07 -05:00
Trial97
d05b996c8a
fix build
...
also fixed some warninigs of unused vars and formated the code again
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2026-01-17 02:28:56 +02:00
Alexandru Ionut Tripon
78bc6657f4
Allow moving accounts in list ( #4647 )
2026-01-17 02:08:19 +02:00
Alexandru Ionut Tripon
edf1840225
Add icons in settings account list ( #4684 )
2026-01-17 02:08:02 +02:00
TheKodeToad
6848d60cad
refactor!!!: migrate from shared pointers ( #4673 )
2026-01-16 20:32:17 +00:00
Octol1ttle
6cddc28e9b
auth: improve status messages
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-12 16:48:46 +05:00
Octol1ttle
549405ab2f
refactor!!!: migrate from shared pointers
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-11 21:00:03 +05:00
Octol1ttle
f0813b578e
fix(AuthFlow): set current step description in correct method
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-11 20:05:00 +05:00
Octol1ttle
fa88edf8c3
Use real move instead of remove-then-insert
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-07 20:21:03 +05:00
TheKodeToad
fc1e29111b
Add icons to account list
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2026-01-07 11:28:38 +00:00
Octol1ttle
40af45bb1c
feat: allow moving accounts in list
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com >
2026-01-07 04:17:47 +05:00
Trial97
f4b22dae90
fix accounts crash
...
fixes #4541
introduced in
3c46d8a412
The original commit introduced m_name but never used it.
When the endActivity would be called with a count of 0 this would crash
the laucnher.
How to reproduce: try to switch your skin in quick succession until you
get 429 too many requests as response to the login.
I will also presume this is not the only crash caused by this(hopefully
it is as it was not catched for four years)
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-12-20 23:23:27 +02:00
Alexandru Ionut Tripon
f93e21fa2d
deduplicate includes and reformat ( #4228 )
2025-11-16 18:12:52 +02:00
TheKodeToad
e42c9d2a1d
Remove ensure JSON helpers
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2025-11-09 21:35:11 +00:00
Edgars Cīrulis
577f9ca94c
style: remove duplicate #include headers
...
Signed-off-by: Edgars Cīrulis <e.cirulis@proton.me >
2025-10-14 04:03:02 +03:00
Trial97
597309ceeb
ensure that both cape and skin are downloaded via https
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-07-24 18:44:46 +03:00
TheKodeToad
29d73a474f
Reduce usage of [[nodiscard]] attributes
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2025-07-07 20:56:29 +01:00
TheKodeToad
06aece111a
Reset account state on abort
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2025-06-07 20:25:21 +01:00
Trial97
4f5db2e49f
chore: fixe some codeql warnings
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-06-05 00:34:45 +03:00
Alexandru Ionut Tripon
a6006c3a33
chore: make all the regexes static const ( #3647 )
2025-04-29 00:33:49 +03:00
Trial97
c5fd5e6ac1
chore: make all the regexes static const
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-04-28 22:37:29 +03:00
Trial97
49f0e8ef6b
replace qvector with qlist
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-04-19 00:59:48 +03:00
Trial97
442aae88ce
chore: remove qt version checks from code
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-04-17 23:46:55 +03:00
Trial97
f7fd6f566f
chore:fixed some codeql warnings
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-03-24 22:25:35 +02:00
TheKodeToad
216034c283
refactor FlameCheckUpdate to remove qEventLoop ( #3046 )
2025-03-20 09:34:26 +00:00
Trial97
162bbcfe19
rename some variables
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-03-03 23:55:43 +02:00
Trial97
3da94eeea2
removed some unused QNetworkAccessManager references
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-03-03 08:31:39 +02:00
timoreo
736ecf266d
Merge pull request #3019 from Trial97/task_parent
...
fixed double deletion for tasks
2024-11-15 06:19:40 +01:00
Trial97
99cfb62370
use isPortable to determine if the MSAStep should check for url handler
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-11-01 11:03:47 +02:00