Adam Cooke
b4016f6b49
test: add tests for message unqueueing
...
This adds a comprehensive set of tests for the message unqueueing service.
Additionally, it improves how message databases are used for testing environments.
2024-02-23 22:51:34 +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
e0403ba641
refactor: refactor webhook deliveries
2024-02-23 22:51:33 +00:00
Adam Cooke
dc8e895bfe
feat: new background work process
...
This removes all previous dependencies on RabbitMQ and the need to run separate cron and requeueing processes.
2024-02-23 22:51:33 +00:00
Adam Cooke
f9f7fb30fe
fix: retry mysql connections on message DB pool
2024-02-13 15:56:40 +00:00
Adam Cooke
6214892710
chore: annotate models
2024-02-13 11:46:35 +00:00
Adam Cooke
dece1d487a
test: add initial tests for Postal::SMTPServer::Client
2024-02-12 18:07:44 +00:00
Adam Cooke
ec636661d5
style(rubocop): remaining offences
2024-02-12 09:55:20 +00:00
Adam Cooke
9563f30c96
style(rubocop): Naming/MemoizedInstanceVariableName
2024-02-12 09:40:34 +00:00
Adam Cooke
389ea77050
style(rubocop): Security/YAMLLoad
2024-02-10 17:21:08 +00:00
Adam Cooke
ee94e4e1a0
style(rubocop): Lint/UnusedBlockArgument
2024-02-10 17:20:13 +00:00
Adam Cooke
7590a46234
style(rubocop): Lint/UselessAssignment
2024-02-10 17:18:24 +00:00
Adam Cooke
25d7d66b47
test: FactoryBot.lint will lint all registered factories
2024-02-10 17:18:24 +00:00
Adam Cooke
cfd8d63321
style(rubocop): Layout/EmptyLinesAroundBlockBody
2024-02-10 17:18:24 +00:00
Adam Cooke
1cf665a0cf
test: remove FACTORIES_EXCLUDED_FROM_LINT
2024-02-10 17:18:24 +00:00
Adam Cooke
b4cc81264c
style(rubocop): Style/StringLiterals
2024-02-10 17:18:23 +00:00
Adam Cooke
0e4ed5ca03
style(rubocop): Layout/EmptyLineAfterMagicComment
2024-02-10 17:18:23 +00:00
Adam Cooke
6ab36c09c9
style(rubocop): Style/FrozenStringLiteralComment
2024-02-10 17:18:22 +00:00
Adam Cooke
15f9671b66
feat: privacy mode
...
Adds support for hiding IP addresses & hostnames associated with clients sending
authenticated mail in to Postal over SMTP and HTTP
2024-02-07 09:45:09 +00:00
Adam Cooke
b9edcf5b7d
test: rename database spec file
2024-02-06 12:43:28 +00:00
Adam Cooke
54306a9748
fix: adds new connection pool which will discard failed clients
...
closes #2780
2024-02-06 12:43:28 +00:00
Charlie Smurthwaite
fd289c46fd
style(rubocop): fix all safe auto correctable offenses
2023-03-16 15:50:53 +00:00
Charlie Smurthwaite
7ea00dfa3b
Correctly match link in multipart/alternative messages
2023-03-13 15:23:20 +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
476129cc1b
fix(dkim): ensure DKIM-Signature headers are appropriately wrapped
...
closes #339
2021-08-01 21:00:37 +00:00
Adam Cooke
17dd7cc757
refactor: remove the fast server
2021-07-29 11:20:47 +00:00
Adam Cooke
189dfa509b
fix(dkim): fixes bug with signing dkim bodies
2021-07-28 17:01:42 +00:00
Adam Cooke
c09ab62d0c
chore: various tweaks to support running tests in the CI
2021-07-26 17:40:56 +00:00
Adam Cooke
e2409a663c
test: add test for dkim header generation
2021-07-22 19:17:13 +01:00
Adam Cooke
f56dac2284
renaming factory girl => factory bot
2019-03-14 10:46:41 +00:00
Adam Cooke
36db40cfe7
fixes issue with query string parsing when a z exists
...
closes #127
2017-05-16 15:25:35 +01:00
Adam Cooke
87560c9edf
only remove the global database if we actually made one
2017-05-08 16:40:20 +01:00
Adam Cooke
eee01c9e15
a little more testing
2017-05-08 16:39:32 +01:00
Adam Cooke
2bde75720c
initial test suite
2017-05-08 14:48:15 +01:00