Skip to content

Removing redundant settings (part 2) - #783

Merged
poppastring merged 4 commits into
mainfrom
remove-redundant-config-part2
Feb 23, 2026
Merged

poppastring merged 4 commits into
mainfrom
remove-redundant-config-part2

Conversation

@poppastring

Copy link
Copy Markdown
Owner

PR Classification

Code cleanup and deprecation of unused configuration options.

PR Summary

This pull request removes legacy and unused configuration properties from the blog engine to simplify and modernize the codebase.

  • ISiteConfig.cs: Removes obsolete configuration properties from the site configuration interface.
  • SiteConfig.cs: Deletes corresponding property implementations for the removed settings.
  • SiteConfigTest.cs: Updates the test mock to reflect the streamlined configuration interface.
  • SiteViewModel.cs: Cleans up the view model by removing unused properties.
  • Settings.cshtml: Removes hidden form fields for deprecated settings to align the UI with backend changes.

Removed unused configuration properties from ISiteConfig, SiteConfig, SiteConfigTest, SiteViewModel, site.config, site.Development.config, and Settings.cshtml. This cleans up legacy features such as EditService, Trackback, Pingback, BlogrollDescription, UrlRewriting, Crossposts, UseUserCulture, ClickThrough, and AggregatorBugging. Also removed related hidden fields from the settings view. DisplayTimeZoneIndex remains, with minor formatting changes. This simplifies the configuration model and codebase.
Clean up code and config by removing unsupported features:
SendPostsByEmail, EnableCommentApi, EncryptLoginPassword,
EnableEntryReferrals, FeedBurnerName, UseFeedSchemeForSyndication,
EnableAutoSave, and related UI/config entries. Simplifies
ISiteConfig, SiteConfig, SiteConfigTest, SiteViewModel,
Settings.cshtml, and site config files.
RSSEndPointRewrite has been removed from ISiteConfig, SiteConfig,
SiteConfigTest, SiteViewModel, and all related XML config files.
All code and view references to this property have been deleted,
as the feature is no longer supported or required.
All code and configuration related to the Referral URL Blacklist and MovableType Blacklist have been removed. This includes property deletions from ISiteConfig, SiteConfig, SiteConfigTest, and SiteViewModel, as well as removal of related XML config elements and view fields. No other features are affected.
@poppastring
poppastring merged commit 5cba272 into main Feb 23, 2026
3 checks passed
@poppastring
poppastring deleted the remove-redundant-config-part2 branch February 23, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant