stable

Clone or download

Read-only

Store the shared secret between MediaWiki and the MediaWiki Standalone Tuleap plugin

The secret is now persisted by Tuleap. To test you can re-generate the LocalSettings file and check that the shared key match the one used by Tuleap: tuleap mediawiki_standalone:generate_local_settings tuleap config-get --reveal-secret mediawiki_standalone_shared_secret Part of story #26042: install mediawiki standalone Change-Id: I9ac05325c51da569b9689f79fdb3be336c4b721f

Modified Files

Name
M plugins/mediawiki_standalone/include/Configuration/LocalSettingsFactory.php +5 −4 Go to diff View file
A plugins/mediawiki_standalone/include/Configuration/MediaWikiSharedSecretGenerator.php +30 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Configuration/MediaWikiSharedSecretGeneratorForgeConfigStore.php +46 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/MediawikiHTTPClientFactory.php +2 −0 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +4 −1 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsFactoryTest.php +11 −2 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Configuration/MediaWikiSharedSecretGeneratorForgeConfigStoreTest.php +58 −0 Go to diff View file