aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceImportTask.cpp
AgeCommit message (Collapse)Author
2022-09-20refactor: setAbortStatus -> setAbortableflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat(ui): improve info dialog before updating an instanceflow
Adds a 'Cancel' option, and add a note about doing a backup before updating. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: hook up setAbortStatus in instance import tasksflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: simplify abort handling and add missing emitsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: change the way instance names are handledflow
While working on pack updating, instance naming always gets in the way, since we need both way of respecting the user's name choice, and a standarized way of getting the original pack name / version. This tries to circunvent such problems by abstracting away the naming schema into it's own struct, holding both the original name / version, and the user-defined name, so that everyone can be happy and world peace can be achieved! (at least that's what i'd hope :c). Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: clean up InstanceImportTask a bitflow
Also removes a divide by two in the download progress (why was it there???) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: move flame modpack import to separate fileflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add early modrinth pack updatingflow
Still some FIXMEs and TODOs to consider, but the general thing is here! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: move modrinth modpack import to separate fileflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-16Add "Open All" button to blocked mods dialogkumquat-ir
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com>
2022-07-10refactor: replace QRegExp with QRegularExpressionSefa 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-07fix: make loader components not importantSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-03fix: add progress indicator on Flame mod resolution dialogflow
This code is super :pofat: omg Signed-off-by: flow <flowlnlnln@gmail.com>
2022-06-11fix: account for the dequeued url when checking the number of urlsflow
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-06-11fix: dequeue first added file in mrpack importflow
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-06-11fix: apply client overrides in mrpacksflow
another oopsie x.x
2022-06-09revert: don't check modrinth whitelisted hostsflow
people didn't seem to like it, and its not required
2022-06-09fix: enable using more than one download url in mrpacksflow
Kinda, it's ugly and hackish, since we don't have the facilities to do this properly (yet!)
2022-06-09fix: properly parse mrpacks without the 'env' fieldflow
It's optional, so some files may not have it (like most of FO).
2022-05-29Merge pull request #671 from Scrumplex/fix-importing-flame-mmc-packsSefa Eyeoglu
2022-05-29fix: fix importing Flame/MMC packsSefa Eyeoglu
2022-05-28feat: add warning of non-whitelisted URLs instead of a hard failflow
Based on people's votes on Discord :^)
2022-05-28debug: add non-translated debug logging for 'non-whitelisted url' failsflow
2022-05-28change: update whitelisted hosts in Modrinth modpacksflow
2022-05-28Rework curseforge download (#611)timoreo22
* Use the bulk endpoint on mod resolution for faster download * Search on modrinth for api blocked mods * Display a dialog for manually downloading blocked mods
2022-05-28Merge pull request #657 from JJL772/fix/misc-fixestimoreo22
Fix crash when aborting instance import
2022-05-27Fix crash when aborting instance importJeremy Lorelli
Also turned a loop var into a reference to avoid copies on each iteration
2022-05-26fix: prefer stricter modpack formats during importSefa Eyeoglu
Flame modpacks use "manifest.json" as their only characteristic for identification. Some modpacks might have other files called "manifest.json", which is why we should prefer modpack formats that have a stricter structure.
2022-05-17fix conflicts with developflow
2022-05-16fix: typo and useless codeflow
2022-05-15feat: better handling of optional modsflow
This disables the optional mods by default and tell the user about it. Pretty hackish, but a better solution would involve the modrinth metadata to have the mod names... Also sorry for the diffs, my clangd went rogue x.x
2022-05-15fix: validate whitelisted download urlsflow
2022-05-15change: use modrinth icon as default on modrinth packsflow
2022-05-15chore: license headers 2flow
2022-05-15chore: add/update license headersSefa Eyeoglu
2022-05-15feat: add support for Quilt Loader in Modrinth packsSefa Eyeoglu
2022-05-14refactor: some random improvementsflow
2022-05-14fix: adapt upstream Modrinth code to our codebaseSefa Eyeoglu
2022-05-14Add support for importing Modrinth packs from fileskb1000
2022-05-12chore: add license header to remaining filesflow
Also remove some unused imports
2022-05-12refactor: organize a little more the code in launcher/net/flow
This also reduces some code duplication by using some Task logic in NetAction.
2022-04-15Merge pull request #185 from Scrumplex/quiltSefa Eyeoglu
Quilt support
2022-04-07fix: allow aborting CF modpack importingflow
2022-04-07fix: check for Quilt as Fabric-compatible loaderSefa Eyeoglu
2022-03-19fix(i18n): fix translatable stringsSefa Eyeoglu
2022-02-21refactor: set default InstanceType to OneSixSefa Eyeoglu
2022-01-31refactor: simpler includes for quazipSefa Eyeoglu
2022-01-31refactor: add in-tree QuaZipSefa Eyeoglu
2022-01-31refactor: initial migration to QuaZip 1.2Sefa Eyeoglu
Let's move off our custom QuaZip. In the olden times we needed the custom version of QuaZip, as it was basically unmaintained and on SourceForge (eww). But nowadays it's maintained and on GitHub. See new GitHub page: https://github.com/stachenov/quazip