Commit Graph

536 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard e1d8838587
fix update checks not recommending prerelease mod versions for SMAPI beta 2021-08-25 18:21:42 -04:00
Jesse Plamondon-Willard 26a629f41b
fix prerelease update alerts shown for non-prerelease players 2021-08-25 18:20:15 -04:00
Jesse Plamondon-Willard e73f5a10c7
add PlatoTK to compatibility list 2021-08-03 19:04:15 -04:00
Jesse Plamondon-Willard ef1eff669d
update compatibility list 2021-08-03 13:05:48 -04:00
Jesse Plamondon-Willard 848460a34e
update compatibility list 2021-08-02 21:30:59 -04:00
Jesse Plamondon-Willard dfa3beb6a6
fix i18n schema requiring wrong $schema value 2021-05-28 20:24:29 -04:00
Jesse Plamondon-Willard 112b505118
update schema for Content Patcher 1.23 2021-05-25 17:42:24 -04:00
Jesse Plamondon-Willard 38a76b5108
allow comments and trailing commas in schemas for VSCode
The `allowComments` and `allowTrailingCommas` fields are VSCode-specific extensions to JSON Schema.
2021-05-22 11:24:34 -04:00
Jesse Plamondon-Willard 621b989c24
update web and unit test packages 2021-04-30 19:16:52 -04:00
Jesse Plamondon-Willard 3de9858c9b
fix update subkeys for Nexus mods marked as adult content 2021-04-30 18:52:19 -04:00
Jesse Plamondon-Willard ed47c2a0ce
update schema for Content Patcher 1.22 2021-04-17 22:11:21 -04:00
Jesse Plamondon-Willard 222183c651
standardize spelling of 'macOS' 2021-04-04 11:37:11 -04:00
Jesse Plamondon-Willard 73321eceb9
split compile flag into separate Windows + XNA flags (#767) 2021-03-21 16:05:15 -04:00
Jesse Plamondon-Willard fdfb060795
remove unused code (#767) 2021-03-21 16:04:48 -04:00
Jesse Plamondon-Willard 00969f3b48
update the JSON schema for Content Patcher 1.21 2021-03-07 21:43:23 -05:00
Jesse Plamondon-Willard 5173ddf535
fix compat list error if mod has no name field due to wiki rendering issues 2021-02-08 18:07:38 -05:00
Jesse Plamondon-Willard 5ea871fee5
update schema for Content Patcher 1.20 2021-02-06 19:46:34 -05:00
Jesse Plamondon-Willard 4c0272c0aa
remove unused AlternativeUrl field in metadata model 2021-01-23 12:01:46 -05:00
Jesse Plamondon-Willard 66017a39d9
disable 'patched game code' warning for ErrorHandler
It doesn't really make sense for SMAPI to show a warning about itself.
2021-01-23 11:59:36 -05:00
Jesse Plamondon-Willard a5ba931770
improve JSON validator schema for manifest update keys 2021-01-15 21:18:15 -05:00
Jesse Plamondon-Willard c6b40fb591
add more helpful `help` command output 2021-01-07 00:05:27 -05:00
Jesse Plamondon-Willard 8b9fc0dce7
update compatibility list 2021-01-02 22:25:10 -05:00
Jesse Plamondon-Willard fd37253dc3
update compatibility list 2020-12-30 00:26:39 -05:00
Jesse Plamondon-Willard 847826198f
add status reason details to past mods, clean out some old blacklist entries 2020-12-30 00:25:32 -05:00
Jesse Plamondon-Willard 06c7e4e2b9
show details in TRACE logs when a mod is blocked by compatibility list 2020-12-29 23:58:54 -05:00
Jesse Plamondon-Willard 9215f89825
fix edge cases in SMAPI log parsing (#743) 2020-12-23 21:38:19 -05:00
Jesse Plamondon-Willard 77002d3e99
Merge branch 'stardew-valley-1.5' into develop
# Conflicts:
#	docs/release-notes.md
2020-12-20 22:35:58 -05:00
Jesse Plamondon-Willard 5e2f6f565d
update mod compatibility list 2020-12-20 22:35:02 -05:00
Jesse Plamondon-Willard 2e8c7e06c5
update for split-screen mode
This includes splitting GameRunner (the main game instance) from Game1 (now a per-screen game state), adding a PerScreen<T> utility to simplify per-screen values, adding separate per-screen input handling and events, adding new Context fields for split-screen, and logging the screen ID in split-screen mode to distinguish log entries.
2020-12-20 22:34:59 -05:00
Jesse Plamondon-Willard 1e2000126d
update schema for Content Patcher 1.19 2020-12-05 12:49:06 -05:00
Jesse Plamondon-Willard 91289de74f
update internal dependencies 2020-11-17 19:09:55 -05:00
Jesse Plamondon-Willard d8f5e0bdf2
update dependencies 2020-10-03 20:24:54 -04:00
Jesse Plamondon-Willard 6e7ebc0097
fix typo in CP schema 2020-10-03 10:55:00 -04:00
Jesse Plamondon-Willard 5c733af747
fix update-check error for Chucklefish mods due to site change 2020-09-27 13:23:48 -04:00
Jesse Plamondon-Willard 01c2824b5c
update JSON schema for Content Patcher 1.18 2020-09-18 21:16:22 -04:00
Jesse Plamondon-Willard 4189e2f3fa
add support for renewing uploaded JSON/log files 2020-09-13 11:59:17 -04:00
Jesse Plamondon-Willard 6afb80676b
fix CP validation for new 'Update' field 2020-08-16 23:01:19 -04:00
Jesse Plamondon-Willard d6dc1364be
update schema for Content Patcher 1.17 2020-08-16 11:28:13 -04:00
Jesse Plamondon-Willard 497192fab2
tweak update alert rules 2020-08-15 13:17:42 -04:00
Jesse Plamondon-Willard d6a830f7e8
fix broken URL in update alerts for unofficial versions 2020-08-15 13:05:32 -04:00
Jesse Plamondon-Willard e54a5d0569
update Content Patcher schema for 1.16 2020-08-03 22:35:51 -04:00
Jesse Plamondon-Willard 849c6da9ca
update dependencies 2020-08-02 16:18:11 -04:00
Jesse Plamondon-Willard 7900a84bd6
use ordinal comparison/sorting instead of invariant 2020-07-26 02:50:20 -04:00
Jesse Plamondon-Willard 623684a3ad
update Content Patcher format version in schema 2020-07-04 12:59:03 -04:00
Jesse Plamondon-Willard 74defbfec6
remove special handling for SMAPI 3.6 beta 2020-06-20 12:08:57 -04:00
Jesse Plamondon-Willard ed3309e7bb
remember selected schema when editing a file 2020-06-20 11:36:22 -04:00
Jesse Plamondon-Willard d02a40de99
change default JSON validator schema to none 2020-06-20 11:31:01 -04:00
Jesse Plamondon-Willard b32cad4046
add i18n schema to JSON validator 2020-06-20 11:13:23 -04:00
Jesse Plamondon-Willard d9c2d242b9
add update key overrides 2020-05-24 16:39:56 -04:00
Jesse Plamondon-Willard ea96fdf541
update ModDrop URLs 2020-05-24 14:35:16 -04:00
Jesse Plamondon-Willard d97b11060c
add update subkeys 2020-05-24 00:21:51 -04:00
Jesse Plamondon-Willard 786077340f
refactor update check API
This simplifies the logic for individual clients, centralises common logic, and prepares for upcoming features.
2020-05-23 21:55:11 -04:00
Jesse Plamondon-Willard d7add89441
drop MongoDB code
MongoDB support unnecessarily complicated the code and there's no need to run distributed servers in the foreseeable future. This keeps the abstract storage interface so we can wrap a distributed cache in the future.
2020-05-23 19:25:34 -04:00
Jesse Plamondon-Willard 9aba50451b
keep verb when redirecting api.smapi.io 2020-05-22 23:40:22 -04:00
Jesse Plamondon-Willard aa5cc2c9be
fix GitHub license images not using HTTPS 2020-05-16 20:03:08 -04:00
Jesse Plamondon-Willard 9d86f20ca7
migrate subdomain redirects to Azure 2020-05-16 20:01:52 -04:00
Jesse Plamondon-Willard 5e6f1640dc
simplify single-instance deployment and make MongoDB server optional 2020-05-16 14:30:07 -04:00
Jesse Plamondon-Willard a2cfb71d89
minor cleanup 2020-05-16 11:34:00 -04:00
Jesse Plamondon-Willard c776f6053b
update deprecated code 2020-05-16 11:33:17 -04:00
Jesse Plamondon-Willard a090b6c21c
use newer C# features 2020-05-16 11:29:40 -04:00
Jesse Plamondon-Willard 896f531f4f
fix broken action links after update to .NET Core 3.0 2020-05-14 19:25:51 -04:00
Jesse Plamondon-Willard b2334fda16
update compatibility list for SMAPI 3.6 & Harmony 2.0 tracking (#711) 2020-05-09 21:42:52 -04:00
Jesse Plamondon-Willard df84df5ff1
add GitHub licenses to mod compatibility list, update release notes 2020-05-09 14:06:10 -04:00
Jesse Plamondon-Willard f82a8e3c2d
update web scripts 2020-05-09 13:06:21 -04:00
Jesse Plamondon-Willard a500812e88
update web project to .NET Core 3.1 2020-05-07 22:41:37 -04:00
Jesse Plamondon-Willard c58d01d0cf
update packages 2020-05-07 21:15:29 -04:00
Jesse Plamondon-Willard f9eebff332
update Content Patcher format in schema 2020-05-06 21:43:20 -04:00
Jesse Plamondon-Willard c9b6b04a75
fix rare intermittent "CGI application encountered an error" errors 2020-04-05 13:38:59 -04:00
Jesse Plamondon-Willard 6f8fb2a68b
fix AutoQualityPatch version in compatibility list 2020-03-29 14:40:17 -04:00
Jesse Plamondon-Willard cecd17ec3c
update schema for Content Patcher 1.13 2020-03-27 21:03:47 -04:00
Jesse Plamondon-Willard 107232ae43
update packages 2020-03-22 19:26:09 -04:00
Jesse Plamondon-Willard e39b9e0d69
fix log parse issues 2020-03-08 14:38:24 -04:00
Jesse Plamondon-Willard 5ba53cb390
optimize log parser for very long multi-line messages 2020-03-08 14:07:42 -04:00
Jesse Plamondon-Willard c6947682b0
update packages 2020-03-06 21:41:20 -05:00
Jesse Plamondon-Willard 7329d75ec8
enable detailed errors by default to simplify diagnosing issues 2020-03-02 20:24:56 -05:00
Jesse Plamondon-Willard a6b1103596
add file pickers to web UI for mobile users 2020-02-24 20:29:03 -05:00
Jesse Plamondon-Willard d3ec98fec8
update packages 2020-02-22 11:26:05 -05:00
Jesse Plamondon-Willard dd27b3bf35
fix parsing four-part versions from the update-check API 2020-02-20 21:32:55 -05:00
Jesse Plamondon-Willard 82d1e92d97
update TMXL name in metadata 2020-02-19 20:06:27 -05:00
Jesse Plamondon-Willard 7f63e06591
fix anchor position for new sticky header 2020-02-18 00:31:36 -05:00
Jesse Plamondon-Willard 4ce2747567
update compatibility list 2020-02-18 00:12:24 -05:00
Jesse Plamondon-Willard 2319c8e19e
make compatibility list header sticky 2020-02-17 23:55:28 -05:00
Jesse Plamondon-Willard 383ebab1af
add overrides for SMAPI on Android 2020-02-17 23:49:35 -05:00
Jesse Plamondon-Willard da49c7c13b
move hardcoded SMAPI update check logic into config 2020-02-17 23:48:57 -05:00
Jesse Plamondon-Willard 6294b27317
fix update-check error for SMAPI on Android with four-part versions 2020-02-13 21:03:04 -05:00
Jesse Plamondon-Willard 65180f86d8
update CP schema for .tmx support 2020-02-03 19:12:39 -05:00
Jesse Plamondon-Willard 17a9193fd2
update packages 2020-02-01 16:06:12 -05:00
Jesse Plamondon-Willard d1935e686c
add full internal support for non-standard four-part versions 2020-01-23 00:31:26 -05:00
Jesse Plamondon-Willard 25a22f5d7c
update community links 2020-01-18 16:21:16 -05:00
Jesse Plamondon-Willard d68e4f9766
drop pre-3.0 update-check support 2020-01-12 19:41:14 -05:00
Jesse Plamondon-Willard bffc7f28e9
fix update-check error for Chucklefish pages with no version 2020-01-11 19:16:46 -05:00
Jesse Plamondon-Willard 609ceedaba
update for compatibility list change 2020-01-11 16:53:58 -05:00
Jesse Plamondon-Willard 372eb72233
streamline front page design 2020-01-05 23:08:17 -05:00
Jesse Plamondon-Willard 3818d53752
fix main sidebar link pointing to wiki instead of home page 2019-12-30 10:33:07 -05:00
Dan Volchek 360a982336 fix log parser content pack list entry pattern, remove unneeded ternary in content pack logging 2019-12-26 20:34:39 -08:00
Jesse Plamondon-Willard 9ea2599356
Merge pull request #683 from danvolchek/fixtypo
[JSON Validator] Change 'log' to 'JSON file' on the JSON validator page
2019-12-26 00:13:19 -05:00
Dan Volchek 63f2eacb47 display JSON file instead of log on the JSON validator page 2019-12-25 20:51:46 -08:00
Jesse Plamondon-Willard 2833ad9a62
fix log parser & JSON validator showing relative share URL 2019-12-24 13:59:11 -05:00
Jesse Plamondon-Willard 4c471ea215
fix CP schema not requiring Default field if AllowBlank is omitted 2019-12-22 18:46:03 -05:00
Jesse Plamondon-Willard d6ef6f627a
configure MongoDB connection string directly 2019-12-22 12:08:01 -05:00
Jesse Plamondon-Willard 082f285bc7
streamline local environments, update technical docs & privacy page 2019-12-22 00:44:13 -05:00
Jesse Plamondon-Willard c1b15fb372
allow local dev environments without an Azure account 2019-12-21 23:52:47 -05:00
Jesse Plamondon-Willard ba46491ebc
drop Amazon S3 support 2019-12-21 23:14:15 -05:00
Jesse Plamondon-Willard 242dc718cd
switch to Azure Blob storage for saving files 2019-12-21 15:41:55 -05:00
Jesse Plamondon-Willard 02f645900e
add option to disable uploading new files to Pastebin 2019-12-21 11:56:19 -05:00
Jesse Plamondon-Willard 4da65cf4c0
update schemas for Content Patcher 1.11 2019-12-16 21:51:55 -05:00
Jesse Plamondon-Willard c4e2e94eed
add option to edit & reupload in the JSON validator 2019-12-16 21:39:37 -05:00
Jesse Plamondon-Willard 9465628eff
fix JSON validator format selector no longer working since URL changes 2019-12-04 20:52:40 -05:00
Jesse Plamondon-Willard 8ddb60cee6
move supporter list into environment config 2019-12-03 23:06:42 -05:00
Jesse Plamondon-Willard 2b1f607d41
encapsulate file storage, also handle Pastebin rate limits in JSON validator 2019-12-03 21:21:28 -05:00
Jesse Plamondon-Willard 0aad3f545a
update Content Patcher schema 2019-12-03 19:36:56 -05:00
Jesse Plamondon-Willard d07495c2dc
fix JSON Validator issues 2019-12-02 21:23:41 -05:00
Jesse Plamondon-Willard 71048825bd
update supporter list 2019-12-02 21:08:05 -05:00
Jesse Plamondon-Willard 8a11d5c0d9
fix incorrect link URLs in some cases 2019-12-02 20:14:12 -05:00
Jesse Plamondon-Willard 5f532c259d
migrate from AWS to Azure
This commit migrates from subdomains to paths (due to the cost of a wildcard HTTPS certificate on Azure), adds a web project to redirect the old subdomains from AWS to Azure, and removes AWS-specific hacks.
2019-12-02 20:14:07 -05:00
Jesse Plamondon-Willard b1400bcb68
fallback to Amazon S3 if saving a log to Pastebin fails 2019-11-27 21:49:36 -05:00
Jesse Plamondon-Willard 0223382ca8
remove unused package 2019-11-27 19:50:42 -05:00
Jesse Plamondon-Willard bb8668db24
update compatibility list (#638) 2019-11-24 13:47:36 -05:00
Jesse Plamondon-Willard f0f348bd5f
update packages 2019-11-24 12:13:34 -05:00
Jesse Plamondon-Willard cc74388025
update compatibility list (#638) 2019-11-23 22:37:47 -05:00
Jesse Plamondon-Willard 3d4276707b
update CP schema to allow boolean values for Enabled field 2019-11-16 18:32:50 -05:00
Jesse Plamondon-Willard fd6a719b02
overhaul update checks
This commit moves the core update-check logic serverside, and adds support for community-defined version mappings. For example, that means false update alerts can now be solved by the community for all players.
2019-11-09 21:18:06 -05:00
Jesse Plamondon-Willard 0aac0717bf
add CurseForge to mod metadata (#605) 2019-11-08 13:44:49 -05:00
Jesse Plamondon-Willard 8b09a2776d
add support for CurseForge update keys (#605) 2019-11-07 13:51:45 -05:00
Jesse Plamondon-Willard c4157b55eb
update supporter list 2019-10-01 14:02:35 -04:00
Jesse Plamondon-Willard 52914515a2
add community short url 2019-10-01 13:48:23 -04:00
Jesse Plamondon-Willard 3f1ffd3e4f
allow bool condition values in CP schema 2019-09-14 19:19:40 -04:00
Jesse Plamondon-Willard 2f9884c47b
update packages 2019-09-14 19:19:34 -04:00
Jesse Plamondon-Willard e02372bba9
fix log parser changes 2019-09-14 19:17:27 -04:00
Jesse Plamondon-Willard e7b214390a
move platform to log parser model instead of middleware 2019-09-14 19:14:56 -04:00
Jesse Plamondon-Willard d49ead6113
remove custom enum, add Android to SMAPI's platform enum
This will also be used in an upcoming commit for SMAPI's target platform constant.
2019-09-14 19:14:51 -04:00
Dan Volchek f04f781153
rename namespace to be more accurate 2019-09-14 19:14:24 -04:00
Dan Volchek 00b067fead
detect the client's platform and check the appropriate input in the log parser 2019-09-14 19:14:19 -04:00
Jesse Plamondon-Willard 9828f32bf7
fix validator not handling string entries (#654) 2019-09-14 19:13:31 -04:00
Jesse Plamondon-Willard 2b68b06729
don't strip comments when validating JSON (#654) 2019-09-14 19:13:25 -04:00
Jesse Plamondon-Willard d2a134ae08
reduce automatic retry window for background wiki fetches (#651) 2019-09-14 19:13:16 -04:00
Jesse Plamondon-Willard 86b2fef8ce
better handle stale age label on mod compatibility list 2019-09-14 19:13:11 -04:00
Jesse Plamondon-Willard 25e4aa14d8
remove legacy AssemblyInfo and GlobalAssemblyInfo files, use consistent assembly names 2019-09-14 19:12:40 -04:00
Jesse Plamondon-Willard fd77ae93d5
fix typos and inconsistent spelling 2019-09-14 19:08:06 -04:00
Jesse Plamondon-Willard 3f6865e830
add footer tip about using schema directly, add details to page title (#654) 2019-09-14 19:06:34 -04:00
Jesse Plamondon-Willard 6036fbf050
make 'then' blocks transparent by default (#654) 2019-09-14 19:06:29 -04:00
Jesse Plamondon-Willard 5679df8d66
expand Content Patcher schema, detect more common issues (#654) 2019-09-14 19:06:24 -04:00
Jesse Plamondon-Willard 807868f440
add support for transparent schema errors with multiple child errors (#654) 2019-09-14 19:06:19 -04:00
Jesse Plamondon-Willard 674ceea74e
add support for transparent schema errors (#654) 2019-09-14 19:06:14 -04:00
Jesse Plamondon-Willard 74e86de01e
when uploading a new file to the JSON validator, prefill previous schema type by default (#654) 2019-09-14 19:06:09 -04:00
Jesse Plamondon-Willard 2cc183b48b
tweak manifest schema to allow $schema field, fix parse errors in some text editors (#654) 2019-09-14 19:06:04 -04:00
Jesse Plamondon-Willard d88d3505ec
add error type code to HTML for convenience when adding custom error messages (#654) 2019-09-14 19:05:59 -04:00
Jesse Plamondon-Willard e51638948f
add support for @value token in custom schema errors (#654) 2019-09-14 19:05:54 -04:00
Jesse Plamondon-Willard 22480d25b9
restructure Content Patcher schema a bit (#654) 2019-09-14 19:05:50 -04:00
Jesse Plamondon-Willard 3331beb17a
integrate Content Patcher schema into validator, update docs (#654) 2019-09-14 19:05:45 -04:00