Commit Graph

74 Commits

Author SHA1 Message Date
flow a135c06bcf fix: scale mod icons to the right size 2022-06-21 06:41:56 -03:00
Ezekiel Smith 27239b2dde Merge pull request #634 from flowln/donate_links
More links for CF / Modrinth mods / modpacks
2022-06-14 23:52:00 +10:00
Sefa Eyeoglu a4ef0940ed chore: add license headers 2022-06-12 13:50:58 +02:00
Sefa Eyeoglu 2ff0aa09e3 fix: remove updater if it is not used 2022-06-12 13:39:47 +02:00
flow d0337da8ea feat: add remaining links to modrinth modpacks 2022-05-24 11:52:27 -03:00
flow 5e17d53c7f fix: missing tr() and update donate message 2022-05-24 11:11:40 -03:00
flow 22e0527502 feat: add donate info to modrinth modpacks 2022-05-24 09:46:58 -03:00
flow ca3c6c5e8a feat: add donate links for modrinth mods 2022-05-24 09:38:48 -03:00
Sefa Eyeoglu 29ef1e2c4b Merge pull request #597 from Scrumplex/refactor-modloader-modapi 2022-05-22 13:17:53 +02:00
Sefa Eyeoglu 3b4b34b369 fix(ui): make CF and MR modpack dialogs more consistent 2022-05-20 22:48:42 +02:00
Sefa Eyeoglu 943090db98 refactor: allow tracking multiple mod loaders 2022-05-19 08:49:27 +02:00
Sefa Eyeoglu ddc3b5eb0b Update launcher/ui/pages/modplatform/modrinth/ModrinthPage.ui
Co-authored-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-05-17 15:14:53 +02:00
flow 2e9d7f5c3d fix: mod skipping between pages and remove dead code 2022-05-16 19:17:37 -03:00
flow 696a711e39 fix: missed change to metacache entry lookup 2022-05-16 19:10:31 -03:00
flow 887246a66b fix: typo and useless code 2022-05-16 17:09:14 -03:00
Sefa Eyeoglu cd9e0e0cc0 fix: use own metacache base for modrinth icons 2022-05-16 20:17:19 +02:00
flow a6d2c5e181 fix: better hack for icons that cant be natively scaled to 48x48 2022-05-16 14:35:01 -03:00
flow 62e099ace5 feat: better handling of optional mods
This disables the optional mods by default and tell the user about it.
Pretty hackish, but a better solution would involve the modrinth
metadata to have the mod names...

Also sorry for the diffs, my clangd went rogue x.x
2022-05-15 22:16:52 -03:00
flow e92b7bd25e change: switch to modrinth production servers 2022-05-15 21:50:42 -03:00
flow e7bb3b2776 fix: macos compilation
i forgor macos is cringe with static arrays 💀

edit: WHY DONT MAC LET ME USE STD::ARRAY ;----;
2022-05-15 21:18:29 -03:00
flow ec3c882a44 change: add alpha note to modrinth page 2022-05-15 20:52:57 -03:00
flow 66ce5a4a2d fix: pack sorting and other search parameters 2022-05-15 20:45:27 -03:00
Sefa Eyeoglu 78cf0c73c8 fix: always show project url, if available 2022-05-15 20:38:27 +02:00
Sefa Eyeoglu 682a7fb6ba feat: add version of Modrinth modpack to instance name 2022-05-15 13:36:55 +02:00
flow 5f2398fe59 chore: license headers 2 2022-05-15 08:26:34 -03:00
Sefa Eyeoglu 3abf466632 chore: add/update license headers 2022-05-15 13:20:05 +02:00
flow 4bb429a0fb change: use build variables for the modrinth API URLs
Make it more consistent with the others
2022-05-15 07:43:02 -03:00
flow 4a0e4fdb85 fix: add author page url 2022-05-15 07:15:56 -03:00
flow 9899a0e098 fix: Have the URL be the project URL itself
(I think, doesn't seem to work for the waffle though, probably because
of the staging API :/)
2022-05-14 21:47:35 -03:00
flow 5ea8cec16f fix: make all modrinth modpacks have the same icon size 2022-05-14 21:29:48 -03:00
flow 9dd70ca9ae fix: download icon as well when importing modrinth modpacks 2022-05-14 20:26:20 -03:00
flow 4fda35b466 feat: add modrinth pack downloading
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-14 20:19:26 -03:00
Sefa Eyeoglu 31988f0529 fix: adapt upstream Modrinth code to our codebase 2022-05-14 20:27:45 +02:00
kb1000 db03846358 Add support for importing Modrinth packs from files 2022-05-14 20:01:09 +02:00
Sefa Eyeoglu c6b3eccbdf refactor: rename Modrinth classes to ModrinthMod 2022-05-14 20:00:54 +02:00
Sefa Eyeoglu 027c666265 Merge pull request #450 from Scrumplex/fix-quilt-mod-dl 2022-04-19 20:36:37 +02:00
Sefa Eyeoglu fcdc7a1a35 fix: fix Modrinth query when Quilt is in use 2022-04-19 10:22:50 +02:00
Kenneth Chew fcbf37f60f Fix typos and inconsistent capitalization in sort options 2022-04-17 17:58:51 -04:00
DioEgizio 1dd663af6e CHANGE: switch the help pages to their own dir
also renames modrinth-platform/curseforge-platform to just Mod-platform since they have the pages are basically the same
2022-04-15 11:15:17 +02:00
Sefa Eyeoglu ea60e48d9d chore: add license header
chore: add license header
2022-03-27 20:59:56 +02:00
flow e13ca94061 chore: resolve conflicts and merge upstream 2022-03-24 18:24:51 -03:00
Sefa Eyeoglu 062fc79286 Merge pull request #298 from Scrumplex/fix-i18n
Fix translatable strings
2022-03-21 14:21:06 +01:00
Sefa Eyeoglu 536b1a23fc fix: retranslate mod download pages 2022-03-20 21:51:23 +01:00
Sefa Eyeoglu ccfd06ad21 fix(i18n): remove brand names from translations 2022-03-19 12:35:15 +01:00
Sefa Eyeoglu 48c2146a42 fix(i18n): fix translatable strings 2022-03-19 12:29:46 +01:00
flow 8409aa2571 tidy: Fix clang-tidy issues on files changed in this PR
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-14 17:43:36 -03:00
flow b3c2a56ece fix: delete semicolons at the end of .cpp file's functions
my lsp is weird sometimes
2022-03-07 19:55:20 -03:00
flow 9c57b54a81 refactor: move things around so that related things are close together
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-07 19:32:28 -03:00
flow b131d3b2ec refactor: move more common code to base class
Also removes unused imports and organize the ModModel header
2022-03-07 18:28:24 -03:00
flow f714adf6d2 refactor: move NetJob away from ModModel to ModAPI
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-07 16:22:57 -03:00