aboutsummaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
2022-05-23fix: use a more robust method of finding metadata indexesflow
Often times, mods can have their name in different forms, changing one letter to caps or the other way (e.g. JourneyMaps -> Journeymaps). This makes it possible to find those as well, which is not perfect by any means, but should suffice for the majority of cases.
2022-05-23fix: do modrinth changes on flame tooflow
Also fix a dumb moment
2022-05-23chore: add license headersflow
Prevents a massive inload of Scrumplex ditto's :) I didn't add it to every file modified in this PR because the other changes are pretty minor, and would explode the diff of the PR. I hope that's not a problem O_O
2022-05-23fix: use correct hash_type when creating metadataflow
also fix: wrong parameter name in LocalModUpdateTask's constructor also fix: correct hash_format in CF
2022-05-23change: support newest changes with packwiz regarding CFflow
2022-05-23feat: allow trying to use multiple hash typesflow
2022-05-23refactor: move individual pack version parsing to its own functionflow
2022-05-23fix: don't try to delete mods multiple timesflow
Shows a more helpful message if there's a parsing error when reading the index file. Also fixes a clazy warning with using the `.data()` method in a temporary QByteArray object.
2022-05-23fix: implement PR suggestionsflow
Some stylistic changes, and get hashes from the mod providers when building the metadata.
2022-05-23refactor: make mod metadata presence (or lack of) easier to find outflow
2022-05-23refactor: move code out of ModIndex.hflow
Now it's in ModIndex.cpp
2022-05-23tidy: apply clang-tidy to some filesflow
Mostly the ones created in this PR + Mod.h / Mod.cpp / ModDetails.h
2022-05-23test+fix: add basic tests and fix issues with itflow
2022-05-23feat: allow disabling mod metadata usageflow
2022-05-23feat: cache metadata in ModDetailsflow
Allows for more easy access to the metadata by outside entities
2022-05-23refactor: abstract metadata handling and clarify namesflow
2022-05-23feat: add support for converting builtin -> packwiz mod formatsflow
Also adds more documentation.
2022-05-23refactor: remove unused mod info and organize some stuffflow
2022-05-23refactor: move mod tasks to their own subfolderflow
Makes the launcher/minecraft/mod/ folder a little more organized.
2022-05-23feat: use mod metadata for getting mod informationflow
For now this doesn't mean much, but it will help when we need data exclusive from the metadata, such as addon id and mod provider. Also removes the metadata when the mod is deleted, and make the Mod.h file a little more pleasing to look at :)
2022-05-23feat: add method to delete mod metadataflow
Also moves indexDir setting from LocalModUpdateTask -> ModFolderModel
2022-05-23feat: add parser for current impl of packwiz mod.tomlflow
This reads a local mod.toml file and extract information from it. Using C libs in C++ is kind of a pain tho :(
2022-05-23feat(ui): adapt SequentialTask to nested SequentialTasksflow
2022-05-23feat: add mod index updating to ModDownloadTaskflow
This makes ModDownloadTask into a SequentialTask with 2 subtasks: Downloading the mod files and updating the index with the new information. The index updating is done first so that, in the future, we can prompt the user before download if, for instance, we discover there's another version already installed.
2022-05-23feat: add very early mod.toml packwiz supportflow
Also use it as a on-disk format for storing mod metadata. This will be used later on to make better mod managment.
2022-05-23Merge pull request #621 from Scrumplex/remove-curseforge-workaroundsSefa Eyeoglu
2022-05-22Merge pull request #605 from jamierocks/h-atl-improvflow
ATLauncher: Various work to improve the platform support
2022-05-22revert: remove CurseForge workaroundSefa Eyeoglu
We have been asked by CurseForge to remove this workaround as it violates their terms of service. This is just a partial revert, as the UI changes were otherwise unrelated. This reverts commit 92e8aaf36f72b7527322add169b253d0698939d0, reversing changes made to 88a93945d4c9a11bf53016133335d359b819585e.
2022-05-22feat: add trailing slash to meta URL if it is missingSefa Eyeoglu
2022-05-22fix: improve spacing in APIPageSefa Eyeoglu
2022-05-22Make Metaserver changable in settingsdada513
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Co-authored-by: flow <flowlnlnln@gmail.com>
2022-05-22Merge pull request #554 from PolyMC/more_paste_servicesSefa Eyeoglu
2022-05-22Merge pull request #577 from PolyMC/fix/toolbar_🦀_fixSefa Eyeoglu
2022-05-22Merge pull request #597 from Scrumplex/refactor-modloader-modapiSefa Eyeoglu
2022-05-21Merge pull request #612 from DioEgizio/update-cf-logo-realEzekiel Smith
change cf icon to a more fancy one
2022-05-21Make if statement condition more readableLennyMcLennington
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-05-21Add migration wizard, fix migration from custom paste instanceLenny McLennington
- Very basic wizard just to allow the user to choose whether to keep their old paste settings or use the new default settings. - People who used custom 0x0 instances would just be kept on those settings and won't see the wizard.
2022-05-21Change paste settings and add copyright headersLenny McLennington
- There's now a notice reminding people to change the base URL if they had a custom base URL and change the paste type (that was something I personally had problems with when I was testing, so a reminder was helpful for me). - Broke down some of the long lines on APIPage.cpp to be more readable. - Added copyright headers where they were missing. - Changed the paste service display names to the names they are more commonly known by. - Changed the default hastebin base URL to https://hst.sh due to the acquisition of https://hastebin.com by Toptal.
2022-05-21Support paste.gg, hastebin, and mclo.gsLenny McLennington
2022-05-21change cf icon to a more fancy oneDioEgizio
taken from QuiltMC/art in the emoji folder, so it's licensed under CC0
2022-05-21ATLauncher: Display warnings when selecting optional modsJamie Mansfield
2022-05-21ATLauncher: Display install messages if applicableJamie Mansfield
2022-05-21ATLauncher: Display mod colours in optional mod dialogJamie Mansfield
2022-05-21Merge pull request #609 from timoreo22/feature/fix-blocked-modpacksdada513
2022-05-21Merge pull request #500 from flowln/net_refactorSefa Eyeoglu
Refactor a little the code in `launcher/net/` files
2022-05-21Merge pull request #606 from jamierocks/h-launch-versionSefa Eyeoglu
2022-05-21Do the url trick on initial modpack download tootimoreo
2022-05-21Merge pull request #608 from timoreo22/feature/curseforge-fixtimoreo22
Very Temporary Fix for curseforge
2022-05-20fix(ui): make CF and MR modpack dialogs more consistentSefa Eyeoglu
2022-05-20Apply suggestionstimoreo