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
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
8765d8e57a
test: add tests for DNSResolver
2024-02-23 22:51:35 +00:00
Adam Cooke
ee86311525
test: move Postal::RpecHelpers to spec/helpers
2024-02-23 22:51:35 +00:00
Adam Cooke
1a4158699c
refactor: refactor DNS resolution
...
This commit also adds some of tests for the Domain model. It was during the writing of these tests that the DNS resolution refactoring requirement became apparent.
2024-02-23 22:51:34 +00:00
Adam Cooke
3bbbc70bc1
test: move TestLogger to spec/helpers
2024-02-23 22:51:34 +00:00
Adam Cooke
2023200d91
test: add tests for Server model
2024-02-23 22:51:34 +00:00
Adam Cooke
8b61100082
test: additional tests for batched messages when unqueueing messages
2024-02-23 22:51:34 +00:00
Adam Cooke
27b7ced3bc
chore: remove non-breaking spaces from comments
2024-02-23 22:51:34 +00:00
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
72715fe5f8
chore: upgrade ruby to 3.2.2 and nodejs to 20.x
2024-02-23 22:51:33 +00:00
Adam Cooke
e0403ba641
refactor: refactor webhook deliveries
2024-02-23 22:51:33 +00:00
Adam Cooke
6eb16c3fab
chore: add script for generating smtp TLS certificates
2024-02-23 22:51:33 +00:00
Adam Cooke
8d21adcbd4
docs: add quick contributing instructions
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
044058d0f1
feat: more consistent logging
2024-02-23 22:51:32 +00:00
github-actions[bot]
18ba7140b4
chore(main): release 2.3.1 ( #2812 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2.3.1
2024-02-23 22:25:22 +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
2.3.0
2024-02-14 15:04:09 +00:00
github-actions[bot]
b8bab1bd0e
chore(main): release 2.3.0
2024-02-13 15:59:15 +00:00
Adam Cooke
7c23994d24
fix: use correct method for disconnecting smtp connections
2024-02-13 15:57:59 +00:00
Adam Cooke
42ab5b3a6b
fix: explicitly disable TLS & starttls for unknown SSL modes
...
closes #2564
2024-02-13 15:57:48 +00:00
Adam Cooke
f9f7fb30fe
fix: retry mysql connections on message DB pool
2024-02-13 15:56:40 +00:00
Adam Cooke
b8cb563553
Merge pull request #2801 from postalserver/smtp-tests
...
Tests for the SMTP Server
2024-02-13 15:55:57 +00:00
Adam Cooke
e83e2a5e33
Merge pull request #2799 from postalserver/remove-server-fd
...
Remove SMTP server reloading
2024-02-13 15:55:30 +00:00
Adam Cooke
c3c304e98b
refactor: remove reloading on the smtp server
2024-02-13 15:51:44 +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
c83601af69
chore: silence message DB migrations during provisioning
2024-02-13 11:56:48 +00:00
Adam Cooke
6214892710
chore: annotate models
2024-02-13 11:46:35 +00:00
Adam Cooke
1fceef7cea
fix: add ruby platform to gemfile
2024-02-12 18:14:29 +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
c6326a6524
style(rubocop): Style/MultilineBlockChain
2024-02-12 09:55:19 +00:00
Adam Cooke
013b3ea931
style(rubocop): Style/PreferredHashMethods
2024-02-12 09:55:19 +00:00
Adam Cooke
ffcb707247
style(rubocop): Style/MissingRespondToMissing
2024-02-12 09:55:19 +00:00
Adam Cooke
83ac764510
style(rubocop): Style/HashExcept
2024-02-12 09:55:19 +00:00
Adam Cooke
c995027ff5
style(rubocop): Style/HashEachMethods
2024-02-12 09:55:19 +00:00
Adam Cooke
ec7dcf4f9a
style(rubocop): Lint/UnderscorePrefixedVariableName
2024-02-12 09:55:19 +00:00
Adam Cooke
278ef0886a
style(rubocop): Lint/SuppressedException
2024-02-12 09:55:18 +00:00
Adam Cooke
bab6346239
style(rubocop): Lint/DuplicateMethods
2024-02-12 09:55:18 +00:00
Adam Cooke
a1dc0f77ac
style(rubocop): Lint/DuplicateBranch
2024-02-12 09:55:18 +00:00