-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- populate [files] in package.json. Delete .npmignore. - dep: eslint-plugin-haraka -> @haraka/eslint-config - lint: remove duplicate / stale rules from .eslintrc - deps: bump versions - format: prettier - doc: rename Changes -> CHANGELOG - doc(CONTRIBUTORS): added
- Loading branch information
Showing
19 changed files
with
955 additions
and
1,016 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
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,23 +1,10 @@ | ||
|
||
env: | ||
node: true | ||
es6: true | ||
mocha: true | ||
es2020: true | ||
|
||
plugins: [ haraka ] | ||
|
||
extends: [ eslint:recommended, plugin:haraka/recommended ] | ||
|
||
root: true | ||
es2022: true | ||
|
||
globals: | ||
OK: true | ||
CONT: true | ||
DENY: true | ||
DENYSOFT: true | ||
DENYDISCONNECT: true | ||
DENYSOFTDISCONNECT: true | ||
extends: ['@haraka'] | ||
|
||
rules: | ||
no-unused-vars: 1 | ||
no-unused-vars: 1 |
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,20 +1,19 @@ | ||
name: CI | ||
|
||
on: [ push, pull_request ] | ||
on: [push, pull_request] | ||
|
||
env: | ||
CI: true | ||
|
||
jobs: | ||
|
||
lint: | ||
uses: haraka/.github/.github/workflows/lint.yml@master | ||
|
||
ubuntu: | ||
needs: [ lint ] | ||
needs: [lint] | ||
uses: haraka/.github/.github/workflows/ubuntu.yml@master | ||
|
||
windows: | ||
needs: [ lint ] | ||
needs: [lint] | ||
uses: haraka/.github/.github/workflows/windows.yml@master | ||
if: ${{ false }} # disabled, until Redis for GHA Windows exists | ||
if: ${{ false }} # disabled, until Redis for GHA Windows exists |
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 was deleted.
Oops, something went wrong.
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
11 files
+2 −0 | .prettierrc.yaml | |
+1 −0 | .shellcheckrc | |
+32 −5 | CHANGELOG.md | |
+1 −1 | LICENSE | |
+26 −16 | README.md | |
+38 −1 | base.sh | |
+82 −0 | contributors.js | |
+7 −3 | finish.sh | |
+7 −6 | npm/prepend-scope.cjs | |
+146 −32 | start.sh | |
+46 −6 | 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,78 +1,79 @@ | ||
# Changelog | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/). | ||
|
||
### Unreleased | ||
|
||
### [1.2.2] - 2024-04-22 | ||
|
||
- populate [files] in package.json. Delete .npmignore. | ||
- dep: eslint-plugin-haraka -> @haraka/eslint-config | ||
- lint: remove duplicate / stale rules from .eslintrc | ||
- deps: bump versions | ||
- format: prettier | ||
|
||
### [1.2.1] - 2024-03-20 | ||
|
||
- deps: bump versions | ||
- fix: undo increment if the email sending is delayed (#56) | ||
|
||
|
||
### [1.2.0] - 2023-12-27 | ||
|
||
- disable history by default (match docs) | ||
- ci: use shared workflows | ||
|
||
|
||
### [1.1.1] - 2022-12-18 | ||
|
||
- package.json: remove deprecated 'main' | ||
|
||
|
||
### [1.1.0] - 2022-08-18 | ||
|
||
- initialize redis when only concurrency is enabled (#42) | ||
|
||
|
||
### [1.0.7] - 2022-06-03 | ||
|
||
- chore: add .release as a submodule | ||
- ci: limit dependabot updates to production deps | ||
- ci: populate test matrix with Node.js LTS versions | ||
- cfg: rename redis.db -> redis.database, pi-redis 2+ does this automatically, causing a test failure | ||
|
||
|
||
### 1.0.6 - 2022-05-25 | ||
|
||
- feat: update redis commands to be v4 compatible | ||
- feat: only load redis when needed, fixes #23 | ||
- style: replaced callbacks with async/await in: | ||
get_host_key, get_mail_key, and rate_limit | ||
get_host_key, get_mail_key, and rate_limit | ||
- dep(eslint): v6 -> v8 | ||
- dep(redis): 3 -> 4 | ||
- ci: add codeql & publish | ||
|
||
|
||
### 1.0.5 - 2022-03-08 | ||
|
||
- fix invalid main field in package.json | ||
|
||
|
||
### 1.0.4 - 2017-03-23 | ||
|
||
- for outbound, find domain at hmail.todo.domain then hmail.domain. | ||
- noop: use es6 arrow functions | ||
|
||
|
||
### 1.0.3 - 2017-03-09 | ||
|
||
- add `enabled=false` flag for each limit type, defaults to off, matching the docs. | ||
|
||
|
||
### 1.0.2 - 2017-02-06 | ||
|
||
- when redis handle goes away, skip processing | ||
- add a 5 minute expiration on outbound rate limit entries | ||
|
||
|
||
### 1.0.1 - 2017-01-28 | ||
|
||
- increment rate_conn on connect_init | ||
- increment rate_rcpt_host on rcpt/rcpt_ok | ||
|
||
|
||
[1.0.6]: https://github.com/haraka/haraka-plugin-limit/releases/tag/1.0.6 | ||
[1.0.7]: https://github.com/haraka/haraka-plugin-limit/releases/tag/1.0.7 | ||
[1.1.0]: https://github.com/haraka/haraka-plugin-limit/releases/tag/1.1.0 | ||
[1.1.1]: https://github.com/haraka/haraka-plugin-limit/releases/tag/1.1.1 | ||
[1.2.0]: https://github.com/haraka/haraka-plugin-limit/releases/tag/1.2.0 | ||
[1.2.1]: https://github.com/haraka/haraka-plugin-limit/releases/tag/1.2.1 | ||
[1.1.1]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.1.1 | ||
[1.2.0]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.2.0 | ||
[1.2.1]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.2.1 | ||
[1.2.2]: https://github.com/haraka/haraka-plugin-limit/releases/tag/v1.2.2 |
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,8 @@ | ||
# 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-limit/commits?author=msimerson">68</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/48183131?v=4"><br><a href="https://github.com/divine">divine</a> (<a href="https://github.com/haraka/haraka-plugin-limit/commits?author=divine">6</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/82041?v=4"><br><a href="https://github.com/gramakri">gramakri</a> (<a href="https://github.com/haraka/haraka-plugin-limit/commits?author=gramakri">2</a>) | <img height="80" src="https://avatars.githubusercontent.com/u/28440072?v=4"><br><a href="https://github.com/leadbi">leadbi</a> (<a href="https://github.com/haraka/haraka-plugin-limit/commits?author=leadbi">1</a>) | | ||
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | | ||
|
||
<sub>this file is maintained by [.release](https://github.com/msimerson/.release)</sub> |
Oops, something went wrong.