Skip to content

Commit

Permalink
doc(CONTRIBUTORS): added
Browse files Browse the repository at this point in the history
- doc: mv Changes CHANGELOG.md
- prefix node built-in modules with node:
- test: add disabled test than submits a rspamd req
  • Loading branch information
msimerson committed Jan 27, 2025
1 parent abc10e0 commit 2bd6066
Show file tree
Hide file tree
Showing 15 changed files with 709 additions and 517 deletions.
8 changes: 4 additions & 4 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
engines:
eslint:
enabled: true
channel: "eslint-8"
channel: 'eslint-9'
config:
config: ".eslintrc.yaml"
config: 'eslint.config.mjs'

ratings:
paths:
- "**.js"
paths:
- '**.js'
6 changes: 4 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Fixes #

Changes proposed in this pull request:
-
-

-
-

Checklist:

- [ ] docs updated
- [ ] tests updated
- [ ] Changes.md updated
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "weekly"
interval: 'weekly'
allow:
- dependency-type: production
33 changes: 7 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,22 @@
name: CI

on: [ push, pull_request ]
on: [push, pull_request]

env:
CI: true

jobs:

lint:
uses: haraka/.github/.github/workflows/lint.yml@master

# coverage:
# uses: haraka/.github/.github/workflows/coverage.yml@master
# secrets: inherit

test:
needs: [ lint, get-lts ]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
node-version: ${{ fromJson(needs.get-lts.outputs.active) }}
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
ubuntu:
needs: [lint]
uses: haraka/.github/.github/workflows/ubuntu.yml@master

get-lts:
runs-on: ubuntu-latest
steps:
- id: get
uses: msimerson/node-lts-versions@v1
outputs:
active: ${{ steps.get.outputs.active }}
lts: ${{ steps.get.outputs.lts }}
windows:
needs: [lint]
uses: haraka/.github/.github/workflows/windows.yml@master
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "CodeQL"
name: 'CodeQL'

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]
schedule:
- cron: '18 7 * * 4'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ env:
jobs:
publish:
uses: haraka/.github/.github/workflows/publish.yml@master
secrets: inherit
secrets: inherit
2 changes: 1 addition & 1 deletion .release
27 changes: 14 additions & 13 deletions Changes.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,82 +1,83 @@
# Changelog

The format is based on [Keep a Changelog](https://keepachangelog.com/).

### Unreleased

### [1.3.2] - 2025-01-26

- prefix node built-in modules with node:
- doc: mv Changes CHANGELOG.md
- doc(CONTRIBUTORS): added
- populate [files] in package.json.
- style: code formatting with prettier
- dep(eslint): upgrade to v9

### [1.3.1] - 2023-03-02

- fix for loop returns (#35)


### [1.3.0] - 2023-02-23

- add: defer options, similar to spamassassin.js #32
- es6: replace Object.keys().forEach with for...of
- fix: wrap milter header adds in try/catch, fixes #28


### [1.2.0] - 2022-10-14

- Make milter header handling compatible with rspamd 3.3 (#30)


### [1.1.8] - 2022-06-06

- doc(README): update CI badge URLs


### 1.1.7 - 2022-06-05

- ci: replace travis & appveyor with GitHub actions
- test: replace nodeunit with mocha
- test: update header checks against lower cased header names


### 1.1.6 - 2020-02-29

- Allow connecting to rspamd via unix sockets


### 1.1.5 - 2019-04-01

- store symbols in results (for other plugins to inspect)


### 1.1.4 - 2019-01-28

- fixed "TypeError: value.replace is not a function"


### 1.1.3 - 2018-12-19

- add check.relay option


### 1.1.2 - 2018-11-03

- add check.local_ip config option


### 1.1.1 - 2018-05-10

- pass TLS-Cipher and TLS-Version headers to rspamd (fixes #4)
- code smell: return cleanups
- es6: use arrow functions
- refactored hook_data_post, addressing excessive cognitive complexity


### 1.1.0 - 2018-01-12

- use /checkv2 endpoint (requires rspamd 1.6+)
- support setting SMTP message from rspamd
- support 'rewrite subject' action


### 1.0.0 - 2017-09-11

- initial release


[1.1.8]: https://github.com/haraka/haraka-plugin-rspamd/releases/tag/1.1.8
[1.1.9]: https://github.com/haraka/haraka-plugin-rspamd/releases/tag/1.1.9
[1.2.0]: https://github.com/haraka/haraka-plugin-rspamd/releases/tag/1.2.0
[1.3.0]: https://github.com/haraka/haraka-plugin-rspamd/releases/tag/1.3.0
[1.3.1]: https://github.com/haraka/haraka-plugin-rspamd/releases/tag/1.3.1
[1.3.2]: https://github.com/haraka/haraka-plugin-rspamd/releases/tag/v1.3.2
[1.1.6]: https://github.com/haraka/haraka-plugin-rspamd/releases/tag/v1.1.6
10 changes: 10 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Contributors

This handcrafted artisinal software is brought to you by:

| <img height="80" src="https://avatars.githubusercontent.com/u/261635?v=4"><br><a href="https://github.com/msimerson">msimerson</a> (<a href="https://github.com/haraka/haraka-plugin-rspamd/commits?author=msimerson">17</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/2176651?v=4"><br><a href="https://github.com/fatalbanana">fatalbanana</a> (<a href="https://github.com/haraka/haraka-plugin-rspamd/commits?author=fatalbanana">1</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/1255618?v=4"><br><a href="https://github.com/lobovkin">lobovkin</a> (<a href="https://github.com/haraka/haraka-plugin-rspamd/commits?author=lobovkin">1</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/608408?v=4"><br><a href="https://github.com/PHPGangsta">PHPGangsta</a> (<a href="https://github.com/haraka/haraka-plugin-rspamd/commits?author=PHPGangsta">1</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/3527052?v=4"><br><a href="https://github.com/pjeby">pjeby</a> (<a href="https://github.com/haraka/haraka-plugin-rspamd/commits?author=pjeby">1</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/934254?v=4"><br><a href="https://github.com/analogic">analogic</a> (<a href="https://github.com/haraka/haraka-plugin-rspamd/commits?author=analogic">1</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/203240?v=4"><br><a href="https://github.com/lnedry">lnedry</a> (<a href="https://github.com/haraka/haraka-plugin-rspamd/commits?author=lnedry">1</a>) |
| :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| <img height="80" src="https://avatars.githubusercontent.com/u/41303703?v=4"><br><a href="https://github.com/nishils">nishils</a> (<a href="https://github.com/haraka/haraka-plugin-rspamd/commits?author=nishils">1</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/2298916?v=4"><br><a href="https://github.com/pvagner">pvagner</a> (<a href="https://github.com/haraka/haraka-plugin-rspamd/commits?author=pvagner">1</a>) |

<sub>this file is generated by [.release](https://github.com/msimerson/.release).
Contribute to this project to get your GitHub profile included here.</sub>
Loading

0 comments on commit 2bd6066

Please sign in to comment.