Commit graph

13 commits

Author SHA1 Message Date
fox.cpp
cbb3bbcb43
Merge branch 'master' into dev 2022-07-09 15:00:46 +03:00
fox.cpp
f43b164170
modify/dkim: Remove require_sender_match from code
See #465.
2022-06-18 19:18:17 +03:00
Eng Zer Jun
8f1cfd72ac test: use T.TempDir to create temporary test directory
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-02-22 00:34:01 +03:00
Gusted
d0928d2743 refactor: remove/_-ify unused params
Hi!

I've removed some unused params. But if they where needed for e.g. interface type I've simply `_` them. Also I have to instances to fix tests params, whereby they were passed but not initialized at all, they are in`internal/target/remote/remote_test.go` and `internal/modify/dkim/dkim_test.go`. All test are still passing so it seems like I didn't break anything.

I might've refactored some code away that actually is used but wasn't implemented correctly, but as far as I see their is nothing wrong or erroring going on.
2021-07-31 22:43:27 +03:00
fox.cpp
178579d78a
Remove remaining references to 0.3 module names in code and docs 2020-12-13 19:47:27 +03:00
fox.cpp
2d18ff5a30
MIT => GPLv3; Add license/copyright notices everywhere 2020-07-22 16:12:26 +03:00
fox.cpp
bcceec4fe4
Extract several packages to form a public API 2020-07-15 01:31:06 +03:00
fox.cpp
6ad0d9fc2b
modify/dkim: Update go-msgauth and use VerifyWithOptions in tests 2020-04-30 00:22:17 +03:00
fox.cpp
c44e79a4be
modify/dkim: Check RewriteSender error in tests code 2020-03-26 20:47:14 +03:00
fox.cpp
9915c8a881
modify/dkim: Support mulitple ADMDs per module instance
Allows to use macro expansion like $(local_domains) to configure DKIM
for all domains.

Closes #199.
2020-03-13 03:28:49 +03:00
fox.cpp
1579ea10b2
Use config.Node instead of *config.Node everywhere
Closes #197.
2020-03-05 02:26:29 +03:00
fox.cpp
bafedd5792
modify/dkim: Do not refold the signature field
Closes #187.
2019-12-29 19:06:07 +03:00
fox.cpp
bf188e454f
Move most code from the repo root into subdirectories
The intention is to keep to repo root clean while the list of packages
is slowly growing.

Additionally, a bunch of small (~30 LoC) files in the repo root is
merged into a single maddy.go file, for the same reason.

Most of the internal code is moved into the internal/ directory. Go
toolchain will make it impossible to import these packages from external
applications.

Some packages are renamed and moved into the pkg/ directory in the root.
According to https://github.com/golang-standards/project-layout this is
the de-facto standard to place "library code that's ok to use by
external applications" in.

To clearly define the purpose of top-level directories, README.md files
are added to each.
2019-12-06 01:35:12 +03:00
Renamed from modify/dkim/dkim_test.go (Browse further)