Commit Graph

44 Commits

Author SHA1 Message Date
4e218c292a move apply resource limits to config package 2024-09-05 11:01:24 -04:00
6737718f08 fix in example config 2024-09-02 17:03:46 -04:00
aebd1d89e4 query moved to db package 2024-09-02 11:56:52 -04:00
c8ed954a9d refactoring 2024-09-01 20:51:02 -04:00
232b1b8d27 handlekind refactored to only handle storing events in database 2024-08-30 16:00:41 -04:00
6f15f3f23a refactor event handler 2024-08-30 15:51:46 -04:00
e8b1380c90 req returns all lastest events when no kind is specefied. 2024-08-22 16:12:12 -04:00
7430b674f0 added bson to event type 2024-08-22 13:03:33 -04:00
6704ead115 change 'createdat' to created_at 2024-08-22 12:59:53 -04:00
3ea051cb37 NIP42, AUTH Implementation 2024-08-19 14:28:13 -04:00
2b071fb7d8 resource limits and concurrency for events and req 2024-08-19 13:47:23 -04:00
cd69d52c92 message returned for bans as blocked: 2024-08-16 09:47:31 -04:00
784b22ccf4 temp ban count and exceed add to permaban list is working 2024-08-16 09:14:37 -04:00
2bf7b3d2f8 temp ban count working, lockup when exceeding max temp bans 2024-08-16 09:12:15 -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
39436b564e perma blacklist functionality, temp banning not working 2024-08-15 11:00:43 -04:00
22729612ff config watcher, restart server on change 2024-08-09 16:22:27 -04:00
921b1adead client info struct moved into function 2024-08-09 09:03:14 -04:00
9a4a55e914 removed nip package 2024-08-09 08:55:30 -04:00
25ff327a7f client info, config max connections/subscriptions, drop oldest sub for newest at limit 2024-08-09 08:38:18 -04:00
1cfe7c8e94 replace kind 5 with same a tags 2024-08-08 08:05:37 -04:00
7edbee13ac import events work, styling, checkWhitelist refactor 2024-08-07 17:24:38 -04:00
2ef7d4fe42 added NIP05 domains to whitelist 2024-08-04 14:02:53 -04:00
2ef15d6e17 seperate kind and key whitelists 2024-08-03 16:18:34 -04:00
9e04328436 add npubs to whitelist 2024-08-03 15:11:22 -04:00
9d8db7df08 pubkey whitelist! 2024-08-03 14:27:58 -04:00
78ab44a11f removed uneeded cors handler funcs 2024-08-01 10:48:24 -04:00
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
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
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
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
a0c5fe95ad WIP: Add event handling with Schnorr signature verification 2024-07-22 13:50:43 -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