stable

Clone or download

Read-only

chore: Botmattermost plugin must provide a way to check bot validity

This is part of story #22696 configure mattermost bots at project level Botmattermost_git and Botmattermost_agiledashboard will deal with both system and project bots. This information must be checked. Change-Id: Ic460ef8a23dbc1a00968ff1680d09d887a3af448

Modified Files

Name
M .gitignore +2 −0 Go to diff View file
M Makefile +1 −1 Go to diff View file
A composer.json +8 −0 Go to diff View file
A composer.lock +18 −0 Go to diff View file
M include/BotMattermost/Bot/Bot.php +20 −12 Go to diff View file
M include/BotMattermost/Bot/BotDao.php +14 −2 Go to diff View file
M include/BotMattermost/Bot/BotFactory.php +38 −15 Go to diff View file
A include/BotMattermost/Bot/BotValidityChecker.php +45 −0 Go to diff View file
M include/BotMattermost/Controller/AdminController.php +1 −1 Go to diff View file
A include/BotMattermost/Exception/BotCannotBeUsedInProjectException.php +35 −0 Go to diff View file
M include/BotMattermost/Router.php +5 −0 Go to diff View file
M include/SenderServices/Attachment.php +1 −1 Go to diff View file
M include/SenderServices/Message.php +0 −2 Go to diff View file
D include/autoload.php +0 −42 Go to diff View file
M include/botmattermostPlugin.php +2 −1 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-botmattermost.po +4 −0 Go to diff View file
M tests/unit/BotMattermost/AdminControllerTest.php +1 −1 Go to diff View file
A tests/unit/BotMattermost/Bot/BotValidityCheckerTest.php +58 −0 Go to diff View file
M tests/unit/BotMattermost/SenderServices/EncoderMessageTest.php +2 −2 Go to diff View file
M tests/unit/BotMattermost/SenderServices/SenderTest.php +2 −1 Go to diff View file
M tests/unit/bootstrap.php +3 −2 Go to diff View file
M tuleap-plugin-botmattermost.spec +1 −1 Go to diff View file