summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Controllers
AgeCommit message (Collapse)Author
2023-01-29don't allow update manifests before SMAPI 4.0.0 until the feature is releasedJesse Plamondon-Willard
2023-01-29encapsulate update manifest implementation details when possibleJesse Plamondon-Willard
2023-01-29minor formatting, copyediting, and error-handlingJesse Plamondon-Willard
2022-10-01Add UpdateManifest site type.Jamie Taylor
Adds the UpdateManifest site key and associated client. This required some additional features in the existing update machinery. Each "version" can now (optionally) have its own download URL. Mod Page objects can now specify that subkey matching (for that page) should be "strict". A strict subkey match does not fall back to matching with no subkey if a subkey was provided but produced no versions. It also strips the leading '@' from the subkey. IModDownload objects are now responsible for deciding whether a subkey matches or not. The default behavior is unchanged, but this allows different mod sites to have different rules for subkey matching (which the UpdateManifest mod site uses to force exact matches).
2022-09-28fix handling of GitHub prerelease versions marked as non-prereleaseJesse Plamondon-Willard
2022-08-16fix log parser error if a mod logged a null characterJesse Plamondon-Willard
2022-04-17fix model binding errorJesse Plamondon-Willard
2022-04-12enable nullable annotations in the web project & related code (#837)Jesse Plamondon-Willard
2022-04-09enable nullable annotations in log parser (#837)Jesse Plamondon-Willard
2022-04-06enable nullable annotations by default (#837)Jesse Plamondon-Willard
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally.
2022-04-06remove some unused/redundant codeJesse Plamondon-Willard
2022-04-06use target-typed newJesse Plamondon-Willard
2022-02-11use Array.Empty to avoid unneeded array allocationsJesse Plamondon-Willard
2022-01-02add download option to log viewJesse Plamondon-Willard
2021-11-27automatically include beta versions on Nexus for SMAPI update checksJesse Plamondon-Willard
2021-11-27remove direct download for beta versionsJesse Plamondon-Willard
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-10-02fix error performing update check for mods with no wiki entryJesse Plamondon-Willard
2021-10-02add support for unified mod data overrides on the wikiJesse Plamondon-Willard
2021-09-13fix JSON validator line numbers sometimes incorrectJesse Plamondon-Willard
2021-08-25fix update checks not recommending prerelease mod versions for SMAPI betaJesse Plamondon-Willard
2021-02-08fix compat list error if mod has no name field due to wiki rendering issuesJesse Plamondon-Willard
2020-09-13add support for renewing uploaded JSON/log filesJesse Plamondon-Willard
2020-08-15tweak update alert rulesJesse Plamondon-Willard
2020-08-15fix broken URL in update alerts for unofficial versionsJesse Plamondon-Willard
2020-07-26use ordinal comparison/sorting instead of invariantJesse Plamondon-Willard
2020-06-20remember selected schema when editing a fileJesse Plamondon-Willard
2020-06-20change default JSON validator schema to noneJesse Plamondon-Willard
2020-06-20add i18n schema to JSON validatorJesse Plamondon-Willard
2020-05-24add update key overridesJesse Plamondon-Willard
2020-05-24add update subkeysJesse Plamondon-Willard
2020-05-23refactor update check APIJesse Plamondon-Willard
This simplifies the logic for individual clients, centralises common logic, and prepares for upcoming features.
2020-05-23drop MongoDB codeJesse Plamondon-Willard
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-16update deprecated codeJesse Plamondon-Willard
2020-05-16use newer C# featuresJesse Plamondon-Willard
2020-02-20fix parsing four-part versions from the update-check APIJesse Plamondon-Willard
2020-02-17move hardcoded SMAPI update check logic into configJesse Plamondon-Willard
2020-02-13fix update-check error for SMAPI on Android with four-part versionsJesse Plamondon-Willard
2020-01-12drop pre-3.0 update-check supportJesse Plamondon-Willard
2019-12-30fix main sidebar link pointing to wiki instead of home pageJesse Plamondon-Willard
2019-12-21allow local dev environments without an Azure accountJesse Plamondon-Willard
2019-12-21add option to disable uploading new files to PastebinJesse Plamondon-Willard
2019-12-16add option to edit & reupload in the JSON validatorJesse Plamondon-Willard
2019-12-03move supporter list into environment configJesse Plamondon-Willard
2019-12-03encapsulate file storage, also handle Pastebin rate limits in JSON validatorJesse Plamondon-Willard
2019-12-02fix JSON Validator issuesJesse Plamondon-Willard
2019-12-02fix incorrect link URLs in some casesJesse Plamondon-Willard
2019-12-02migrate from AWS to AzureJesse Plamondon-Willard
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-11-27fallback to Amazon S3 if saving a log to Pastebin failsJesse Plamondon-Willard
2019-11-09overhaul update checksJesse Plamondon-Willard
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-08add CurseForge to mod metadata (#605)Jesse Plamondon-Willard