Commit Graph

12 Commits

Author SHA1 Message Date
flow
0e52112016 feat: add some api calls to modrinth
Calls added:
- Get version from hash
- Get versions from hashes
- Latest version of a project from a hash, loader(s), and game version(s)
- Latest versions of multiple project from hashes, loader(s), and game version(s)

Some of those are not used yet, but may be of use later on, so we have
it if we need it :)

Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17 11:33:41 -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
flow
ca3c6c5e8a feat: add donate links for modrinth mods 2022-05-24 09:38:48 -03:00
flow
5c5699bba5 refactor: move individual pack version parsing to its own function 2022-05-23 14:43:31 -03:00
Sefa Eyeoglu
3abf466632 chore: add/update license headers 2022-05-15 13:20:05 +02: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
881b2f2b38 refactor: Use a single indexed pack for mods
Since there's little difference between them, let's remove duplication
and merge them.
2022-03-02 18:49:19 -03:00
timoreo
1d0e6bf453 Changed modrinth author data to not be a list 2022-01-24 07:23:01 +01:00
timoreo
621e0ba4a8 Added smart file selection
This might fail in a few special cases
2022-01-15 10:25:24 +01:00
timoreo
4b37c46889 Filtering per mod loader & mc version 2022-01-15 08:51:47 +01:00
timoreo
9e6fa8f29a Added the downloading of the mods 2022-01-14 12:47:18 +01:00
timoreo
4e9039be2d Start of mod downloading 2022-01-14 09:56:27 +01:00