Commit Graph

81 Commits

Author SHA1 Message Date
27efacc2e4 explicity open cors 2024-08-01 07:54:59 -04:00
5ea0d36ba3 properly update subscriptions, sub ID's per connection 2024-07-31 20:09:47 -04:00
ae2f98aafc fix unchanged web-> app directories 2024-07-31 15:54:42 -04:00
de4bf2df16 add release direcotry to ignore 2024-07-31 15:01:53 -04:00
f3a13037ef remove redundant favicon 2024-07-31 14:44:56 -04:00
ad42f1fc39 config generation refactor cleanup 2024-07-31 14:41:48 -04:00
5eb6fd961e rename major package folers web->app, relay->server 2024-07-31 14:12:33 -04:00
f291c07bfa readme change 2024-07-31 12:30:42 -04:00
cbd4f62466 create config and metadata if none exists 2024-07-31 12:27:56 -04:00
f4dd7d2f54 . 2024-07-31 12:10:51 -04:00
e42dbe520a config types split go files 2024-07-31 12:01:18 -04:00
4c0dced370 config types split out 2024-07-31 11:56:55 -04:00
107edacc04 removed redundancies 2024-07-31 11:28:41 -04:00
8c2e4ed926 refactor more main funcs 2024-07-30 11:51:05 -04:00
ba95bc849b configuration refactor 2024-07-30 11:27:38 -04:00
567d9010a4 split up main functions 2024-07-30 09:58:20 -04:00
d4f486b45d added ws close on error 2024-07-30 09:31:26 -04:00
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