49f0e8ef6b
replace qvector with qlist
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-04-19 00:59:48 +03:00
4dd026d1ae
QList to QVector
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-03-03 08:31:39 +02:00
8e33608ddb
refactor FlameCheckUpdate to remove qEventLoop
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2025-03-03 08:31:39 +02:00
df9f54454a
removed static functions
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-10-08 19:19:03 +03:00
859fac604b
add modrinth modpack filter
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-10-04 17:06:47 +03:00
dfe3cd849d
add curseforge modpack filter
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-10-02 01:06:45 +03:00
e57c2180da
Resolve issue with multiple loaders during update
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-06-24 03:06:10 +03:00
41c9ca4f8a
Added categories filter
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-10-21 22:15:07 +03:00
94c1cd6bcf
CurseForge shader downloading
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2023-09-04 14:15:37 +01:00
288d0d1fd4
Added back api loader filtering if just one is selected
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-26 22:26:01 +03:00
6c0492c0d1
return 0 for any
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-23 21:09:32 +03:00
1515607060
updated getMappedModLoader
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-23 20:16:51 +03:00
aa065f2b51
Updated dependency resolution
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-23 13:28:23 +03:00
e6ba2f4970
Added loaders check on versions load
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-23 12:52:51 +03:00
4704c522e0
moved modloaderTypes to ModPlatform
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-23 10:26:57 +03:00
0138cd65cb
feat:neoforge can download forge mods
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-19 09:00:59 +03:00
3098aecf97
Merge pull request #1498 from Scrumplex/neoforge
2023-08-18 22:56:55 +02:00
62c14cea2a
fix: allow NeoForge in resource APIs
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-15 11:06:14 +02:00
3a0aa353cc
feat: add NeoForge to ModLoaderType
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-15 11:06:13 +02:00
9957aeb003
Merge branch 'develop' into curseforge-url-handle
2023-07-11 21:42:29 -07:00
d53d58a5d4
LiteMod downloading
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2023-07-08 22:16:43 +01:00
514080653f
Fix unsafe usage of std::optional::value in FlameAPI
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2023-06-25 11:56:28 +01:00
69c709b05a
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into develop
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-06-23 20:01:17 +03:00
c13a90540c
Added overide for Quilt/Fabric
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-06-19 21:20:35 +03:00
147366bc0a
Made ByteSynkArray to use shared_ptr
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-06-15 22:59:41 +03:00
fc656b6927
fix: when given a remost resource, download and identify it before import.
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-05-15 16:34:33 -07:00
42bc91463e
Updated links
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 20:37:17 +03:00
b4fa6e120a
Fixed tipo
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:06 +03:00
5655a33515
Added Dependency API
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:05 +03:00
c3ea303a37
feat(RD): add resource pack downloader
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-02-05 17:02:52 -03:00
ea5020e188
fix(license): add/fix my copyright/license headers
...
*sobbing in messy legal stuff i know nothing about*
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-23 11:12:43 -03:00
ba677a8cb7
refactor: change some ResourceAPI from NetJob to Task
...
This makes it easier to create resource apis that aren't network-based.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-13 16:23:09 -03:00
36571c5e22
refactor(RD): clear up sorting methods
...
This refactors the sorting methods to join every bit of it into a single
list, easing maintanance. It also removes the weird index contraint on
the list of methods by adding an index field to the DS that holds the
method.
Lastly, it puts the available methods on their respective API, so other
resources on the same API can re-use them later on.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-13 16:23:07 -03:00
45d1319891
refactor(RD): decouple ResourceModels from ResourcePages
...
This makes it so that we don't need a reference to the parent page in
the model. It will be useful once we change the page from a widget-based
one to a QML page.
It also makes tasks be created in the dialog instead of the page, so
that the dialog can also have the necessary information to mark versions
as selected / deselected easily. It also makes the task pointers into
smart pointers.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-13 16:23:07 -03:00
6a18079953
refactor: generalize mod models and APIs to resources
...
Firstly, this abstract away behavior in the mod download models that can
also be applied to other types of resources into a superclass, allowing
other resource types to be implemented without so much code duplication.
For that, this also generalizes the APIs used (currently, ModrinthAPI
and FlameAPI) to be able to make requests to other types of resources.
It also does a general cleanup of both of those. In particular, this
makes use of std::optional instead of invalid values for errors and,
well, optional values :p
This is a squash of some commits that were becoming too interlaced
together to be cleanly separated.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-13 16:23:00 -03:00
9ff364b0d3
huge nit: added const refs, everywhere
...
Signed-off-by: timoreo <contact@timoreo.fr >
2022-09-26 11:50:31 +02:00
242fb156a2
feat: add 'getFiles' by fileIds route in Flame API
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-20 18:36:07 -03:00
368a0ddd44
feat: add mod descriptions to CF mods
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-08-01 07:33:30 -03:00
de9e304236
fix: std::list -> QList
...
Qt6 removed Qlist::toStdList() 😭
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-07-17 11:33:45 -03:00
001bbef9ee
fix: don't use shared_ptr for a background task T_T
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-07-17 11:33:44 -03:00
52c45c2d32
feat: add some mod api calls
...
- Get Project: Already existed but required a specific caller type. This
is more general.
- Get Projects: A single call to multiple of the above
Both providers support these calls.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-07-17 11:33:43 -03:00
4bcf8e6975
feat: add api call to flame
...
Call added:
- Get Fingerprints Matches
- Get Mod File Changelog
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-07-17 11:33:42 -03:00
9ec260619b
fix: fix warnings reported by LGTM.com
2022-06-17 16:34:32 +02:00
27239b2dde
Merge pull request #634 from flowln/donate_links
...
More links for CF / Modrinth mods / modpacks
2022-06-14 23:52:00 +10:00
c5eb6fe6fb
feat: add links for curseforge mods
...
NOT DOWNLOAD LINKS! (someone would ask it i'm sure :p)
2022-05-24 12:14:08 -03:00
ca3c6c5e8a
feat: add donate links for modrinth mods
2022-05-24 09:38:48 -03:00
a99858c64d
refactor: move code out of ModIndex.h
...
Now it's in ModIndex.cpp
2022-05-23 14:43:07 -03:00
943090db98
refactor: allow tracking multiple mod loaders
2022-05-19 08:49:27 +02:00
22f5128e39
adopt changes from #497 remapped
2022-05-08 15:22:50 +08:00
cab9afa45f
fix: query for Fabric mods if Quilt is in use
...
Right now we want to include Fabric mods in our searches where possible.
Modrinth allows definining multiple loaders, while Flame only allows a
single value.
As a compromise we ask for Fabric mods only on Flame and for both Fabric
and Quilt mods on Modrinth.
2022-04-16 23:40:10 +02:00