Skip to content

Removing redundant settings (Part 1)#782

Merged
poppastring merged 6 commits into
mainfrom
remove-redundant-settings
Feb 23, 2026
Merged

Removing redundant settings (Part 1)#782
poppastring merged 6 commits into
mainfrom
remove-redundant-settings

Conversation

@poppastring
Copy link
Copy Markdown
Owner

PR Classification

Code cleanup and deprecation of legacy configuration features.

PR Summary

This pull request removes obsolete configuration properties and features from the DasBlog site configuration system, while introducing new settings for modern integrations.

  • ISiteConfig.cs, SiteConfig.cs, SiteConfigTest.cs, and SiteViewModel.cs: Remove legacy properties (POP3, XSS, Google Maps, OpenID, AMP, CoComment, etc.) and update interfaces and implementations.
  • site.config and site.Development.config: Delete unused XML settings, add Mastodon, CDN, recaptcha, and security source configurations.
  • Settings.cshtml: Remove hidden fields for deprecated configuration properties.

Clean up ISiteConfig, SiteConfig, SiteViewModel, and config files by removing unused properties for email notifications, URL formatting, Google Maps, OpenID, AMP pages, and other legacy options. This streamlines configuration and reduces code complexity.
Removed all code, config properties, and UI elements related to the XSS Upstream feature. This includes property removals from ISiteConfig, SiteConfig, SiteConfigTest, and SiteViewModel, as well as deletion of related XML elements in site.config and site.Development.config, and hidden fields in Settings.cshtml. The project no longer supports XSS Upstream integration.
All POP3-related properties and settings have been removed from ISiteConfig, its implementations, site configuration files, and the settings view. This deprecates support for POP3 email integration and related features throughout the application.
Eliminated all properties and config entries related to content filtering and external spam blocking services from site configuration, interfaces, view models, and views. This includes removal of settings for ApplyContentFiltersToWeb, ApplyContentFiltersToRSS, ContentFilters, EnableCoComment, EnableSpamBlockingService, and SpamBlockingServiceApiKey. The ISpamBlockingService property is now only retained as an ignored property.
Removed CrosspostSiteArray and PingServiceArray from ISiteConfig, SiteConfig, and SiteConfigTest. These array properties were used for XML serialization but are now replaced by collection properties, simplifying the interface and implementation.
Expanded site.config with Mastodon, CDN, reCAPTCHA, TinyMCE, and security settings. Added options for comment display, cookie consent, and SMTP sender. Removed deprecated options including Google Maps, OpenID, AMP, and some email notifications to modernize configuration.
@poppastring poppastring merged commit e714faf into main Feb 23, 2026
3 checks passed
@poppastring poppastring deleted the remove-redundant-settings branch February 23, 2026 02:23
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