-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: remove `const plugin = this` pattern (deprecated) - chore: remove unused in_file and in_re_file * populate [files] in package.json * lint: remove duplicate / stale rules from .eslintrc * deps: pin versions to latest * test: remove `done` from sync tests * renamed: Changes.md -> CHANGELOG.md * prettier * cc: adjust config * add CONTRIBUTORS.md
- Loading branch information
Showing
14 changed files
with
1,095 additions
and
1,041 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
engines: | ||
eslint: | ||
enabled: true | ||
channel: "eslint-8" | ||
channel: 'eslint-8' | ||
config: | ||
config: ".eslintrc.yaml" | ||
config: '.eslintrc.yaml' | ||
checks: | ||
complexity: | ||
enabled: false | ||
|
||
ratings: | ||
paths: | ||
- "**.js" | ||
paths: | ||
- '**.js' | ||
|
||
checks: | ||
file-lines: | ||
config: | ||
threshold: 500 | ||
method-lines: | ||
config: | ||
threshold: 45 | ||
threshold: 50 | ||
method-complexity: | ||
config: | ||
threshold: 10 | ||
threshold: 11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,18 @@ | ||
name: CI | ||
|
||
on: [ push ] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ env: | |
jobs: | ||
publish: | ||
uses: haraka/.github/.github/workflows/publish.yml@master | ||
secrets: inherit | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
singleQuote: true | ||
semi: false |
Submodule .release
updated
10 files
+2 −0 | .prettierrc.yaml | |
+1 −0 | .shellcheckrc | |
+34 −6 | CHANGELOG.md | |
+1 −1 | LICENSE | |
+32 −15 | README.md | |
+30 −1 | base.sh | |
+8 −1 | finish.sh | |
+7 −6 | npm/prepend-scope.cjs | |
+115 −32 | start.sh | |
+35 −7 | submit.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,44 @@ | ||
### Unreleased | ||
|
||
### [1.1.6] - 2024-04-09 | ||
|
||
- dep: update all versions and pin to latest | ||
- dep: eslint-plugin-haraka -> @haraka/eslint-config | ||
- lint: remove duplicate / stale rules from .eslintrc | ||
- chore: populate [files] in package.json. | ||
- chore: remove `const plugin = this` pattern (deprecated) | ||
- chore: remove unused in_file and in_re_file | ||
- test: remove `done` from sync tests | ||
|
||
### [1.1.5] - 2022-06-06 | ||
|
||
- ci: use shared GHA workflows | ||
- ci: add submodule .release | ||
- ci: expand codeclimate config | ||
|
||
|
||
### 1.1.4 - 2020-04-09 | ||
|
||
- wrap from parsing in a try #20 | ||
|
||
|
||
### 1.1.3 - 2018-11-16 | ||
|
||
- check if OD was found before attemping to use it | ||
|
||
|
||
### 1.1.2 - 2018-11-10 | ||
|
||
- use header.get_decoded('from'), was get('from') | ||
|
||
|
||
### 1.1.1 - 2018-06-09 | ||
|
||
- #9: make all mail address comparisons case insensitive, instead of the previously mixed behavior | ||
|
||
|
||
### 1.1.0 - 2018-04-23 | ||
|
||
- #6: add rcpt.accept setting to enable recipient validation for users in whitelists (like an rcpt_to.* plugin) | ||
|
||
- #6: add rcpt.accept setting to enable recipient validation for users in whitelists (like an rcpt_to.\* plugin) | ||
|
||
### 1.0.0 - 2017-06-29 | ||
|
||
- initial release | ||
|
||
[1.1.5]: https://github.com/haraka/haraka-plugin-access/releases/tag/1.1.5 | ||
[1.1.6]: https://github.com/haraka/haraka-plugin-access/releases/tag/1.1.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
# 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-access/commits?author=msimerson">37</a>)| <img height="80" src="https://avatars.githubusercontent.com/u/2158203?v=4"><br><a href="https://github.com/luto">luto</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=luto">8</a>)| <img height="80" src="https://avatars.githubusercontent.com/u/1674289?v=4"><br><a href="https://github.com/Dexus">Dexus</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=Dexus">2</a>)| <img height="80" src="https://avatars.githubusercontent.com/u/83369329?v=4"><br><a href="https://github.com/polarismail">polarismail</a> (<a href="https://github.com/haraka/haraka-plugin-access/commits?author=polarismail">1</a>)| | ||
| :---: | :---: | :---: | :---: | | ||
|
||
<sub>created and maintained with [.release](https://github.com/msimerson/.release)</sub> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.