aboutsummaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
2022-07-17feat: add metadata get/delete via mod idflow
This is, in many cases, more reliable than name comparisons, so it's useful specially in cases where a mod changes name between versions Signed-off-by: flow <flowlnlnln@gmail.com>
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-16fix: add missing full-stop to messageSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-16fix: fix memory leak on WindowsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-15Make skin upload optionalGingeh
Signed-off-by: Gingeh <39150378+Gingeh@users.noreply.github.com>
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 #678 from Scrumplex/improvements-around-proprietary-servicesSefa Eyeoglu
2022-07-10Remove use of obsolete methodKenneth Chew
Fixes Qt 6 build 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-10fix: remove TODOsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10fix: install TLS plugins for release buildsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10fix: set UNICODE and _UNICODE for Qt 5 buildsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10fix: include TLS plugins in bundleSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10fix: fix slots for Qt 6Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: fix deprecation up to Qt 6Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10feat: add Qt 6 support to CMakeSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: replace QRegExp with QRegularExpressionSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10refactor: fix deprecation up to Qt 5.15Sefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-10Merge pull request #880 from Scrumplex/fix-loader-importancetxtsd
Make loader components not important
2022-07-10Merge pull request #876 from Scrumplex/revert-updater-stuffdada513
Revert "fix: remove updater if it is not used"
2022-07-09Merge pull request #808 from Scrumplex/fix-lgtm-warningsSefa Eyeoglu
2022-07-08Merge pull request #884 from jopejoe1/ftbuifixedflow
Updated FTB Classic layout
2022-07-08Merge pull request #890 from Scrumplex/fix-technic-forgeflow
Fix Technic instances using Forge
2022-07-08fix(technic): map loader libraries to components properlySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-08Merge pull request #839 from flowln/modrinth_packs_bug_huntSefa Eyeoglu
2022-07-08fix: disable MSA login if it is NOT supportedSefa Eyeoglu
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-08chore: add missing license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-08feat: add validation for Flame key and MSA client IDSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-08feat: track capabilities of applicationSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-08fix: spelling of CFSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>