2d68308d49
refactor: move url creation for mods to modplatform/
...
Moves all things related to creating the URLs of the mod platforms
that go to network tasks to a single place, so that:
1. Maintaining and fixing eventual issues is more straightforward.
2. Makes it possible to factor out more common code between the
different modplatform pages
2022-03-02 23:13:04 -03:00
0dd1c26cf3
refactor: extract common code in mod pages and model
...
This creates a hierarchy in which ModPage and ModModel are the parents
of every mod provider, providing the basic functionality common to all
of them.
It also imposes a unique .ui file (they were already equal before, just
duplicated basically) on all mod providers.
2022-03-02 21:52:44 -03:00
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
8bdd2befe9
Merge pull request #205 from timoreo22/fix-version-select
...
Fixed wrong version info
2022-03-01 16:56:10 +01:00
075d900d45
fix: Always tell Flame API which modloader we are using
...
Fixes #206 partially. Although we don't list mods that have no
compatibility with the mod loader we are using, mods that have support
for both loaders still show up, and the versions for both the loaders
are still shown.
Also simplifies a little the logic in
FlameModIndex::loadIndexedPackVersions
2022-02-27 16:07:45 -03:00
ccc493cb2b
Cleanly free NetJob in flame modpack
2022-02-27 13:14:12 +01:00
2745325ae0
Fixed wrong version info
2022-02-27 11:55:24 +01:00
c4f4e9e620
merge upstream and resolve conflicts
2022-02-25 13:43:27 -03:00
f2b850ad20
Merge pull request #183 from timoreo22/fix-versions-segfault
...
Fixed segfault in mod download
2022-02-26 01:55:11 +11:00
1004211a66
fix(ui): change text in selection button when there's no valid version
2022-02-21 22:52:50 -03:00
f5cf4eb45f
feat(ui): allow downloading multiple mods from CurseForge at once
2022-02-21 21:53:21 -03:00
512395e3f1
feat(ui): allow downloading multiple mods in Modrinth at once
2022-02-21 21:34:53 -03:00
9c6727e27f
feat: change task container in ModDownloadDialog to a QHash
...
Previously, we used a unique_ptr to a ModDownloadTask to keep track of
the selected mod to download when we accepted the dialog.
In order to allow multiple mods to be selected at once for download,
this has been changed to a QHash where the key is the mods name (since
it doesn't seem right to allow for multiple versions of the same mod to
be downloaded at once), and the value is a pointer to the corresponding
ModDownloadTask.
2022-02-21 21:34:06 -03:00
a70d1f1a91
refactor: drop LegacyInstance
2022-02-21 22:30:44 +01:00
6d1f9d4d02
fix
2022-02-21 12:44:34 -05:00
da70122d9c
remove notifications
2022-02-20 19:23:08 -05:00
adacab3349
Fixed segfault when closing window while version info download is still going
2022-02-19 15:17:45 +01:00
a309f4e721
fix: MSA = Microsoft Authentication
2022-02-12 21:27:35 +01:00
159d868b77
fix(ui): explain why 'Add Microsoft' might be disabled
2022-02-12 21:27:35 +01:00
0854e83ce4
feat: implement MSA client id override
...
Closes #11
2022-02-12 21:27:32 +01:00
bb02226870
feat(ui): add custom MSA client id setting
2022-02-12 21:05:42 +01:00
a17e5d0a4d
Merge pull request #129 from timoreo22/fix-mod-name
...
Fixed the download menu putting the wrong name
2022-02-10 23:41:27 +00:00
35d2ae3ef7
Remove drama from readme and remove mmc discord link
2022-02-10 11:21:25 +00:00
86935068f5
Fix wrong mod file name
2022-02-04 16:24:19 +01:00
2177aa2a6b
Merge branch 'offline-mode-accounts' of git://github.com/NyaomiDEV/PolyMC into feature/offline_mode
2022-02-03 13:54:27 -05:00
e2952061af
Merge branch 'feature/download_mods' of git://github.com/timoreo22/PolyMC into feature/download_mods
2022-02-03 13:45:20 -05:00
f5358aa1ca
Merge branch 'develop' into feature/close_after_launch
2022-02-03 13:43:44 -05:00
3d3f9a8609
make closeAfterLaunch good
2022-02-03 12:50:24 -05:00
407f9d9ef0
Merge remote-tracking branch 'upstream/develop' into develop
2022-02-02 11:17:04 -05:00
aa2c27bf69
Update to Modrinth API V2
2022-01-31 17:18:11 +01:00
2cf04d034a
Merge pull request #4300 from Ghosty141/feature/screenshot_copy
...
GH-4044 Implemented copy screenshots to the clipboard
2022-01-30 16:11:47 +01:00
e0a04c5031
Lock offline mode support behind insertion of at least one Minecraft account
...
Co-Authored-By: Naomi Calabretta <tony0000.ac@gmail.com >
2022-01-30 02:42:29 +01:00
9d23ac562f
Add offline mode support
2022-01-30 02:35:56 +01:00
0065a29901
Close after Launch setting
2022-01-29 19:04:44 -05:00
efc44c56a6
Fix button being present in other pages
2022-01-28 19:32:42 +01:00
8b790a6dd9
Merge branch 'PolyMC:develop' into feature/download_mods
2022-01-28 18:12:35 +01:00
5ac528f141
Fix icons changing when exiting the settings window
2022-01-27 18:37:57 -05:00
02889b7a11
Merge pull request #67 from PolyMC/feature/no_paste_ee
...
Full replacement of paste.ee
2022-01-26 17:40:49 -05:00
0eff21a4f1
Validate Pastebin URL with regex
2022-01-26 00:34:02 +00:00
1d0e6bf453
Changed modrinth author data to not be a list
2022-01-24 07:23:01 +01:00
a2d88f6df4
Fixed spacing
2022-01-24 07:12:19 +01:00
6d22794cf9
Reduce spaghettiness
2022-01-19 09:47:09 +01:00
b50e584369
PasteUpload task changed to use 0x0.st's protocol
...
- Modified PasteUpload task to upload the log file to 0x0.st and other
services with the same protocol.
- Modified Paste settings UI to allow the user to select a custom paste
URL, simplified the settings page code.
2022-01-19 08:27:26 +00:00
affc2521aa
Various fixes
2022-01-18 12:28:55 +01:00
55597b458c
Revert "Merge pull request #50 from bexnoss/offline-mode"
...
This reverts commit b4f750e7db40352111417ea89a9f375ae8c746ab, reversing
changes made to b19e3156154ba0dd232a3d165b1759c57e2858f2.
2022-01-17 03:45:47 +00:00
81fe41a038
Default to colored icons, update copyright
...
Closes : #74
2022-01-16 12:03:30 -05:00
975f77756d
Added curseforge selection
2022-01-16 11:20:21 +01:00
621e0ba4a8
Added smart file selection
...
This might fail in a few special cases
2022-01-15 10:25:24 +01:00
f6de472da2
Added a no version message
2022-01-15 09:06:48 +01:00
4b37c46889
Filtering per mod loader & mc version
2022-01-15 08:51:47 +01:00