haraka-plugin-karma 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +6 -4
- package/.github/workflows/codeql.yml +14 -0
- package/.github/workflows/publish.yml +2 -15
- package/Changes.md +19 -15
- package/package.json +1 -1
package/.github/workflows/ci.yml
CHANGED
|
@@ -11,27 +11,29 @@ jobs:
|
|
|
11
11
|
uses: haraka/.github/.github/workflows/lint.yml@master
|
|
12
12
|
|
|
13
13
|
test:
|
|
14
|
+
needs: lint
|
|
14
15
|
runs-on: ${{ matrix.os }}
|
|
15
16
|
services:
|
|
16
17
|
redis:
|
|
17
18
|
image: redis
|
|
18
19
|
ports:
|
|
19
|
-
- 6379
|
|
20
|
+
- 6379:6379
|
|
20
21
|
strategy:
|
|
21
22
|
matrix:
|
|
22
23
|
os: [ ubuntu-latest ]
|
|
23
24
|
node-version: [ 14, 16, 18 ]
|
|
24
25
|
fail-fast: false
|
|
25
26
|
steps:
|
|
26
|
-
- uses: actions/checkout@
|
|
27
|
+
- uses: actions/checkout@v3
|
|
27
28
|
- uses: actions/setup-node@v3
|
|
28
|
-
name: Node
|
|
29
|
+
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
|
|
29
30
|
with:
|
|
30
31
|
node-version: ${{ matrix.node-version }}
|
|
31
32
|
- run: npm install
|
|
32
33
|
- run: npm test
|
|
33
34
|
|
|
34
35
|
test-win:
|
|
36
|
+
needs: lint
|
|
35
37
|
runs-on: ${{ matrix.os }}
|
|
36
38
|
strategy:
|
|
37
39
|
matrix:
|
|
@@ -41,7 +43,7 @@ jobs:
|
|
|
41
43
|
steps:
|
|
42
44
|
- uses: actions/checkout@v3
|
|
43
45
|
- uses: actions/setup-node@v3
|
|
44
|
-
name:
|
|
46
|
+
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
|
|
45
47
|
with:
|
|
46
48
|
node-version: ${{ matrix.node-version }}
|
|
47
49
|
- run: npm install
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
name: CodeQL
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ master ]
|
|
6
|
+
pull_request:
|
|
7
|
+
# The branches below must be a subset of the branches above
|
|
8
|
+
branches: [ master ]
|
|
9
|
+
schedule:
|
|
10
|
+
- cron: '18 7 * * 4'
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
codeql:
|
|
14
|
+
uses: haraka/.github/.github/workflows/codeql.yml@master
|
|
@@ -4,6 +4,8 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
6
|
- master
|
|
7
|
+
paths:
|
|
8
|
+
- package.json
|
|
7
9
|
|
|
8
10
|
env:
|
|
9
11
|
CI: true
|
|
@@ -12,18 +14,3 @@ jobs:
|
|
|
12
14
|
publish:
|
|
13
15
|
uses: haraka/.github/.github/workflows/publish.yml@master
|
|
14
16
|
secrets: inherit
|
|
15
|
-
|
|
16
|
-
publish-gpr:
|
|
17
|
-
runs-on: ubuntu-latest
|
|
18
|
-
permissions:
|
|
19
|
-
contents: read
|
|
20
|
-
packages: write
|
|
21
|
-
steps:
|
|
22
|
-
- uses: actions/checkout@v3
|
|
23
|
-
- uses: actions/setup-node@v3
|
|
24
|
-
with:
|
|
25
|
-
node-version: 16
|
|
26
|
-
registry-url: https://npm.pkg.github.com/
|
|
27
|
-
- run: npm publish
|
|
28
|
-
env:
|
|
29
|
-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
package/Changes.md
CHANGED
|
@@ -1,80 +1,84 @@
|
|
|
1
1
|
|
|
2
|
+
### 2.0.1 - 2022-05-27
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
- chore(ci): depend on shared GHA workflows
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### 2.0.0 - 2022-03-29
|
|
4
8
|
|
|
5
9
|
- remove lots of plugin=this
|
|
6
10
|
- remove unnecessary braces and trailing ;
|
|
7
11
|
- some promises.
|
|
8
12
|
|
|
9
13
|
|
|
10
|
-
|
|
14
|
+
### 1.0.14 - 2022-02-14
|
|
11
15
|
|
|
12
16
|
- try to unsubscribe in case connection is marked to skip during transaction
|
|
13
17
|
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
### 1.0.13 - 2019-04-23
|
|
16
20
|
|
|
17
21
|
- add 'exists' pattern
|
|
18
22
|
|
|
19
23
|
|
|
20
|
-
|
|
24
|
+
### 1.0.12 - 2019-03-08
|
|
21
25
|
|
|
22
|
-
- don't interfere with STARTLS and AUTH when
|
|
26
|
+
- don't interfere with STARTLS and AUTH when karma is listed above those plugins in config/plugins
|
|
23
27
|
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
### 1.0.11 - 2017-10-25
|
|
26
30
|
|
|
27
31
|
- private addresses and flagged connections exemption
|
|
28
32
|
|
|
29
33
|
|
|
30
|
-
|
|
34
|
+
### 1.0.10 - 2017-08-30
|
|
31
35
|
|
|
32
36
|
- add TLS awards #19
|
|
33
37
|
|
|
34
38
|
|
|
35
|
-
|
|
39
|
+
### 1.0.9 - 2017-07-29
|
|
36
40
|
|
|
37
41
|
- splash on some es6
|
|
38
42
|
- add AppVeyor CI testing
|
|
39
43
|
|
|
40
44
|
|
|
41
|
-
|
|
45
|
+
### 1.0.8 - 2017-06-26
|
|
42
46
|
|
|
43
47
|
- revert #9, it breaks current Haraka deployments
|
|
44
48
|
|
|
45
49
|
|
|
46
|
-
|
|
50
|
+
### 1.0.7 - 2017-06-16
|
|
47
51
|
|
|
48
52
|
- update for eslint 4 compat
|
|
49
53
|
- Add results_redis_publish=true for haraka-results changes #9
|
|
50
54
|
|
|
51
55
|
|
|
52
|
-
|
|
56
|
+
### 1.0.6 - 2017-05-04
|
|
53
57
|
|
|
54
58
|
- emit error if redis plugin didn't create connection
|
|
55
59
|
|
|
56
60
|
|
|
57
|
-
|
|
61
|
+
### 1.0.5 - 2017-02-06
|
|
58
62
|
|
|
59
63
|
- move merge_redis_ini into load_karma_ini, so it also gets applied
|
|
60
64
|
after a karma.ini change
|
|
61
65
|
- skip redis operations when no connection exists
|
|
62
66
|
|
|
63
67
|
|
|
64
|
-
|
|
68
|
+
### 1.0.4 - 2017-01-29
|
|
65
69
|
|
|
66
70
|
- use the new haraka-plugin-redis
|
|
67
71
|
- remove exceptions for soft denials. This makes denial time simpler.
|
|
68
72
|
- rules updates
|
|
69
73
|
|
|
70
74
|
|
|
71
|
-
|
|
75
|
+
### 1.0.3 - 2017-01-27
|
|
72
76
|
|
|
73
77
|
- add rule #280 for known-senders
|
|
74
78
|
- add support for 'length' type, with eq, gt, and lt operators
|
|
75
79
|
- use shared haraka-eslint
|
|
76
80
|
|
|
77
81
|
|
|
78
|
-
|
|
82
|
+
### 1.0.2 - 2017-01-24
|
|
79
83
|
|
|
80
84
|
- use redis.merge_redis_ini()
|