Commit Graph

884 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 1c7dfb519d move validation back into .targets for MonoDevelop compatibility 2017-10-10 22:33:45 -04:00
Jesse Plamondon-Willard 1c0d22e82c validate build context before build 2017-10-10 21:59:05 -04:00
Jesse Plamondon-Willard 5dfb12c278 fix input events having decimal tile coordinates (#367) 2017-10-10 02:22:06 -04:00
Jesse Plamondon-Willard c74b21141c work around race condition in game code 2017-10-10 00:49:54 -04:00
Jesse Plamondon-Willard 54128ab482 update mod data 2017-10-10 00:02:31 -04:00
Jesse Plamondon-Willard 4f8994a1de fix update check error 2017-10-09 21:03:25 -04:00
Jesse Plamondon-Willard c456a0f56e don't include Json.NET in mod deploy or release zip since it's loaded by SMAPI 2017-10-09 12:44:48 -04:00
Jesse Plamondon-Willard dad0d67022 rm unneeded code 2017-10-09 12:43:41 -04:00
Jesse Plamondon-Willard d47105a278 update mod build package nuspec 2017-10-08 21:21:11 -04:00
Jesse Plamondon-Willard 475efa12fe rewrite mod build package per new docs 2017-10-08 18:05:47 -04:00
Jesse Plamondon-Willard cd93382c64 move zip logic into method 2017-10-08 15:03:31 -04:00
Jesse Plamondon-Willard abe52deba7 rename build task for broader use 2017-10-08 14:50:04 -04:00
Jesse Plamondon-Willard fd060a0927 move release notes into mod build package docs 2017-10-08 13:04:36 -04:00
Jesse Plamondon-Willard 49f414bec5 move mod build config readme into docs 2017-10-08 02:37:41 -04:00
Jesse Plamondon-Willard ef3a89587c add support for SMAPI 2.0 version strings in mod release zip code 2017-10-08 02:31:51 -04:00
Jesse Plamondon-Willard aae482255c rm redundant code 2017-10-08 02:23:49 -04:00
Jesse Plamondon-Willard 0e5982bf9c escape invalid characters in release zip paths 2017-10-08 02:22:12 -04:00
Jesse Plamondon-Willard ca58da37cd add prerelease tag to zip name & normalise version format 2017-10-08 02:13:08 -04:00
Jesse Plamondon-Willard e2e7e096b7 handle various edge cases in manifest parsing for zip filename 2017-10-08 02:03:55 -04:00
Jesse Plamondon-Willard ddad601de3 move create-zip task into project code 2017-10-08 01:27:52 -04:00
Jesse Plamondon-Willard af68910685 convert mod build config into .NET project to simplify C# build tasks 2017-10-08 00:20:13 -04:00
Jesse Plamondon-Willard 24428d4405 fix duplicate semver regex 2017-10-08 00:11:50 -04:00
Jesse Plamondon-Willard 51f5be1e74 move semver implementation into shared project for reuse 2017-10-08 00:09:16 -04:00
Jesse Plamondon-Willard b7fb188513 rename shared project for broader use 2017-10-07 23:57:47 -04:00
Jesse Plamondon-Willard 99617211fa move license back to root so GitHub sees it, readme tweaks 2017-10-07 23:33:03 -04:00
Jesse Plamondon-Willard 929dccb75a reorganise repo structure 2017-10-07 23:07:10 -04:00
Jesse Plamondon-Willard 926894f8f5 move mod build config files into subfolder 2017-10-07 22:11:12 -04:00
Jesse Plamondon-Willard 7889676ea2 update compatibility list 2017-10-07 20:56:02 -04:00
Jesse Plamondon-Willard 6d7449d00b fix error when checking for updates to a mod with no data record 2017-10-04 23:36:03 -04:00
Jesse Plamondon-Willard 627f20b9c3 update one mod ID 2017-10-02 21:43:15 -04:00
Jesse Plamondon-Willard 365da8e6e4 detect use of 'dynamic' in mod code 2017-10-02 21:39:51 -04:00
Jesse Plamondon-Willard bd4ed43829 fix errors caused by content managers finalizing asynchronously 2017-10-01 14:08:28 -04:00
Jesse Plamondon-Willard 29232ffd45 update mod key 2017-10-01 11:23:50 -04:00
Jesse Plamondon-Willard 5f7640100b update for 2.0 beta release 2017-09-27 20:47:01 -04:00
Jesse Plamondon-Willard 3c42119c8c restore AssemblyRewriters assembly for method injection
This fixes a SMAPI 2.0 issue where mods would fail with MethodAccessException if they used SpriteBatch methods that got rewritten for MonoGame/XNA compatibility, because the methods SMAPI injected were internal. Moving it back into a separate assembly lets us make it public without making it visible to modders.
2017-09-26 21:08:54 -04:00
Jesse Plamondon-Willard 83bc6264e4 simplify API fetch code 2017-09-26 20:46:25 -04:00
Jesse Plamondon-Willard b67c0602c6 remove base.Entry() method calls (#362) 2017-09-26 16:45:47 -04:00
Jesse Plamondon-Willard 525a3efb91 add data for a few more mods (#361) 2017-09-26 10:33:43 -04:00
Jesse Plamondon-Willard c1a9dc7f7e minor cleanup after 1.x removal 2017-09-26 01:55:26 -04:00
Jesse Plamondon-Willard 07382277ea add support for multiple mods having the same update key (#336) 2017-09-25 22:15:30 -04:00
Jesse Plamondon-Willard 2c87961c9e improve mod update-check validation & errors (#336) 2017-09-25 21:21:27 -04:00
Jesse Plamondon-Willard 5cb183e16d consolidate update fields in manifest & SMAPI config (#336, #361) 2017-09-25 21:11:48 -04:00
Jesse Plamondon-Willard 4fd3fdc0d8 use SMAPI version in web API (#336) 2017-09-25 18:18:43 -04:00
Jesse Plamondon-Willard da12f91379 don't check for updates to Entoarox mods per request (#361) 2017-09-25 17:43:52 -04:00
Jesse Plamondon-Willard a4dfcf229e add mod data for update checks (#361) 2017-09-25 17:40:39 -04:00
Jesse Plamondon-Willard d338322bc6 fix update checks not normalising remote versions (#336) 2017-09-25 17:40:00 -04:00
Jesse Plamondon-Willard 6dff9779a3 use POST for SMAPI update checks to avoid issues with long queries (#336) 2017-09-25 17:39:51 -04:00
Jesse Plamondon-Willard b105c97dda add support for remapping legacy versions for update checks (#361) 2017-09-24 19:55:34 -04:00
Jesse Plamondon-Willard f84def385d sort update-check trace logs (#361) 2017-09-24 17:44:56 -04:00
Jesse Plamondon-Willard cb1f11a846 update config documentation (#361) 2017-09-24 14:10:36 -04:00
Jesse Plamondon-Willard 021e1a278b list SMAPI update separately (#336, #361) 2017-09-24 13:35:26 -04:00
Jesse Plamondon-Willard 9b247b67f6 improve version normalising (#336, #361) 2017-09-24 13:19:02 -04:00
Jesse Plamondon-Willard 96acccad7c bug fixes, improve update-check logging (#361) 2017-09-24 12:13:34 -04:00
Jesse Plamondon-Willard ce9be43db3 remove name from data record (#361) 2017-09-24 11:28:08 -04:00
Jesse Plamondon-Willard 0c06b129ca add support for specifying default update fields, migrate mods already in mod list (#361) 2017-09-24 02:33:33 -04:00
Jesse Plamondon-Willard 8e0d1b8682 minor bug fixes (#361) 2017-09-24 02:25:35 -04:00
Jesse Plamondon-Willard 5f85d89974 handle common 'v' version prefix on GitHub (#336) 2017-09-24 02:15:28 -04:00
Jesse Plamondon-Willard 00957a2317 validate semantic versions in API (#336, #361) 2017-09-24 01:30:28 -04:00
Jesse Plamondon-Willard d3f0c8e4d2 add support for update checks from the Chucklefish mod site (#336) 2017-09-24 01:10:17 -04:00
Jesse Plamondon-Willard 0863f9b7e5 revamp mod compatibility fields to allow broader use of mod data records (#361) 2017-09-24 00:23:48 -04:00
Jesse Plamondon-Willard 33af789e2e abstract mod IDs with multiple variants (#361) 2017-09-23 22:50:35 -04:00
Jesse Plamondon-Willard 9495cc0f49 rename mod compatibility records for broader use (#361) 2017-09-23 22:07:29 -04:00
Jesse Plamondon-Willard a89dbce854 unify disabled-mod and compatibility lists (#361) 2017-09-23 21:48:53 -04:00
Jesse Plamondon-Willard 8bcc80a33d rename mod compatibility type for broader use (#361) 2017-09-23 21:35:07 -04:00
Jesse Plamondon-Willard 2d36105c33 drop support for SMAPI 1.x (#360) 2017-09-23 20:53:12 -04:00
Jesse Plamondon-Willard a149f82b7a update compatibility list for SMAPI 2.0 2017-09-23 20:22:07 -04:00
Jesse Plamondon-Willard 57111a6e8f update file name (#336) 2017-09-23 20:03:45 -04:00
Jesse Plamondon-Willard 873abef235 add mod update checks based on manifest fields (#336) 2017-09-23 19:15:07 -04:00
Jesse Plamondon-Willard e178ed14be migrate SMAPI update check to new web API (#336) 2017-09-23 18:04:56 -04:00
Jesse Plamondon-Willard bdee7f88e9 move API models into shared project for reuse (#336) 2017-09-23 14:37:58 -04:00
Jesse Plamondon-Willard 9ffe0bd371 switch to the mods GET endpoint (#336) 2017-09-23 14:19:10 -04:00
Jesse Plamondon-Willard c2d8760c56 make web controllers internal (#336)
This is needed to support internal models, which is needed to share the models with the main SMAPI assembly without making them visible to mods.
2017-09-23 14:15:59 -04:00
Jesse Plamondon-Willard eaabd91f31 authenticate GitHub queries if auth details are configured (#336) 2017-09-22 23:43:58 -04:00
Jesse Plamondon-Willard 0d6f6a9ace add GitHub update check support (#336) 2017-09-22 22:42:04 -04:00
Jesse Plamondon-Willard 71d85a0c22 restrict version to a valid SMAPI version (#336) 2017-09-22 22:11:04 -04:00
Jesse Plamondon-Willard ecdbefffd9 move hardcoded values into config (#336) 2017-09-22 21:49:05 -04:00
Jesse Plamondon-Willard ba5cc149e2 add in-memory cache for remote queries (#336) 2017-09-22 20:46:38 -04:00
Jesse Plamondon-Willard e4a2f55517 add GET endpoint for testing (#336) 2017-09-22 20:33:09 -04:00
Jesse Plamondon-Willard 2406d4b0a6 add subdomain rewrite rule (#336) 2017-09-22 20:19:12 -04:00
Jesse Plamondon-Willard f8566067e0 update launch URL (#336) 2017-09-22 20:09:22 -04:00
Jesse Plamondon-Willard 67ce5fcc45 remove unneeded dependencies (#336) 2017-09-22 20:09:06 -04:00
Jesse Plamondon-Willard 24afbad3a9 remove unneeded project settings (#336) 2017-09-22 19:55:57 -04:00
Jesse Plamondon-Willard 89ca5952c5 update web API to .NET Core 2.0 so we can use more packages, update all packages (#336) 2017-09-22 19:24:31 -04:00
Jesse Plamondon-Willard 5619890abf indent JSON responses (#336) 2017-09-22 18:19:42 -04:00
Jesse Plamondon-Willard 86d4827df2 simplify input & output format (#336) 2017-09-22 03:01:40 -04:00
Jesse Plamondon-Willard 399b98b36b suppress null properties in JSON responses (#336) 2017-09-22 02:06:54 -04:00
Jesse Plamondon-Willard 7d703c9c5c handle invalid Nexus mod IDs (#336) 2017-09-22 02:00:15 -04:00
Jesse Plamondon-Willard 86e5559678 switch mod update endpoint to GET with comma-delimited mod keys (#336) 2017-09-22 01:57:18 -04:00
Jesse Plamondon-Willard ef60b8d32a add version number to route for future use (#336) 2017-09-22 01:23:27 -04:00
Jesse Plamondon-Willard 9c072333d1 rename mods endpoint & model (#336) 2017-09-22 00:58:25 -04:00
Jesse Plamondon-Willard 2c02dfe45a rewrite to make update-check logic vendor-agnostic (#336) 2017-09-22 00:47:46 -04:00
Jesse Plamondon-Willard edbc3ef3c0 refactor Nexus code into generic vendor, rewrite using fluent HTTP client (#336) 2017-09-22 00:13:04 -04:00
Jesse Plamondon-Willard dfae52b1e5 fix manual serialisation (#336) 2017-09-21 23:50:34 -04:00
Jesse Plamondon-Willard 1bd59fc1d8 split input model from Nexus response model (#336) 2017-09-21 23:48:47 -04:00
Jesse Plamondon-Willard cddcd9a8cf standardise project name (#336) 2017-09-21 23:39:12 -04:00
Jesse Plamondon-Willard 9791de306c minor cleanup, formatting, documentation (#336) 2017-09-21 23:35:18 -04:00
Jesse Plamondon-Willard f0e2117f70 remove mod metadata from instruction handlers, no longer needed (#347) 2017-09-20 00:33:36 -04:00
Jesse Plamondon-Willard 81c42ac773 warn for mods which change the serialiser (#347) 2017-09-20 00:23:45 -04:00
Jesse Plamondon-Willard 5126992958 disable new ReSharper inspection 2017-09-20 00:09:47 -04:00
Jesse Plamondon-Willard 1aa44b2624 add support for detecting game patching via Harmony (#347) 2017-09-20 00:08:04 -04:00