Commit Graph

10008 Commits

Author SHA1 Message Date
DioEgizio
3ba24f3f09 Use security-scoped bookmarks for directory settings on macOS (#3616) 2025-11-21 18:34:43 +01:00
timoreo
8b43ea486b chore(nix): update lockfile (#4357) 2025-11-20 15:44:56 +01:00
DioEgizio
c7fa69cfd0 ci: fix cmake --install on release & macos code signing (#4375) 2025-11-19 21:44:08 +01:00
Seth Flynn
6a46484895 ci: fix macos code signing secret names
oopsie

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-19 14:53:37 -05:00
Seth Flynn
dc88866d85 ci: ensure --config is always passed with cmake --install
lol

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-19 14:52:25 -05:00
Seth Flynn
b86f47d79b chore(deps): update cachix/install-nix-action digest to 0b0e072 (#4368) 2025-11-19 14:47:04 -05:00
renovate[bot]
90ea9af1cb chore(deps): update cachix/install-nix-action digest to 0b0e072 2025-11-19 00:29:00 +00:00
Sefa Eyeoglu
4c437a839c nix: Disable deprecated PIE flags (#4365) 2025-11-17 22:10:55 +01:00
Sefa Eyeoglu
48c91c13ad nix: Disable deprecated PIE flags
Fixes the following warning with nixos-unstable (and upcoming 25.11)

    evaluation warning: The 'pie' hardening flag has been removed in
    favor of enabling PIE by default in compilers and should no longer
    be used. PIE can be disabled with the -no-pie compiler flag, but
    this is usually not necessary as most build systems pass this if
    needed. Usage of the 'pie' hardening flag will become an error in
    future.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-11-17 19:09:58 +01:00
Alexandru Ionut Tripon
8b4ad7aa49 Create a unified dialog to ask user for offline name (#4209) 2025-11-16 18:30:37 +02:00
Alexandru Ionut Tripon
e5629bb08a Refactor ReviewMessageBox::appendResource (#4320) 2025-11-16 18:13:32 +02:00
Alexandru Ionut Tripon
7ca8556211 Fix issues with log level handling (#4254) 2025-11-16 18:13:12 +02:00
Alexandru Ionut Tripon
f93e21fa2d deduplicate includes and reformat (#4228) 2025-11-16 18:12:52 +02:00
github-actions[bot]
57397c377d chore(nix): update lockfile
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ae814fd3904b621d8ab97418f1d0f2eb0d3716f4?narHash=sha256-YRqMDEtSMbitIMj%2BJLpheSz0pwEr0Rmy5mC7myl17xs%3D' (2025-11-05)
  → 'github:NixOS/nixpkgs/c5ae371f1a6a7fd27823bc500d9390b38c05fa55?narHash=sha256-4PqRErxfe%2B2toFJFgcRKZ0UI9NSIOJa%2B7RXVtBhy4KE%3D' (2025-11-12)
2025-11-16 00:29:46 +00:00
TheKodeToad
16066c9a15 fix(ModrinthPackIndex): set logo name correctly (#4356) 2025-11-15 18:50:51 +00:00
Octol1ttle
7cbec465cd fix(ModrinthPackIndex): set logo name correctly
Fixes: f90c0a59a7
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2025-11-15 22:42:16 +05:00
Alexandru Ionut Tripon
86b39b2771 Remove icon from PageContainer header (#4332) 2025-11-14 12:08:37 +02:00
TheKodeToad
f90c0a59a7 Remove Json ensure helpers (#4330) 2025-11-13 19:45:01 +00:00
Alexandru Ionut Tripon
dd295aaf1e Use multi-config generator for CMake presets (#4301) 2025-11-13 20:21:40 +02:00
Seth Flynn
b5964b0c3a ci(package/windows): use absolute paths for signed files (#4350) 2025-11-13 06:43:54 -05:00
Seth Flynn
4b6fab06d8 ci(package/windows): use absolute paths for signed files
This is (weirdly) required by the Trusted Signing action

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-13 06:40:00 -05:00
Seth Flynn
908032f033 Sign Windows builds again (#4348) 2025-11-13 06:29:59 -05:00
Seth Flynn
b819be49cd ci: sign windows builds through azure
Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-13 06:07:59 -05:00
Seth Flynn
a9f27ef075 Use libqrencode for MSA QR codes (#3956) 2025-11-13 05:11:38 -05:00
Seth Flynn
83b4a31144 build(vcpkg): use a minimal libqrencode build
`libpng` in vcpkg doesn't have the right patches (libpng@ed68998) to
build with universal binary support on macOS, so let's avoid building it
(we need to bump our baseline for this too)

Thanks for letting me know it was optional, Kode :)

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-13 04:13:02 -05:00
Seth Flynn
3b9e020115 feat(ui/MSALoginDialog): use libqrencode for qr codes
`qrcodegen` isn't available in most repositories, package discovery
scripts for it are maintained in a different repository, and they are
bugged for Windows at least. This basically forces us into vendoring it,
which isn't cool; libqrencode seems like viable alternative used by many
more apps

Signed-off-by: Seth Flynn <getchoo@tuta.io>
2025-11-13 04:12:52 -05:00
TheKodeToad
29bb9fe9f3 Revert some things caught in the crossfire
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-10 19:01:24 +00:00
TheKodeToad
51a1e3bfe0 Merge remote-tracking branch 'upstream/develop' into no-ensure
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-10 18:56:32 +00:00
TheKodeToad
ff1690532d fix mod select (#4305) 2025-11-10 16:55:21 +00:00
TheKodeToad
79fddf8a86 Remove icon from PageContainer header
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-10 00:03:30 +00:00
TheKodeToad
6475ce6623 Remove some redundant default values
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 22:21:46 +00:00
TheKodeToad
755ddd0f7f Remove traces of ensure helpers
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 21:35:21 +00:00
TheKodeToad
e42c9d2a1d Remove ensure JSON helpers
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 21:35:11 +00:00
Alexandru Ionut Tripon
b070ffaf72 Fix modpack search abort crash (#4327) 2025-11-09 23:17:55 +02:00
Alexandru Ionut Tripon
2563e280a4 fix: declare the flame icon like the others in multimc.qrc (#4326) 2025-11-09 23:17:40 +02:00
Alexandru Ionut Tripon
89edc7c826 chore: update to latest version of sparkle framework (#4325) 2025-11-09 23:17:18 +02:00
Alexandru Ionut Tripon
ca3cadc377 chore(nix): update lockfile (#4324) 2025-11-09 23:17:04 +02:00
Alexandru Ionut Tripon
20896855cc Cleanup main.cpp (#4318) 2025-11-09 23:16:54 +02:00
Alexandru Ionut Tripon
fe01aabc10 Fix fractional scaling issues on skin preview (#4310) 2025-11-09 23:15:59 +02:00
Alexandru Ionut Tripon
609aa9f7f3 fix crash when failing to download file (#4249) 2025-11-09 23:08:20 +02:00
TheKodeToad
80db7437d0 Ensure correct image format when importing skin files (#4053) 2025-11-09 21:00:56 +00:00
Kenneth Chew
d937563ead Pick out additional fixes, functionality to SecurityBookmarkFileAccess
Match the state of this class with the current state of the macOS sandbox PR

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-11-09 14:43:57 -05:00
Kenneth Chew
efe1d71d35 Generate security-scoped bookmarks on startup
Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-11-09 14:43:57 -05:00
Kenneth Chew
710789b701 Use security-scoped bookmarks to keep track of data directory settings on macOS
This enables sandboxed apps to maintain access to user-selected items. In addition, for both sandboxed and nonsandboxed apps it can keep track of directories even if they are moved or renamed, and can remember access to directories in "sensitive" locations (such as the Documents folder or external drives).

Signed-off-by: Kenneth Chew <79120643+kthchew@users.noreply.github.com>
2025-11-09 14:43:55 -05:00
TheKodeToad
98afd2086a Make sure nullptr on_abort never gets called
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 10:52:24 +00:00
TheKodeToad
df35d5eb14 Fix crash when modpack search is aborted
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2025-11-09 10:44:23 +00:00
DioEgizio
00eef96f48 fix: declare the flame icon like the others in multimc.qrc
this fixes the flame icon not rendering on macOS with recent versions of Qt

Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2025-11-09 10:43:36 +01:00
DioEgizio
42b53504be chore: update to latest version of sparkle framework
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2025-11-09 09:01:24 +01:00
github-actions[bot]
e3be434e94 chore(nix): update lockfile
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15?narHash=sha256-kJ8lIZsiPOmbkJypG%2BB5sReDXSD1KGu2VEPNqhRa/ew%3D' (2025-10-31)
  → 'github:NixOS/nixpkgs/ae814fd3904b621d8ab97418f1d0f2eb0d3716f4?narHash=sha256-YRqMDEtSMbitIMj%2BJLpheSz0pwEr0Rmy5mC7myl17xs%3D' (2025-11-05)
2025-11-09 00:29:30 +00:00
Dylan Schooner
1fa486a795 Extend Ctrl+C functionality to requiredByItem and customPathItem
Refactor appendResource to remove redundant insertChildren calls

Signed-off-by: Dylan Schooner <dschooner05@gmail.com>
2025-11-08 10:55:34 -05:00