aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/ResourcePage.cpp
AgeCommit message (Collapse)Author
2023-09-28Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into feat/acknowledge_release_type Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-18feat:refactored modpack uxTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-12Merge branch 'develop' into feat/acknowledge_release_typeAlexandru Ionut Tripon
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2023-08-12Merge remote-tracking branch 'upstream/staging' into chore/add-compiler-warningsSefa Eyeoglu
2023-07-30Merge branch 'develop' into chore/add-compiler-warningsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-21Merge branch 'PrismLauncher:develop' into better-component-installationTheKodeToad
2023-07-15auto focus search line on resource downloadTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-07-01chore: fix shadowed member and signed/unsigned mismatchRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: supress unused with [[maybe_unused]] Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: unshadow ^&^& static_cast implicit return Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: deshadow and mark unused in parse task Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: mark unused in folder models Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: deshadow and mark unused with instances Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: more deshadow and unused Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: remove uneeded simicolons Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: mark unused Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com> chore: prevent shadow Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-28Corected variable nameTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-28Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into feat/acknowledge_release_type Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-22Merge branch 'PrismLauncher:develop' into better-component-installationTheKodeToad
2023-06-19License all the thingsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-06-19Basic, unfinished & broken implTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-06-19Fixes #1212Trial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-09Updated the messagesTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-09Fixed some crashesTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-02Fix crash when selecting same mod from different providers (#1029)Alexandru Ionut Tripon
2023-05-26fix(memory leak): don't override default deconstructor + reset shared_ptr + ↵Rachel Powers
ensure modal get's cleaned up Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-26feat: display release typeRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
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(RD): correctly set the strings for the specific resource namesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13fix(RD): separate search and versions/info tasksflow
This allows us to check whether a search request is already on-going, in which case we don't need to make another one (and shouldn't). 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-13fix: build with qt5.12 on Linux and pedantic flagflow
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: put resource downloading classes in common namespaceflow
Puts them all inside the 'ResourceDownload' namespace, so that it's a bit clearer from the outside that those belong to the same 'module'. 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>