Ralph Slooten
845fe840d4
Chore: Move Link check & HTML check features out of beta
2024-04-13 00:29:23 +12:00
Ralph Slooten
31e4f84f9a
Chore: Remove deprecated --disable-html-check option
2024-04-13 00:25:48 +12:00
Ralph Slooten
a7dfbf4af0
Feature: Search support for before: and after: dates ( #252 )
2024-04-12 14:44:14 +12:00
Ralph Slooten
254b2dd8ec
Feature: Option to use rqlite database storage ( #254 )
2024-04-05 15:48:32 +13:00
Ralph Slooten
83c70aa7c1
Chore: Code cleanup, remove redundant functionality
2024-03-24 21:37:37 +13:00
Ralph Slooten
a324d817b3
Feature: Allow setting SMTP relay configuration values via environment variables ( #262 )
2024-03-12 17:10:13 +13:00
Ralph Slooten
b2a0d73572
Chore: Switch to short uuid format for database IDs
2024-02-17 11:48:42 +13:00
Ralph Slooten
a31672b6f3
UI: Only show number of messages ignored statistics if --ignore-duplicate-ids
is set
2024-01-23 16:11:11 +13:00
Ralph Slooten
9cda71f21a
Feature: Add optional SpamAssassin integration to display scores ( #233 )
2024-01-20 12:07:49 +13:00
Ralph Slooten
f4c703b686
Chore: Standardize error logging & formatting
2024-01-03 12:21:00 +13:00
Ralph Slooten
857df79dd5
Update function comment
2024-01-02 17:19:08 +13:00
Ralph Slooten
0af11fcb28
Chore: Include runtime statistics in API (info) & UI (About)
...
Resolves #218
2024-01-02 13:23:16 +13:00
Ralph Slooten
06ca217cde
Chore: Convert to many-to-many message tag relationships
2024-01-01 23:46:34 +13:00
Ralph Slooten
a32978d149
Fix: Fix regression to support for search query params to all /latest
endpoints ( #206 )
2023-12-17 10:12:35 +13:00
Ralph Slooten
28cd1fceee
API: Allow ID "latest" for message summary, headers, raw version & HTML/link checks
2023-12-14 16:26:03 +13:00
Ralph Slooten
ad91c10744
Swagger: Revert BinaryResponse type to string
...
Go-swagger does not appear to support `"format": "binary"`, and `"$ref": "#/definitions/File"` doesn't seem to be supported. Resolves #188
2023-11-19 15:10:23 +13:00
Ralph Slooten
153eb3df53
Fix: Correctly display "About" modal when update check fails ( resolves #199 )
2023-10-28 17:33:11 +13:00
Ralph Slooten
f256d205ed
Feature: Reset message date on release ( #194 )
...
When releasing a message the date header is now updated with the current date & time.
2023-10-18 17:40:40 +13:00
Ralph Slooten
506400b764
Merge branch 'feature/swagger' into develop
2023-10-16 21:13:17 +13:00
Cyril Jouve
0e01b9ff73
Chore: Replace satori/go.uuid with github.com/google/uuid ( #190 )
...
Fixes #189
2023-10-16 19:22:47 +13:00
Ralph Slooten
4c3e073b0c
Change swagger BinaryResponse to os.File
2023-10-16 17:34:10 +13:00
Ralph Slooten
cded4d25fc
Swagger: Update swagger documentation
...
See #188
2023-10-15 19:24:06 +13:00
Ralph Slooten
ae15cac727
Testing: Add endpoints for integration tests
...
See #166
2023-09-27 17:29:03 +13:00
Ralph Slooten
737cff5a96
Chore: Update internal/storage import paths
2023-09-25 19:29:32 +13:00
Ralph Slooten
b6d5a8c182
Chore: Update internal import paths
2023-09-25 19:29:30 +13:00
Ralph Slooten
4a762c502e
Add Swagger note
2023-09-22 07:11:13 +12:00
Ralph Slooten
8e0c174bf3
Code cleanup
2023-09-22 07:02:15 +12:00
Ralph Slooten
b193851269
API: Delete by search filter
...
See #164
2023-09-22 07:00:02 +12:00
Ralph Slooten
582f1f88b2
API: Add endpoint to return all tags in use
2023-09-22 06:55:20 +12:00
Ralph Slooten
aa0af5de32
Update api search docs
2023-09-15 19:08:53 +12:00
Ralph Slooten
d01fb4044e
Feature: Link check to test message links
...
@see #151
2023-08-16 16:59:31 +12:00
Ralph Slooten
6d2fab1bc6
Docs: Add pagination to swagger search documentation
2023-08-05 16:59:33 +12:00
Ralph Slooten
c8a2effac4
Add comment to apiv1
2023-07-30 17:14:23 +12:00
Ralph Slooten
1922651d41
Feature: HTML check to test & score mail client compatibility with HTML emails
2023-07-30 17:04:06 +12:00
Ralph Slooten
56982798dc
Swagger: Update swagger docs
2023-07-12 17:22:48 +12:00
Ralph Slooten
ac0e7163dd
UI: Pagination support for search, all results
2023-07-12 17:21:51 +12:00
Ralph Slooten
d39b65deb7
Fix typos
2023-07-09 22:33:47 +12:00
Ralph Slooten
497086cb65
API: Set raw message Content-Type to UTF-8
2023-06-30 22:18:39 +12:00
Ralph Slooten
db5d8f672a
Swagger: Update swagger field descriptions, add MessageID
2023-05-30 16:52:39 +12:00
Ralph Slooten
9670c4e1d5
API: Return blank 200 response for OPTIONS requests (CORS)
2023-05-09 17:11:57 +12:00
Matthias Gliwka
fdc1b05545
Feature: Add allowlist to filter recipients before relaying messages ( #109 )
...
* Bugfix: Don't panic on mails without from line
* Feature: Add allowlist to filter recipients before relaying messages
2023-05-05 15:28:00 +12:00
Ralph Slooten
225a1e2e2a
Swagger: Update swagger field descriptions
2023-05-04 21:26:27 +12:00
Ralph Slooten
6dca57ba9b
API: Include correct start value in search reponse
2023-05-03 17:20:14 +12:00
Ralph Slooten
124f1c2bde
Bugfix: If set use return-path address as SMTP from address
2023-04-21 22:30:02 +12:00
Ralph Slooten
def9602811
UI: Message release functionality
...
When an SMTP relay server is configured, the web UI will display a "Release" button and allow a message to be manually relayed via the SMTP server to selected addresses.
@see #29
2023-04-21 12:17:14 +12:00
Ralph Slooten
04462f76c6
API: Message relay / release
...
This enables a SMTP server to be configured, and messages to be manually "released" via the relay server. Aditionally, messages can be auto-relayed via the SMTP server do Mailpit acts as a form of caching proxy.
@see #29
2023-04-21 12:10:13 +12:00
Ralph Slooten
8eed8d92e5
Update swagger comments
2023-04-21 11:55:32 +12:00
Ralph Slooten
5350e2eb08
Feature: OpenAPI / Swagger schema
...
Mailpit now has built-in OpenAPI / Swagger documentation, see #65
2023-03-31 18:44:08 +13:00
Ralph Slooten
6bc02fd4d4
Feature: Message tags and auto-tagging
...
See #17
2022-11-13 17:26:29 +13:00
Ralph Slooten
57cfb2611c
Use bytes.NewReader(data) instead of strings.NewReader(string(data))
2022-11-13 17:26:28 +13:00