Commit Graph

76 Commits

Author SHA1 Message Date
Emma Tebibyte 132d82680b Merge pull request 'Fix error when no facets are specifed' (#16) from BlankParenthesis/hopper:fix-filter into main
Reviewed-on: #16
2022-12-24 04:06:21 +00:00
Emma Tebibyte 5ae5aa668d Merge pull request 'Implement Error parsing for API responses' (#18) from BlankParenthesis/hopper:handle-status-errors into main
fixes #20
2022-12-24 03:56:06 +00:00
Emma Tebibyte 3c87609720 Merge pull request 'Add User-Agent to requests' (#17) from BlankParenthesis/hopper:add-user-agent into main
Reviewed-on: #17
2022-12-24 03:47:48 +00:00
[ ] 552d75cbff Implement Error parsing for API responses 2022-12-09 06:01:37 +00:00
[ ] 9064888265 Add User-Agent to requests
Modrinth strongly encourages (via the following response header) that
access to their services be done with a uniquely identifying user-agent
string.

> "x-user-agent-notice": "!!!!! Hey, you! Yes, **you**! You need to
> change your User-Agent ASAP or you may be blocked from using
> Modrinth's services! For more information see the documentation:
> https://docs.modrinth.com/api-spec/#section/User-Agents !!!!!"

The one added here follows the documentation recommendation for the
"best" example of a user-agent string.
2022-12-09 05:13:43 +00:00
[ ] f7ba63b492 Fix error when no facets are specifed
The Modrinth API seemingly doesn't support an empty list for the facets
parameter. This solution simply skips adding that paremeter if it is
empty.
2022-12-09 04:18:15 +00:00
Emma Tebibyte 74de0d15b3 Merge pull request 'Better README' (#15) from readme into main
Reviewed-on: #15
2022-12-08 20:07:59 +00:00
Emma Tebibyte 36d67a1a61 comma delineated 2022-12-08 15:06:35 -05:00
Emma Tebibyte 015ab836c0 minor changes 2022-12-08 15:03:00 -05:00
Emma Tebibyte b2b4b388e9 add types i was unaware of 2022-11-17 15:36:03 -05:00
Emma Tebibyte 962d11807e add types specification and replace polymc with prismlauncher 2022-11-17 15:31:32 -05:00
Emma Tebibyte 1a120e816e alphabetization 2022-11-17 15:20:48 -05:00
Emma Tebibyte 8cbc28a8c1 formatting for -f option in update subcommand 2022-11-17 15:15:49 -05:00
Emma Tebibyte 9e51aca6d3 OPTIONS headings were more readable before 2022-11-17 15:14:22 -05:00
Emma Tebibyte 4dc5cea89a fixed some problems with the command structure 2022-11-17 15:09:19 -05:00
mars 716579f824 Merge pull request 'Add support for filtering plugins and resource packs' (#14) from PluginResourcePackSupport into main
Reviewed-on: #14
2022-10-25 02:32:30 +00:00
spookdot ace6b25381 Add plugins and modpack distinction 2022-09-16 18:51:55 +02:00
spookdot 6b37d007c7 Added package type filter 2022-09-12 01:05:23 +02:00
mars 6ab97922cb Merge pull request 'Changed out StructOpt for Clap' (#13) from UpgradeToClap into main
Reviewed-on: #13
2022-09-09 10:00:14 +00:00
Emma Tebibyte a5d3ff4231 specified types 2022-09-06 19:00:08 -04:00
spookdot f5887df96d Changed out StructOpt for Clap 2022-09-06 23:12:00 +02:00
Emma Tebibyte 3d3bf22cab Merge pull request 'README definition of specification' (#12) from design into main
Reviewed-on: #12
2022-09-06 07:15:56 +00:00
mars 12cda62da0 Merge pull request 'Move functions into new HopperClient struct' (#10) from HopperClient-rewrite into main
Reviewed-on: #10
2022-09-06 05:12:07 +00:00
Emma Tebibyte 48e0349848 grammar and formatting 2022-09-05 04:25:09 -04:00
Emma Tebibyte e2ae0ee88f fixed indents pt. 3 for i am a fool 2022-09-04 19:42:23 -04:00
Emma Tebibyte 75d3db9f50 fixed indents pt. 2 2022-09-04 19:42:23 -04:00
Emma Tebibyte cf2c8df86b fixed indents 2022-09-04 19:42:23 -04:00
Emma Tebibyte 9b41e09d46 updated README 2022-09-04 19:42:23 -04:00
Spookdot f5b6afd790 Move functions into new HopperClient struct 2022-08-25 11:39:54 +02:00
mars 0d8aaaf2c9 Merge pull request 'ModrinthAPIv2' (#9) from spookdot/hopper:ModrinthAPIv2 into main
Reviewed-on: #9
2022-08-22 20:31:19 +00:00
Spookdot 7d3a1c4a66 Fix Type on nullable types 2022-08-20 00:27:24 +02:00
Spookdot d2325fe31f Update URLs and Structs for Modrinth API v2 2022-08-20 00:17:55 +02:00
mars 44a81cf148 Update Modrinth API objects 2022-08-13 18:01:44 -06:00
mars ea28b0c904 Add logging of all requests 2022-08-13 18:01:25 -06:00
mars 8ea2a7777c Clean up select_from_results and add ranged selection 2022-08-13 17:32:01 -06:00
Marceline Cramer 6160a9a508
Add ASCII art hopper logo + title 2022-01-23 22:41:03 -07:00
Emma Tebibyte be54f355c8
Fixing Discord link 2022-01-21 15:28:00 -05:00
marceline-cramer b4ab1bf1d4 Split up source into several files 2021-12-10 21:20:26 -07:00
marceline-cramer 30e8c782df Add option to restrict Minecraft version
Add log and env_logger
2021-12-10 21:03:04 -07:00
Marceline Cramer af3f60be5d
Merge pull request #4 from tebibytemedia/todo-hunt
Todo hunt
2021-12-10 20:41:29 -07:00
Marceline Cramer 28968116f8
Merge branch 'main' into todo-hunt 2021-12-10 20:41:22 -07:00
marceline-cramer 10d6710232 Properly pad mod indices 2021-12-10 20:40:26 -07:00
Emma Tebibyte cefa075b4d
Update FUNDING.yml to include Open Collective 2021-12-08 11:10:33 -05:00
marceline-cramer d60ae8aac7 Add License object 2021-11-30 17:34:48 -07:00
marceline-cramer cbfaf4fd6e Add get params to SearchArgs + migrate README todos 2021-11-30 17:30:29 -07:00
marceline-cramer 9c3e11f0d8 Remove reversed search results TODOs 2021-11-30 17:20:08 -07:00
Marceline Cramer 3974fa367f
Update README.md 2021-11-30 16:19:18 -07:00
Marceline Cramer 0c8f476384
Merge pull request #2 from tebibytemedia/dialogue
Dialogue prompts
2021-11-30 16:14:25 -07:00
marceline-cramer 814cf8ed36 Dynamic progress messages + TODOs 2021-11-30 16:09:38 -07:00
marceline-cramer 1fc350d269 Add -y flag
Refactor using AppContext (needs more work)
2021-11-30 12:31:47 -07:00