User tests: Successful: Unsuccessful:
Pull Request for Issue #43949 .
new command to enable or disable an extension
run php cli\joomla.php extension:enable 226
run php cli\joomla.php extension:disable 226
to disable
N/A
enable or disable an extension from cli
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
PR-5.2-dev
|
Title |
|
I think it would be better to have two separate commands for enabling and disabling extensions: extension:enable
and extension:disable
. In my opinion, it is a bit confusing that the command "publish" also disables extensions.
Joomla has separate commands for installing and uninstalling extensions, as well as for getting and setting configuration values an so on. There is no commands such:
php cli/joomla extension:install --uninstall 123
php cli/joomla user:add --delete bob
php cli/joomla site:up --down
php cli/joomla database:export --import
Labels |
Added:
Feature
PR-5.3-dev
Removed: PR-5.2-dev |
2 separate command now
Shouldnt all usage of publish/unpublish (including the file names) be changed to enable/disable?
I think we should use enable/disable
instead of publish/unpublish
. Even a field in database has name enabled
:
$table->enabled = 1;
I have tested this item ✅ successfully on 43ef558
This pull request has been automatically rebased to 6.0-dev.
Title |
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-03-24 21:45:55 |
Closed_By | ⇒ | alikon | |
Labels |
Added:
PR-6.0-dev
Removed: PR-5.3-dev |
Status | Closed | ⇒ | New |
Closed_Date | 2025-03-24 21:45:55 | ⇒ | |
Closed_By | alikon | ⇒ |
Status | New | ⇒ | Pending |
Category | Libraries | ⇒ | Libraries JavaScript Unit Tests |
Labels |
Added:
Unit/System Tests
|
I have tested this item ✅ successfully on caf8574
I have tested this very successfully and satisfyingly ;) Thanks @alikon!
I have not tested this item.
tested that you can not disable a protected extension
tested that you can disable a non-protected extension
tested that you can not enable an already enabled extension
tested that you can not disable an already disabled extension
I have not tested this item.
@brianteeman Really not tested? Or just not selected the test result in the issue tracker before submitting?
@brianteeman GitHub recorded it in the counter, so it shows all checks have passed. But the alter test result does not trigger an extra comment in the thread like a test result submission does, that's what confused me.
Status | Pending | ⇒ | Ready to Commit |
RTC
This pull request has been automatically rebased to 6.1-dev.
Title |
|
This pull request has been automatically rebased to 5.3-dev.