aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform
AgeCommit message (Collapse)Author
2022-05-21Do the url trick on initial modpack download tootimoreo
2022-05-20Apply suggestionstimoreo
2022-05-20Port temp fix to mods tootimoreo
2022-05-20Very Temporary Fix for curseforgetimoreo
2022-05-18fix: version field in technic pack manifest being nullflow
Sometimes, the version field, that is supposed to be a string, was a null instead. Inspecting other entries, seems like the default for not having a version should be "", so I made it like that in case the version was null. I hope this fixes the issue :^)
2022-05-17Merge pull request #565 from Scrumplex/modrinth-packsSefa Eyeoglu
Initial Modrinth modpack support
2022-05-16fix: typo and useless codeflow
2022-05-15Merge pull request #545 from DioEgizio/patch-4dada513
2022-05-15fix: validate whitelisted download urlsflow
2022-05-15chore: license headers 2flow
2022-05-15chore: add/update license headersSefa Eyeoglu
2022-05-15change: use build variables for the modrinth API URLsflow
Make it more consistent with the others
2022-05-15fix: add author page urlflow
2022-05-15fix: fix build on Qt 5.12Sefa Eyeoglu
2022-05-14fix: choose valid download url even if it's not the primary oneflow
It seems to be possible to have modpack versions that have to primary file. In those cases, we pick a valid one "at random".
2022-05-14fix: Have the URL be the project URL itselfflow
(I think, doesn't seem to work for the waffle though, probably because of the staging API :/)
2022-05-14feat: add modrinth pack downloadingflow
Things that don't work / work poorly (there's more for sure but those are the evident ones): - Icons are broken in the import dialog - No way to search for private packs - Icons are not downloaded when downloading a mod - No support for multiple download URLs - Probably a lot more...
2022-05-14Add support for importing Modrinth packs from fileskb1000
2022-05-09Merge pull request #537 from PolyMC/stabletimoreo22
Merge stable into develop
2022-05-09fix websiteurl in curseforge modpacksDioEgizio
2022-05-08Update launcher/modplatform/flame/FlameModIndex.cppSefa Eyeoglu
Co-authored-by: flow <thiagodonato300@gmail.com>
2022-05-08Update launcher/modplatform/flame/FlameModIndex.cppSefa Eyeoglu
2022-05-08adopt changes from #497 remappedRyan Cao
2022-04-22ATLauncher: Support using share codesJamie Mansfield
2022-04-19fix: fix Modrinth query when Quilt is in useSefa Eyeoglu
2022-04-16fix: query for Fabric mods if Quilt is in useSefa Eyeoglu
Right now we want to include Fabric mods in our searches where possible. Modrinth allows definining multiple loaders, while Flame only allows a single value. As a compromise we ask for Fabric mods only on Flame and for both Fabric and Quilt mods on Modrinth.
2022-04-15fix: 'All' filter working and get around CF API capabilitiesflow
2022-04-15fix(ui): Refresh mod list when changing filtering optionsflow
2022-04-15feat: Use version filter when searching modsflow
2022-04-14refactor: cleanup ModLoaderTypeSefa Eyeoglu
2022-04-07fix: check for Quilt as Fabric-compatible loaderSefa Eyeoglu
2022-04-06Merge pull request #384 from jamierocks/technic-improvementsSefa Eyeoglu
2022-04-03Check for empty slug before setting pack urlHarry Peach
2022-04-02Technic: Verify checksums for pack build modsJamie Mansfield
2022-04-02Technic: Display available versions for Solder packsJamie Mansfield
2022-04-02Technic: Replace inline parsing code with API modelsJamie Mansfield
2022-04-02Technic: Add API models for Solder packsJamie Mansfield
2022-03-31Fix modrinth usable URL in mod downloaderdada513
2022-03-24optimize: Improve mod versions request to Modrinthflow
This uses more arguments in the GET request for mod versions on the Modrinth API, filtering what versions can be returned, decreasing load on Modrinth servers and improving a little the time it takes for the versions to be available to the user. This also removes the now unneeded check on correct modloaders in ModrinthPackIndex, since it is now filtered by the Modrinth server. Lastly, this adds a couple of helper functions in ModModel.
2022-03-24chore: resolve conflicts and merge upstreamflow
2022-03-22fix: fix skipping one on file counting in mod version parseflow
2022-03-19fix(i18n): fix translatable stringsSefa Eyeoglu
2022-03-18fix: Use primary file for mod download on Modrinthflow
2022-03-14tidy: Fix clang-tidy issues on files changed in this PRflow
The checks used are roughly the same as the ones proposed in the clang-tidy PR (except perhaps that I used modernize-* instead of listing them individually,though I don't think this caused any readability detriments). In ModrinthModel.cpp and FlameModModel.cpp I ignored the modernize-avoid-c-arrays one, mostly because making the sorts array an std::array would most likely increase the code complexity because of the virtual function. Aside from that, the static_cast warning from Application.h was not dealt with, since it's not in this PR's scope.
2022-03-07fix: delete semicolons at the end of .cpp file's functionsflow
my lsp is weird sometimes
2022-03-07refactor: de-duplicate common code in network mod APIsflow
2022-03-07refactor: move NetJob away from ModModel to ModAPIflow
This is done so that 1. ModAPI behaves more like an actual API instead of just a helper, and 2. Allows for more easily creating other mod providers that may or may not use network tasks (foreshadowing lol)
2022-03-06refactor: use Enum instead of raw int for ModLoaderTypeflow
2022-03-02refactor: move url creation for mods to modplatform/flow
Moves all things related to creating the URLs of the mod platforms that go to network tasks to a single place, so that: 1. Maintaining and fixing eventual issues is more straightforward. 2. Makes it possible to factor out more common code between the different modplatform pages
2022-03-02refactor: Use a single indexed pack for modsflow
Since there's little difference between them, let's remove duplication and merge them.