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
d013158ac3
Fix: Prevent JavaScript error if message is missing From
header ( #209 )
2023-11-19 15:09:54 +13:00
Ralph Slooten
ef41de06ae
Chore: Use NextReader() instead of ReadMessage() for websocket reading ( #207 )
...
This prevents against malicious buffer overflows.
2023-11-19 15:09:53 +13:00
Ralph Slooten
a5bec762d4
Feature: Support search query params to /latest endpoints ( #206 )
2023-11-11 23:48:45 +13:00
Ralph Slooten
4c5b024eca
Feature: Option to allow untrusted HTTPS certificates for screenshots & link checking ( #204 )
2023-11-11 23:10:43 +13:00
Ralph Slooten
74236258db
Fix: Correctly close websockets on client disconnect ( #207 )
2023-11-11 15:32:57 +13:00
Ralph Slooten
ffe6167d96
Feature: Add URL redirect (/view/latest
) to view latest message in web UI ( #166 )
2023-11-02 16:15:45 +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
f29016a175
Docs: Update documentation links
2023-10-25 10:01:03 +13:00
Ralph Slooten
d82b1e731c
UI: Fix column width in search view
2023-10-24 09:00:45 +13:00
Ralph Slooten
140bdd6c20
Feature: Set optional webhook for received messages ( #195 )
2023-10-20 23:16:56 +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
56d61ae24b
Fix: Enable delete button when new messages arrive
...
See #185
2023-10-13 23:09:49 +13:00
Ralph Slooten
e5703d0805
UI: Display message previews on separate line ( #175 )
2023-10-06 17:04:03 +13:00
Ralph Slooten
4e2d4d6365
Fix: HTML message preview background color when switching themes in Chrome
...
Fixes #182
2023-10-05 17:38:26 +13:00
Ralph Slooten
7446f52205
Fix: Correctly detect tags in search (UI)
2023-10-05 17:23:22 +13:00
Ralph Slooten
636918dd0e
Feature: Display email previews ( #175 )
2023-10-05 17:01:13 +13:00
Ralph Slooten
0ab4210640
Feature: Set auth credentials directly from environment variables
...
Credentials for the UI and SMTP can now be exported via the `MP_UI_AUTH` and `MP_SMTP_AUTH` environment variables. See #173
2023-09-29 16:40:23 +13:00
Ralph Slooten
e902806ea2
UI: Add option to delete a message after release
...
See #169
2023-09-28 16:05:44 +13:00
Ralph Slooten
ae15cac727
Testing: Add endpoints for integration tests
...
See #166
2023-09-27 17:29:03 +13:00
Ralph Slooten
1020f76bf8
UI: Do not show excluded search tags as "current" in nav
2023-09-26 19:04:04 +13:00
Ralph Slooten
42a1fe1510
UI: Display "Loading messages" instead of "No results" while loading results
2023-09-26 16:51:30 +13:00
Ralph Slooten
628b7e7881
Code cleanup
2023-09-25 22:14:39 +13:00
Ralph Slooten
fe5de77253
Tests: Add more API tests
2023-09-25 22:14:19 +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
d2086922e5
UI: Only queue broadcast events if clients are connected
2023-09-25 16:53:25 +13:00
Ralph Slooten
898b36ce0b
UI: Reset pagination when returning to inbox from search
2023-09-24 12:24:52 +13:00
Ralph Slooten
28ac6d2099
UI: Set 404 page when loading a non-existent message
2023-09-23 15:49:43 +12:00
Ralph Slooten
f54a2187ac
UI: Link email addresses in message summary to search
2023-09-23 11:48:06 +12:00
Ralph Slooten
063eab2c6a
UI: Better support for mobile screen sizes
2023-09-23 09:31:02 +12:00
Ralph Slooten
6a4e5fb03c
UI: Rewrite web UI, add URL routing and components
...
See #156
2023-09-22 15:06:03 +12: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
ee49149df9
Feature: New search filter [!]is:tagged
...
See #164
2023-09-14 22:30:20 +12:00
Ralph Slooten
9788a01617
Fix: Correctly decode proxy links containing HTML entities (screenshots)
2023-09-06 17:28:48 +12:00
Ralph Slooten
e265d7018e
Fix docblock comment
2023-09-06 16:14:54 +12:00
Ralph Slooten
a37da776d7
Feature: HTML screenshots
...
Resolves #157
2023-09-06 16:14:35 +12:00
Ralph Slooten
69226e91b2
UI: Group message tabs on mobile
2023-08-17 17:04:15 +12:00
Ralph Slooten
d01fb4044e
Feature: Link check to test message links
...
@see #151
2023-08-16 16:59:31 +12:00
Ralph Slooten
8dbc661cb7
Use message ID as key for Message component
2023-08-15 21:32:12 +12:00
Ralph Slooten
bc4b028c39
UI: Set hostname in page meta title to identify Mailpit instance
...
@see #154
2023-08-15 21:31:18 +12:00
Ralph Slooten
7875160aa7
Feature: Workaround for non-RFC-compliant message headers containing <CR><CR><LF>
...
Due to a bug in some common sendmail implementations and PHP >=8.0, message headers sometimes contain `\r\r\n` which is not RFC compliant.
Mailpit will now fix these non-compliant headers. This can be disabled via `--smtp-strict-rfc-headers`
See #87 / #153
2023-08-15 17:13:25 +12:00