Commit Graph

57 Commits

Author SHA1 Message Date
9df03646db event purging configurations 2024-09-22 15:34:32 -04:00
44f01d0b40 change in parameterized replaceable handling 2024-09-18 20:04:57 -04:00
4c89b56b0f change in parameterized replaceable handling 2024-09-18 20:00:14 -04:00
63a0daa017 change in parameterized replaceable handling 2024-09-18 19:54:35 -04:00
1ce4d892d3 change in parameterized replaceable handling 2024-09-18 19:51:53 -04:00
33706b4200 req improvement 2024-09-17 10:44:17 -04:00
d1b3750c87 move kinds to db package, refactor new mongo package 2024-09-17 10:35:31 -04:00
a1801da490 escaping special characters when serializing events 2024-09-17 09:24:35 -04:00
bfa3e6b08e imporve requests to the relay 2024-09-17 08:44:18 -04:00
7009533c8d handle requests in a que 2024-09-15 20:06:22 -04:00
3526d2937e undo limited routine for event handler 2024-09-15 18:53:28 -04:00
462fa0a4b1 avoid escaping special characters when serializing events leading to invalid IDs and Sigs 2024-09-05 11:58:18 -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
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