Commit Graph

44 Commits

Author SHA1 Message Date
c8ed954a9d refactoring 2024-09-01 20:51:02 -04:00
2b071fb7d8 resource limits and concurrency for events and req 2024-08-19 13:47:23 -04:00
56a725c5df added back ensurefilesexist 2024-08-17 22:00:03 -04:00
7d288cec1e temp bans working,temp ban threshold still not working, removing permabans requires hard restart 2024-08-15 16:20:22 -04:00
22729612ff config watcher, restart server on change 2024-08-09 16:22:27 -04:00
d81d78e25f frontend refactor 2024-08-09 09:24:32 -04:00
9a4a55e914 removed nip package 2024-08-09 08:55:30 -04:00
f5a0f6560d moved timeouts to config 2024-08-08 08:40:23 -04:00
8d66e3decc app refactor 2024-08-06 15:35:52 -04:00
df361ea437 import events 2024-08-06 10:34:53 -04:00
78ab44a11f removed uneeded cors handler funcs 2024-08-01 10:48:24 -04:00
62fac57c6f skip origin check 2024-08-01 10:43:17 -04:00
27efacc2e4 explicity open cors 2024-08-01 07:54:59 -04:00
ae2f98aafc fix unchanged web-> app directories 2024-07-31 15:54:42 -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
cbd4f62466 create config and metadata if none exists 2024-07-31 12:27:56 -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
b0c2f98dcb relay metadata fix 2024-07-28 16:25:20 -04:00
b761e47abb NIP11 implemented (relay metadata) 2024-07-27 16:46:25 -04:00
77f3e0314d event size limits 2024-07-26 16:46:01 -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
8287508388 refactored some config/limiter orders 2024-07-25 16:43:46 -04:00
d5f2366ff8 fix category rate limits 2024-07-25 09:57:24 -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
44636c95d9 frontend added from GoStart scaffolf 2024-07-23 16:40:39 -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
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
0557a7e93b dynamically making events in database 2024-07-22 20:08:04 -04:00
a0c5fe95ad WIP: Add event handling with Schnorr signature verification 2024-07-22 13:50:43 -04:00
e2f0163bc2 server is handling requests 2024-07-20 08:41:47 -04:00
346637d3ba remove unneeded code 2024-07-19 21:24:34 -04:00
1f241c9838 code seperated, kind 1 insert working, not validating 2024-07-19 21:09:42 -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