Commit Graph

343 Commits

Author SHA1 Message Date
arthomnix
4f95e4618f NOISSUE Modrinth exporter: lookup all hashes in one request 2023-02-05 21:09:16 +00:00
arthomnix
496440cbc8 NOISSUE Handle Modrinth files with multiple downloads 2023-02-05 17:36:44 +00:00
arthomnix
bea3251d9c NOISSUE Fix typo in Modrinth exporter 2023-02-05 16:44:44 +00:00
arthomnix
c7b0d15393 NOISSUE Fix build on Qt 5.4 (hopefully) 2023-02-05 16:33:20 +00:00
arthomnix
e463edb185 GH-4699 Warn when exporting instance with custom components 2023-02-05 15:55:49 +00:00
arthomnix
82dde9f426 Update copyright years 2023-02-05 14:48:28 +00:00
arthomnix
aae2f23eb6 GH-4699 Move ModrinthInstanceExportTask to modplatform/modrinth; truncate error messages in dialog 2023-02-05 14:28:18 +00:00
arthomnix
a452b7ee96 GH-4699 Set Modrinth exporter task status 2023-02-05 12:33:56 +00:00
arthomnix
01f3511e88 GH-4699 Improve export instance menu 2023-02-05 12:11:27 +00:00
arthomnix
a1f256a745 GH-4699 Add global datapacks support to Modrinth exporter 2023-02-05 12:03:00 +00:00
arthomnix
a6dff61ff7 GH-4699 Formatting 2023-02-05 10:15:29 +00:00
arthomnix
74addfb78b GH-4699 Clean some things up
Add a menu to select between MMC/Modrinth format packs instead of the custom dialog
Treat 404s on requests to the Modrinth API as success, as the API returns a 404 if a hash was not found, and we don't want to retry the download in this case
Improve logging
2023-02-05 10:13:13 +00:00
arthomnix
16cf56b7a4 GH-4699 Modrinth pack exporter (WIP) 2023-02-04 21:41:24 +00:00
Petr Mrázek
867d240a2f NOISSUE update copyright year a bit 2023-02-03 23:30:59 +01:00
Petr Mrázek
458944ad91 NOISSUE Remove concept of switching update channels
It is all develop from now on, we no longer make stable releases.
This means no maintenance of version numbers and removal
of all the overhead associated with making stable releases.

MultiMC 6 might have a better system, but with how infrequent and stable
MultiMC releases are getting, there's no need to have a distinction
between `stable` and `develop` anymore.
2023-02-03 23:05:27 +01:00
Petr Mrázek
75568ed04b NOISSUE and don't break the thing in the process... 2023-02-02 21:43:01 +01:00
Petr Mrázek
f624754f0c NOISSUE Improve path parsing for modrinth packs 2023-02-02 20:51:23 +01:00
graywolf
cb81cb9835
Update LaunchController.cpp 2023-01-06 12:59:45 +08:00
arthomnix
73e1d15ab9 GH-4978 Correctly emit failed when attempting to relogin to msa on osx64 2022-12-01 20:54:04 +00:00
arthomnix
e5b7517d2f GH-4978 Remove testing code 2022-12-01 20:50:36 +00:00
arthomnix
0fd546a11c GH-4978 Add button to log back in when account expired 2022-12-01 20:21:37 +00:00
Petr Mrázek
e044744faf NOISSUE add a way to require object from Json value ref 2022-11-20 15:59:52 +01:00
arthomnix
149adbd1d6 NOISSUE Load ShowGameTimeHours setting correctly on settings page
Bugfix for #4964
2022-11-20 11:45:34 +00:00
Petr Mrázek
30312ea701 And fix a build issue 2022-11-20 00:12:46 +01:00
arthomnix
858487521e NOISSUE Escape quotes in paths
Just in case the user decides to place MMC in a path containing quotes.
.desktop files appear to require two backslashes to escape quotes, testing on other desktop environments would be appreciated to make sure this isn't just a KDE-specific bug
2022-11-20 00:04:03 +01:00
arthomnix
08dd08afc1 NOISSUE Enclose all arguments in quotes, fix batch scripts 2022-11-20 00:04:03 +01:00
arthomnix
6307689cf1 NOISSUE Use .command extension for shortcut scripts on macOS
This means that the script will run when clicked, instead of being opened in a text editor
2022-11-20 00:04:03 +01:00
arthomnix
86f68389c9 NOISSUE Add button to copy MSA code 2022-11-20 00:04:03 +01:00
Petr Mrázek
7354c578fd NOISSUE Move hour formatting for play time to a function 2022-11-20 00:01:21 +01:00
Petr Mrázek
90b16fb903
Merge pull request #4928 from ryanbrown535/develop
GH-4901 Confirm screenshot upload
2022-11-19 23:48:46 +01:00
Petr Mrázek
8335432543
Merge pull request #4947 from jamierocks/managed-packs
Record where packs come from
2022-11-19 23:48:16 +01:00
Petr Mrázek
319ba3c8f9
Merge pull request #4948 from jamierocks/technic-improvements
Technic: Display available versions for Solder packs
2022-11-19 23:44:24 +01:00
Petr Mrázek
9e5883c173
Merge pull request #4946 from jamierocks/atl-colours
Display mod colours in optional mod dialog
2022-11-19 23:43:06 +01:00
Petr Mrázek
597da783d7
Merge pull request #4964 from arthomnix/feature/playtime-format-customisation
NOISSUE Add setting to display playtime in hours only
2022-11-19 23:35:33 +01:00
Petr Mrázek
1849db93ec Fix a build problem 2022-11-19 23:23:11 +01:00
arthomnix
b82d667859 NOISSUE Add setting to display playtime in hours only 2022-11-02 16:11:56 +00:00
Jamie Mansfield
9bdfa5c8de
NOISSUE Make Technic API base URL and build constants 2022-10-20 16:46:12 +01:00
Jamie Mansfield
fb0970b496
NOISSUE Verify checksums for pack build mods 2022-10-20 16:46:12 +01:00
Jamie Mansfield
b6290ac254
GH-3516 Display available versions for Solder packs 2022-10-20 16:46:12 +01:00
Jamie Mansfield
b8a736c673
NOISSUE Replace inline parsing code with Solder API models 2022-10-20 16:46:03 +01:00
Jamie Mansfield
18f790953a
NOISSUE Add API models for Solder packs
This will be able to replace the ugly parsing/usage code that
currently exists in the Solder install task :)
2022-10-20 16:46:03 +01:00
Jamie Mansfield
2334a44221
NOISSUE Match CurseForge pack description format in Technic UI 2022-10-20 16:46:03 +01:00
Jamie Mansfield
65a4f8919a
NOISSUE Include the modpack version in instance title 2022-10-20 16:46:03 +01:00
Jamie Mansfield
ddc094b76b
NOISUE Prevent potential HTML injection 2022-10-20 16:46:03 +01:00
Jamie Mansfield
e35f2b6c2c
NOISSUE Allow Technic pack API urls to be used in search
This mimics the behaviour that the Technic launcher has, and their
website displays API URLs for.

The big benefit of this, is to be able to install private packs now :)
2022-10-20 16:45:55 +01:00
Jamie Mansfield
064c0febd3
NOISSUE Make ATLauncher packs managed when installing 2022-10-19 16:56:26 +01:00
Jamie Mansfield
79204e5df0
NOISSUE Pass the full pack name through to the install task 2022-10-19 16:56:15 +01:00
Jamie Mansfield
79cd37be94
NOISSUE Add settings to support managed packs
Managed packs means an installation of a modpack through a modpack
provider. Managed packs track their origins (pack platform, name, id),
so that in future features can exist around this - such as updating, and
reinstalling.
2022-10-19 16:52:37 +01:00
Jamie Mansfield
dbe7d9ea2e
NOISSUE Display mod colours in optional mod dialog 2022-10-19 13:00:54 +01:00
Jamie Mansfield
b433882ac1
NOISSUE Add missing QMap include
This should fix the build.
2022-10-19 12:51:15 +01:00
Jamie Mansfield
c24a89f3af
NOISSUE Display warnings when selecting optional mods 2022-10-18 21:40:05 +01:00
Jamie Mansfield
41f728b22f
NOISSUE Pass the optional mod dialog the full version
We will need more information, let's just pass the whole thing.
2022-10-18 21:39:37 +01:00
Jamie Mansfield
af36e5c43f
NOISSUE Display ATLauncher install messages 2022-10-18 21:39:36 +01:00
ryanbrown535
c37b7f771e Confirm screenshot upload
Adds a message box on upload asking if the user is sure they want to upload to imgur
2022-10-02 20:45:06 -04:00
Davide Pierotti
b069478f6e NOISSUE Consistently express 'exit code' in logs 2022-09-17 15:42:02 +02:00
John Helmert III
5488ab11d4
Drop execute bits from .desktop file
There shouldn't be any reason for the desktop file to be executable,
and this is sometimes against policy in downstream distributions:

https://wiki.gentoo.org/wiki/.desktop_files#Executable_bit_in_.desktop_files

Bug: https://bugs.gentoo.org/866443
Signed-off-by: John Helmert III <ajak@gentoo.org>
2022-08-24 23:00:51 -05:00
Petr Mrázek
b5e81bbb0d
Merge pull request #4842 from arthomnix/shortcut-path-fix
NOISSUE Fix shortcut creation on official Linux builds
2022-07-19 21:54:35 +02:00
Petr Mrázek
ec498074c1 NOISSUE improve Modrinth description's page rendering 2022-07-19 21:46:28 +02:00
arthomnix
2517671396 NOISSUE Use current working directory instead of applicationDirPath in shortcut creation
This fixes issues with official Linux builds which place the executable in its own bin directory
2022-07-19 20:43:54 +01:00
Petr Mrázek
e5c962b7b9 NOISSUE acknowledge the truth 2022-07-19 19:04:29 +02:00
arthomnix
844ed61aa4 NOISSUE Yeet the version check 2022-07-19 17:14:46 +01:00
Petr Mrázek
bec8293f28
Merge pull request #4808 from arthomnix/feature-create-shortcut
NOISSUE (Re-)implement the ability to create instance shortcuts
2022-07-19 17:25:35 +02:00
arthomnix
ffec1e1930 GH-4812 Set placeholder even if the user has changed the name 2022-07-11 19:55:36 +01:00
arthomnix
ec897aee95 GH-4812 More improvements related to instance name
Selects text on focus rather than selecting text and focusing by default. Text is not selected if the user has changed the name from the default.
If the user changes the instance name, don't change it when they select a new version or modpack.
Add a reset button that changes the instance name back to the default for the selected version/pack, and resets the flag that stops the name from being changed upon selecting a new version/pack.
2022-07-11 19:51:31 +01:00
arthomnix
00589b247a GH-4812 Prefill instance name to allow making adjustments
Fills the instance name in instead of just setting a placeholder. This allows adjustments to be made to the suggested name without typing the whole thing out.
The text is selected by default so that typing will overwrite the text, but users who want to adjust the default name instead of typing their own can deselect the text.
The placeholder name is still set so it is still visible if the user deletes the text.
Also sets the focus to the instance name textbox by default, whereas previously it was on the group name - this is required so the text gets overwritten on typing but also makes more sense generally.
Closes issue #4812.
2022-07-11 18:02:20 +01:00
xcfrg
346496c3fd
fix: log file extension of mods to clear ambiguity 2022-07-08 23:28:03 -04:00
arthomnix
518b19e667 NOISSUE shortcut creation: enclose paths in quotes 2022-07-06 08:03:04 +01:00
xcfrg
3621594213
feat: add log upload confirmation 2022-07-05 23:33:04 -04:00
arthomnix
79910e3542 NOISSUE shortcut creation: put file dialog in save mode
This makes sure that the user is prompted if they are about to overwrite a file
2022-07-03 19:53:45 +01:00
arthomnix
0a2ad17f06 NOISSUE shortcut creation: add comments and todo 2022-07-03 18:11:18 +01:00
arthomnix
7df413db1a NOISSUE shortcut creation: blacklist versions by date instead of regex 2022-07-03 16:57:20 +01:00
arthomnix
6faa0ef711 NOISSUE shortcut creation: reload pack profile before checking version 2022-07-03 16:43:23 +01:00
arthomnix
363588789e NOISSUE shortcut creation: fix version check 2022-07-03 16:30:30 +01:00
arthomnix
2dc44b3ff5 NOISSUE fix build 2022-07-03 16:21:21 +01:00
arthomnix
7938585abb NOISSUE shortcut creation: add version blacklist for joining server on launch
These versions are known to crash when joining a server on launch (see MC-145102 and MC-228828)
2022-07-03 15:47:54 +01:00
arthomnix
bbdbe47e72 NOISSUE actually use the directory as the working directory 2022-07-03 14:19:50 +01:00
arthomnix
75b8765604 NOISSUE shortcut creation: set working directory in other shortcut types 2022-07-03 14:00:55 +01:00
arthomnix
7217e3991a NOISSUE shortcut support: set working directory in .desktop files 2022-07-03 13:45:58 +01:00
arthomnix
bf5be5568e NOISSUE curly brace formatting 2022-07-03 13:17:25 +01:00
arthomnix
018e6229ca NOISSUE shortcut creation: add windows .lnk support 2022-07-03 13:07:21 +01:00
arthomnix
21413b964a NOISSUE replace copyright header that got removed by qt designer 2022-07-03 09:56:16 +01:00
arthomnix
6a3ff58c8c NOISSUE shortcut creation: add option to create launch scripts
This allows shortcuts to be created on Macs (which don't have a concept of desktop shortcuts) as well as Linux systems that don't support the desktop file specification. Also included a windows batch file implementation.
2022-07-03 09:52:56 +01:00
arthomnix
645bc3f445 NOISSUE shortcut creation: set default shortcut filename 2022-07-03 08:33:46 +01:00
arthomnix
a0c44f7062 NOISSUE shortcut creation: add icons on linux 2022-07-03 08:27:13 +01:00
arthomnix
6c31125f02 NOISSUE fix arrangement of includes again 2022-07-03 07:57:15 +01:00
arthomnix
b326fef61b NOISSUE fix arrangement of includes 2022-07-03 07:56:25 +01:00
arthomnix
5d14dede50 NOISSUE WIP implementation of the ability to create instance shortcuts
Currently Linux-only and lacking some features
2022-07-03 07:54:20 +01:00
Petr Mrázek
bf80bd1143 NOISSUE implement handling of client-overrides for Modrinth 2022-06-13 23:41:47 +02:00
Petr Mrázek
0917706b22 GH-4724 set suggested version for Modrinth packs when it is changed 2022-06-11 17:44:51 +02:00
Petr Mrázek
c7256744c6 GH-3012 add --offline and --name arguments
These allow launching offline with a specified name from the command line.
2022-06-09 23:46:28 +02:00
Petr Mrázek
8235752dec NOISSUE stop marking Modrinth as WIP
Even though it might need more changes, it should be good to go.
2022-06-09 20:17:49 +02:00
Petr Mrázek
dd277cba08 NOISSUE properly assign license to Mojang binary package code 2022-06-06 22:12:21 +02:00
Petr Mrázek
fe75a7f09e NOISSUE slightly improve Forge detection in FTBA import 2022-06-05 00:09:28 +02:00
Petr Mrázek
305157746a NOISSUE Do not log Mojang token response 2022-06-05 00:08:49 +02:00
Petr Mrázek
214d615d18 NOISSUE significantly more reliable detection of modloaders for FTBA 2022-05-30 01:38:19 +02:00
Petr Mrázek
66c6e6e05d NOISSUE disambiguate Json parsing calls 2022-05-29 04:58:42 +02:00
Petr Mrázek
f59822fd65 NOISSUE make FTBA import more lenient towards missing fields 2022-05-29 04:24:55 +02:00
Petr Mrázek
43ebd02dcf NOISSUE it's LOCALAPPDATA not APPDATALOCAL... 2022-05-29 00:27:28 +02:00
Petr Mrázek
8a6f673567 NOISSUE maybe fix FTBA path on Windows? 2022-05-29 00:00:38 +02:00
Petr Mrázek
efe181bd28 NOISSUE maybe fill in correct FTB App settings paths 2022-05-28 23:23:45 +02:00