33 Commits

Author SHA1 Message Date
comp500
d34728f347 Add support for CF files marked with Quilt (fixes #127) 2022-06-05 04:39:51 +01:00
comp500
e71b63ea98 Check if download URL is null instead of allowModDistribution; fixes issue with null values for latter 2022-05-23 01:39:07 +01:00
comp500
dae133b73c Completed download implementation for Modrinth export 2022-05-21 05:00:21 +01:00
comp500
e73fa8c48a Continued work on download system (cache + cf meta now implemented) 2022-05-18 22:11:28 +01:00
comp500
0f3096e251 Use the correct directories for non-mod files; use .pw.toml extension
The mods-folder option is now replaced with two new options: meta-folder and meta-folder-base
This allows non-mod files to use the correct directory based on their category; with correct
import of resource packs/etc from CurseForge packs, and the ability to override this behaviour.
To improve the reliability of packwiz metadata file marking (in the index), new files now use .pw.toml
as the extension - any extension can be used, but .pw.toml will now be automatically be
marked as a metafile regardless of folder, so you can easily move metadata files around.
Existing metadata files will still work (as metafile = true is set in the index); though in
the future .pw.toml may be required.
2022-05-16 21:06:10 +01:00
comp500
d73c7e809b Reworked install command to use new slug lookup API, and support any game/category
New --category and --game flags allow using categories other than Minecraft mods (also parsed from URLs)
Fixed loader checks to allow a project with no loaders in the version list
Improved error messages and docs
Fixed sending empty mod requests when dependencies were already installed
Slug lookup now defaults to no category, forcing a user to interactively select a project (--category should guarantee no interactivity)
Added project summaries to search results
Fixes #112
2022-05-16 17:09:28 +01:00
comp500
0c5ff0b7bb Change backend request code to use new CurseForge API (WIP)
See the packwiz Discord for more information, as the changes with the new API Terms and Conditions have some implications for packwiz.
This commit isn't fully functional yet; I have more changes to make.
2022-05-07 18:18:57 +01:00
comp500
e29c3022b3 Improve error messages when unable to find a CF file/addon 2022-04-23 20:09:10 +01:00
comp500
f58e16ff81 Batch CF import file requests for significantly improved speed 2022-02-14 19:13:27 +00:00
comp500
55ce2fb581 Use new SHA1/MD5 hashes from CurseForge API 2022-02-14 18:21:22 +00:00
comp500
4abf3340a1 Move to packwiz org 2021-12-28 16:28:34 +00:00
comp500
7ac193eb87 Fix query encoding in CurseForge search (fixes #44) 2021-06-24 09:11:41 +01:00
comp500
896b9548de Fabric filtering and native export for CurseForge 2021-06-15 03:09:49 +01:00
comp500
bd9f5dbebc Fix mod URLs in modlist.html export 2021-03-14 16:21:58 +00:00
comp500
8325f07f18 Filter curseforge slug -> ID conversion for only mods 2020-11-05 17:02:02 +00:00
comp500
7041e37eea Fix GraphQL syntax, supply operation name 2020-10-06 16:59:49 +01:00
comp500
4d4f0d143e Add cf detect command (experimental but should mostly work) 2020-08-06 22:24:58 +01:00
comp500
1b21b91ac2 Stupid goland refactoring stuff it shouldn't 2020-03-25 20:24:31 +00:00
comp500
615fe97369 Add rudimentary support for addonid/fileid specifying on command line 2020-03-25 20:17:45 +00:00
comp500
a553c3ce08 Fix unhandled error warnings, error messages (except import.go) 2019-11-15 22:28:14 +00:00
comp500
5ba9ff5c73 Fix some printfs, clean regexes, switch to fuzzy matching for search 2019-11-01 15:46:50 +00:00
comp500
8dd47e2cbb
Automagically install dependencies 2019-06-18 18:20:23 +01:00
comp500
ebc2115b41
Select file id, improve searching 2019-06-14 20:13:00 +01:00
comp500
10beffb30c
Add mod searching 2019-06-13 22:54:25 +01:00
comp500
683e125987
Improve import code, add promptui dep 2019-06-13 21:44:49 +01:00
comp500
25747ad8bd
It Actually Works!!! 2019-06-12 21:35:44 +01:00
comp500
fa2f7e499e Revert "Fix time, it actually uses the RFC now"
This reverts commit d0e4ccb681555c79bf1d3ddea8c0fab760bf661f.
2019-06-12 19:16:43 +01:00
comp500
d0e4ccb681
Fix time, it actually uses the RFC now 2019-06-12 17:21:29 +01:00
comp500
c19a4b1e60
Switch to Curse API, as auth is not needed anymore 2019-06-12 15:17:56 +01:00
comp500
ef98591d02
Actually write mod files
but aaa it doesn't use the struct tags properly so things are bad
2019-05-11 14:32:14 +01:00
comp500
3fdac51d22
Mod metadata retrieval 2019-05-11 01:43:34 +01:00
comp500
6c820a3748
Mod info retrieval 2019-05-06 16:42:14 +01:00
comp500
857f692fc6
WIP curseforge integration 2019-04-30 17:03:22 +01:00