Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ CHANGELOG

### Configuration
- Sort bots alphabetically in side menu (PR#298 by Psych0meter).
- Fix link to the bot documentation page (PR#310 by Sebastian Wagner, fixes #307).

3.3.0 (2024-03-01)
------------------
Expand Down
5 changes: 2 additions & 3 deletions intelmq_manager/static/js/configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function load_bots(config) {
sortedGroupKeys.forEach(key => {
sortedGroup[key] = group[key];
});

for (let bot_name in sortedGroup) {
let bot = group[bot_name];
let $bot = $bot_group.find("ul > li:first").clone().appendTo($("ul", $bot_group))
Expand Down Expand Up @@ -356,8 +356,7 @@ function fill_bot(id, group, name) {
insertKeyValue(key, value, BORDER_TYPES.RUNTIME, true);
}

const modulename = bot.module.replace(/\./g, "-").replace(/_/g, "-");
documentation.href = `https://intelmq.readthedocs.org/en/maintenance/user/bots.html#${modulename}`;
documentation.href = `https://docs.intelmq.org/latest/user/bots/#${bot.module}`;
popup.setAttribute('class', "with-bot");
}

Expand Down
Loading