Jonas
a121c08dc4
UI: Check for secure context instead of HTTPS ( #114 )
2023-05-23 15:36:42 +12:00
Ralph Slooten
d1edbe73b4
UI: Remove "Noto Color Emoji" from default bootstrap font list
...
@see #92
2023-05-18 09:38:26 +12:00
Ralph Slooten
9670c4e1d5
API: Return blank 200 response for OPTIONS requests (CORS)
2023-05-09 17:11:57 +12:00
Ralph Slooten
1e97e9e21f
Bugfix: Correctly escape JS cid regex
2023-05-05 22:51:17 +12:00
Ralph Slooten
b4a971f552
Minor code changes
2023-05-05 17:21:43 +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
16bc025fff
API: Set Access-Control-Allow-Headers when --api-cors is set
2023-05-04 22:23:07 +12:00
Ralph Slooten
5f919cc9dd
Feature: Option to ignore duplicate Message-IDs
...
This option (default off) silently ignores any new messages with duplicate Message-IDs. This update includes a new database structure and automatic rebuild of existing data.
2023-05-04 21:48:09 +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
60ea473acb
UI: Style Undisclosed recipients in message view
2023-05-02 16:51:07 +12:00
Ralph Slooten
31c0a501e8
Feature: Add Access-Control-Allow-Methods methods when CORS origin is set
...
@See #91
2023-04-25 08:57:16 +12:00
Ralph Slooten
c5a8836b7e
Bugfix: Fix UI images not displaying when multiple cid names overlap
...
Resolves #96
2023-04-24 22:27:57 +12:00
Ralph Slooten
cffbd3f884
Feature: Display clickable toast notifications for new messages
...
Resolves #97
2023-04-24 11:34:43 +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
126fa66d58
Bugfix: Add API release route again (bad merge)
2023-04-21 17:50:34 +12:00
Ralph Slooten
7c62dca14b
API: Enable cross-origin resource sharing (CORS) configuration
...
This feature allows the setting of the `Access-Control-Allow-Origin` header via `--api-cors`.
@see #91
2023-04-21 12:49:49 +12:00
Ralph Slooten
23370eab0f
Update Swagger documentation
2023-04-21 12:19:12 +12:00
Ralph Slooten
4f5b5e2f02
UI: Display Return-Path if different to the From address
2023-04-21 12:18:01 +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
2752a09ca7
Move logging variable level to logger module
2023-04-21 11:59:26 +12:00
Ralph Slooten
8eed8d92e5
Update swagger comments
2023-04-21 11:55:32 +12:00
Ralph Slooten
9c8329a05c
Feature: Inject/update Bcc header for missing addresses when SMTP recipients do not match messsage headers
...
In order to capture Bcc recipients from some platfoms (eg: Laravel) when the SMTP recipients contain Bcc recipients but are not listed in the message headers, the missing addresses are now added into the message Bcc header. If the Bcc header does not exist then it is created.
Resolves #35
2023-04-15 11:34:31 +12:00
Ralph Slooten
5ed55e58e1
Show swagger curl example before try
2023-04-12 17:04:42 +12:00
Ralph Slooten
84d3384120
Display service listening IPs as 0.0.0.0 when set to default [::]
2023-04-12 16:22:20 +12:00
Ralph Slooten
eba934c0e0
Feature: Mobile and tablet HTML preview toggle in desktop mode
2023-04-03 18:46:40 +12:00
Ralph Slooten
1b798c5514
UI: Tab to view formatted message headers
...
See #71
2023-04-01 17:06:30 +13:00
Ralph Slooten
f16b105d26
API: Include Reply-To in message summary (including Web UI)
...
This adds a new ReplyTo array to to API Message response, and displays in the web UI if set. See #66
2023-04-01 17:05:18 +13: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
3bb9f4162a
Feature: Download raw message, HTML/text body parts or attachments via single button
...
@see #67
2023-03-31 18:44:08 +13:00
Ralph Slooten
2d07683a28
Bugfix: Fix JavaScript error when adding the first tag manually
...
Caused when passing updated prov values via Vue components, see #68
2023-03-31 18:44:08 +13:00
Ralph Slooten
169c476c56
Feature: Rename SSL to TLS, add deprecation warnings to flags & ENV variables referring to SSL
2023-03-31 18:44:06 +13:00
Ralph Slooten
57b0e1666f
Feature: Options to support auth without STARTTLS, and accept any login
...
@see #56
2023-03-31 18:44:06 +13:00
Ralph Slooten
7cb46ba869
Correctly case Cc and Bcc in UI
2023-02-24 21:36:42 +13:00
Ralph Slooten
6efe99ffdf
Move smtpd to server
2023-02-24 21:36:42 +13:00
Ralph Slooten
56999e97e2
UI: Compress SVG icons
2023-02-09 15:21:46 +13:00
Ralph Slooten
d238675011
Bugfix: Restore notification icon
...
Fixes #34
2023-02-09 15:21:08 +13:00
Matthias Fechner
c1694f1a22
Feature: Add Kubernetes API health (livez/readyz) endpoints
...
Kubernetes checks if a pod is ok and if it can retrieve traffic using probes.
This commit add two routes to make a liveness probe and a readiness probe.
2023-01-30 22:17:54 +13:00
Ralph Slooten
06aa7a2dea
Remove redundant offcanvas mixin
2022-12-03 17:21:51 +13:00
Ralph Slooten
2c3c436fc1
UI: Rename "results" to "result" when singular message returned
2022-11-25 19:06:41 +13:00
Ralph Slooten
95dacfc5db
Build: Remove duplicate bootstrap CSS
2022-11-21 21:43:30 +13:00
Ralph Slooten
54635b748a
Bugfix: Delay 200ms to set target="_blank"
for all rendered email links
...
Fixes #22
2022-11-18 13:25:15 +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
Ralph Slooten
ba24d145ff
Bugfix: Return empty arrays rather than null for message To, CC, BCC, Inlines & Attachments
...
Bugfix: Return empty arrays rather than null for message To, CC, BCC, Inlines & Attachments
2022-11-13 17:26:17 +13:00
Ralph Slooten
cbc3fe59a8
Feature: Allow custom webroot
...
Allow Mailpit to run on a custom webroot, resolves #19
2022-10-31 22:13:41 +13:00
Ralph Slooten
ab771cf76c
Move utils to subfolder
2022-10-29 10:52:22 +13:00
Ralph Slooten
43bd2a18ea
API: Provide structs of API v1 responses for use in client code
...
See #21
2022-10-21 22:55:15 +13:00
Ralph Slooten
0a13cf8304
Tidy JS code
2022-10-16 11:51:20 +13:00
Ralph Slooten
4ebbdab7c0
Snapshot memory usage first
2022-10-16 11:36:28 +13:00
Ralph Slooten
cea9518b4b
UI mobile tweaks
2022-10-16 10:45:04 +13:00
Ralph Slooten
a9220277d6
Refresh first page after prune when !results
2022-10-16 10:21:57 +13:00
Ralph Slooten
bd45d9dffe
UI: Broadcast "delete all" action to reload all connected clients
2022-10-16 08:37:46 +13:00
Ralph Slooten
baaf3a3a23
UI tweaks
2022-10-16 00:03:16 +13:00
Ralph Slooten
53d2296ff5
Minor UI changes
2022-10-15 23:37:22 +13:00
Ralph Slooten
e8bf803ca0
UI: Load first page if paginated list returns 0 results
2022-10-15 23:30:09 +13:00
Ralph Slooten
d9dc000e89
UI: Theme changes
2022-10-15 23:14:51 +13:00
Martin
b1027ca844
Bugfix: Fix mail download link
2022-10-15 08:54:36 +13:00
Ralph Slooten
699a534632
API: Add limit and start parameters to search
...
Requested in #15
2022-10-14 17:31:35 +13:00
Ralph Slooten
53f8d34961
UI: Prevent double message index request on websocket connect
2022-10-14 17:30:48 +13:00
Ralph Slooten
4368541a96
Update logging format
2022-10-13 02:53:53 +13:00
Ralph Slooten
4d511bd29d
Testing: Add API test for raw & message headers
2022-10-13 02:48:23 +13:00
Ralph Slooten
b0894a8064
API: Add API endpoint to return message headers
...
See #15
2022-10-13 02:47:51 +13:00
Ralph Slooten
906a697542
Add event.preventDefault()
2022-10-08 23:34:20 +13:00
Ralph Slooten
a31a7c3d2c
UI: Add about app modal with version update notification
2022-10-08 23:33:59 +13:00
Ralph Slooten
d8c6364622
Testing: Add API tests
2022-10-07 19:48:50 +13:00
Ralph Slooten
df758d063a
UI: Changes to use new data API
2022-10-07 19:47:41 +13:00
Ralph Slooten
34da0e5042
Feature: Add REST API
...
Requested feature for integration, see #15
2022-10-07 19:46:39 +13:00
Ralph Slooten
4a92b99a53
Optimise Mailpit SVG logo
2022-10-07 19:25:26 +13:00
Ralph Slooten
b1dc121cdd
UI: Hide delete all / mark all read in message view
2022-10-04 17:41:25 +13:00
Ralph Slooten
93665656cf
Invoke loadMessages() before event connect()
...
In the case whereby the websocket is blocked (ie: error), make sure messages load is already triggered.
2022-09-21 15:56:20 +12:00
Ralph Slooten
fd1346c5f4
Fix: Workaround for Safari source matching bug blocking event listener
...
The current stable version of Safari does not treat ws: or wss: sockets as `self`.
See: https://bugs.webkit.org/show_bug.cgi?id=235873
Resolves #13
2022-09-19 22:17:20 +12:00
Ralph Slooten
388bea740b
UI: Add documentation link (wiki)
2022-09-17 08:09:22 +12:00
Ralph Slooten
2bc2660ad5
Fix count of selected messages
2022-09-16 21:54:25 +12:00
Ralph Slooten
5d6aa7c48a
UI: Support for inline images using filenames instead of cid
...
Some historic email programs use the attachment filename instead of a reference cid for inline images (eg: Outlook).
2022-09-16 18:40:29 +12:00
Ralph Slooten
867dbf41d5
UI: Minor UI color change & unread count position adjustment
2022-09-15 21:52:22 +12:00
Ralph Slooten
51e458ad57
Security: Add restrictive HTTP Content-Security-Policy
2022-09-15 21:23:27 +12:00
Ralph Slooten
f6a8de3215
UI: Add favicon unread message counter
2022-09-14 22:37:47 +12:00
Ralph Slooten
6aeebb9824
UI: Remove left & right borders (message list)
2022-09-14 17:14:36 +12:00
Ralph Slooten
0da89d91dd
Fix: Update message download link
2022-09-14 16:45:23 +12:00
Ralph Slooten
33dcd489eb
UI: Allow reverse proxy subdirectories
2022-09-14 13:43:38 +12:00
Ralph Slooten
088b772de5
UI: Attachment icons and image thumbnails
2022-09-12 22:11:51 +12:00
Ralph Slooten
5cd0a6e2f3
UI tweaks
2022-09-09 23:57:53 +12:00
Ralph Slooten
fea733a43e
UI: HTML source & highlighting
2022-09-09 23:34:35 +12:00
Ralph Slooten
e4a7212f89
Reload UI on prev/next message
2022-09-03 23:02:10 +12:00
Ralph Slooten
e6a5fceedd
UI: Add previous/next message links
2022-09-03 22:46:38 +12:00
Ralph Slooten
43403bc6f7
Feature: Multiple message selection for group actions using shift/ctrl click
...
Allow group actions for deleting & marking as read/unread, resolves #11
2022-09-03 19:01:54 +12:00
Ralph Slooten
6dbdbf1637
UI: Post data using 'application/json'
2022-09-03 19:01:54 +12:00
Ralph Slooten
3c81e152e6
UI: Display unknown recipients as as Undisclosed recipients
2022-09-03 19:01:53 +12:00
Ralph Slooten
eff483c1c4
feature: Switch backend storage to use SQLite
...
BREAKING CHANGE: This release includes a major backend storage change (SQLite) that will render any previously-saved messages useless. Please delete old data to free up space. For more information see https://github.com/axllent/mailpit/issues/10
2022-08-30 22:42:43 +12:00
Ralph Slooten
77e6b88c5d
UI: Resize preview iframe on load
2022-08-29 22:22:07 +12:00
Ralph Slooten
133b36c34c
UI: Change breakpoints for mobile view of messages
2022-08-11 00:32:10 +12:00
Ralph Slooten
ed28a4cc0d
UI: Resize iframes with viewport resize
2022-08-11 00:31:22 +12:00
Ralph Slooten
2d57839b3e
UI: Mobile compatibility improvements & functionality
2022-08-10 20:21:27 +12:00
Ralph Slooten
9ab28d606a
Add privacy classes for screenshots
2022-08-07 13:38:53 +12:00
Ralph Slooten
aba3c46eb1
Update wording for "no emails/results message"
2022-08-07 10:28:33 +12:00
Ralph Slooten
c9c910ab7c
UI: Better error handling when connection to server is broken
2022-08-07 10:21:08 +12:00
Ralph Slooten
61e15e4155
UI: Add reset search button
2022-08-07 10:11:48 +12:00
Ralph Slooten
e03618570d
UI: Minor UI tweaks
2022-08-07 10:11:21 +12:00
Ralph Slooten
d4cf95363f
Feature: Mark all messages as read
2022-08-07 09:34:06 +12:00
Ralph Slooten
f260495495
UI: Update pagination values when new mail arrives when not on first page
2022-08-07 08:38:52 +12:00
Ralph Slooten
a14cdce07f
Update disconnected state hover title
2022-08-07 01:15:40 +12:00
Ralph Slooten
642487742c
Feature: Optional browser notifications (HTTPS only)
2022-08-07 01:04:55 +12:00
Ralph Slooten
788e390e01
Ignore http.RsponseWriter errors
2022-08-07 00:09:32 +12:00
Ralph Slooten
056bef7d5e
Security: Use strconv.Atoi() for safe string to int conversions
2022-08-06 23:54:19 +12:00
Ralph Slooten
56fdaa1224
Feature: SMTP STARTTLS & SMTP authentication support
...
Resolves #4
2022-08-06 20:00:05 +12:00
Ralph Slooten
6fe1bdb579
Feature: Basic authentication support
2022-08-04 17:18:07 +12:00
Ralph Slooten
bca7bec867
UI: Add space in To fields
2022-07-31 00:05:07 +12:00
Ralph Slooten
7fd73a6fdb
UI: cater for messages without From email address
2022-07-30 23:00:34 +12:00
Ralph Slooten
3bbc122869
Minor UI & logging changes
2022-07-30 22:33:20 +12:00
Ralph Slooten
a85a74bb9a
Feature: Unread statistics
2022-07-30 19:58:31 +12:00
Ralph Slooten
7a9b11a9e5
First commit
2022-07-29 23:23:08 +12:00