James Hillyerd
d5553030d2
Fix service paths ( #393 )
...
* service: fix ExecStart path for pre-built packages
Signed-off-by: James Hillyerd <james@hillyerd.com >
* packaging: fix goreleaser and service paths
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-09-12 15:33:04 -07:00
James Hillyerd
f070347535
goreleaser: use default snapshot name template ( #392 )
...
Our manually configured template was breaking debian package snapshots,
version must start with a number
2023-09-12 14:33:15 -07:00
James Hillyerd
cafd2c3d66
Add names to better distinguish workflows ( #391 )
2023-09-11 13:47:53 -07:00
James Hillyerd
dcd60b47dd
update go module dependencies ( #390 )
2023-09-11 13:28:25 -07:00
dependabot[bot]
6a30a294c6
build(deps): bump semver from 5.7.1 to 5.7.2 in /ui ( #373 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 12:57:00 -07:00
James Hillyerd
9836c0ffbb
go: update mod and imports to correctly reflect major version ( #388 )
2023-09-09 12:36:21 -07:00
James Hillyerd
558f3de083
nix shell: use go 1.20 ( #387 )
2023-09-09 11:48:53 -07:00
Benson Margulies
00736cc704
pop3 TLS: don't do server-side handshake explicitly... ( #386 )
2023-09-07 09:56:19 -07:00
Benson Margulies
9f0fef3180
Implement STLS for pop3 ( #384 )
2023-09-05 14:28:26 -07:00
Shantanu Gadgil
f1dadba1b2
inbucket cmd: add version flag ( #385 )
2023-08-31 10:00:41 -07:00
Cyd
06ec140e72
add reject from origin domain feature ( #375 )
...
Add a new feature to be able to reject email *from* specific domains.
Co-authored-by: Cyril DUPONT <cyd@9bis.com >
2023-08-26 11:05:20 -07:00
James Hillyerd
7c13a98ad2
ui: bump nodejs to 18 (LTS) ( #381 )
2023-08-25 12:11:45 -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
Carlos Tadeu Panato Junior
926f9f3804
Few updates in ci jobs and go.mod/dockerfile ( #372 )
...
* update go.mod to 1.20
* clean up and format ci jobs
* update go and alpine images in dockerfile
Signed-off-by: cpanato <ctadeu@gmail.com >
2023-05-30 14:08:07 -07:00
James Hillyerd
87888e9dbf
Update changelog for 3.1.0 beta1 ( #353 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
v3.1.0-beta1
2023-02-28 11:00:39 -08:00
James Hillyerd
e84d21cb28
events: Remove unnecessary go calls ( #352 )
2023-02-28 10:25:16 -08:00
James Hillyerd
5a886813c3
Provide inbucket object in Lua ( #351 )
...
* fix delve fortify thingy
* Expose inbucket.after.message_stored in lua
* Expose inbucket.after.message_deleted in lua
* Expose inbucket.before.mail_accepted in lua
2023-02-27 20:22:10 -08:00
James Hillyerd
95281566f6
bump Go deps ( #350 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-27 10:59:53 -08:00
James Hillyerd
7044567d64
msghub: Clear deleted messages instead of unlinking ( #348 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-17 15:06:43 -08:00
James Hillyerd
82ddf2141c
Create V2 API for monitor+deletes, revert V1 API ( #347 )
...
* Revert socketv1 controller API to maintain V1 contract, introduce
V2 controller for Inbucket UI.
Signed-off-by: James Hillyerd <james@hillyerd.com >
* Introduce MessageID for deletes, instead of recycling header
Signed-off-by: James Hillyerd <james@hillyerd.com >
* Update UI for monitor V2 API
Signed-off-by: James Hillyerd <james@hillyerd.com >
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-17 12:37:17 -08:00
James Hillyerd
b554c7db83
Fix doc name for LUA config param ( #339 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-17 12:35:08 -08: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
e1b8996412
goreleaser: set archive rlcp true to mirror upcoming default ( #344 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-16 11:25:28 -08:00
James Hillyerd
71d3e8df3b
goreleaser: correct archive naming by using default ( #343 )
...
.Binary was causing some archives to be called inbucket_client
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-16 10:59:57 -08:00
James Hillyerd
2da7ad61cd
ui: update browser list ( #342 )
2023-02-16 09:59:26 -08:00
James Hillyerd
eaae1a1e44
GHA: Use node16 actions, Go 1.20 ( #340 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-15 21:01:24 -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
561ed93451
feat: Monitor tab dynamically updates when messages are deleted ( #337 )
...
* WIP: msghub handles deletes, UI does not yet display them
Signed-off-by: James Hillyerd <james@hillyerd.com >
* socket and UI support message deletes
Signed-off-by: James Hillyerd <james@hillyerd.com >
* use Delete naming for consistency
Signed-off-by: James Hillyerd <james@hillyerd.com >
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-14 19:02:06 -08:00
James Hillyerd
ef12d02b83
msghub: Recover and log panics ( #336 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-14 14:00:13 -08:00
James Hillyerd
de617b6a73
delete event: test lua func ( #335 )
...
* lua: tidy test helpers
Signed-off-by: James Hillyerd <james@hillyerd.com >
* lua: test after_message_deleted func
Signed-off-by: James Hillyerd <james@hillyerd.com >
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-14 10:56:43 -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
James Hillyerd
d11ae3710c
config: make note of domain addressing ( #331 )
2023-02-12 16:17:41 -08:00
James Hillyerd
5d18d79539
lua: Preload json module ( #330 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-10 11:44:36 -08:00
James Hillyerd
b38b2e9760
lua: Preload gluahttp module ( #328 )
2023-02-09 19:04:33 -08:00
James Hillyerd
75b7c69b5c
lua: Add getter/setter tests for bound objects ( #326 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-08 17:20:57 -08:00
James Hillyerd
239426692e
lua: Use table syntax for user object bindings ( #325 )
...
* lua: update bind_message to use table syntax
* lua: update bind_address to use table syntax
2023-02-08 13:38:00 -08:00
James Hillyerd
17b054b5a1
add: direnv config ( #324 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-08 10:32:19 -08:00
James Hillyerd
7f91c3e9cb
lua: Bind after_message_stored and before_mail_accepted ( #322 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-24 16:37:26 -08:00
James Hillyerd
55addbb556
lua: Init with config and pool ( #321 )
...
* lua: Intial impl with config and pool
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-24 12:16:58 -08:00
James Hillyerd
8fd5cdfc86
extension: Add BeforeMailAccepted event ( #320 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-22 18:01:56 -08:00
James Hillyerd
e74efbaa77
extension: Make AfterMessageStored async ( #319 )
2023-01-22 16:26:52 -08:00
James Hillyerd
b383fbf9ab
manager: Test that MessageStored event is emitted ( #318 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-17 19:26:44 -08:00
James Hillyerd
c9912bc2bb
Fix incorrect test capitalization ( #317 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-17 19:08:59 -08:00
James Hillyerd
f0d457b8f5
extension: Add MessageStored event ( #316 )
...
* Replace existing direct StoreManager->msghub communication with this
event
* For #280 #309 #312 #310
Signed-off-by: James Hillyerd <james@hillyerd.com >
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-16 21:30:47 -08:00
James Hillyerd
3bf4b5c39b
extension: Implement an EventBroker ( #315 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-16 20:34:16 -08:00
James Hillyerd
37806f222d
shell.nix: add a quick-test script, qt ( #314 )
2023-01-16 20:15:40 -08:00
James Hillyerd
f5899c293c
etc: scripts use /usr/bin/env bash ( #313 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-16 16:10:27 -08:00
James Hillyerd
cd9c3d61ee
shell.nix: Add gopls as build dep ( #308 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-16 14:29:38 -08:00
James Hillyerd
37d314fd2e
Makefile: fix, wasn't testing SRC timestamps ( #307 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-15 16:41:11 -08:00