Adam Cooke
d96eddbade
feat(dkim): make key size configurable and allow keys to be rotated
2026-10-01 12:32:46 +01:00
Adam Cooke
ea542a0694
feat(worker): scale connection pool with worker threads
...
This will automatically increase the DB connection pool size if the number of threads needed in a worker is less than the maximum pool size configured.
2024-03-18 08:12:42 +00:00
Adam Cooke
7e2acccd1e
feat(worker): allow number of threads to be configured
...
This allows for more threads to be run. Care needs to be taken to ensure that database connection pool size is appropriate for this.
2024-03-17 18:41:26 +00:00
Adam Cooke
ee8d829a85
feat(prometheus): add postal_message_queue_latency metric
2024-03-17 09:29:22 +00:00
Adam Cooke
4fcb9e9a2e
fix(message-dequeuer): ability to disable batching
2024-03-16 15:31:46 +00:00
Adam Cooke
45dd8aaac5
chore(config-docs): update proxy protocol to mention v1
2024-03-16 15:31:14 +00:00
Adam Cooke
364eba6c5f
chore(config-docs): update docs for latest oidc defaults
2024-03-16 15:30:50 +00:00
Adam Cooke
1c67f72209
chore: hide further config messages
2024-03-13 19:08:59 +00:00
Adam Cooke
aa76aae232
chore: suppress config location on default-dkim-record
2024-03-13 19:06:37 +00:00
Adam Cooke
f760cdb5a1
chore: allow config location message to be suppressed
2024-03-13 19:06:25 +00:00
Adam Cooke
b55becd2ec
doc: add annotations to queued message spec
2024-03-13 19:02:59 +00:00
Adam Cooke
5d8213a987
chore: regenerate config docs
2024-03-11 21:55:15 +00:00
Adam Cooke
e4638a0c40
test: add smtp sender test for MX lookup timeouts
2024-03-01 21:41:46 +00:00
Adam Cooke
0c1f9250d4
docs: add message_db.encoding to config docs
2024-03-01 21:36:19 +00:00
Adam Cooke
fadca88f45
fix: raise an error if MX lookup times out during sending
...
This avoids potentially sending mail to the A record when an MX query times out.
closes #2833
2024-03-01 21:36:07 +00:00
Adam Cooke
1c5ff5a9a6
feat: add option to delay starting processes until all migrations are run
2024-02-24 15:10:02 +00:00
Adam Cooke
bea7450d8f
feat: add prometheus metrics to worker
2024-02-24 11:19:48 +00:00
Adam Cooke
0fcf778a51
fix: fixes potential issue if machine hostname cannot be determined
2024-02-24 11:03:04 +00:00
Adam Cooke
2e7b36c1be
feat: add prometheus metrics to smtp server
2024-02-24 11:01:28 +00:00
Adam Cooke
a7a9a18b20
fix: set correct component in health server log lines
2024-02-24 10:24:34 +00:00
Adam Cooke
870b26c2f2
refactor: move Postal::QueryString to app/util/query_string
2024-02-23 22:51:35 +00:00
Adam Cooke
05d2ec4d04
refactor: move Postal::BounceMessage to app/models/bounce_message
2024-02-23 22:51:35 +00:00
Adam Cooke
77faf886b3
refactor: move Postal::DKIMHeader to app/util/dkim_header
2024-02-23 22:51:35 +00:00
Adam Cooke
ed6da11b65
chore: add annotations to factories and models specs
2024-02-23 22:51:35 +00:00
Adam Cooke
465f4d8247
test: fix test that was failing due to time differences
2024-02-23 22:51:34 +00:00
Adam Cooke
72715fe5f8
chore: upgrade ruby to 3.2.2 and nodejs to 20.x
2024-02-23 22:51:33 +00:00
Adam Cooke
044058d0f1
feat: more consistent logging
2024-02-23 22:51:32 +00:00
Adam Cooke
2834e2c379
fix: update raw headers after changing messages to during parsing
...
Previously, headers were not updated but the mail gem parsing may decide
to change the transfer encoding. If it does this, the body is updated to
the new format but the header is not, this results in a mismatch when the
message it sent onwards and the client being unable render the message.
The specific situation identified was changing an HTML-only e-mail from
quoted-printable to 7bit.
closes #2816
2024-02-23 22:16:36 +00:00
Adam Cooke
559b08ddd3
chore(github-actions): allow stale action to be run on demand
2024-02-22 00:30:49 +00:00
Adam Cooke
57b72fb4b7
chore(github-actions): add 'docs' label to exclude from staleness checks
2024-02-22 00:28:03 +00:00
Adam Cooke
d90a456dfa
chore(github-actions): add action to close stale issues and PRs
2024-02-22 00:27:15 +00:00
Adam Cooke
d7dce16c50
Merge pull request #2790 from postalserver/release-please--branches--main
...
chore(main): release 2.3.0
2024-02-14 15:04:09 +00:00
Adam Cooke
241f37e78d
Merge pull request #2797 from postalserver/rubocop
...
Code Quality Improvements
2024-02-13 14:24:41 +00:00
Adam Cooke
97a328419b
Merge pull request #2786 from postalserver/privacy-mode
2024-02-07 10:12:37 +00:00
Adam Cooke
96ba4b8f30
refactor: remove Postal.database_url
2024-02-01 18:09:39 +00:00
Adam Cooke
ce19bf7988
fix: use utc timestamps when determining raw table names
2024-02-01 16:41:41 +00:00
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
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
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
Adam Cooke
9db781ca17
chore: remove old example messages
...
closes #2635
closes #2627
2024-01-30 08:38:06 +00:00
Adam Cooke
5222263484
chore(build): improve build process, add release please ( #2414 )
2023-04-18 14:19:22 +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
Adam Cooke
b22f1bdb2e
fix: remove weird scrollbars ( #2391 )
2023-03-22 16:21:36 +00:00
Adam Cooke
c42dd1b9f6
upgrade ruby and various other dependencies
2023-02-20 09:57:56 +00:00
Adam Cooke
83fef0e8a0
chore(release): 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
Adam Cooke
d4aebac3cb
chore(release): 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
Adam Cooke
5b04faca39
fix: use the Postal logger system for the rails log
2022-02-14 14:17:51 +00:00
Adam Cooke
2053a1dc1d
chore: add dotenv
2022-02-14 14:17:38 +00:00
Adam Cooke
a0c87e7bf1
fix: fixes broken styling on errors
2022-02-14 14:17:30 +00:00
Adam Cooke
f305fdd2f8
chore: use old-style escaping for echoing
...
This is so it works on macOS as well as Linux
2022-02-14 14:16:28 +00:00
Adam Cooke
e49ae56d27
chore: replace procodile with foreman for dev
2022-02-14 14:16:11 +00:00
Adam Cooke
8dd5df6e8a
chore: remove mongo gem
2022-02-14 13:00:03 +00:00
Adam Cooke
d37ded12f5
chore: update ffi
2022-02-14 12:59:47 +00:00