aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-17fix: filter out opted-out mods in mod downloaderflow
Maintains Pre-Updater behaviour Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: remove existing mod when updating/redownloading itflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: don't double add mods in mod downloader/updaterflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add update mods to the ui / mod modelflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add mod update dialogflow
This subclasses the Review mods dialog to make a "Update review" one. Also, all the necessary components built until now are put together in a coherent unity that checks and generates metadata on-the-fly and checks for mod updates, while giving and receiving feedback to the user. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add mod update check tasksflow
Those tasks take a list of mods and check on the mod providers for updates. They assume that the mods have metadata already. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add changelog to mod providersflow
The Modrinth changelog is fairly straight-forward, as it's given to us directly with the API call we already did. Flame, on the other hand, requires us to do another call to get the changelog, so it can introduce quite a heavy performance impact. This way, we make it optional to get such changelog. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add EnsureMetadataTaskflow
This task is responsible for checking if the mod has metadata for a specific provider, and create it if it doesn't. In the context of the mod updater, this is not the best architecture, since we do a single task for each mod. However, this way of structuring it allows us to use it later on in more diverse scenarios. This way we decouple this task from the mod updater, trading off some performance (though that will be mitigated when we have a way of running arbitrary tasks concurrently). Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add api call to flameflow
Call added: - Get Fingerprints Matches - Get Mod File Changelog Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add some api calls to modrinthflow
Calls added: - Get version from hash - Get versions from hashes - Latest version of a project from a hash, loader(s), and game version(s) - Latest versions of multiple project from hashes, loader(s), and game version(s) Some of those are not used yet, but may be of use later on, so we have it if we need it :) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17libs: add murmur2 libraryflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add MultipleOptionsTaskflow
This is a variation of a Sequential Task, in which a subtask failing will prompt the next one to execute, and a subtask being successful will stop the task. This way, this can be used for easily managing fallbacks with tasks. :D Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add ChooseProviderDialogflow
Allows you to prompt the user for choosing a (mod) provider. This should be fairly independent of the mod updater logic, so it can be used for other ends later down the road :^) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: allow aborting upload tasksflow
This maintains the same behaviour as the Download task. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: always update global progress of sequential tasksflow
Previously, it would not update the global counter if the subTask didn't update its progress, even though progress was being made. This also prevents a segmentation fault while aborting the task. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17change: allow deleting mods while preserving their metadataflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add some helping methods to WideBarflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: provide default value to is_indexed in ModDownloadTaskflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17Merge pull request #913 from Gingeh/cape-without-skinSefa Eyeoglu
2022-07-16Merge pull request #917 from Scrumplex/fix-translations-2dada513
2022-07-16fix: add missing full-stop to messageSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-16Merge pull request #902 from Scrumplex/fix-unicode-windowsSefa Eyeoglu
2022-07-16fix: fix memory leak on WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-16Merge pull request #914 from DioEgizio/cacheqttxtsd
2022-07-15chore(actions): Remove superfluous whitespacetxtsd
Signed-off-by: txtsd <thexerothermicsclerodermoid@gmail.com>
2022-07-15feat(actions): bring back qt cachingDioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-07-15Make skin upload optionalGingeh
Signed-off-by: Gingeh <39150378+Gingeh@users.noreply.github.com>
2022-07-14Merge pull request #911 from Scrumplex/fix-release-workflow-2Sefa Eyeoglu
2022-07-13fix(actions): fix release workflowSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-12Merge pull request #905 from DioEgizio/fix-copyingtxtsd
2022-07-12chore(COPYING): update COPYING.MD a bitDioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-07-12Merge pull request #904 from virchau13/add-stdenv-libflow
fix(nix): add stdenv.cc.cc.lib to GAME_LIBRARY_PATH
2022-07-12Merge pull request #810 from Scrumplex/refactor-launcher-versionflow
Hide channel from version for tagged commits
2022-07-12fix(nix): add stdenv.cc.cc.lib to GAME_LIBRARY_PATHVir Chaudhury
Some mods (like DiscordRichPresence) require libstdc++. This commit adds stdenv.cc.cc.lib to $GAME_LIBRARY_PATH so that these mods function correctly. Signed-off-by: Vir Chaudhury <virchau13@hexular.net>
2022-07-11fix: remove unnecessary code for WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-11fix: fix unicode issue with JavaChecker on WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-11Merge pull request #901 from txtsd/scdoctimoreo
2022-07-11Merge pull request #678 from Scrumplex/improvements-around-proprietary-servicesSefa Eyeoglu
2022-07-11Merge pull request #847 from EliteTK/switch-to-scdocSefa Eyeoglu
2022-07-11Merge pull request #900 from DioEgizio/CI/fixflow
fix(actions): fix ccache on windows
2022-07-11feat(ci): Install scdoc to build manpagetxtsd
Signed-off-by: txtsd <thexerothermicsclerodermoid@gmail.com>
2022-07-11Merge pull request #479 from kthchew/feature/sparkle-macSefa Eyeoglu
2022-07-11fix(actions): fix ccache on windowsDioEgizio
Also removes some unnecessary dependencies for the generic Linux package Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-07-10Remove use of obsolete methodKenneth Chew
Fixes Qt 6 build Signed-off-by: Kenneth Chew <kenneth.c0@protonmail.com>
2022-07-10Switch to production Sparkle appcastKenneth Chew
DCO Remediation Commit for Kenneth Chew <kenneth.c0@protonmail.com> I, Kenneth Chew <kenneth.c0@protonmail.com>, hereby add my Signed-off-by to this commit: 92b913ca3740ea1aa799a69d65dc13d0c3612b87 I, Kenneth Chew <kenneth.c0@protonmail.com>, hereby add my Signed-off-by to this commit: 7eb61a28be3b66c1016eab434ae93b5d94eb11af I, Kenneth Chew <kenneth.c0@protonmail.com>, hereby add my Signed-off-by to this commit: ea4ef1655bdadf04c36768f0f641ca7579f754cf I, Kenneth Chew <kenneth.c0@protonmail.com>, hereby add my Signed-off-by to this commit: b5bdfa6c2e9a0eb62e476dd399b82bfa972e0320 I, Kenneth Chew <kenneth.c0@protonmail.com>, hereby add my Signed-off-by to this commit: f9f46609ee288d8df80dd978f8c619a7e02e4787 I, Kenneth Chew <kenneth.c0@protonmail.com>, hereby add my Signed-off-by to this commit: 34adcec6165662d6245a55ee0a75c36753061df2 I, Kenneth Chew <kenneth.c0@protonmail.com>, hereby add my Signed-off-by to this commit: 05cd30ac06b67ebc594773fc7e7ccf110fc336a3 I, Kenneth Chew <kenneth.c0@protonmail.com>, hereby add my Signed-off-by to this commit: f3c72f4f0888aa16793354890055e17df07084fc I, Kenneth Chew <kenneth.c0@protonmail.com>, hereby add my Signed-off-by to this commit: b1f486518e3db19cca8ea9f33eb1d8d1afa247e7 I, Kenneth Chew <kenneth.c0@protonmail.com>, hereby add my Signed-off-by to this commit: 3bc02b9662b84c2ab86b5de1b08b4537177fde90 Signed-off-by: Kenneth Chew <kenneth.c0@protonmail.com>
2022-07-10Merge branch 'develop' into feature/sparkle-macSefa Eyeoglu
# Conflicts: # .github/workflows/build.yml
2022-07-10Merge pull request #575 from Scrumplex/qt6Sefa Eyeoglu
2022-07-10fix: remove TODOsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor(actions): rename Windows buildsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor(actions): switch to system QuaZip on WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>