Skip to content

Commit 93ebbd5

Browse files
authored
Merge branch 'develop' into develop
2 parents e211185 + 76b3e07 commit 93ebbd5

File tree

10 files changed

+68
-50
lines changed

10 files changed

+68
-50
lines changed

.github/workflows/debian-packaging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Upload artifact
2929
if: ${{ github.event_name == 'push' }}
30-
uses: actions/upload-artifact@v2
30+
uses: actions/upload-artifact@v4
3131
with:
3232
name: debian-package-${{ matrix.codename }}-${{ github.sha }}
3333
path: '~/artifacts'

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,20 @@ SPDX-License-Identifier: AGPL-3.0-or-later
77
CHANGELOG
88
=========
99

10-
Unreleased changes
10+
3.3.1 (unreleased)
1111
------------------
1212

13+
* Improve the error popup window to make its contents more readable (PR#304 by Radek Vyhnal).
14+
* Tests: Update/Fix Debian package build scripts (PR#305 by Sebastian Wagner).
15+
1316
### Configuration
14-
- Sort bots alphabetically in side menu.
15-
17+
- Sort bots alphabetically in side menu (PR#298 by Psych0meter).
18+
19+
3.3.0 (2024-03-01)
20+
------------------
21+
22+
Bump version to be in sync with the main intelmq release
23+
1624
3.2.0 (2023-07-19)
1725
------------------
1826

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ SPDX-FileCopyrightText: 2020 IntelMQ Team
44
SPDX-License-Identifier: AGPL-3.0-or-later
55
-->
66

7-
![IntelMQ](https://raw.githubusercontent.com/certtools/intelmq/master/docs/images/Logo_Intel_MQ.png)
7+
![IntelMQ](https://github.com/certtools/intelmq/raw/develop/docs/static/images/Logo_Intel_MQ.svg)
88

99
**IntelMQ Manager** is a graphical interface to manage configurations for the [IntelMQ](https://github.com/certtools/intelmq) framework.
1010
A IntelMQ configuration is a set of config files which describe which bots and processing steps should be run in which order. It is similar to describing the dataflow in [dataflow oriented](https://en.wikipedia.org/wiki/Dataflow_programming) languages.
1111
**IntelMQ Manager** is therefore an intuitive tool to allow non-programmers to specify the data flow in IntelMQ.
1212

1313
## Documentation
1414

15-
The documentation for IntelMQ-Manager is part of the [IntelMQ documentation on readthedocs](https://intelmq.readthedocs.io/en/latest/user/intelmq-manager.html).
15+
The documentation for IntelMQ-Manager is part of the [IntelMQ documentation]([https://intelmq.readthedocs.io/en/latest/user/intelmq-manager.html](https://docs.intelmq.org/latest/user/manager/)).
1616

1717
## Licence
1818

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
intelmq-manager (3.3.0-1) stable; urgency=medium
2+
3+
* Update to 3.3.0: Bump version to be in sync with the main intelmq release
4+
5+
-- Aaron Kaplan <[email protected]> Fr, 01 Mar 2024 14:19:00 +0100
6+
17
intelmq-manager (3.2.0-1) stable; urgency=medium
28

39
* Update to 3.2.0

intelmq_manager/static/css/style.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ nav ul.nav.navbar-top-links li.active {
2323
padding: 5px;
2424
width: 500px;
2525
height: 44px;
26-
overflow: auto;
26+
overflow: hidden;
2727
resize: vertical;
2828
position: absolute;
2929
top: 0;
@@ -33,9 +33,8 @@ nav ul.nav.navbar-top-links li.active {
3333
#wrapper .navbar #log-window.extended {
3434
height: auto;
3535
max-height: 100vh;
36-
width: auto;
3736
cursor: unset;
38-
overflow: scroll;
37+
overflow-y: auto;
3938
}
4039
#wrapper .navbar #log-window [role=close] {
4140
float: right;
@@ -146,4 +145,3 @@ nav ul.nav.navbar-top-links li.active {
146145
#network-container .network-right-menu .vis-physics-toggle {
147146
right: 480px;
148147
}
149-
/*# sourceMappingURL=style.css.map */

intelmq_manager/static/js/about.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function get_versions() {
1212
.done(function (data) {
1313
intelmq_version_element.innerHTML = data.intelmq;
1414
intelmq_api_version_element.innerHTML = data['intelmq-api'];
15-
intelmq_manager_version_element.innerHTML = '3.2.0';
15+
intelmq_manager_version_element.innerHTML = '3.3.0';
1616
})
1717
.fail(function (jqxhr, textStatus, error) {
1818
let err = `${textStatus}, ${error}`;

intelmq_manager/static/js/static.js

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -105,28 +105,32 @@ if (!String.prototype.format) {
105105
let lw_tips = new Set();
106106
$(function () {
107107
let $lw = $("#log-window");
108+
109+
// close log window on Escape
110+
$(document).on('keydown.close-log-window', event => {
111+
if (event.key == "Escape") {
112+
$lw.removeClass("extended");
113+
}
114+
});
115+
116+
// toggle log window expanded state - if not selecting text
117+
let mDownSelection = 0
118+
$lw.on("mousedown", e => {
119+
mDownSelection = document.getSelection().toString().length
120+
});
121+
$lw.on("mouseup", e => {
122+
if (mDownSelection == document.getSelection().toString().length) {
123+
$lw.toggleClass("extended");
124+
}
125+
});
126+
127+
// close log window via X
108128
let closeFn = () => {
109129
$lw.hide();
110130
$(".contents", $lw).html("");
111131
lw_tips.clear(); // no tips displayed
112132
return false;
113133
};
114-
115-
$lw.on("click", e => { // clicking enlarges but not shrinks so that we may copy the text
116-
let btn = $(e.target);
117-
if (!btn.hasClass("extended")) {
118-
btn.toggleClass("extended");
119-
120-
//$(".alert", this).prependTo(btn);
121-
122-
$(document).on('keydown.close-log-window', event => {
123-
if (event.key == "Escape") {
124-
$(document).off('keydown.close-log-window');
125-
$lw.removeClass("extended");
126-
}
127-
});
128-
}
129-
});
130134
$("#log-window [role=close]").click(closeFn);
131135
});
132136

intelmq_manager/static/less/style.less

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ nav ul.nav.navbar-top-links li.active {
2525
padding: 5px;
2626
width: 500px;
2727
height: 44px;
28-
overflow: auto;
28+
overflow: hidden;
2929
resize: vertical;
3030
position: absolute;
3131
top: 0;
3232
right: 0;
3333
cursor: pointer;
3434

3535
&.extended {
36-
height: auto;
36+
height: auto;
3737
max-height: 100vh;
38-
width: auto;
39-
cursor: unset;
40-
overflow:scroll;
41-
}
38+
// width: auto;
39+
cursor: unset;
40+
overflow-y: auto;
41+
}
4242

4343
[role=close] {
4444
float: right;
@@ -61,13 +61,13 @@ nav ul.nav.navbar-top-links li.active {
6161
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
6262
}
6363

64-
.alert a{
65-
text-decoration: underline;
66-
display: inline-block;
67-
padding: 4px;
68-
border: 1px solid #ccc;
69-
border-radius: 10px;
70-
}
64+
.alert a {
65+
text-decoration: underline;
66+
display: inline-block;
67+
padding: 4px;
68+
border: 1px solid #ccc;
69+
border-radius: 10px;
70+
}
7171
}
7272

7373
.fa {
@@ -81,8 +81,9 @@ nav ul.nav.navbar-top-links li.active {
8181
/*
8282
* Management page
8383
*/
84-
#botnet-panels > .panel[data-botnet-group] {
84+
#botnet-panels>.panel[data-botnet-group] {
8585
display: none; // initially, all other panels are hidden
86+
8687
&[data-botnet-group=botnet] {
8788
display: block;
8889
}
@@ -119,11 +120,10 @@ nav ul.nav.navbar-top-links li.active {
119120

120121
#templates {
121122
display: none;
122-
}
123-
124-
#side-menu {
125-
}
123+
}
126124

125+
#side-menu {}
126+
127127
#network-container {
128128

129129
.control-buttons {
@@ -139,6 +139,7 @@ nav ul.nav.navbar-top-links li.active {
139139
}
140140

141141
.monitor-button {
142+
142143
//background-image: url('../plugins/vis.js/img/network/rightArrow.png');
143144
//background-size: 24%;
144145
div a {
@@ -151,11 +152,12 @@ nav ul.nav.navbar-top-links li.active {
151152
}
152153

153154
.network-right-menu {
154-
> div {
155+
>div {
155156
display: block;
156157
}
157158

158-
.vis-live-toggle, .vis-physics-toggle {
159+
.vis-live-toggle,
160+
.vis-physics-toggle {
159161
border-radius: 10px;
160162
position: absolute;
161163
right: 560px;
@@ -185,4 +187,4 @@ nav ul.nav.navbar-top-links li.active {
185187
right: 480px;
186188
}
187189
}
188-
}
190+
}

intelmq_manager/templates/base.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
class="btn btn-primary" style="display: none;">
108108
</div>
109109
<!-- /.navbar-top-links -->
110-
<div title="Click to expand, then escape to minimize again." id='log-window'>
110+
<div title="Click to expand, then escape to minimize again." id='log-window' class="extended">
111111
<i role="close" class="fa fa-times"></i>
112112
<div class="contents"></div>
113113
</div>

intelmq_manager/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
SPDX-FileCopyrightText: 2020-2021 Intelmq Team <[email protected]>, 2022-2023 Intevation GmbH
44
SPDX-License-Identifier: AGPL-3.0-or-later
55
"""
6-
__version_info__ = (3, 2, 0)
6+
__version_info__ = (3, 3, 0)
77
__version__ = '.'.join(map(str, __version_info__))

0 commit comments

Comments
 (0)