Skip to content

[1.x] feat: sync abandoned extensions list from flarum/abandoned-extensions#4559

Merged
imorland merged 4 commits into
1.xfrom
im/abandoned-extensions-sync
Apr 11, 2026
Merged

[1.x] feat: sync abandoned extensions list from flarum/abandoned-extensions#4559
imorland merged 4 commits into
1.xfrom
im/abandoned-extensions-sync

Conversation

@imorland
Copy link
Copy Markdown
Member

Adds a weekly scheduled task that fetches the community-maintained flarum/abandoned-extensions list, filters it to installed packages, and surfaces the results in the admin panel.

What's included

  • AbandonedExtensionsFetcher — fetches, filters, diffs, and stores the list; optionally emails admins
  • SyncAbandonedExtensionsCommand — CLI command with --notify flag, scheduled weekly
  • POST /api/extensions/abandoned/sync — manual trigger for admins
  • Basics page — "Check Now" button and a toggle to email admins when newly abandoned extensions are detected during the weekly check
  • ExtensionManager — applies abandoned status from the stored map, taking precedence over composer's own abandoned field

Behaviour

  • The weekly scheduled run only notifies about newly flagged extensions (diff against previous map) to avoid repeat emails
  • The manual "Check Now" button always notifies about all currently installed abandoned extensions
  • The notify-admins setting defaults to off

imorland and others added 2 commits April 11, 2026 20:51
Adds a weekly scheduled task that fetches a community-maintained list of
abandoned Flarum extensions from GitHub, filters to installed packages,
and stores the result in settings. Admins are flagged in the extension
list and can optionally be notified by email when newly abandoned
extensions are detected.

- AbandonedExtensionsFetcher: fetches, filters, stores, and diffs the list
- SyncAbandonedExtensionsCommand: CLI with --notify flag, scheduled weekly
- SyncAbandonedExtensionsController: POST /api/extensions/abandoned/sync
- BasicsPage: "Check Now" button and notify-admins toggle
- ExtensionManager: applies abandoned status from the stored map
@imorland imorland changed the title feat: sync abandoned extensions list from flarum/abandoned-extensions [1.x] feat: sync abandoned extensions list from flarum/abandoned-extensions Apr 11, 2026
@imorland imorland added this to the 1.8.16 milestone Apr 11, 2026
@imorland imorland marked this pull request as ready for review April 11, 2026 20:11
@imorland imorland requested a review from a team as a code owner April 11, 2026 20:11
@imorland imorland merged commit 609b756 into 1.x Apr 11, 2026
409 checks passed
@imorland imorland deleted the im/abandoned-extensions-sync branch April 11, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants