Commit Graph

105 Commits

Author SHA1 Message Date
Nicolas Froger 1ac601316d
sendmail: use ParseMultipartForm
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
2022-08-17 00:36:15 +02:00
Nicolas Froger a23642af34
docker: build binary in Docker
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
2022-08-15 23:57:10 +02:00
Nicolas Froger d252f53a6f
main: limit healthz to /healthz endpoint
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
2022-08-15 23:56:54 +02:00
Nicolas Froger 7b340cc6f4
sendmail: remove organization
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
2022-08-15 23:38:47 +02:00
Nicolas Froger c9f97d5e70
update hardcoded strings
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
2022-08-15 23:38:23 +02:00
Nicolas Froger 980ec79dba
sendmail: use EMAIL_SUBJECT variable for subject
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
2022-08-15 23:37:45 +02:00
Nicolas Froger d56d8a8f2c
sendmail: remove demo feature
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
2022-08-15 23:36:27 +02:00
Nicolas Froger dd808711ce
add nix flake
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
2022-08-15 23:33:26 +02:00
Nicolas Froger 7e57bd218f
update dependencies
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
2022-08-15 23:32:05 +02:00
Nicolas Froger 0e2b19e12d
remove vendor folder
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
2022-08-15 23:31:40 +02:00
Rodrigue Chakode f7d5c992e5
Dockerfile: set GOOS and GOARCH 2022-05-16 17:26:01 +02:00
Rodrigue Chakode 37a12b6965
Merge pull request #17 from seb36273/seb36273-fix-envar-typo
Fix: small typo in sendmail.go
2022-05-16 00:16:56 +02:00
Rodrigue Chakode 7016296efa
Updated docs related to SMTP_SKIP_VERIFY_CERT
SMTP_SKIP_VERIFY_CERT should be likely set to false for self-signed certificate
2022-05-15 23:25:22 +02:00
Sebastian Kriechenbauer bc787433d6 Updated docs and values.yaml to match the previous behaviour. 2022-05-15 18:11:51 +02:00
Seb fb1a21d77d Update app.yaml.sample 2022-05-15 18:07:36 +02:00
Seb 8f2a331e49
Update sendmail.go
Hey guys, great job! I found a small type in the environment variable `SMTP_VERITY_CERT`. Additionally, I would suggest to rename the variable to `SMTP_SKIP_VERIFY_CERT` because the action in `tlsconfig` can be more clearly understood, I think. What so you mean?
2022-05-15 17:36:47 +02:00
Rodrigue Chakode 25265366d4 updated thumbnail 2022-05-09 12:18:15 +02:00
Rodrigue Chakode 40743050b2 updated README headline 2022-05-09 12:05:44 +02:00
Rodrigue Chakode 3b1e6a74cc Bump Helm manifest to version 0.3.Â0 2022-05-09 11:55:06 +02:00
Rodrigue Chakode c2e7bb1331 updated to gopkg.in/yaml.v2 v2.2.8 to fix CVE-2019-11254 2022-05-09 11:48:45 +02:00
Rodrigue Chakode 26660f326e switch to main branch 2022-05-09 10:47:42 +02:00
Rodrigue Chakode 0e9b9b54ac
Merge pull request #16 from rchakode/feat/allow-unauthenticated-smtp
Feat/allow unauthenticated smtp
2022-05-09 10:41:33 +02:00
Rodrigue Chakode 09fa59110b add variable SMTP_AUTHENTICATION_ENABLED
* boolean setting whether SMTP authentication is required or not
   (default: true)
2022-05-09 10:39:56 +02:00
Dominik George 468de54746 Allow unauthenticated SMTP 2022-05-09 10:33:53 +02:00
Rodrigue Chakode 9e7fbaa445
Update Makefile 2022-05-02 00:43:36 +02:00
Rodrigue Chakode ff7c2819d3
Merge pull request #14 from sanikolaev/patch-1
Update README.md (wrong link)
2022-05-01 16:15:04 +02:00
Sergey Nikolaev ad6252b7a5
Update README.md 2022-05-01 19:31:05 +07:00
Rodrigue Chakode 24819953c8
Merge pull request #13 from rchakode/feat/reorganize-docs
reorganized docs
2022-04-30 12:06:01 +02:00
Rodrigue Chakode 1a3c267b6b review all docs 2022-04-30 12:04:36 +02:00
Rodrigue Chakode 8e94f04908 review contact form 2022-04-30 11:54:10 +02:00
Rodrigue Chakode 117da63518 updated sample form 2022-04-30 11:52:35 +02:00
Rodrigue Chakode a14a38ae89 review the description of the sample Hugo form 2022-04-30 11:47:16 +02:00
Rodrigue Chakode 0052f21f2e review README 2022-04-30 11:28:26 +02:00
Rodrigue Chakode ad8e700e7a
Merge pull request #11 from Natureshadow/feature-no-redirect
Do not redirect if no requestOrigin is set
2022-04-29 12:30:59 +02:00
Rodrigue Chakode c76adee24f upated README 2022-04-29 11:21:33 +02:00
Rodrigue Chakode 5e32b17b2c updated readme 2022-04-29 11:20:09 +02:00
Rodrigue Chakode 3222187fc4 cleanup readme 2022-04-29 11:18:35 +02:00
Rodrigue Chakode 0cf8a3353d added missing files 2022-04-29 11:17:22 +02:00
Rodrigue Chakode e55d720e94 reorganized docs 2022-04-29 11:13:01 +02:00
Rodrigue Chakode 9f7e837262
Merge pull request #12 from Natureshadow/feature-cors
Send Origin back as Access-Control-Allow-Origin
2022-04-29 10:44:03 +02:00
Rodrigue Chakode f3b3fd0fe8
Merge pull request #8 from Natureshadow/patch-2
Allow specifying listen address
2022-04-29 10:14:46 +02:00
Rodrigue Chakode 61c66c5976
Merge pull request #7 from Natureshadow/patch-1
Fix default for CONTACT_REPLY_BCC_EMAIL
2022-04-29 10:13:41 +02:00
Dominik George d58a99ae33
Send Origin back as Access-Control-Allow-Origin
Rationale: At this point, we have already verified that the Origin is
allowed. Some clients, e.g. those that submit a form using AJAX, will
expect a CORS header allowing the request. Instead of setting
Access-Control-Allow-Origin *, or setting the header to all allowed
origins (thus leaking a list of sites that use the gateway), we can
thus simply set the same Origin the browser identifies with.
2022-04-28 23:41:39 +02:00
Dominik George 66d5aae498
Do not redirect if no originURI is set 2022-04-28 23:30:56 +02:00
Dominik George 47e562362b
Allow specifying listen address 2022-04-28 19:49:02 +02:00
Dominik George 0a68f14d87
Fix default for CONTACT_REPLY_BCC_EMAIL 2022-04-28 19:36:46 +02:00
Rodrigue Chakode 477643b58e
README: updated code formating 2022-02-01 09:28:03 +01:00
Rodrigue Chakode 84b65f1e4d
Update README.md 2022-01-04 09:26:02 +01:00
Rodrigue Chakode e15892ba5f
Update README.md 2022-01-04 09:25:03 +01:00
Rodrigue Chakode dccdd6a8d3
Update README.md 2021-12-07 20:23:43 +01:00