Commit Graph

21 Commits

Author SHA1 Message Date
9021854be7 convert plain text newsletter email content to html using markdown-to-html and save it if html is not available 2023-09-25 21:16:43 +08:00
792cf0b207 upgrade google cloud sdk 2023-08-11 13:55:29 +08:00
92c532a62a Bump @google-cloud/pubsub from 2.19.0 to 3.4.1
Bumps [@google-cloud/pubsub](https://github.com/googleapis/nodejs-pubsub) from 2.19.0 to 3.4.1.
- [Release notes](https://github.com/googleapis/nodejs-pubsub/releases)
- [Changelog](https://github.com/googleapis/nodejs-pubsub/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-pubsub/compare/v2.19.0...v3.4.1)

---
updated-dependencies:
- dependency-name: "@google-cloud/pubsub"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 22:03:03 +00:00
53d6afe25f Fix tests 2022-10-04 10:47:58 +08:00
9cae703666 Fix Dockerfile 2022-10-04 10:20:13 +08:00
78bce2d1e7 Add Dockerfile for cloud run 2022-10-04 09:51:42 +08:00
726df26c15 Temporarily copy content-handler to cloud functions root dir when doing cloud build 2022-10-03 15:39:05 +08:00
a9607adfd3 Import content-handler as local dependency 2022-10-03 11:11:24 +08:00
dfbd317f99 Import content-handler in inbound-email-handler 2022-09-30 12:51:22 +08:00
dec2027fc8 Merge pull request #1009 from omnivore-app/fix/unsubscribe
fix not getting unsubscribe email address from beehiv newsletter by decoding the list-unsubscribe header
2022-07-27 09:41:42 +08:00
d1b013d826 Bump @google-cloud/functions-framework from 3.1.0 to 3.1.2
Bumps [@google-cloud/functions-framework](https://github.com/GoogleCloudPlatform/functions-framework-nodejs) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/releases)
- [Changelog](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/compare/v3.1.0...v3.1.2)

---
updated-dependencies:
- dependency-name: "@google-cloud/functions-framework"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 21:32:05 +00:00
cea1c856f7 fix not getting unsubscribe email address from beehiv newsletter by decoding the list-unsubscribe header 2022-07-25 17:15:12 +08:00
e91f25e58c Bump axios from 0.26.0 to 0.27.2
Bumps [axios](https://github.com/axios/axios) from 0.26.0 to 0.27.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.27.2/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.26.0...v0.27.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 21:31:14 +00:00
452a776aef Bump @google-cloud/functions-framework from 3.0.0 to 3.1.0
Bumps [@google-cloud/functions-framework](https://github.com/GoogleCloudPlatform/functions-framework-nodejs) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/releases)
- [Changelog](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: "@google-cloud/functions-framework"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 22:36:00 +00:00
6ac10c4780 Bump @google-cloud/functions-framework from 1.9.0 to 3.0.0
Bumps [@google-cloud/functions-framework](https://github.com/GoogleCloudPlatform/functions-framework-nodejs) from 1.9.0 to 3.0.0.
- [Release notes](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/releases)
- [Changelog](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GoogleCloudPlatform/functions-framework-nodejs/compare/v1.9.0...v3.0.0)

---
updated-dependencies:
- dependency-name: "@google-cloud/functions-framework"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 18:51:39 +00:00
207f77c419 Add support for Golang Weekly newsletters (#96)
* abstract different newsletter handler to a class

* create a generic newsletter handler class

* add support for golang-weekly newsletters

* add tests for golang weekly newsletters

* use addressparser lib to parse author from from address
2022-02-21 14:37:48 +08:00
77ba7531f3 add tests for upload 2022-02-16 15:26:11 +08:00
0f843809e3 Bump axios from 0.21.4 to 0.26.0
Bumps [axios](https://github.com/axios/axios) from 0.21.4 to 0.26.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.4...v0.26.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 21:35:58 +00:00
8163b5a4de Upgrade axios 2022-02-11 13:51:43 -08:00
e0ccb126da Remove some unused mailer dependencies 2022-02-11 12:20:54 -08:00
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00