Commit Graph
393 Commits
Author SHA1 Message Date
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
Adam Cooke 0dc6824a8f fix: retry connections without SSL when SSL issue is encountered during smtp sending 2022-09-12 12:48:49 +01:00
Grex 6bace2c905 Add explicit DNS timeout
This makes DNS timeouts occur much more quickly and avoid clients with nonfunctional reverse DNS timing out while waiting for a response to their EHLO requests.
2022-08-17 11:13:24 +01:00
Dmitriy Alekseev 9f0697f194 feat: support for AMQPS for rabbitmq connections (#1911)
* Support AMQPS

* Update rabbit_mq.rb
2022-03-16 09:38:13 +00:00
Adam Cooke d4aebac3cb chore(release): 2.1.1 2.1.1 2022-02-14 17:31:58 +00:00
Adam Cooke c60c69db18 feat: allow @ and % in webhook urls 2022-02-14 16:12:47 +00:00
Adam Cooke 889e7bc9cf build: fixes ci config 2022-02-14 15:04:44 +00:00
Adam Cooke 152633adfe chore: upgrade to puma 5 2022-02-14 14:36:34 +00:00
Adam Cooke b77139f5cf test: remove old hard coded test config 2022-02-14 14:35:30 +00:00
Adam Cooke f114a8d8b9 test: use the test environment for running tests 2022-02-14 14:35:21 +00:00
Adam Cooke d22237d0ec chore: support for different postal environments 2022-02-14 14:35:01 +00:00
Adam Cooke 51e3a1fb5e chore: remove setting process name since procodile has gone 2022-02-14 14:34:34 +00:00
Adam Cooke 3c17f1690c chore: upgrade rails to 5.2.6.2 2022-02-14 14:34:21 +00:00