Commit graph

399 commits

Author SHA1 Message Date
Alexandru Ionut Tripon
9fc5e1c650
[Backport release-10.x] refactor: replace std::list with std::vector (#4845) 2026-02-17 21:01:12 +02:00
Octol1ttle
e89ce1124a
refactor!!!: migrate from shared pointers
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 549405ab2f)
2026-02-17 20:23:05 +02:00
Octol1ttle
bc092d688f fix(ModrinthCheckUpdate): always increment loader index
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit e7382fd43d)
2026-02-01 07:58:34 +01:00
Octol1ttle
8cfeb30c56 chore: remove double spaces from logs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 584dc47da5)
2026-01-30 11:10:01 +00:00
Octol1ttle
ea42d6f676 refactor: replace std::list with std::vector
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 19b9557c19)
2026-01-22 21:04:12 +00:00
Octol1ttle
168816d796
ModrinthCheckUpdate: don't send a request that is doomed to fail
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 29afecdbde)
2026-01-22 22:43:07 +02:00
Trial97
131dc0acf3 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>
(cherry picked from commit b1408775b3)
2025-12-22 21:45:48 +00: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
TheKodeToad
e4ed3b4546
Merge branch 'PrismLauncher:develop' into data-packs 2025-06-01 07:54:16 +00:00
Alexandru Ionut Tripon
36d18b393b
fix: crash when task was canceled and abort signal was fired early (#3712) 2025-04-30 10:10:36 +03:00
Trial97
053b57c21f
fix: crash when task was canceled and abort signal was fired early
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-29 19:24:04 +03:00
Trial97
147159be2c
fix: file filtering on modpack export
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-29 19:02:35 +03:00
TheKodeToad
fadbcf2d04
Merge remote-tracking branch 'upstream/develop' into data-packs
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-04-29 09:15:11 +01:00
Trial97
49f0e8ef6b
replace qvector with qlist
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-04-19 00:59:48 +03:00
TheKodeToad
82978ee34d
Fix data pack filtering
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-25 19:23:35 +00:00
TheKodeToad
6ab4fef0c5
Merge remote-tracking branch 'upstream/develop' into data-packs
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-03-24 21:11:46 +00:00
TheKodeToad
216034c283
refactor FlameCheckUpdate to remove qEventLoop (#3046) 2025-03-20 09:34:26 +00:00
Alexandru Ionut Tripon
91ef9f4998
fix duplicate optional mods dialog appearing when updating a modpack (#3475) 2025-03-09 14:05:09 +02:00
Trial97
59a816c696
fix duplicate optional mods dialog appearing when updating a modpack
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>

tmp
2025-03-06 10:19:38 +02:00
Trial97
22e0659a5f
removed unused BaseInstance argument from some API functions
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-03-03 08:31:39 +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
Trial97
8f8c8394dc
remove some QEventLoops
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-03-02 08:36:48 +02:00
Alexandru Ionut Tripon
d6eb96df5c
Merge pull request #3260 from Trial97/fix_modrinth_shapshot
Map Minecraft snapshots to Modrinth
2025-01-31 23:02:55 +02:00
eff3ry
2a403b3bfe Edit Modrinth search faucets
Edit Modrinth search faucets to alter the client and server filters to be more in-line with the Modrinth website and Launcher, making it easier to find client-side only mods etc.

Signed-off-by: Jeffery Tolmie Jeffery.tolmie@gmail.com
2025-01-22 01:39:28 +13:00
Trial97
8e5a7c6e33
ensure that the snapshot mapping is on all apis
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-01-17 10:35:13 +02:00
Trial97
1d8bf1d5a7
map modrinth snapshots
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2025-01-17 09:19:39 +02:00