Commit Graph

271 Commits

Author SHA1 Message Date
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
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