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
1ae8ef6401
chore: upgrade bundler to 2.5.6
2024-02-23 22:51:37 +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
cfc1c9b73e
docs: update SECURITY policy
2024-02-23 22:51:37 +00:00
Adam Cooke
38465de120
refactor: remove unnecessary modules
2024-02-23 22:51:37 +00:00
Adam Cooke
b8ad732152
refactor: move tracking middleware
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
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