James Hillyerd
f799e3debf
chore: modernize range loops ( #574 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2025-05-31 12:57:47 -07:00
James Hillyerd
cf92969719
chore: Update golangci lint to 2.0.x ( #572 )
...
* Update to golangci lint 2.0.x
Signed-off-by: James Hillyerd <james@hillyerd.com >
* Fix new lint warnings
Signed-off-by: James Hillyerd <james@hillyerd.com >
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2025-05-08 21:23:42 -07:00
James Hillyerd
ed4a83a2bd
chore: migrate integration to testify/suite ( #505 )
...
* fix: future naming collision, suite -> storeSuite
Signed-off-by: James Hillyerd <james@hillyerd.com >
* chore: migrate integration to testify/suite
Signed-off-by: James Hillyerd <james@hillyerd.com >
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-02-19 18:45:55 -08:00
James Hillyerd
f76b93a8f2
storage_suite: refactor to use common struct param ( #492 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-02-16 16:11:07 -08:00
James Hillyerd
fc8ea530bb
chore: fix many unit test style warnings ( #488 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-02-15 18:52:50 -08:00
James Hillyerd
5a5864fde6
storage test: fix failures on windows ( #457 )
...
* storage test: close source reader
* fstore: properly close directory handle
2023-12-12 19:31:14 -08:00
James Hillyerd
9836c0ffbb
go: update mod and imports to correctly reflect major version ( #388 )
2023-09-09 12:36:21 -07:00
guangwu
0ae452ed17
chore: remove refs to deprecated io/ioutil ( #376 )
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com >
2023-08-07 16:25:36 -07:00
James Hillyerd
36095a2cdf
extension: split out an async specific broker for "after" events ( #346 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-16 16:17:06 -08:00
James Hillyerd
a55da8b7d1
file & mem stores should emit delete events on purge ( #338 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-14 19:51:42 -08:00
James Hillyerd
69b6225554
storage: emit AfterMessageDeleted events ( #334 )
...
* Ignore test lua script
Signed-off-by: James Hillyerd <james@hillyerd.com >
* Wire ExtHost into storage system
imports
Signed-off-by: James Hillyerd <james@hillyerd.com >
* storage/file: emit deleted events
Signed-off-by: James Hillyerd <james@hillyerd.com >
* storage/mem: emit deleted events
Signed-off-by: James Hillyerd <james@hillyerd.com >
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-13 17:11:04 -08:00
James Hillyerd
5adef42df7
Replace message.Metadata usage with event.MessageMetadata ( #333 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-13 13:52:28 -08:00
Abirdcfly
29d1ed1e7f
delete minor unreachable code caused by t.Fatal ( #287 )
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
2022-08-10 08:59:09 -07:00
James Hillyerd
e4c48a0705
go code: rename to github.com/inbucket/inbucket
2019-02-24 09:43:10 -08:00
James Hillyerd
8a3d2ff6a2
storage: Add test for id='latest', implment in mem store.
2018-10-22 15:43:17 -07:00
James Hillyerd
12f98868ba
smtp/policy: Store messages with full naming for #33
...
- Added some tests to make sure stores do not enforce their own naming.
- Improve recipient structured logging.
2018-04-07 13:06:56 -07:00
James Hillyerd
cc5cd7f9c3
storage: Add Seen flag, tests for #58
2018-04-01 13:30:43 -07:00
James Hillyerd
412b62d6fa
storage/mem: implement size enforcer for #88
2018-03-24 20:27:05 -07:00
James Hillyerd
b42ea130ea
storage/mem: implement message cap for #88
...
- Move message cap tests into storage test suite.
- Update change log.
2018-03-24 14:36:23 -07:00
James Hillyerd
30a329c0d3
Renames, closes #69
...
- storage: rename StoreMessage to Message
- storage: rename Message.RawReader() to Source()
2018-03-17 17:56:06 -07:00
James Hillyerd
9b3d3c2ea8
test: Finish initial storage test suite, closes #82
2018-03-16 22:43:32 -07:00
James Hillyerd
5e13e50763
test: Start work on test suite for #82
...
- smtp: Tidy up []byte/buffer/string use in delivery #69
2018-03-14 22:51:40 -07:00