Commit Graph
655 Commits
Author SHA1 Message Date
Adam Cooke 8794a2f447 chore: add script to send html emails to a local SMTP server 2024-02-01 13:54:05 +00:00
Adam Cooke 6b2bf9062d fix: extract x-postal-tag before holding
closes #2684
2024-02-01 13:53:45 +00:00
Adam Cooke 49cceaa6ca fix: move tracking middleware before host authorization
closes #2415
2024-01-31 17:55:39 +00:00
Adam Cooke 71f51db3c2 fix: fixes error messages in web ui 2024-01-30 17:34:11 +00:00
Adam Cooke 4a46f690de feat: load signing key path from POSTAL_SIGNING_KEY_PATH 2024-01-30 14:13:19 +00:00
Adam Cooke 854aa5ebc8 feat: support for configuring postal with environment variables 2024-01-30 13:11:56 +00:00
Adam Cooke 990b575902 refactor: remove Postal::Job.perform method
this wasn't used
2024-01-30 11:06:39 +00:00
Adam Cooke 2bad645d98 fix: don't use indifferent access for job params
All jobs refer to parameters using string keys.

closes #2477
closes #2714
closes #2476
closes #2500
2024-01-30 11:06:22 +00:00
Adam Cooke 41f6cf4d90 chore: add binstubs for bundle and rspec 2024-01-30 10:19:40 +00:00
Adam Cooke 3fb40e4e24 fix: ignore message DB migrations in autoloader 2024-01-30 10:19:37 +00:00
Adam Cooke 0f9882f132 refactor: remove explicit autoload 2024-01-30 09:15:25 +00:00
github-actions[bot] 26aae298a4 chore(main): release 2.1.6 (#2765)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2.1.6
2024-01-30 09:07:12 +00:00
Adam Cooke 88108566f8 chore(build): fixes docker login action credentials 2024-01-30 09:04:13 +00:00
Adam Cooke e156c21dee chore: update release please to include more categories in changelog 2024-01-30 09:03:08 +00:00
github-actions[bot] 64cab2e45f chore(main): release 2.1.5 (#2461)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2.1.5
2024-01-30 08:55:08 +00:00
Adam Cooke 409a4a2c6f chore: upgrade rails to 6.1.7.6 2024-01-30 08:45:33 +00:00
Adam Cooke 3f1343bdb2 chore: upgrade puma 2024-01-30 08:43:12 +00:00
toptaran 59f4478197 fix: mail view encoding issue #2462 (#2596) 2024-01-30 08:41:53 +00:00
Nitinkumar Balar 77bd77b629 fix: fixes typo in on track domains page 2024-01-30 08:41:01 +00:00
Adam Cooke 9db781ca17 chore: remove old example messages
closes #2635
closes #2627
2024-01-30 08:38:06 +00:00
ctmarc 2f62baa238 fix: fixed typo (rfc number) 2023-06-27 16:46:31 +01:00
Charlie Smurthwaite 8b525d0381 fix: match IPv4 mapped IPv6 addresses when searching for SMTP-IP credentials 2023-05-15 01:10:43 +01:00
Charlie Smurthwaite f0a8aca6e1 fix: duplicate string before modifying it to prevent frozen string errors 2023-05-15 00:52:32 +01:00
Adam Cooke 5222263484 chore(build): improve build process, add release please (#2414) 2023-04-18 14:19:22 +01:00
Charlie Smurthwaite 76f43140ae chore(release): 2.1.4 2.1.4 2023-04-18 09:40:41 +01:00
Charlie Smurthwaite 5998bf376a fix: Move RubyVer functionality to Utilities module
This change is required to mirror https://github.com/mikel/mail/commit/a58bf11afe170524817889b92a55531901c9bc9e
2023-04-18 09:35:26 +01:00
dependabot[bot] 7eaea97543 build(deps): bump nokogiri from 1.14.2 to 1.14.3 (#2403)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.14.2...v1.14.3)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 09:14:07 +01:00
Charlie Smurthwaite 04f69ece30 chore(release): 2.1.3 2.1.3 2023-04-17 09:07:49 +01:00
Adam Cooke 957b784658 chore: Upgrade to Ruby 3.2.1 & Rails 6.0
* chore: upgrade to rails 6.0

* chore: upgrade ruby to 3.2.1

* chore: upgrade bundler

* chore: upgrade execjs

* chore: upgrade to rails 6.1

* chore: switch to sentry-ruby from raven

* chore: add extra platforms to gemfile
2023-04-06 11:40:45 +01:00
MohammadReza 363ceff822 ci: upgrade actions/checkout to v3 (#2303) 2023-03-22 16:22:38 +00:00
Adam Cooke b22f1bdb2e fix: remove weird scrollbars (#2391) 2023-03-22 16:21:36 +00:00
Charlie Smurthwaite 159509a3ed Connect to SMTP by IP addresses rather than hostname 2023-03-22 14:46:06 +00:00
Charlie Smurthwaite c8d27b2963 Change retry and batching timing calculations (#2371)
This patch changes the requeue behaviour to requeue messages that are 30 seconds past their retry time.
Batching now includes messages that are any amount past their retry time.
This change avoids batching messages before theur graylisting time, but maintains efficient batching.
2023-03-22 14:02:28 +00:00
Joost Kalwij - van Horssen c6fb8d223b Make resent-sender header optional (#2384) 2023-03-22 14:01:04 +00:00
Charlie Smurthwaite 1e3622c49a Consistently treat tinyint(1) fields in message database as booleans (#2380)
* Update mysql2 query call to cast booleans

* Treat messages:held field as boolean

* Treat messages:inspected field as boolean

* Treat messages:spam field as boolean

* Treat messages:threat field as boolean

* Treat messages:bounce field as boolean

* Treat messages:received_with_ssl field as boolean

* Treat deliveries:sent_with_ssl field as boolean
2023-03-22 13:49:48 +00:00
Charlie Smurthwaite 87e9b3e346 Use DKIM identifier from config file instead of hardcoded value 2023-03-17 12:25:10 +00:00
Charlie Smurthwaite fd289c46fd style(rubocop): fix all safe auto correctable offenses 2023-03-16 15:50:53 +00:00
Charlie Smurthwaite 02c93a4850 style(rubocop): install rubocop configuration 2023-03-16 15:50:02 +00:00
dependabot[bot] a1868b38d2 build(deps): bump rack from 2.2.6.3 to 2.2.6.4 (#2378)
Bumps [rack](https://github.com/rack/rack) from 2.2.6.3 to 2.2.6.4.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v2.2.6.3...v2.2.6.4)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 13:46:20 +00:00
Charlie Smurthwaite cefc7d17b8 Correct error message to reflect reality of dependency rules
hopefully fixes #2174
2023-03-14 02:06:41 +00:00
Charlie Smurthwaite 7ea00dfa3b Correctly match link in multipart/alternative messages 2023-03-13 15:23:20 +00:00
Florent Poinsaut 2e82deebae Allow SMTP server to load different key types (#2126) 2023-03-13 14:11:10 +00:00
Charlie Smurthwaite a188a161cb Truncate 'output' field to avoid overflowing varchar(512) in database 2023-03-13 13:50:16 +00:00
Will Power d0db1345a2 Message body parts should be a sub body (#376) 2023-03-13 13:27:39 +00:00
wadabum 9b1ed1e7e1 Log access CRAM-MD5 authentication failures (#2304)
see https://github.com/postalserver/postal/issues/1182#issuecomment-1360832523
2023-03-13 11:41:51 +00:00
dependabot[bot] acc1fe71ef build(deps): bump rack from 2.2.6.2 to 2.2.6.3 (#2368)
Bumps [rack](https://github.com/rack/rack) from 2.2.6.2 to 2.2.6.3.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v2.2.6.2...v2.2.6.3)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 11:33:05 +00:00
Adam Cooke c42dd1b9f6 upgrade ruby and various other dependencies 2023-02-20 09:57:56 +00:00
Wouter van Os 9f4ef8f57a fix: do not change \r to \r\n (#2154)
As this may cause issues when a new buffer is exactly in between \r and \n.

Fixes #1624
2023-01-23 15:09:35 +00:00
Charlie Smurthwaite a7dd19baac Use non-blocking function to negotiate TLS connections 2022-11-09 13:55:17 +00:00
Adam Cooke 83fef0e8a0 chore(release): 2.1.2 2.1.2 2022-09-12 13:27:51 +01:00