Skip to content

Commit

Permalink
Release v2.0.3 (#52)
Browse files Browse the repository at this point in the history
- deps: bump versions
- ci: test on node 18 & 20 (was 14 & 16)
- rename data.uribl -> uribl
- js: bump jquery versions
  • Loading branch information
msimerson authored Dec 12, 2023
1 parent 6b4dbb5 commit 7b9e13a
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [ push ]

env:
CI: true
node-version: 16
node-version: 20

jobs:
lint:
Expand All @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ 14, 16, 18 ]
node-version: [ 18, 20 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
Expand All @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
os: [ windows-latest ]
node-version: [ 14, 16, 18 ]
node-version: [ 18, 20 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule ".release"]
path = .release
url = [email protected]:msimerson/.release.git
1 change: 1 addition & 0 deletions .release
Submodule .release added at 0890e9
9 changes: 9 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@

### Unreleased

### 2.0.3 - 2023-12-12

- deps: bump versions
- ci: test on node 18 & 20 (was 14 & 16)
- rename data.uribl -> uribl


### 2.0.2 - 2022-05-27

Expand Down Expand Up @@ -108,3 +116,4 @@
### Oct 8 23:28:07 2016

- initial import
[2.0.4]: https://github.com/haraka/haraka-plugin-watch/releases/tag/2.0.4
2 changes: 1 addition & 1 deletion html/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const rcpt_to_plugins = [
];
const data_plugins = [
'early_talker', 'bounce','headers','karma','spamassassin','rspamd',
'clamd','data.uribl','limit','dkim','attachment'
'clamd','uribl','limit','dkim','attachment'
];
// 'seen' plugins are ones we've seen data reported for. When data from a new
// plugin arrives, it gets added to one of the sections above and the table is
Expand Down
6 changes: 3 additions & 3 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<head>
<meta charset="UTF-8">
<title>Haraka Activity</title>
<script src="//code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="//code.jquery.com/ui/1.13.1/jquery-ui.min.js"></script>
<script src="//code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="//code.jquery.com/ui/1.13.2/jquery-ui.min.js"></script>
<script src="/watch/client.js"></script>

<link rel="stylesheet" href="/watch/watch.css" />
<link rel="stylesheet" href="/watch/jquery.tipsy.css" />
<link rel="stylesheet" href="//code.jquery.com/ui/1.13.1/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="//code.jquery.com/ui/1.13.2/themes/smoothness/jquery-ui.css">
<style>
label, input { display:block; }
input.text { margin-bottom:12px; width:95%; padding: .4em; }
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ exports.redis_subscribe_all_results = async function (next) {
if (m.result.helo_host) return;
break;
case 'data.uribl':
case 'uribl':
if (m.result.pass) return;
if (m.result.skip) return;
break;
Expand Down Expand Up @@ -349,6 +350,7 @@ exports.format_any = function (pi_name, r) {
}
break;
case 'data.uribl':
case 'uribl':
case 'dnsbl':
if (r.fail) return { title: r.fail, classy: 'bg_lred' };
break;
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haraka-plugin-watch",
"version": "2.0.2",
"version": "2.0.3",
"description": "Watch live SMTP traffic in a web interface",
"main": "index.js",
"scripts": {
Expand All @@ -26,14 +26,14 @@
},
"homepage": "https://github.com/haraka/haraka-plugin-watch#readme",
"dependencies": {
"haraka-plugin-redis": "2",
"redis": "4",
"ws": "8"
"haraka-plugin-redis": "2.0.5",
"redis": "4.6.11",
"ws": "8.15.0"
},
"devDependencies": {
"eslint": "8",
"eslint": "8.55.0",
"eslint-plugin-haraka": "*",
"haraka-test-fixtures": "*",
"mocha": "9"
"mocha": "10.2.0"
}
}

0 comments on commit 7b9e13a

Please sign in to comment.