Skip to content

Bump bundled Atmosphere: OAuth redirect_uri filter + connect notice#30

Merged
kraftbj merged 1 commit intotrunkfrom
bump/bundled-atmosphere-oauth-filter
Apr 24, 2026
Merged

Bump bundled Atmosphere: OAuth redirect_uri filter + connect notice#30
kraftbj merged 1 commit intotrunkfrom
bump/bundled-atmosphere-oauth-filter

Conversation

@RCowles
Copy link
Copy Markdown
Contributor

@RCowles RCowles commented Apr 24, 2026

Summary

Re-sync bundled Atmosphere from upstream trunk (28af195) via tools/sync-bundled.sh.

Key changes for FOSSE:

  • atmosphere_oauth_redirect_uri filter — lets FOSSE set its own OAuth callback URL so the flow returns to the FOSSE Setup page instead of Atmosphere's settings
  • Persisted connect noticeset_transient('settings_errors', ...) on the connect handler, matching what disconnect already did

These unblock Task 5 (Bluesky_Provider) in #27.

Upstream PR: Automattic/wordpress-atmosphere#33

ActivityPub (8d802e5) included in the sync but only has image asset recompression, no code changes.

Test plan

  • Existing Bluesky OAuth connect/disconnect flow still works
  • composer run-script test-php passes
  • E2E tests pass

Re-synced via tools/sync-bundled.sh.

Atmosphere (28af195):
- Add atmosphere_oauth_redirect_uri filter on Client::redirect_uri()
  so wrapper plugins can set their own OAuth callback URL.
- Persist connect success notice via set_transient() before redirect,
  matching what disconnect already does.
- Fix admin registration to run on init instead of plugins_loaded.
- Misc cleanup.

Upstream PR: Automattic/wordpress-atmosphere#33

ActivityPub (8d802e5): image asset recompression only, no code changes.
Copilot AI review requested due to automatic review settings April 24, 2026 16:13
@RCowles RCowles self-assigned this Apr 24, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Re-syncs the vendored bundled/atmosphere (and bundled/activitypub assets) from upstream trunk to pick up OAuth-flow and admin-notice behavior needed for FOSSE’s unified Setup UX.

Changes:

  • Bumps bundled Atmosphere to upstream 28af195…, including an atmosphere_oauth_redirect_uri filter and persisting connect notices via settings_errors transient.
  • Updates Atmosphere hook wiring / cron cleanup and reaction-sync robustness changes from upstream.
  • Includes ActivityPub image asset recompression (no functional code changes indicated in the PR description).

Reviewed changes

Copilot reviewed 7 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
bundled/atmosphere/vendor/composer/installed.php Updates vendored Atmosphere reference SHA to the new upstream sync point.
bundled/atmosphere/uninstall.php Clears additional scheduled hooks on uninstall.
bundled/atmosphere/readme.txt Updates plugin metadata (contributors list).
bundled/atmosphere/includes/wp-admin/class-admin.php Persists connect notice via transient; removes redundant admin-only REST route wiring comment.
bundled/atmosphere/includes/oauth/class-client.php Adds atmosphere_oauth_redirect_uri filter to customize OAuth callback URL.
bundled/atmosphere/includes/class-reaction-sync.php Upstream reaction sync behavior tweaks (logging, watermark grace handling, safer parent comment handling).
bundled/atmosphere/includes/class-atmosphere.php Adjusts hook registration timing/placement to ensure REST/AJAX endpoints available.
bundled/atmosphere/atmosphere.php Clears additional scheduled hooks on deactivation.
bundled/activitypub/assets/img/wp-logo.png Asset recompression/update.
bundled/activitypub/assets/img/mp.jpg Asset recompression/update.

@kraftbj kraftbj merged commit 0e2411a into trunk Apr 24, 2026
17 checks passed
@kraftbj kraftbj deleted the bump/bundled-atmosphere-oauth-filter branch April 24, 2026 19:14
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.

3 participants