Repository navigation
Google Deprecation - #858
Merged
Merged
Conversation
Removed all reCAPTCHA support, including config, UI, DI, and package references. Replaced GoogleAnalyticsID with AnalyticsTrackingId and AnalyticsProvider for broader analytics support. Updated RSS feed and admin UI to use new analytics fields. Cleaned up all related code and tests.
Eliminated all Google-specific analytics and captcha settings from code, config, and UI. Removed related fields from meta config, view models, and admin pages. RSS feed no longer emits analytics elements. Updated docs to note the breaking change and migration steps, recommending Akismet and spam question validation. Cleaned up CSP sources to remove Google analytics/captcha domains.
Removed FaceBookAdmins and FaceBookAppID from IMetaTags, MetaTags, and MetaViewModel. Deleted related XML elements from all meta config files and removed their hidden fields from Settings.cshtml.
Mastodon server URL and account are now stored in meta.config (MetaTags), with site.config as a fallback for backward compatibility. Introduced IMastodonSettingsResolver and MastodonSettingsResolver to centralize Mastodon config resolution. Updated ActivityPubManager, ActivityPubController, and AdminController to use the resolver. Extended MetaTags and IMetaTags with Mastodon fields and updated XML serialization. Admin UI now binds Mastodon fields to MetaConfig, and legacy site config values are cleared on save. Registered MastodonSettingsResolver for DI. Updated unit tests and meta config XML files to support the new fields.
Persist explicit blanks in meta.config for Mastodon settings instead of backfilling from current config. Trim non-empty values and set legacy site.config Mastodon fields to null, ensuring meta.config is the canonical source and intentional blanks are preserved.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Classification
Deprecation and code cleanup to remove Google Analytics and reCAPTCHA support, update Mastodon settings handling, and improve documentation.
PR Summary
This PR removes all Google Analytics and reCAPTCHA support, migrates Mastodon settings to meta.config, and updates related code and documentation. It also simplifies the comments UI and refactors dependency injection for Mastodon settings.