Commit Graph

67 Commits

Author SHA1 Message Date
353510b74f check for duplicates before storing 2024-11-09 11:32:23 -05:00
a7ade9a40d refactor event purging 2024-11-09 11:08:48 -05:00
c51199737b check white/blacklist refactored 2024-11-08 16:35:54 -05:00
Brian Hartford
49b628b7e0 Adjust event time contrainst on each event handle 2024-10-27 17:04:25 -04:00
158f284be9 reject by timestamp using string 2024-10-18 11:33:23 -04:00
e6188796d2 reject events based on timestamp 2024-10-18 11:22:01 -04:00
108142b801 fetch mutelist by author pubkey 2024-10-18 07:52:48 -04:00
3d88938b7e mutelist blacklist at event handler 2024-10-17 17:05:33 -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
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