aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth
AgeCommit message (Collapse)Author
2023-06-20Modrinth: use default icon for non-managed packsJames Beddek
Fixes: #317 Signed-off-by: James Beddek <telans@posteo.de>
2023-06-12Remove unnecessary codeTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-06-12Could this work?TheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-06-04Merge pull request #904 from TheKodeToad/mrpack-exportRachel Powers
mrpack export
2023-06-03Make mcInstance mutableTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-06-02Fix crash when selecting same mod from different providers (#1029)Alexandru Ionut Tripon
2023-05-28Clarify commentTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-05-13Merge branch 'develop' into mrpack-exportKode
Signed-off-by: Kode <TheKodeToad@proton.me>
2023-05-13Move setAbortable(true)TheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-05-13Make some changesTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-05-12ty!Kode
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Kode <TheKodeToad@proton.me>
2023-05-02Change to use futureTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-05-01feat: add `details` signal to `Task`Rachel Powers
feat: add details to mod pack downloading feat: add logging rule sloading form `ligging.ini at data path root feat: add `launcher.task` `launcher.task.net` and `launcher.task.net.[down|up]load` logging categories fix: add new subtask progress to the end of the lay out not the beginning (cuts down on flickering) Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01feat: Propogated subtask progressRachel Powers
Oh boy this is big. > TaskStepProgress struct is now QMetaObject compatabile and can be sent through signals > Task now has a method to propogates sub task progress it must be signal bound by each task containing a task wishing to report progress of it's children. > Downloads report speed > Tasks now have UUIDS to track them - use when reporting - use when logging - use when storeing them or objects related to them Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-04-18Make response constTheKodeToad
I don't think the segfault fix was ideal :P Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-04-17This was movedTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-04-17Smol fixesTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-04-17Boring changesTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-04-09Remove `seek`Kode
Don't need it if the data is already in a byte array. Signed-off-by: Kode <TheKodeToad@proton.me>
2023-04-07How did i-TheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-04-06Better collectFileListRecursively errorTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-04-06Revert concurrent syntaxTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-04-06Remove more prototype not good codeTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-04-06Remove "prototype" fieldTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-04-06Use local metadataTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-28Skip lookup if no files and fail if zipping failsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-19Improve invokeMethod syntaxTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-19Replace native file separator - this was accidentally brought to my ↵TheKodeToad
attention on Modrinth's guild Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-18Only add summary if not emptyTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-18Info and error dialogsTheKodeToad
TODO: is there a better approach? Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-06Further reduce buggy behaviourTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-05More refactoringTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-04Fix abort?TheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-04Implement abort (possible broken?) and therefore make it work without crashing!TheKodeToad
The shared pointer was going out of scope 🤦. Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-04Improve codeTheKodeToad
Even more broken now (it is stuck loading forever)! Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-03Make it work! (TODO make it not crash)TheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-03Mod loader supportTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-03Move task to another threadTheKodeToad
I don't know whether this is the prefered method. Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-02Move logic to taskTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-02-05feat(RD): add shader pack downloaderflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-02-05feat(RD): add resource pack downloaderflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-02-02fix(Inst.Import): don't allow bad file path in mrpack importflow
This checks the URL of the path of the file to be downloaded, ensuring that it always contains the root .minecraft target folder, following the warning in the mrpack documentation. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-25refactor: make shared_qobject_ptr ctor explicitflow
This turns issues like creating two shared ptrs from a single raw ptr from popping up at runtime, instead making them a compile error. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-24Merge branch 'develop' into remove-updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-23fix(license): add/fix my copyright/license headersflow
*sobbing in messy legal stuff i know nothing about* Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13fix(ModUpdater): ensure instead of require icon_urlflow
The spec says that this can be null, and indeed some mods have it set to null, and should still be considered as valid. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor: change some ResourceAPI from NetJob to Taskflow
This makes it easier to create resource apis that aren't network-based. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor(RD): clear up sorting methodsflow
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-13refactor(RD): decouple ResourceModels from ResourcePagesflow
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-13refactor: generalize mod models and APIs to resourcesflow
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>