Commit graph

57 commits

Author SHA1 Message Date
Vlad Stan
2c0bcce8c7 fix: cal correct action 2023-02-16 17:54:11 +02:00
Vlad Stan
94730ba464 feat: store pubkey when authenticated 2023-02-16 17:04:23 +02:00
Vlad Stan
09707151c5 feat: change rate limit to per hour instead of per second 2023-02-16 14:37:31 +02:00
Vlad Stan
aed098499a chore: code format 2023-02-16 14:19:21 +02:00
Vlad Stan
5a984bddcd feat: mage block/allow accounts 2023-02-16 14:17:21 +02:00
Vlad Stan
bc1af610db chore: mypy fixes 2023-02-15 18:18:46 +02:00
Vlad Stan
88d53bd73d feat: respond with challenge to client AUTH message 2023-02-15 11:44:35 +02:00
Vlad Stan
58723a387f chore: code format 2023-02-15 10:49:36 +02:00
Vlad Stan
366dae2082 chore: label update 2023-02-15 10:46:50 +02:00
Vlad Stan
1c81ca300f refactor: extract extract_domain function 2023-02-15 10:33:56 +02:00
Vlad Stan
3648dc212c feat: partial AUTH support 2023-02-14 17:26:40 +02:00
Vlad Stan
44ae8086cc feat: check paid_to_join and storage 2023-02-14 09:46:33 +02:00
Vlad Stan
4970334713 refactor: extract method 2023-02-13 14:20:11 +02:00
Vlad Stan
bd5957b443 feat: update account when join invoce paid 2023-02-13 14:12:37 +02:00
Vlad Stan
b7840ced08 chore: debug log 2023-02-13 10:10:55 +02:00
Vlad Stan
d5aff47717 refactor: class renamings 2023-02-10 13:40:15 +02:00
Vlad Stan
1eda457067 chore: force py format 2023-02-10 12:16:25 +02:00
Vlad Stan
339f2b70c1 feat: restrict storage 2023-02-10 11:43:18 +02:00
Vlad Stan
50fd1942cc refactor: extract method _validate_event() 2023-02-09 12:26:37 +02:00
Vlad Stan
f5c873ec4d feat: add support for NIP22 2023-02-09 12:18:54 +02:00
Vlad Stan
868e02d3c2 feat: limit max events per second 2023-02-09 10:28:56 +02:00
Vlad Stan
bddab70677 feat: enforce query limit on relay side 2023-02-08 18:15:43 +02:00
Vlad Stan
b4094ad2f5 feat: limit the number of filters a client can have 2023-02-08 17:51:35 +02:00
Vlad Stan
2cb9d083c6 feat: send message back to owner 2023-02-08 15:07:53 +02:00
Vlad Stan
4b96f65c85 fix: delete relay 2023-02-08 12:58:19 +02:00
Vlad Stan
24f803921e refactor: rename variables 2023-02-08 12:00:01 +02:00
Vlad Stan
9501286c1f refactor: extract method _set_client_callbacks() 2023-02-08 11:58:19 +02:00
Vlad Stan
423364a5c6 refactor: extract method _send_msg() 2023-02-08 11:56:03 +02:00
Vlad Stan
7215d37fe9 feat: more detailed error messages for rejected event 2023-02-08 11:52:07 +02:00
Vlad Stan
43dc3e85ce feat: check access control list 2023-02-08 11:16:34 +02:00
Vlad Stan
e1fe19b115 refactoring: small 2023-02-08 10:47:43 +02:00
Vlad Stan
30dfb03d2d refactor: rename private fields 2023-02-08 10:26:32 +02:00
Vlad Stan
9c5b7f69dd fix: init relays 2023-02-08 10:23:02 +02:00
Vlad Stan
534cf04210 feat: use RelayConfig for active relays 2023-02-08 10:21:26 +02:00
Vlad Stan
6527d04977 refactor: function renaming 2023-02-08 09:15:26 +02:00
Vlad Stan
d0341911b9 refactor: extract NostrFilter.to_sql_components 2023-02-08 09:10:04 +02:00
Vlad Stan
f97cd1dff6 fix: group clients by relay 2023-02-08 08:59:19 +02:00
Vlad Stan
14df3a6ffb tests: update after changes 2023-02-07 18:15:43 +02:00
Vlad Stan
4db031c10e feat: close connection to client when relay is deactivated 2023-02-06 17:59:36 +02:00
Vlad Stan
f56e9e2e56 feat: block access to deactivated client 2023-02-06 17:42:27 +02:00
Vlad Stan
aff949fed5 feat: allow custom relay IDs 2023-02-06 16:58:29 +02:00
Vlad Stan
5a747361af feat: make event kind: 3 replaceable 2023-02-06 12:09:53 +02:00
Vlad Stan
10ef9ee2ac feat: on meta update, replace old meta 2023-02-06 11:10:14 +02:00
Vlad Stan
57197b981d refactor: mark delete using query builder 2023-02-06 10:37:06 +02:00
Vlad Stan
f01ea6a237 refactor: delete using filter 2023-02-06 10:25:28 +02:00
Vlad Stan
2dfd70c38c refactor: query builder 2023-02-06 10:19:47 +02:00
Vlad Stan
5ca27ff28a fix: ok -> OK upper case 2023-02-03 18:17:41 +02:00
Vlad Stan
d27ece735e fix: NIP20 duplicate event 2023-02-03 17:42:10 +02:00
Vlad Stan
9b9e2623be fix: do not remove delete events 2023-02-03 15:50:29 +02:00
Vlad Stan
01764c155e feat: add delete post tests 2023-02-03 15:45:23 +02:00