Commit graph

30 commits

Author SHA1 Message Date
Alex Gleason
b2bc46ac57
Removed DittoFilter usages I missed earlier 2024-03-20 12:01:38 -05:00
Alex Gleason
c8b378ad10
Remove DittoFilter, use search instead of local 2024-03-20 11:34:04 -05:00
Alex Gleason
2a0cba55e6
streamingController: allow to connect without authorization 2024-03-16 16:44:25 -05:00
Alex Gleason
aaf01462c1
Update code to use new DittoEvent and DittoFilter. Event -> NostrEvent 2024-01-23 12:07:22 -06:00
Alex Gleason
7b9baef165
debug: streaming, simplify other logs 2023-12-27 20:39:38 -06:00
Alex Gleason
a6947441fc
renderStatus: don't fetch the author, expect it to be passed in 2023-12-06 12:04:24 -06:00
Alex Gleason
c1bf326981
c.req.headers.get --> c.req.header, hono deprecation 2023-11-20 12:39:20 -06:00
Alex Gleason
d49c63bb1a
Move statuses view into its own file 2023-10-06 15:37:31 -05:00
Alex Gleason
9ca3ec08a3
Delete transformers directory, rename views 2023-10-06 12:02:24 -05:00
Alex Gleason
9d714b6173
Pass viewerPubkey to toStatus in more places 2023-08-29 14:48:28 -05:00
Alex Gleason
e18aa878bb
streaming: reorder tag params 2023-08-28 13:37:15 -05:00
Alex Gleason
e6d1494a10
streaming: make user stream mostly work, in a kind of hacky way 2023-08-28 13:34:15 -05:00
Alex Gleason
e8a7dfef2b
Remove uneeded session ID from auth token 2023-08-28 13:00:00 -05:00
Alex Gleason
f25284daa9
streaming: support hashtag timeline 2023-08-28 12:42:28 -05:00
Alex Gleason
2e8b26cf4f
Remove legacy stream.ts module 2023-08-27 10:07:13 -05:00
Alex Gleason
9cd1ca1861
streaming: don't forget to close the subscription when the socket closes 2023-08-26 15:57:51 -05:00
Alex Gleason
9da03aa053
streaming: socket.addEventListener('open', ...) --> socket.onopen, etc 2023-08-25 17:17:26 -05:00
Alex Gleason
a93d77c851
streaming: add stream param to streaming events 2023-08-25 16:17:45 -05:00
Alex Gleason
b60e84d29b
relay: only send if socket is open 2023-08-25 15:09:16 -05:00
Alex Gleason
f7cd67c572
Make MastoAPI streaming work for public feeds 2023-08-25 14:59:37 -05:00
Alex Gleason
d7d5057617
Support nip98 auth 2023-07-08 18:41:11 -05:00
Alex Gleason
161c77b85d
Streaming: parse stream channel param 2023-05-20 23:47:51 -05:00
Alex Gleason
ec5e0ed330
Streaming: refactor, add unsubscribeAll method 2023-05-20 20:23:01 -05:00
Alex Gleason
3ffad1df29
Build a websocket topics framework 2023-05-20 19:39:05 -05:00
Alex Gleason
f3e42cc6a7
Add a UUID to auth tokens for private websocket event signing 2023-05-20 14:34:13 -05:00
Alex Gleason
9500ceee7c
Upgrade nostr-tools, fix BECH_32_REGEX imports 2023-05-20 12:28:12 -05:00
Alex Gleason
c14ebe6631
sign: only add stream if nostr=true on the user stream (still subject to change) 2023-05-13 21:05:55 -05:00
Alex Gleason
ce02f7d56c
Update streaming comments 2023-05-13 20:16:44 -05:00
Alex Gleason
9ff5e7c738
Websocket signing kind of works!! 2023-05-13 19:48:08 -05:00
Alex Gleason
8ba456a100
streaming: establish WebSocket connection 2023-05-13 17:41:21 -05:00