Trial97
bac959bc6f
chore(clang-tidy): fix clang tidy warnings
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-09 23:26:21 +03:00
Trial97
97d570b343
chore(clang-tidy): fix clang tidy warnings
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-08 20:41:10 +03:00
Trial97
f9e007ca2b
add update reason
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-08 20:41:10 +03:00
Trial97
a63048d7e2
chore(clang-tidy): fix clang tidy warnings
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-08 20:41:10 +03:00
Trial97
ca721f9d67
add special modrinth header
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-08 20:41:10 +03:00
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
Rachel Powers
67fe365ae0
chore: clang-tidy work adjacent to changelog api fix
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-03-16 14:58:20 -07:00
Rachel Powers
e16235c1ca
fix: don't always ask for the changelog from modrinth
...
- per https://discordapp.com/channels/734077874708938864/974050507150729236/1461487847142985982
`/project/<id>/version` now has an `include_changelog` query param
which can be set to false to save oodles of bandwidth
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-03-16 14:57:35 -07:00
DioEgizio
faf23c053d
fix crash when updating datapacks ( #5158 )
2026-03-10 10:48:58 +00:00
Trial97
0b26d24c9b
ask user if he wants to delete saves on modpack update
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-03-10 09:25:13 +02:00
Trial97
d958a91ce9
fix crash when updating datapacks
...
parent PR #5101
so for datapacks and datapacks only we need an extra check.
Why? Because Datapacks are treated as ModLoaderType but they aren't a
modloader. So the modLoaderTypesToList will generate an empty list even
if loader is 64 (not 0).
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-03-10 08:55:33 +02: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
0dfb6c99e1
fix(ModrinthCheckUpdate): guard list access
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-26 17:49:12 +05: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
625f0060a1
feat: download game files during instance creation
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:09 +05:00
Octol1ttle
aa9896031d
refactor(InstanceCreationTask): return created instance to caller
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-04 09:11:08 +05:00
Octol1ttle
e7382fd43d
fix(ModrinthCheckUpdate): always increment loader index
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-01 07:57:14 +01:00
Octol1ttle
584dc47da5
chore: remove double spaces from logs
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 19:15:27 +05:00
Alexandru Ionut Tripon
1a135af7de
refactor: replace std::list with std::vector ( #4833 )
2026-01-22 22:48:52 +02:00
Octol1ttle
29afecdbde
ModrinthCheckUpdate: don't send a request that is doomed to fail
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-22 22:34:44 +05:00
Octol1ttle
19b9557c19
refactor: replace std::list with std::vector
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-21 12:19:55 +05:00
Octol1ttle
549405ab2f
refactor!!!: migrate from shared pointers
...
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-11 21:00:03 +05:00
Trial97
b1408775b3
fix Pre-release filter
...
introduced here https://github.com/PrismLauncher/PrismLauncher/pull/3260
fixes #4415
reason: some snapshot have Pre-Release in our meta but when searching in
Modrinth this needs to be translated to -pre and the reverse needed to
be done for filtering after we fetched the version.
Now there are snapshots with -pre in name and that works with Modrinth
but when we translate it back we replace it with Pre-Release so the
easeiest patch is just to double the version(one with -pre one with
Pre-Release)
The correct one would be to complicate the code and identify the
versions that need the transition and only apply this for those.
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-12-22 19:55:47 +02:00
Rachel Powers
d1b6d7c402
chore: Re-simplify IndexVersionType and MessageLevel with c++20
...
This sets our compiler requirements to gcc 11 and clang 13. If we
forgo the use of `using enum` we can drop to gcc 10 and clang 10 but
that means using `MessageLevel::Enum::Unknown` for direct enum access
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2025-12-11 09:59:33 -07:00
TheKodeToad
de5c7bac72
Simplify IndexedVersionType::VersionType -> IndexedVersionType
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-12-07 14:34:00 +00:00
Trial97
fa930afe4b
move ExportToZipTask
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-26 18:39:18 +02:00
Octol1ttle
7cbec465cd
fix(ModrinthPackIndex): set logo name correctly
...
Fixes: f90c0a59a7
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2025-11-15 22:42:16 +05:00
TheKodeToad
51a1e3bfe0
Merge remote-tracking branch 'upstream/develop' into no-ensure
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-10 18:56:32 +00:00
TheKodeToad
ff1690532d
fix mod select ( #4305 )
2025-11-10 16:55:21 +00:00
TheKodeToad
e42c9d2a1d
Remove ensure JSON helpers
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 21:35:11 +00:00
Trial97
31cdca77df
fix mod select
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-11-05 14:24:38 +02:00
Trial97
2981d9109b
fix crash when failing to download file
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-10-23 19:34:44 +03:00
Trial97
88399cf922
fix: modrinth modpacks icon importing
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-09-22 14:47:56 +03:00
Trial97
29cff14fd6
removed some duplicate code
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-09-15 18:25:07 +03:00
timoreo
31852724b1
Fix resource update with loaders ( #3108 )
2025-09-12 11:14:02 +02:00
moehreag
100b209043
Add Ornithe, LegacyFabric and Rift mod loader filters
...
Signed-off-by: moehreag <moehreag@gmail.com>
2025-08-05 11:12:22 +02:00
Trial97
bd570aa5d1
fix:resource update with loaders
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-07-22 13:33:19 +03:00
Trial97
a75713897d
chore:renamed variables to camelCase
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-07-22 13:33:19 +03:00
Alexandru Ionut Tripon
078de50951
make universal resource type ( #3541 )
2025-07-22 13:31:05 +03:00
Alexandru Ionut Tripon
e043242a8e
Reduce usage of [[nodiscard]] attributes ( #3952 )
2025-07-22 13:30:45 +03:00
Trial97
9a51cd55df
make universal resource type
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-07-18 16:17:22 +03:00
matthewperiut
20a833e1b9
Add "Babric" and "Babric (BTA)" as shown on Modrinth. Add "Show More" button to allow for space efficiency and readiness to add all other Modrinth modloader types.
...
Signed-off-by: matthewperiut <matthewperiut@gmail.com>
2025-07-10 11:12:27 -04:00
timoreo
37a9271d5b
propagate side as enum instead of Qstring ( #3544 )
2025-07-09 10:01:51 +02:00
TheKodeToad
29d73a474f
Reduce usage of [[nodiscard]] attributes
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-07-07 20:56:29 +01:00
Tayou
a17ea196c1
chore: fix some codeql warnings ( #3840 )
2025-06-06 14:19:27 +02:00
Yihe Li
58a28f319a
More intuitive version changing for modpacks
...
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
2025-06-05 20:20:34 +08:00
Trial97
7ea15c31a1
chore: fix some codeql warnings
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-05 09:45:25 +03:00
Trial97
be963764ea
propagate side as enum instead of Qstring
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-06-02 13:26:42 +03:00