Commit Graph

536 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 0b48c1748b
enable nullable annotations in the web project & related code (#837) 2022-04-12 19:15:39 -04:00
Khloe Leclair 4f54f517ce Use an optional section for rendering quick navigation links on the mod viewer, containing them within the #sidebar element. 2022-04-12 13:50:51 -04:00
Khloe Leclair 0b92275649 Make horizontal scrolling with the quick navigation links less bad. Probably need to move them into the actual sidebar element though for proper sorting. 2022-04-12 02:18:51 -04:00
Khloe Leclair a21d24f4b7 Replace bitfields for state and just use comma-separated strings. Add a note that numbers may be inaccurate if filtering is used when sections are collapsed. Add quick navigation links. 2022-04-12 02:07:21 -04:00
Khloe Leclair 94b8507a47 Add more documentation strings. Use shallow equality checking to decide whether to include a filter in the URL or not to avoid unnecessarily large URLs. 2022-04-11 15:01:59 -04:00
Khloe Leclair 0babc3e446 Cleanup log filtering a bit, with a clearer string for the number of total messages. Additionally, save and restore filter state from the URL for better linking. 2022-04-11 14:29:33 -04:00
Jesse Plamondon-Willard 0336fb2524
add temporary cachebusting queries for log parser 2022-04-09 17:04:39 -04:00
Jesse Plamondon-Willard ae7567674d
restore data element unloading 2022-04-09 16:05:34 -04:00
Jesse Plamondon-Willard 07d07c79e0
load raw data from JSON per discussion
This avoids loading the data synchronously as a JavaScript snippet, which improves performance when opening the page.
2022-04-09 16:01:32 -04:00
Jesse Plamondon-Willard 26d29a1070
minor refactoring 2022-04-09 15:44:17 -04:00
Jesse Plamondon-Willard 650af7ef1a
enable nullable annotations in log parser (#837) 2022-04-09 13:59:56 -04:00
Jesse Plamondon-Willard ad4d065fe7
simplify code with generic Enum.GetValues 2022-04-09 13:10:54 -04:00
Jesse Plamondon-Willard ccf760452d
pass data directly to script instead of serializing & deserializing it 2022-04-09 13:08:38 -04:00
Jesse Plamondon-Willard 260dbbf205
standardize quote style 2022-04-09 13:02:25 -04:00
Jesse Plamondon-Willard b3519f3cc1
rename 'data' to 'state' for upcoming changes 2022-04-09 12:59:21 -04:00
Khloe Leclair 631d0375c3 Simplify visible section checking by abusing Vue behavior, since the proper way is being buggy. 2022-04-08 15:26:35 -04:00
Khloe Leclair 0beff189d1 Implement client-side log rendering, better filtering, and pagination to improve performance and enhance the user experience with using the log parser. 2022-04-08 14:59:52 -04:00
Jesse Plamondon-Willard 2e7c233f6c
enable nullable annotations by default (#837)
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally.
2022-04-06 21:48:55 -04:00
Jesse Plamondon-Willard 077d8e4f40
remove some unused/redundant code 2022-04-06 18:25:00 -04:00
Jesse Plamondon-Willard 0539bb8f37
simplify with newer pattern features 2022-04-06 18:25:00 -04:00
Jesse Plamondon-Willard a593eda30f
use target-typed new 2022-04-06 18:24:59 -04:00
Jesse Plamondon-Willard 8429485e69
update schema for Content Patcher 1.25.0 2022-02-27 20:40:49 -05:00
Jesse Plamondon-Willard b0cc403098
add data-* attributes to log parser for external tools 2022-02-12 12:07:13 -05:00
Jesse Plamondon-Willard 4da9e954df
use Array.Empty to avoid unneeded array allocations 2022-02-11 00:49:49 -05:00
Jesse Plamondon-Willard 25a9f54ecf
fix manifest JSON schema's update key pattern 2022-01-29 20:43:45 -05:00
Jesse Plamondon-Willard 7e8d11ca3a
add Xbox app log instructions, redesign UI to fit 2022-01-15 23:41:01 -05:00
Jesse Plamondon-Willard d029dd652f
fix JSON validator not recognizing manifest update subkeys 2022-01-15 18:04:33 -05:00
Jesse Plamondon-Willard e30e427628
add download option to log view 2022-01-02 19:59:38 -05:00
Jesse Plamondon-Willard 02831503dd
remove content pack from compatibility blacklist
It's no longer broken with the auto-fixes in the upcoming SMAPI update.
2021-12-23 18:59:14 -05:00
Jesse Plamondon-Willard e0abac8dfb
update compatibility list 2021-12-18 00:48:55 -05:00
Jesse Plamondon-Willard aa5d1d4a20
update compatibility list 2021-12-09 19:57:57 -05:00
Jesse Plamondon-Willard 4e17716fa2
fix log parser handling when multiple mods have the exact same name 2021-12-09 19:56:46 -05:00
Jesse Plamondon-Willard c05fdf65cf
mark UI Info Suite incompatible 2021-12-05 18:39:08 -05:00
Jesse Plamondon-Willard 0f37c0f92d
update JSON validator for Content Patcher's new .fnt support 2021-12-04 22:41:59 -05:00
Jesse Plamondon-Willard 1ab0420b6d
update compatibility list 2021-11-28 00:01:46 -05:00
Jesse Plamondon-Willard 3ca6fb5624
automatically include beta versions on Nexus for SMAPI update checks 2021-11-27 23:59:13 -05:00
Jesse Plamondon-Willard b64cec918d
remove direct download for beta versions
With this change, only the main version has a direct download.

Showing beta info here caused a few issues:
* The vast majority of players don't use the game beta, so they were often confused about which version to download.
* Beta versions typically have much longer release info (e.g. detailed summary, release notes, caveats and warnings, etc), and the extra download button made the player guide button under it less prominent and visible. Those both contributed to information overload and the above confusion.
* Unlike main versions, beta versions aren't permanently archived on GitHub (since the beta branch is routinely rebased onto the latest stable update). That makes it messy to manage beta releases through GitHub.

Instead there's now a message under the download button which clearly links to where the beta version can be downloaded.
2021-11-27 22:45:14 -05:00
Jesse Plamondon-Willard 12e0c15196
migrate web project to .NET 6, update web & unit test packages 2021-11-27 22:37:21 -05:00
Jesse Plamondon-Willard 01f59000e9
ignore WebDeploy files 2021-10-31 14:37:51 -04:00
Jesse Plamondon-Willard 96db1d9315
update Content Patcher schema for 1.24.0 2021-10-31 14:14:21 -04:00
Jesse Plamondon-Willard 307c2919f4
fix error performing update check for mods with no wiki entry 2021-10-02 19:55:37 -04:00
Jesse Plamondon-Willard b5c88d87d2
add support for unified mod data overrides on the wiki 2021-10-02 16:40:23 -04:00
Jesse Plamondon-Willard 0888f71a5c
show separate beta stats in mod compatibility list 2021-09-29 20:48:51 -04:00
Jesse Plamondon-Willard 0e3e4f565a
add redirect for SMAPI release notes 2021-09-25 00:52:21 -04:00
Jesse Plamondon-Willard 87536fbd9a
remove obsolete buildmsg redirect 2021-09-25 00:52:08 -04:00
Jesse Plamondon-Willard f6f4470d95
enable beta info on the mod compatibility list by default 2021-09-13 18:30:59 -04:00
Jesse Plamondon-Willard a40ef854f3
fix JSON validator line numbers sometimes incorrect 2021-09-13 18:20:36 -04:00
Jesse Plamondon-Willard cf1d800b58
add Big Silo to compatibility list 2021-09-01 21:03:02 -04:00
Jesse Plamondon-Willard 2b14524280
migrate web project to .NET 5 2021-08-25 20:53:05 -04:00
Jesse Plamondon-Willard b8dac41da8
fix beta label in web UI 2021-08-25 18:26:15 -04:00
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