stable

Clone or download

Read-only

Plugin Bot Mattermost - New Admin Interface

Part of story #9129 Define bots to send notification to Mattermost New admin inteface in Plugin BotMattermost configuration section with the possibility to delete an bot of the list. New Bot attribute : * avatar_url attribute for the Mattermost avatar of the bot * channels for send notification in different channels Change-Id: I730b226e7d08f1463cfc48f464c9feacb1085692

Modified Files

Name
M db/install.sql +8 −1 Go to diff View file
A db/mysql/updates/2016/201605271655_add_channels.php +50 −0 Go to diff View file
A db/mysql/updates/2016/201605311330_add_avatar_url_column.php +47 −0 Go to diff View file
M db/uninstall.sql +1 −0 Go to diff View file
M include/BotMattermost/AdminController.php +74 −14 Go to diff View file
M include/BotMattermost/Bot/Bot.php +31 −7 Go to diff View file
M include/BotMattermost/Bot/BotDao.php +112 −4 Go to diff View file
M include/BotMattermost/Bot/BotFactory.php +79 −10 Go to diff View file
A include/BotMattermost/Exception/BotAlreadyExistException.php +34 −0 Go to diff View file
R include/BotMattermost/Exception/CannotAccessDataBaseException.php Go to diff View file
M include/BotMattermost/Exception/CannotCreateBotException.php +8 −1 Go to diff View file
A include/BotMattermost/Exception/CannotDeleteBotException.php +34 −0 Go to diff View file
A include/BotMattermost/Exception/ChannelsNotFoundException.php +34 −0 Go to diff View file
A include/BotMattermost/Presenter/AdminAddBotPresenter.php +88 −0 Go to diff View file
R include/BotMattermost/AdminPresenter.php Go to diff View file
M include/autoload.php +9 −5 Go to diff View file
M include/botmattermostPlugin.class.php +4 −4 Go to diff View file
M site-content/en_US/botmattermost.tab +25 −7 Go to diff View file
M site-content/fr_FR/botmattermost.tab +25 −7 Go to diff View file
A template/addBot.mustache +33 −0 Go to diff View file
M template/index.mustache +19 −24 Go to diff View file
M www/themes/default/css/style.scss +8 −0 Go to diff View file