aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/flame
AgeCommit message (Collapse)Author
2022-09-07refactor: create mod pages and filter widget by factory methodsflow
This takes most expensive operations out of the constructors. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-08-01feat: lazy-load CF mod descriptionsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: filter out opted-out mods in mod downloaderflow
Maintains Pre-Updater behaviour Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-10chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-07-03fix: aborts when using a Qt build with assertions enabledflow
Preventing undefined behaviour hooray! :D Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-03fix: show invalid version even when there's noneflow
Having a blank instead of _anything_ is bad UX. Instead, even when there's not a valid version (most likely disabled redistribution), we show a message in the UI, to differentiate from the loading state. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-03feat+fix: cache Flame modpack versionsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-06-23Update launcher/ui/pages/modplatform/flame/FlamePage.uiDioEgizio
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-06-23chore(flame): reword warningDioEgizio
2022-06-14Merge pull request #634 from flowln/donate_linksEzekiel Smith
More links for CF / Modrinth mods / modpacks
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-24feat: add links to curseforge modpacksflow
2022-05-22Merge pull request #597 from Scrumplex/refactor-modloader-modapiSefa Eyeoglu
2022-05-20fix(ui): make CF and MR modpack dialogs more consistentSefa Eyeoglu
2022-05-20Apply suggestionstimoreo
2022-05-20Very Temporary Fix for curseforgetimoreo
2022-05-19refactor: allow tracking multiple mod loadersSefa Eyeoglu
2022-05-08adopt changes from #497 remappedRyan Cao
2022-04-19Merge pull request #450 from Scrumplex/fix-quilt-mod-dlSefa Eyeoglu
2022-04-19fix: fix Modrinth query when Quilt is in useSefa Eyeoglu
2022-04-17Fix typos and inconsistent capitalization in sort optionsKenneth Chew
2022-04-15CHANGE: switch the help pages to their own dirDioEgizio
also renames modrinth-platform/curseforge-platform to just Mod-platform since they have the pages are basically the same
2022-03-24chore: resolve conflicts and merge upstreamflow
2022-03-21Merge pull request #298 from Scrumplex/fix-i18nSefa Eyeoglu
Fix translatable strings
2022-03-20fix: retranslate mod download pagesSefa Eyeoglu
2022-03-20chore: add license headerSefa Eyeoglu
2022-03-20App: Retranslate all pages when the language is changedJamie Mansfield
2022-03-19fix(i18n): remove brand names from translationsSefa Eyeoglu
2022-03-19fix(i18n): fix translatable stringsSefa Eyeoglu
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: move things around so that related things are close togetherflow
This also adds some comments around ModModel.cpp and ModPage.cpp to add some ease of reading the code. Also move some things from headers to cpp files.
2022-03-07refactor: move more common code to base classflow
Also removes unused imports and organize the ModModel header
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-06clarify some method names and commentsflow
2022-03-06refactor: move "get versions" task from page to modelflow
This seems more reasonable
2022-03-06refactor: use only a single unique_ptr for the apiflow
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: extract common code in mod pages and modelflow
This creates a hierarchy in which ModPage and ModModel are the parents of every mod provider, providing the basic functionality common to all of them. It also imposes a unique .ui file (they were already equal before, just duplicated basically) on all mod providers.
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-03-01Merge pull request #205 from timoreo22/fix-version-selecttimoreo22
Fixed wrong version info
2022-02-27fix: Always tell Flame API which modloader we are usingflow
Fixes #206 partially. Although we don't list mods that have no compatibility with the mod loader we are using, mods that have support for both loaders still show up, and the versions for both the loaders are still shown. Also simplifies a little the logic in FlameModIndex::loadIndexedPackVersions
2022-02-27Cleanly free NetJob in flame modpacktimoreo
2022-02-27Fixed wrong version infotimoreo
2022-02-25merge upstream and resolve conflictsflow
2022-02-21fix(ui): change text in selection button when there's no valid versionflow
2022-02-21feat(ui): allow downloading multiple mods from CurseForge at onceflow
2022-02-19Fixed segfault when closing window while version info download is still goingtimoreo
2022-02-04Fix wrong mod file nametimoreo
2022-01-24Fixed spacingtimoreo