647 Commits

Author SHA1 Message Date
fiatjaf
c844dc2ccb use NormalizeURL() on nip11.Fetch() v0.29.2 2024-03-10 18:44:56 -03:00
Daniele Tonon
ec1e86e505 Support url without protocol in nip11.Fetch 2024-03-09 16:52:28 -03:00
fiatjaf
aea2895441
nip46: fix pubkey passed to "connect". v0.29.1 2024-03-04 09:30:45 -03:00
fiatjaf
d690fd7f07
nip46: bunker implementation changes for more streamlined authorization prompts. v0.29.0 2024-03-02 08:16:11 -03:00
fiatjaf
5aa4fbcc72
nip46: fix assigning client secret key to struct. 2024-03-02 07:48:41 -03:00
fiatjaf
9cb740764b
nip05: IsValidIdentifier 2024-03-02 07:48:24 -03:00
fiatjaf
f4cf242084
validating/parsing nip05 and nip46. 2024-03-01 15:55:02 -03:00
fiatjaf
c5f6692f74
explain how to turn off logs. 2024-03-01 15:54:11 -03:00
fiatjaf
f75501e7ef
nip46: auth_url support. 2024-02-29 20:37:16 -03:00
fiatjaf
6d5aef70c5
nip46: create_account 2024-02-29 20:29:08 -03:00
fiatjaf
e0ba846a03
nip46: support nip05 identifier in client. 2024-02-29 16:28:46 -03:00
fiatjaf
e4f0509689
nip05: omit empty fields. 2024-02-28 09:41:11 -03:00
ramin
c5819b6cb5 update checkout and setup-go versions to prevent node js 12 and 16 deprecations in github actions 2024-02-27 19:19:12 -03:00
fiatjaf
ced14c09ac pool: simplify batches (extra code was actually doing nothing at all). 2024-02-25 11:22:30 -03:00
fiatjaf
e6ef78c509 DirectedFilters to accept a list of filters. 2024-02-24 18:51:56 -03:00
fiatjaf
28b34794f4 pool.BatchedSubMany() 2024-02-24 18:44:37 -03:00
fiatjaf
7826e9506c
nip49: uncommitted test change. 2024-02-19 07:15:33 -03:00
fiatjaf
1b286e52a4
nip49: augment normalization test. 2024-02-16 00:04:11 -03:00
fiatjaf
faf76711a5
nip49: add normalization test. 2024-02-16 00:02:58 -03:00
fiatjaf
2cba101c22
nip49: normalize passwords.
because nostr is a giant shit show:
https://github.com/nostr-protocol/nips/pull/1053
2024-02-15 22:21:12 -03:00
fiatjaf
f3d9f02598
nip46: add a random element to id generation. v0.28.6 2024-02-11 11:07:01 -03:00
fiatjaf
64cc356404
nip34: remove void property. 2024-02-10 17:40:31 -03:00
fiatjaf
b5137c95eb
add gob to binary benchmarks. v0.28.5 2024-02-08 20:23:26 -03:00
fiatjaf
7fb0ffca6b
nip34: allow multiple entries in web/clone/relays tags. 2024-02-08 17:38:06 -03:00
fiatjaf
c362be0e82
nip34: get patches from repo. 2024-02-08 16:33:52 -03:00
fiatjaf
9c4ea87d0b
use stdlib "slices". 2024-02-08 16:33:39 -03:00
fiatjaf
555197973b
RelayStore interface (copied from eventstore) and MultiStore. 2024-02-08 15:54:55 -03:00
fiatjaf
385aa9c958
draft nip-34 helpers. 2024-02-07 21:44:47 -03:00
fiatjaf
60359110d7
nip46: client. v0.28.4 2024-02-06 00:45:36 -03:00
fiatjaf
09ea5d5758 subscription.EndOfStoredEvents to have a capacity of 1 so it never gets deadlocked. v0.28.3 2024-01-28 14:34:05 -03:00
fiatjaf
58ff5f6716
nip49: encrypt before decrypt. 2024-01-25 10:43:40 -03:00
fiatjaf
84134f7d8e
nip49: remove dangling fmt.Println() v0.28.2 2024-01-23 10:14:12 -03:00
fiatjaf
20104e47ec
NIP-34 code for contributions. 2024-01-23 10:13:58 -03:00
fiatjaf
39f541fc03
implement nip49. 2024-01-22 22:27:13 -03:00
fiatjaf
fb92dc49dd
nip29: smarter access control rules for moderation actions. 2024-01-18 21:06:43 -03:00
fiatjaf
2586144a5c
replace usage of IsValidPublicKeyHex() in subpackages. 2024-01-18 20:30:20 -03:00
fiatjaf
9457c5a794
fix IsValidPublicKey() to use schnorr. v0.28.1 2024-01-18 17:56:54 -03:00
fiatjaf
70f719ea31
IsValidPublicKey() and IsValid32ByteHex() replacing IsValidPublicKeyHex() 2024-01-18 16:27:56 -03:00
fiatjaf
1a7b8991a3
pool: deduplicate relay urls list. 2024-01-18 11:49:16 -03:00
fiatjaf
4dc6e21f60
nip29: join request. 2024-01-18 11:48:43 -03:00
fiatjaf
1ff7f826c2
nip11: url normalization improvement and Fetch test. 2024-01-13 12:46:59 -03:00
fiatjaf
fed7e4c3f2
add nip53. v0.28.0 2024-01-10 12:10:53 -03:00
fiatjaf
88bb00604c
nip52: add image. 2024-01-10 12:07:23 -03:00
fiatjaf
1800f2e590
add nip31, nip52, nip94. 2024-01-10 10:09:17 -03:00
fiatjaf
7b292775c0
migrate to xsync/v3
closes https://github.com/nbd-wtf/go-nostr/issues/117
2024-01-10 06:54:53 -03:00
fiatjaf
fd8b2b22b2
nip-46 dynamic and static signers. 2024-01-09 17:20:14 -03:00
fiatjaf
ce424619f4
nip05: add nip46 field. 2024-01-06 08:07:28 -03:00
fiatjaf
8da32e6dfc
nip29: NewGroup() doesn't set timestamps to now. 2024-01-04 21:46:10 -03:00
fiatjaf
48db1df66c
nip29: refine group-events relationships and write some tests. 2024-01-04 15:01:29 -03:00
fiatjaf
ed3642f112
nip29: move some things back from nip29/relay to nip29 2024-01-04 15:01:26 -03:00