542 Commits

Author SHA1 Message Date
Alexandru Ionut Tripon
a1cd2917c0 List affected mods in "confirm disable" window. (#5863) 2026-08-01 14:52:57 +00:00
Octol1ttle
897daa1ed6 style(ModFolderModel): tidy and format
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-08-01 17:44:18 +05:00
Wouink
1ca711724d Translate details.
Signed-off-by: Wouink <winkontact@gmail.com>
2026-08-01 12:16:05 +02:00
Wouink
2917651cc7 Collapse branches in dialog construction. Use QString. Fix typo.
Signed-off-by: Wouink <winkontact@gmail.com>
2026-08-01 12:08:28 +02:00
Alexandru Ionut Tripon
081e18bb72 Apply suggestions from code review
Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2026-07-31 23:02:58 +03:00
Trial97
fa6e6012c4 chore(clang-tidy): modernize the code
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-07-31 19:54:16 +03:00
Trial97
29450fbc01 Resource should not be QObject
because it has no signals

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-07-31 18:49:06 +03:00
Wouink
a497b120a6 Update launcher/minecraft/mod/ModFolderModel.cpp
Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
Signed-off-by: Wouink <89593071+Wouink@users.noreply.github.com>
2026-07-31 17:29:57 +02:00
Wouink
c324255171 Make mod list collapsible in dialog, add same details in remove dialog.
Signed-off-by: Wouink <winkontact@gmail.com>
2026-07-31 14:29:17 +02:00
Wouink
f76370a3bb List affected mods in "confirm disable" window.
Signed-off-by: Wouink <winkontact@gmail.com>
2026-07-31 12:31:07 +02:00
TheKodeToad
4b041d8304 Cache resource hard link count
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-07-30 23:24:16 +01:00
Octol1ttle
5c5a044b61 wrap enum (#5066) 2026-07-25 15:36:07 +00:00
Octol1ttle
cb1c1d1fc3 feat: add Modrinth meta header dependent_on
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-07-24 16:34:56 +05:00
Trial97
6211625a1e fix: crash when trying to install a disabled modloader
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-07-20 19:18:41 +03:00
Alexandru Ionut Tripon
62f537dd8d Sort mod Minecraft versions as version lists (#5705) 2026-06-26 11:55:20 +00:00
James Zhou
f181b5d0d7 fix: recursive mod dependencies
Signed-off-by: James Zhou <yunchengzhou@gmail.com>
2026-06-24 10:39:01 -04:00
Andrey Kurlin
9752f9dfd7 fix: sort mod Minecraft versions as version lists
Signed-off-by: Andrey Kurlin <superkurlin2013@yandex.ru>
2026-06-21 23:58:54 +05:00
Trial97
c8f23c691a wrap enum
This should improve the boilerplate needed to define enums with methods

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-13 10:18:55 +03:00
Trial97
670f49309c chore(clang-tidy): fix clang tidy warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-09 23:26:23 +03:00
Trial97
b7381d8088 add size column for datapacks
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-09 23:26:23 +03:00
Trial97
bac959bc6f chore(clang-tidy): fix clang tidy warnings
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-09 23:26:21 +03:00
Trial97
4c9081a934 add file name column
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-09 23:20:43 +03:00
Trial97
ca721f9d67 add special modrinth header
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-08 20:41:10 +03:00
Octol1ttle
838687fb2e fix: log error if file open/commit fails
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-03-23 01:07:05 +05:00
Alexandru Ionut Tripon
c7d43f1685 Modrith api optional changelog (#5197) 2026-03-17 08:50:37 +00:00
Trial97
d3f8dfe65c Updated Resource Pack Formats
superseeds #4242
also this adds support for min_format and max_format and the major.minor
versioning.

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-03-17 00:40:49 +02:00
Rachel Powers
67fe365ae0 chore: clang-tidy work adjacent to changelog api fix
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-03-16 14:58:20 -07:00
Rachel Powers
e16235c1ca fix: don't always ask for the changelog from modrinth
- per https://discordapp.com/channels/734077874708938864/974050507150729236/1461487847142985982

  `/project/<id>/version` now has an `include_changelog` query param
  which can be set to false to save oodles of bandwidth

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2026-03-16 14:57:35 -07:00
Seth Flynn
352b98db8e Enable warnings as errors (#5101) 2026-03-06 07:42:39 +00:00
Octol1ttle
eda4592f19 Fix implicit fallthrough
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-26 17:49:12 +05:00
Octol1ttle
ec4b36b299 Fix compiler warnings
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-02-26 17:49:11 +05:00
TheKodeToad
316121ba8f Use an owning QByteArray in ByteArraySink
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-18 00:31:05 +00:00
TheKodeToad
71278ff7ea Add opt-in for showing mod incompatibilities
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 22:37:15 +00:00
TheKodeToad
b664846030 Allow multiple compat issues to be displayed, make game version incompat clearer
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 22:36:59 +00:00
TheKodeToad
9cb33b519f Render incompatibility highlight and warning
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 18:56:57 +00:00
TheKodeToad
081d2f1e51 Reduce duplication in ResourceFolderModel subclasses
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 18:56:56 +00:00
TheKodeToad
e2d503456f Detect resources incompatible with the MC version
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2026-02-12 18:56:38 +00:00
Trial97
f943331e39 fix codeql
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-31 21:46:36 +02:00
Alexandru Ionut Tripon
ef1e35d585 Track dependencies in Mods page (#3738) 2026-01-31 20:28:01 +02:00
Octol1ttle
584dc47da5 chore: remove double spaces from logs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-29 19:15:27 +05:00
Alexandru Ionut Tripon
2554c37964 Add asserts to invalid Task states (#4835) 2026-01-22 22:40:43 +02:00
Octol1ttle
6cb07e203b fix(ResourceFolderModel): don't read state from off-thread task
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-22 22:10:13 +05:00
Octol1ttle
507de0fcbd fix: add missing returns after emitFailed/Aborted
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2026-01-21 18:30:31 +05:00
Seth Flynn
fd91f87c21 style: re-format tree with editorconfig
```
find $PWD \
  -type f \
  ! -path '*/.git/*' ! -path '*/flatpak/shared-modules/*' \
  ! -path '*/libraries/*' ! -path '*/testdata/*' ! -name '*.patch' \
  ! -name '*.svg' ! -name '*.scd' ! -path '*/program_info/LICENSE' \
  ! -path '*/COPYING.md' ! -path '*/cmake/*' ! -name '.gitmodules' \
  -exec eclint -fix {} \;
```

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2026-01-18 15:48:07 -05:00
Trial97
3b3e246501 only emit changes when the count changes
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:26:22 +02:00
Trial97
85071e8919 only emit changes on the modified collumns
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:26:22 +02:00
Alexandru Ionut Tripon
f3495bc4c0 Apply suggestions from code review
Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
Signed-off-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
2026-01-17 17:26:22 +02:00
Trial97
67a724f990 improve toggle message
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:26:22 +02:00
Trial97
35750ebada update toggle message box
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:26:22 +02:00
Trial97
1735814d42 add confirmation dialog
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-01-17 17:26:22 +02:00