Commit Graph

64 Commits

Author SHA1 Message Date
b0c2f98dcb relay metadata fix 2024-07-28 16:25:20 -04:00
81b2eef486 hotfix 2024-07-28 09:41:10 -04:00
b761e47abb NIP11 implemented (relay metadata) 2024-07-27 16:46:25 -04:00
46c9e4af3c frontend showing top 10 recent events, no formatting 2024-07-27 15:59:08 -04:00
b312dfe480 event deletion per kind5 added 2024-07-27 15:47:37 -04:00
9bab1e3a0a removed NOTICE responses from kind handling 2024-07-27 15:19:48 -04:00
9edd7f6337 SendClosed func moved to response package 2024-07-27 15:14:51 -04:00
a7518e83a5 added sendClose Func in req 2024-07-27 10:50:04 -04:00
ffbfe76b42 refactored kind server responses 2024-07-27 10:06:34 -04:00
77f3e0314d event size limits 2024-07-26 16:46:01 -04:00
4181ff5f94 rate limit and config tests added 2024-07-26 16:02:43 -04:00
4c5375a429 config example changed, some comments removed 2024-07-26 10:40:31 -04:00
f8138cb2cb working rate limits! 2024-07-26 10:02:34 -04:00
8956eeea63 rearranged some limiter structs 2024-07-25 21:33:42 -04:00
aa62bcf3da config example fixes 2024-07-25 21:26:47 -04:00
8287508388 refactored some config/limiter orders 2024-07-25 16:43:46 -04:00
7365ef5c11 refactored ok and notice response 2024-07-25 10:19:42 -04:00
8c83d7333b throw out unknown kinds 2024-07-25 10:05:33 -04:00
d5f2366ff8 fix category rate limits 2024-07-25 09:57:24 -04:00
8050e2e74f config example updated 2024-07-25 09:06:48 -04:00
4920f61a99 configurable rate limit by category of event type 2024-07-25 09:03:34 -04:00
80e80c4215 added configurable rate limits 2024-07-24 23:04:26 -04:00
a61c539c54 properly handling serving websocket and frontend at the same time 2024-07-24 22:09:54 -04:00
3015cf8c85 todo readme 2024-07-24 20:54:50 -04:00
bde60b7046 sendNotice moved to own file 2024-07-24 17:10:20 -04:00
0dd29c5bcb sendOK refactored, moved to own file 2024-07-24 17:00:59 -04:00
1249c6cb82 move kind handlers inside the handlers package 2024-07-24 16:56:04 -04:00
231fdc6aa9 handle kind 4-45 and kind2 2024-07-24 16:54:11 -04:00
990e47eb2b handling all kinds based on number with replaceable, regular and replaceable parameterized in addition to explicity handling kinds 2024-07-24 16:37:55 -04:00
c228833c91 remove md linting errors 2024-07-24 10:20:19 -04:00
d7631ff91a removed capital Error to conform to Go Static Check 2024-07-24 10:16:26 -04:00
8ad674401b only upserting kind0 event if created at is newer 2024-07-24 10:04:45 -04:00
4389be4009 handling requests and subscriptions properly 2024-07-24 07:51:27 -04:00
44636c95d9 frontend added from GoStart scaffolf 2024-07-23 16:40:39 -04:00
12e9856169 readme update 2024-07-23 14:32:28 -04:00
45d38b45a4 moved handlers into their own package with seperate go files for each 2024-07-23 13:57:21 -04:00
81d73a5ec3 server package renamed relay 2024-07-23 13:30:29 -04:00
47dcc0bf4d handler renamed listener 2024-07-23 13:24:44 -04:00
2b0186e499 events package renamed to kinds 2024-07-23 13:22:55 -04:00
567f6ec289 readme and config updates 2024-07-23 11:07:43 -04:00
ef0f7a78dd renamed some util files 2024-07-23 10:54:41 -04:00
b77c8b5580 events.go removed and funcs added to server 2024-07-23 10:53:01 -04:00
a60104d73d other packages moved into server package 2024-07-23 08:39:36 -04:00
2f3d2be7d9 event type added to server , removed from query 2024-07-22 21:15:36 -04:00
29875a560d readme update 2024-07-22 20:53:28 -04:00
5a6740d17e seperate type for server 2024-07-22 20:51:44 -04:00
0557a7e93b dynamically making events in database 2024-07-22 20:08:04 -04:00
51a7fd7924 Merge pull request 'signature_verification' (#1) from signature_verification into main
Reviewed-on: https://forge.happytavern.co/oceanslim/grain/pulls/1
2024-07-22 15:34:46 -04:00
ca20843209 readme updated 2024-07-22 15:33:54 -04:00
a7773d0041 Checking and verifying note signatures before event insertion 2024-07-22 14:53:59 -04:00