stable

Clone or download

Read-only

feat: Admin UI for Meilisearch remote server

Administrator can now use the web interface to set the Meilisearch remote server settings: url and api key (index name will be done in a dedicated changeset). If the platform is using a local server, then the interface is not available. To test see instructions on how to set up a local[0]/remote[1] server. Part of story #28835: have a full-text search backend based on Meilisearch [0] git #tuleap/stable/311dd7653f3d3106bc6faba5a6b33781487ad031, git #tuleap/stable/9e37f66221771d0c74bbf995a6c84ccb51a23844, git #tuleap/stable/98ff5915811d166c0498b0f91e2d35901f2518bf. [1] git #tuleap/stable/f6fcb3ddd4883ddebaa0db26e92cb2dafe350668. Change-Id: I71c249f35990775d112a6c38cb09bdf44630c375

Modified Files

Name
A plugins/fts_meilisearch/include/Server/Administration/MeilisearchAdminSettingsController.php +66 −0 Go to diff View file
A plugins/fts_meilisearch/include/Server/Administration/MeilisearchAdminSettingsPresenter.php +38 −0 Go to diff View file
A plugins/fts_meilisearch/include/Server/Administration/MeilisearchSaveAdminSettingsController.php +90 −0 Go to diff View file
A plugins/fts_meilisearch/include/Server/IProvideCurrentKeyForLocalServer.php +30 −0 Go to diff View file
M plugins/fts_meilisearch/include/Server/LocalMeilisearchServer.php +1 −1 Go to diff View file
M plugins/fts_meilisearch/include/Server/MeilisearchAPIKeyValidator.php +1 −1 Go to diff View file
M plugins/fts_meilisearch/include/Server/MeilisearchIndexNameValidator.php +1 −1 Go to diff View file
M plugins/fts_meilisearch/include/fts_meilisearchPlugin.php +65 −0 Go to diff View file
M plugins/fts_meilisearch/site-content/fr_FR/LC_MESSAGES/tuleap-fts_meilisearch.po +27 −0 Go to diff View file
M plugins/fts_meilisearch/site-content/pt_BR/LC_MESSAGES/tuleap-fts_meilisearch.po +21 −0 Go to diff View file
A plugins/fts_meilisearch/templates/site-admin.mustache +46 −0 Go to diff View file
A plugins/fts_meilisearch/tests/unit/Server/Administration/MeilisearchAdminSettingsControllerTest.php +99 −0 Go to diff View file
A plugins/fts_meilisearch/tests/unit/Server/Administration/MeilisearchSaveAdminSettingsControllerTest.php +147 −0 Go to diff View file