aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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(RD): unify download dialogs into a single fileflow
No need for multiple files since the subclasses are so small now Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13fix(RD): prevent weird behavior of progress widgetflow
when i.e. clicking on links or just using the downloader at all, this prevents some flickering and the widget never getting hidden in some cases. 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>
2023-01-13Merge pull request #714 from redstrate/cmarkflow
2023-01-13Merge pull request #737 from ↵Sefa Eyeoglu
PrismLauncher/renovate/hendrikmuhs-ccache-action-1.x chore(deps): update hendrikmuhs/ccache-action action to v1.2.7
2023-01-12chore(deps): update hendrikmuhs/ccache-action action to v1.2.7renovate[bot]
2023-01-12Merge pull request #732 from DioEgizio/actually-fix-openssl3-mac-failuresSefa Eyeoglu
2023-01-12fix: add cmark:p to mingw build DioEgizio
this way we can just dynamically link it on that build instead of building it ourselves and statically linking it Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2023-01-12fix: Remove extra line breaks for modrinth descriptionsJoshua Goins
Signed-off-by: Joshua Goins <josh@redstrate.com>
2023-01-12fix(flatpak): enable builddirJoshua Goins
Signed-off-by: Joshua Goins <josh@redstrate.com>
2023-01-12fix(nix): add cmark dependencySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-12refactor: support system and bundled cmarkSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-12build: remove hoedown vendored sourceJoshua Goins
Signed-off-by: Joshua Goins <josh@redstrate.com>
2023-01-12refactor: replace hoedown markdown parser with cmarkJoshua Goins
Signed-off-by: Joshua Goins <josh@redstrate.com>
2023-01-11Merge pull request #731 from flowln/windows_server_trashSefa Eyeoglu
2023-01-10fix: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK to 1DioEgizio
should fix some random failures Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2023-01-10Merge pull request #730 from DioEgizio/aaaaaaaa-revertSefa Eyeoglu
Revert "Merge pull request #729 from DioEgizio/fix-mac-openssl3-failing"
2023-01-10Merge pull request #249 from TayouVR/theme-selector-first-time-wizardflow
2023-01-10fix(FileSystem): don't attempt to trash items on Windows Serverflow
For some reason this makes some of our CI test runs super slow, and sometimes fail miserably. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-10Revert "Merge pull request #729 from DioEgizio/fix-mac-openssl3-failing"DioEgizio
it was necessary :/ This reverts commit 976e550aa7291f22f5011178ab824a937f89d11a, reversing changes made to 61144f7a219995fa29531683ed36e8e4002848b5. Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2023-01-10Merge pull request #729 from DioEgizio/fix-mac-openssl3-failingSefa Eyeoglu
fix: just use github runner's openssl 1.1 instead of installing 3 on …
2023-01-10Add hint about CatTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-10fix: set minimum size for setup wizardSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-10CRLF -> LFTayou
damn you visual studio for creating CRLF files everywhere... Signed-off-by: Tayou <tayou@gmx.net>
2023-01-10Update launcher/Application.cpp with suggestion from scrumplexTayou
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: Tayou <tayou@gmx.net>
2023-01-10Implement Suggestions from flow & ScrumplexTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-10UX tweak + formatting + added cat to wizardTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-10add theme setup wizardTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-10fix: just use github runner's openssl 1.1 instead of installing 3 on macos ↵DioEgizio
signing Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2023-01-10Merge pull request #726 from TheLastRar/qt6-win-darkmodeSefa Eyeoglu
Closes https://github.com/PrismLauncher/PrismLauncher/issues/158
2023-01-09ui: Let Qt 6.4.2 handle dark mode titlebarTheLastRar
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
2023-01-09Merge pull request #715 from getchoo/add-teawieSefa Eyeoglu
2023-01-09Merge pull request #722 from PrismLauncher/renovate/actions-cache-3.xSefa Eyeoglu
2023-01-09Merge pull request #720 from ↵Sefa Eyeoglu
PrismLauncher/renovate/hendrikmuhs-ccache-action-1.x
2023-01-09chore(deps): update actions/cache action to v3.2.3renovate[bot]
2023-01-08chore(deps): update hendrikmuhs/ccache-action action to v1.2.6renovate[bot]
2023-01-08Merge pull request #716 from DioEgizio/qt6.4.2-winmsvcflow
closes https://github.com/PrismLauncher/PrismLauncher/issues/288
2023-01-08chore: update windows msvc to qt 6.4.2DioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2023-01-07feat: add CC BY-SA 4.0 info for teawie imagesseth
Signed-off-by: seth <getchoo@tuta.io>
2023-01-07Merge pull request #576 from Ryex/identify-zip-packsSefa Eyeoglu
fix https://github.com/PrismLauncher/PrismLauncher/issues/349
2023-01-07Merge pull request #710 from byquanton/developSefa Eyeoglu
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/708
2023-01-07Merge pull request #713 from redstrate/fix-html-renderingflow
2023-01-07feat: add bday teawieseth
Signed-off-by: seth <getchoo@tuta.io>
2023-01-07fix: make spooky teawie loadseth
gimp fail Signed-off-by: seth <getchoo@tuta.io>
2023-01-07feat: add xmas teawieseth
Signed-off-by: seth <getchoo@tuta.io>
2023-01-07feat: add spooky teawieseth
Signed-off-by: seth <getchoo@tuta.io>
2023-01-06feat: add teawieseth
drawn by sympathytea (https://github.com/SympathyTea) Signed-off-by: seth <getchoo@tuta.io>
2023-01-06Strip certain HTML tags when rendering mod pagesJoshua Goins
Some mod pages use certain tags for centering purposes, but trips up hoedown. Signed-off-by: Joshua Goins <josh@redstrate.com>