Adam Cooke
18236171eb
chore(ui): display branch in footer if present
2024-03-20 14:30:32 +00:00
Adam Cooke
4d9654dac4
refactor: remove moonrope but maintain legacy API actions ( #2889 )
2024-03-19 20:21:04 +00: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
be456523dd
fix: don't use authentication on org & server deletion
2024-03-14 14:14:59 +00:00
Adam Cooke
3d208d632f
test: add tests for the legacy API
2024-03-13 22:40:41 +00:00
Adam Cooke
92406129cf
fix(smtp-server): fixes proxy protocol
2024-03-13 18:16:08 +00:00
Adam Cooke
58dddebeb8
fix: fixes postal default-dkim-record
2024-03-13 16:54:53 +00:00
Adam Cooke
96d73653d7
feat: add sha256 signatures to outgoing http requests ( #2874 )
2024-03-13 08:52:29 +00:00
Adam Cooke
9982bb8c31
fix(smtp-server): add additional information to cram-md5 log entries
2024-03-12 20:54:40 +00:00
Adam Cooke
5ed94f6f85
feat: openid connect support ( #2873 )
2024-03-12 17:40:07 +00:00
Adam Cooke
4e13577891
style(rubocop): Style/TrailingCommaInArrayLiteral
2024-03-12 11:45:44 +00:00
Adam Cooke
d84152eb5d
feat: automatically remove queued messages with stale locks ( #2872 )
2024-03-12 11:37:29 +00:00
Adam Cooke
e2d642c0cb
fix(message-dequeuer): ensure SMTP endpoints are sent to SMTP sender appropriately
...
closes #2853
2024-03-06 14:09:29 +00:00
Adam Cooke
33513a77c0
fix(ui): fixes typo on queue page
2024-03-05 22:57:39 +00:00
Adam Cooke
9bf6152060
fix(smtp-server): reset ansi sequence after logging
2024-03-05 22:13:43 +00:00
Adam Cooke
0dc7359431
fix(smtp-server): remove ::ffff: from the start of ipv4 addresses
2024-03-05 22:13:42 +00:00
Adam Cooke
6dd6e29929
fix: fix issue with sending mail when smtp relays are configured
2024-03-05 18:56:38 +00:00
Adam Cooke
ce30c070bd
refactor: switch to use SecureRandom for random strings
2024-03-04 17:33:25 +00:00
Adam Cooke
cae4b63599
refactor: refactor log use within SMTP server
...
Additionally adds logging when authentication is required but not provided.
closes #2794
closes #2791
2024-03-04 17:16:52 +00:00
Adam Cooke
0d3eccb368
fix: update wording about tracking domain cnames
...
closes #2808
2024-03-04 16:55:36 +00:00
Adam Cooke
1ca18dbc6e
refactor: remove unused UserController#join method
2024-03-04 14:42:32 +00:00
Adam Cooke
e05f0b3616
fix: remove user email verification
2024-03-04 14:41:18 +00:00
Adam Cooke
e1bae60768
feat: include list-unsubscribe-post header in dkim signatures
...
closes #2789
closes #2788
2024-03-04 14:32:05 +00:00
Adam Cooke
9dd00f6edd
fix: fix bug in smtp server when exceptions occur
2024-03-04 13:55:16 +00:00
Adam Cooke
defb5114d0
fix: fix smtp TLS
2024-03-04 13:42:01 +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
2621a190b1
fix: fixes issue with SMTP sender with address endpoints
2024-03-01 18:27:53 +00:00
Adam Cooke
0140dc4483
feat: only accept RFC-compliant End-of-DATA sequence
...
Previously Postal was fairly forgiving about line endings. This requires that the end of data sequence is `<CR><LF>.<CR><LF>`.
2024-03-01 17:12:10 +00:00
Adam Cooke
633c509a45
refactor: refactor the SMTP sender
2024-03-01 09:54:22 +00:00
Charlie Smurthwaite
be0df7b463
fix: translate unicode domain names to Punycode for compatibility with DNS ( #2823 )
2024-02-29 15:02:30 +00:00
Adam Cooke
0163ac3d10
feat: new configuration system (and schema) ( #2819 )
2024-02-26 12:41:57 +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
a2eb70edf1
feat: add health server and prometheus metrics to worker
2024-02-23 22:51:38 +00:00
Adam Cooke
b89e0a9e82
refactor: remove token logins
2024-02-23 22:51:37 +00:00
Adam Cooke
ecd09a2445
chore: upgrade rails to 7.0 and other dependencies
2024-02-23 22:51:37 +00:00
Adam Cooke
64b2704b02
refactor: move lib/postal/user_creator to app/util/user_creator
2024-02-23 22:51:37 +00:00
Adam Cooke
e3bc9da253
refactor: move lib/postal/received_header to app/lib/received_header
2024-02-23 22:51:36 +00:00
Adam Cooke
5cc9eb3df7
refactor: move lib/postal/reply_separator to app/lib/reply_separator
2024-02-23 22:51:36 +00:00
Adam Cooke
321ab95936
refactor: move lib/postal/smtp_server to app/lib/smtp_server
2024-02-23 22:51:36 +00:00
Adam Cooke
73a55a5053
refactor: move senders in to app/senders/
2024-02-23 22:51:36 +00:00
Adam Cooke
eb246bb4e7
refactor: move app/util/* to app/lib/
2024-02-23 22:51:36 +00:00
Adam Cooke
93fc120f44
refactor: move worker from lib/worker to app/lib/worker
2024-02-23 22:51:36 +00:00
Adam Cooke
a44e1f9081
refactor: refactors message dequeueing ( #2810 )
2024-02-23 22:51:36 +00:00
Adam Cooke
07eb15246f
docs: update docs for how IP address allocation works
...
closes #2209
2024-02-23 22:51:35 +00:00