Commit Graph

55 Commits

Author SHA1 Message Date
e6188796d2 reject events based on timestamp 2024-10-18 11:22:01 -04:00
3d88938b7e mutelist blacklist at event handler 2024-10-17 17:05:33 -04:00
21c431dd22 append mutelist event pubkeys to blacklist 2024-10-17 12:31:52 -04:00
3de1aeb998 blacklist moved to it's own yml 2024-10-16 14:07:37 -04:00
5133c3a005 whitelist configs moved to it's own yml file 2024-10-16 09:57:58 -04:00
9df03646db event purging configurations 2024-09-22 15:34:32 -04:00
d1b3750c87 move kinds to db package, refactor new mongo package 2024-09-17 10:35:31 -04:00
b22fbe6aa8 refactor limit functions 2024-09-05 11:09:03 -04:00
0ab753bb2c refactor resource limit function 2024-09-05 11:04:12 -04:00
82a45048f5 move config watcher to config package 2024-09-05 11:02:45 -04:00
4e218c292a move apply resource limits to config package 2024-09-05 11:01:24 -04:00
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