aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame
AgeCommit message (Collapse)Author
2023-06-25Fix unsafe usage of std::optional::value in FlameAPITheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-06-24Added translationTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-23Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into develop Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-23Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into net_job_crash
2023-06-19Added overide for Quilt/FabricTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-19Small fixesTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-15Made ByteSynkArray to use shared_ptrTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-14Fix bugs when updating curseforge modpacksclickdevin
Signed-off-by: clickdevin <git@clickdevin.me>
2023-06-02Fix crash when selecting same mod from different providers (#1029)Alexandru Ionut Tripon
2023-05-28Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into developTrial97
2023-05-28Fixed code qualityTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-28Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into developTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-28Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into Fix_Assert Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-21fix: memory leak NetJob wans't getting cleaned up. ensure lambda capture of ↵Rachel Powers
job doens;t increase refcount or it will be cyclic Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-21fix: memory leak with NetJob and responce not getting cleaned upRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-14Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into develop
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-21Updated linksTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Fixed tipoTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Made some copy by referenceTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21First working version with curseforge modsTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Added Dependency APITrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-10Added dependencies to the APIsTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-02-05feat(RD): add resource pack downloaderflow
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-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>
2022-12-29refactor: add an `identify` function to make easy to reuseRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-29refactor: use std::filesystem::rename insted of copy and then moving.Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-26fix: cleanup and suggested changesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-25fix: explicit QFileInfo converison for qt6Rachel Powers
fix: validatePath in validateZIPResouces Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-25feat: support installing worlds during flame pack import.Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-24feat: zip resource validation check for flameRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-13fix(Inst.Import): don't set managed pack info from imported ZIPsflow
This prevents the Managed Pack page from showing up even though there's no way for it to work correctly. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-10Merge pull request #32 from flowln/modpack_update_pageflow
Closes https://github.com/PrismLauncher/PrismLauncher/issues/180 Closes https://github.com/PrismLauncher/PrismLauncher/issues/170
2022-12-08fix(blockedmods): Track and use targetFolder for blocked filesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-07fix: don't try updating Flame instance names when updating versionsflow
Since the exact version string is only available in the manifest, there's no easy way of getting it before commiting to the update, so there's not much of a good way of showing the updated name in the UI, and using the displayName is weird and gives some buggy behavior. We may want to re-enable it in the future if we find a reliable way of showing the correct info on the UI before starting the update. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-06fix(ManagedPackPage): only update the current instance exactlyflow
Also carry on the original ID to avoid updating the wrong instance. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-06feat+fix: allow forwarding extra info to InstanceImportTaskflow
This allows us to pass to the creation instances their actual pack ID and version ID, that in Flame's case, are only available before starting to create an instance. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-06feat: allow skipping the update confirmation dialogflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-06refactor: abstract away update confirmation dialogflow
... so that we can avoid code duplication. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-12-06chore: add license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-12-06chore: reformat codeSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-12-05fix: don't allocate BlockedsModsDialogSefa Eyeoglu
Fixes temporary memory leak! Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-12-01fix(FileResolvingTask): Fail instead of crash when there's API errorsflow
Also remove non-used variable (rip). Signed-off-by: flow <flowlnlnln@gmail.com>