Skip to content

Add acp_extension.py: enable or disable an extension through the ACP - #71

Merged
bonelifer merged 1 commit into
mainfrom
feature/acp-extension-tool
Nov 12, 2026
Merged

bonelifer merged 1 commit into
mainfrom
feature/acp-extension-tool

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

Adds phpbb-test-board/acp_extension.py, which enables or disables an extension through the ACP the way an admin does.

  • It logs in, re-authenticates for the ACP, confirms Enable or Disable, and follows phpBB's "in progress" page refreshes until phpBB reports success or an error.
  • It prints each request and the time taken.
  • It's for extensions that can't be enabled from phpBB's command line (kinerity/knowledgebase reads the current user's name in a migration), and for timing a long migration through the web.
  • It logs in as seed-forum's public fixture admin unless --user and PHPBB_ADMIN_PASSWORD are given.
  • The session id goes in every URL, because Python's cookie jar doesn't send cookies set for a bare localhost back.

tests/test-phpbb-test-board.sh checks its argument handling, and the README documents it. Claude used it to enable kinerity and the Knowledge Base on seed-forum boards on phpBB 3.3 and 4.0.


Investigated and written by Claude on behalf of William Jacoby (bonelifer).

🤖 Generated with Claude Code

Logs in as an admin, re-authenticates for the ACP, confirms Enable or
Disable and follows phpBB's in-progress refreshes until it reports success
or an error, printing each request and the time taken. For extensions
whose migrations need a logged-in user (kinerity/knowledgebase cannot be
enabled from the CLI) and for timing the web path of a long migration.
The session id goes in every URL, because Python's cookie jar does not
send cookies set for a bare localhost back.

tests/test-phpbb-test-board.sh checks its argument handling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bonelifer
bonelifer merged commit 1bc8b5f into main Nov 12, 2026
1 check passed
@bonelifer
bonelifer deleted the feature/acp-extension-tool branch November 12, 2026 10:37
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