Commit Graph

43 Commits

Author SHA1 Message Date
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
a0c5fe95ad WIP: Add event handling with Schnorr signature verification 2024-07-22 13:50:43 -04:00
c7b0e9c390 kind0 events are now being updated per pubkey 2024-07-20 10:03:52 -04:00
36956603ed proper event structure 2024-07-20 09:04:45 -04:00
e2f0163bc2 server is handling requests 2024-07-20 08:41:47 -04:00
a02435ba5c remove deprecated code, rename file 2024-07-19 22:08:27 -04:00
346637d3ba remove unneeded code 2024-07-19 21:24:34 -04:00
2fe8d6af8c remove unneeded code 2024-07-19 21:23:13 -04:00
0f9436ee44 remove unneeded code 2024-07-19 21:19:57 -04:00
8ba117e2a4 kind 0 implemented, not validating 2024-07-19 21:12:06 -04:00
1f241c9838 code seperated, kind 1 insert working, not validating 2024-07-19 21:09:42 -04:00
d1c2e58dad readme todo 2024-07-19 20:38:35 -04:00
8369e25c17 leaf 2024-07-19 19:06:38 -04:00
4a92b0ad25 Adds database and collections if non exists, renamed project 2024-07-19 19:05:12 -04:00
26fec6e371 first commit 2024-07-19 18:07:04 -04:00