1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-07-03 00:46:58 +02:00

23 Commits

Author SHA1 Message Date
f99d9ecf69 Chore: Refactor error handling and resource management across multiple files (golangci-lint)
- Updated error handling to use the error return value for resource closures in tests and functions, ensuring proper error reporting.
- Replaced direct calls to `Close()` with deferred functions that handle errors gracefully.
- Improved readability by using `strings.ReplaceAll` instead of `strings.Replace` for string manipulation.
- Enhanced network connection handling by adding default cases for unsupported network types.
- Updated HTTP response handling to use the appropriate status codes and error messages.
- Removed unused variables and commented-out code to clean up the codebase.
2025-06-22 15:25:21 +12:00
a1110e5ad8 Chore: Update caniemail testing database 2025-06-14 17:27:40 +12:00
25580b9a68 Chore: Update caniemail database 2025-05-18 10:48:05 +12:00
8691afd850 Chore: Update caniemail database 2025-05-03 16:15:53 +12:00
b4131dbeae Testing: Add tests for inline HTML Checks 2025-03-15 11:55:03 +13:00
e3e1d734b6 Chore: Improve inline HTML Check style detection (#467)
Using goquery sometimes resulted in incorrect partial matches, eg `transform:` matching `text-transform:`. This refactor switches to regex matches which should prevent this, and allow more accurate detection.
2025-03-15 11:54:22 +13:00
93c9eb3fbf Chore: Update caniemail database 2024-12-08 12:55:49 +13:00
c7f3937cb2 Chore: Update caniemail database 2024-11-26 22:17:04 +13:00
d2070e1ee1 Chore: Update caniemail database 2024-10-18 18:03:25 +13:00
1c8f0bf136 Chore: Update caniemail database 2024-09-01 19:52:44 +12:00
325394876d Chore: Update caniemail database 2024-08-06 17:26:10 +12:00
48045ec0aa Chore: Update caniemail database 2024-06-19 16:18:42 +12:00
22d28a7b18 Chore: Remove function duplication - use common tools.InArray() 2024-05-04 10:20:46 +12:00
c878619484 Chore: Update caniemail database 2024-04-21 00:08:01 +12:00
81d434c848 Chore: Update caniemail test database 2024-04-12 14:53:46 +12:00
edc529fbde Chore: Update caniemail test data 2024-03-12 17:11:43 +13:00
b4003f6899 Chore: Update caniemail data 2024-02-05 22:27:34 +13:00
f4c703b686 Chore: Standardize error logging & formatting 2024-01-03 12:21:00 +13:00
bf181eaad5 Chore: Update caniemail test data 2024-01-02 00:24:23 +13:00
64483e5ce3 Chore: Update caniemail library & add hr element test 2023-12-04 21:33:15 +13:00
f19ab57e06 Libs: Update caniemail test data 2023-10-31 15:46:25 +13:00
b6d5a8c182 Chore: Update internal import paths 2023-09-25 19:29:30 +13:00
10224e7c8b Chore: Move utils/* packages to internal/* 2023-09-25 19:29:02 +13:00