aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame
AgeCommit message (Collapse)Author
2022-07-17fix: std::list -> QListflow
Qt6 removed Qlist::toStdList() :sob: Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: don't use shared_ptr for a background task T_Tflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17change: make Mod a QObject used as a pointerflow
Prevents problems when copying it around! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: handling around disabled modsflow
Don't update disabled mods to prevent mod duplication. Also, chop filename in the metadata with a '.disabled'. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: don't require non-essential items in mod indexflow
Also adds slug field. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: add some mod api callsflow
- Get Project: Already existed but required a specific caller type. This is more general. - Get Projects: A single call to multiple of the above Both providers support these calls. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17feat: improve metadata gen. networking and performanceflow
This makes the metadata generation code a lot messier and harder to use, but there's not really much else that can be done about it while preserving all it's capabilities :( At least we now have speed 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 api call to flameflow
Call added: - Get Fingerprints Matches - Get Mod File Changelog Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-10chore: update license headersSefa 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-09Merge pull request #808 from Scrumplex/fix-lgtm-warningsSefa Eyeoglu
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-17fix: fix warnings reported by LGTM.comSefa Eyeoglu
2022-06-15fix https://github.com/PolyMC/PolyMC/issues/798DioEgizio
2022-06-14Merge pull request #634 from flowln/donate_linksEzekiel Smith
More links for CF / Modrinth mods / modpacks
2022-06-04Merge pull request #426 from flowln/mod_permaSefa Eyeoglu
Add on-disk mod metadata information
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-25revert: remove CurseForge workaround for packs tooSefa Eyeoglu
Partial revert. Handles missing download URLs.
2022-05-24feat: add links to curseforge modpacksflow
2022-05-24feat: add links for curseforge modsflow
NOT DOWNLOAD LINKS! (someone would ask it i'm sure :p)
2022-05-24feat: add donate links for modrinth modsflow
2022-05-23fix: do modrinth changes on flame tooflow
Also fix a dumb moment
2022-05-23change: support newest changes with packwiz regarding CFflow
2022-05-23feat: allow trying to use multiple hash typesflow
2022-05-23fix: implement PR suggestionsflow
Some stylistic changes, and get hashes from the mod providers when building the metadata.
2022-05-23refactor: move code out of ModIndex.hflow
Now it's in ModIndex.cpp
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-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-22Merge pull request #597 from Scrumplex/refactor-modloader-modapiSefa Eyeoglu
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-19refactor: allow tracking multiple mod loadersSefa Eyeoglu
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-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-15feat: Use version filter when searching modsflow
2022-04-07fix: check for Quilt as Fabric-compatible loaderSefa Eyeoglu
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-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-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