aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth/ModrinthPackIndex.cpp
AgeCommit message (Collapse)Author
2022-06-14Merge pull request #634 from flowln/donate_linksEzekiel Smith
More links for CF / Modrinth mods / modpacks
2022-05-24feat: add remaining links to modrinth modsflow
2022-05-24feat: add donate links for modrinth modsflow
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-23feat: allow trying to use multiple hash typesflow
2022-05-23refactor: move individual pack version parsing to its own functionflow
2022-05-23fix: implement PR suggestionsflow
Some stylistic changes, and get hashes from the mod providers when building the metadata.
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-15chore: add/update license headersSefa Eyeoglu
2022-04-03Check for empty slug before setting pack urlHarry Peach
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-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-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.
2022-02-01Fix braindead momentstimoreo
2022-01-31Update to Modrinth API V2timoreo
2022-01-24Changed modrinth author data to not be a listtimoreo
2022-01-15Added smart file selectiontimoreo
This might fail in a few special cases
2022-01-15Filtering per mod loader & mc versiontimoreo
2022-01-14Fixed iconstimoreo
Also having a mod loader is now enforced
2022-01-14Added the downloading of the modstimoreo
2022-01-14Start of mod downloadingtimoreo