Commit Graph

251 Commits

Author SHA1 Message Date
Yasuhiro Matsumoto
db9bd14e12 fix build 2025-02-06 21:37:46 +09:00
mattn
a7bef3670a Merge pull request #127 from mattn/fix-leak
fix memory leak
2024-09-29 12:27:54 +09:00
Yasuhiro Matsumoto
b217f090a9 fix memory leak 2024-09-24 22:24:36 +09:00
mattn
ef3835c56d Merge pull request #124 from mattn/add-broadcast
add Broadcast
2024-07-31 23:57:12 +09:00
Yasuhiro Matsumoto
d6a7f5ef2d add Broadcast 2024-07-31 23:23:30 +09:00
mattn
274bdf0c81 Merge pull request #122 from mattn/use-ctx
Use WithTimeout
2024-07-23 08:43:08 +09:00
Yasuhiro Matsumoto
01be2797b2 do not use ctx provied from http request 2024-07-23 08:36:04 +09:00
mattn
02d23e846f Merge pull request #121 from mattn/notify-delete
kind 5 should be notified to subscribers.
2024-07-23 08:25:20 +09:00
Yasuhiro Matsumoto
abcb4cec62 use WithTimeout 2024-07-23 08:24:23 +09:00
Yasuhiro Matsumoto
70a1daf2a1 notify delete event 2024-07-23 01:43:09 +09:00
mattn
8d1bd80bf3 Merge pull request #120 from mattn/fix-goroutine-leak
fix possibly goroutine leak
2024-07-23 00:31:12 +09:00
Yasuhiro Matsumoto
01d5005481 fix possibly goroutine leak 2024-07-23 00:28:36 +09:00
mattn
3d04ee4e08 Merge pull request #119 from mattn/delete-ok
return OK for deletion
2024-07-17 10:46:22 +09:00
Yasuhiro Matsumoto
d1bfb5aa78 return OK for deletion 2024-07-17 10:19:35 +09:00
mattn
d8fa9b0e3c Merge pull request #118 from mattn/use-relaywrapper
use eventstore.RelayWrapper
2024-07-15 20:32:52 +09:00
Yasuhiro Matsumoto
9b56ffd752 use eventstore.RelayWrapper 2024-07-15 20:30:29 +09:00
mattn
7bd7458c0c Merge pull request #117 from mattn/add-skipEventFunc
add WithSkipEventFunc
2024-07-15 00:52:09 +09:00
Yasuhiro Matsumoto
1d1d5408d4 add WithSkipEventFunc 2024-07-13 18:09:06 +09:00
mattn
80050ddbbf Merge pull request #116 from mattn/real-ip
use X-Real-Ip if presented
2024-02-25 21:42:12 +09:00
mattn
baa75c67de Merge pull request #115 from mattn/update-deps2
update deps
2024-02-25 21:42:03 +09:00
Yasuhiro Matsumoto
5cc480c44c handle X-Forwarded-For 2024-02-25 17:47:04 +09:00
Yasuhiro Matsumoto
b96058bf8b use X-Real-Ip if presented 2024-02-25 17:40:24 +09:00
Yasuhiro Matsumoto
e1564654e5 update deps 2024-02-22 10:47:59 +09:00
mattn
b055882184 Merge pull request #111 from mattn/fix-EventCounter
fix EventCounter: filter should not be a pointer
2024-01-29 21:41:01 +09:00
Yasuhiro Matsumoto
5281f6630d fix EventCounter 2024-01-29 21:38:49 +09:00
mattn
658b4d1c4d Merge pull request #109 from mattn/update-mods
update deps
2024-01-02 03:21:36 +09:00
mattn
712eee1da9 Merge pull request #108 from mattn/fix-workflows
fix GitHub workflows
2024-01-02 03:20:51 +09:00
Yasuhiro Matsumoto
d4525d5d77 update deps 2024-01-02 03:20:18 +09:00
Yasuhiro Matsumoto
461c3d7f9d fix GitHub workflows 2024-01-01 23:26:49 +09:00
mattn
d0c0785202 Merge pull request #107 from mattn/fix-build
Fix compilation error
2023-12-19 11:35:57 +09:00
Yasuhiro Matsumoto
341819d890 check storage is nil 2023-12-19 11:35:08 +09:00
Yasuhiro Matsumoto
e61e21bcc1 fix build 2023-12-19 11:35:01 +09:00
Yasuhiro Matsumoto
27c61818b0 update deps 2023-12-19 11:34:48 +09:00
fiatjaf_
deb4294ae5 verify event id instead of silently reassigning (#105) 2023-11-28 22:41:04 -03:00
mattn
18544e7b05 Merge pull request #106 from bndw/master
feat: Add authed pubkey to ReqAccepter
2023-11-29 03:03:20 +09:00
bndw
bf5df1248f feat: Add authed pubkey to ReqAccepter
Pass the nip-42 pubkey to the ReqAccepter. This allows a relay to
authenticate REQs.
2023-11-21 17:13:34 -08:00
Liran Cohen
f5a2ca410e init the storage before relay, so that it may be used within the relay's init function 2023-11-08 13:02:03 -03:00
mattn
5b4e4d2a04 Merge pull request #102 from mattn/nip11-fix
Building better nip11 relay information.
2023-11-08 23:29:00 +09:00
Yasuhiro Matsumoto
218b6734e8 Building better nip11 relay information. 2023-11-08 23:22:51 +09:00
mattn
eed9f8a292 Merge pull request #101 from mattn/fix-build
update deps & fix build
2023-11-07 21:30:07 +09:00
Yasuhiro Matsumoto
86928e57d1 update deps 2023-11-07 07:58:20 +09:00
fiatjaf
422698a0be fix tests that were broken since a while ago. 2023-11-05 11:19:41 -03:00
fiatjaf
6b232318a5 update to eventstore v0.2.0 with .Close() methods on interfaces. 2023-11-05 11:19:41 -03:00
fiatjaf_
e5fb4bbd19 Merge pull request #97 from fiatjaf/eventstore
remove storage plugins and move those to eventstore module
2023-11-01 13:02:16 -03:00
Yasuhiro Matsumoto
3c044da533 Merge branch 'master' into eventstore 2023-11-01 22:48:28 +09:00
mattn
54369b8cef Merge pull request #98 from mattn/fix-typos
fix typos
2023-11-01 22:47:33 +09:00
Yasuhiro Matsumoto
21b15f62a5 fix typos 2023-11-01 22:46:46 +09:00
fiatjaf
ba76f13378 use eventstore release v0.0.1 2023-10-31 16:47:53 -03:00
fiatjaf
82641e4f3d fix rss-bridge example, which defines a custom Store. 2023-10-31 16:41:47 -03:00
fiatjaf
58cd643c35 adjustments so it works with eventstore. 2023-10-31 16:28:30 -03:00