Commit Graph

  • 3862333dfa nip11: always return a struct from Fetch() with URL filled. v0.33.0 fiatjaf 2024-06-19 19:54:40 -03:00
  • 37ef70e4cb relay: prevent panic on double-closing. fiatjaf 2024-06-19 09:59:25 -03:00
  • d6d02686a9 nip29: NewGroupFromMetadataEvent() fiatjaf 2024-06-07 14:22:17 -03:00
  • b173c40f14 nip34: read all maintainers instead of just the first. fiatjaf 2024-06-07 08:11:35 -03:00
  • 00ae611115 binary: unsafe.String() decoders. v0.32.0 fiatjaf 2024-06-03 20:53:52 -03:00
  • 742873bde6 Support a tags in GetImmediateReply dtonon 2024-05-29 22:20:49 +02:00
  • d06f61136d allow using libsecp256k1 for signature verification in subscriptions. fiatjaf 2024-05-29 17:08:15 -03:00
  • a4852ef6bc splitting the code into multiple packages (wip) multipackage fiatjaf 2024-05-29 16:33:57 -03:00
  • 31e0645afe libsecp256k1: use a static global context and add verification tests. fiatjaf 2024-05-29 15:40:57 -03:00
  • 427bfc7a4b add libsecp256k1 wrapper for sign/verify. fiatjaf 2024-05-29 15:32:49 -03:00
  • 0e93b1173f deprecation notice on binary package. fiatjaf 2024-05-29 15:30:21 -03:00
  • f8bf988882 move "normalEvents" used by binary and nson to a common place. fiatjaf 2024-05-29 15:26:56 -03:00
  • 2bf6c87b45 remove json annotations from event. fiatjaf 2024-05-29 08:40:54 -03:00
  • 0836352724 namedLock() uses normalized uri and a simple test. fiatjaf 2024-05-29 08:39:24 -03:00
  • b00bf363c8 remove annotations from filter. fiatjaf 2024-05-25 07:34:34 -03:00
  • 8897cc36e4 nip29: fix group address parsing and encoding order. v0.31.4 fiatjaf 2024-05-24 15:13:05 -03:00
  • e1ae36ceb2 nip29: fix printing of GroupAddress. v0.31.3 fiatjaf 2024-05-24 14:39:54 -03:00
  • 96da8bd6f5 IncomingEvent.String() fiatjaf 2024-05-22 08:49:46 -03:00
  • 7578bf6c71 nip46: support decrypting with nip44. fiatjaf 2024-05-20 09:20:39 -03:00
  • abe84f9089 improve COUNT envelope codec and add a test. fiatjaf 2024-05-20 08:26:13 -03:00
  • 9a29edca41 fix: CountEnvelope json.Marshal ann 2024-05-20 17:29:34 +08:00
  • 7ccd0e7192 nip46: client sends limit: 0 v0.31.2 fiatjaf 2024-05-15 16:59:38 -03:00
  • a183ab0768 nip46: pass secret to authorize functions. fiatjaf 2024-05-15 16:13:12 -03:00
  • 4a2242e965 nip46: support nip44 in servers. fiatjaf 2024-05-15 16:00:30 -03:00
  • 7be82655d3 nip44: adjust api so it is more like nip04. v0.31.1 fiatjaf 2024-05-15 12:06:04 -03:00
  • dd52fd4910 add nip44 (copied from reference implementation). fiatjaf 2024-05-15 07:35:38 -03:00
  • a5767c9b5a Add timezones to CalendarEvent dtonon 2024-05-14 17:46:25 +02:00
  • 96dfeac1bd nip29: oh, right, group addresses. fiatjaf 2024-05-10 18:03:24 -03:00
  • 705d035281 nip54: identifier can contain number. fiatjaf 2024-05-10 17:58:21 -03:00
  • b8ec1343cc nip29: some more group helpers. fiatjaf 2024-05-10 17:54:08 -03:00
  • b3dc7c9467 log lines to help debugging goroutine leak issue. debuglog fiatjaf 2024-05-10 11:44:14 -03:00
  • b43d0e374a reorder json serialization to write "kind" first and adjust tests. v0.30.2 fiatjaf 2024-04-25 18:30:38 -03:00
  • 76997c619b nip46: client small tweaks. fiatjaf 2024-04-25 18:25:35 -03:00
  • 2a85932a4f omit id, pubkey and sig in jsonifying event and they're not present. fiatjaf 2024-04-25 18:14:39 -03:00
  • ed62361f1b nip34: other fields in repository announcement. v0.30.1 fiatjaf 2024-04-24 18:59:08 -03:00
  • 87390c11ac changed nostr relays from examples leorighi 2024-04-11 19:23:38 -03:00
  • 907cfd7846 Filter.LimitZero v0.30.0 fiatjaf 2024-03-29 08:06:29 -03:00
  • a6e208ad49 improve guessed buffer size on binary. fiatjaf 2024-03-28 08:55:30 -03:00
  • 01d5dc02c5 nip54: trim spaces. fiatjaf 2024-03-13 19:26:37 -03:00
  • 6f32e4da63 nip54: improve normalization and add tests. fiatjaf 2024-03-13 16:36:08 -03:00
  • c0f1c4f510 add option to connect with custom TLS ice-cronus 2024-03-28 17:23:02 +03:00
  • cff9af9aca nip54: normalize identifier. fiatjaf 2024-03-13 12:53:33 -03:00
  • 7284ebcf13 fix nip05. v0.29.3 fiatjaf 2024-03-11 13:44:58 -03:00
  • c844dc2ccb use NormalizeURL() on nip11.Fetch() v0.29.2 fiatjaf 2024-03-10 18:44:56 -03:00
  • ec1e86e505 Support url without protocol in nip11.Fetch Daniele Tonon 2024-03-09 19:48:25 +01:00
  • aea2895441 nip46: fix pubkey passed to "connect". v0.29.1 fiatjaf 2024-03-04 09:30:45 -03:00
  • d690fd7f07 nip46: bunker implementation changes for more streamlined authorization prompts. v0.29.0 fiatjaf 2024-03-02 08:16:11 -03:00
  • 5aa4fbcc72 nip46: fix assigning client secret key to struct. fiatjaf 2024-03-02 07:48:41 -03:00
  • 9cb740764b nip05: IsValidIdentifier fiatjaf 2024-03-02 07:48:24 -03:00
  • f4cf242084 validating/parsing nip05 and nip46. fiatjaf 2024-03-01 15:54:28 -03:00
  • c5f6692f74 explain how to turn off logs. fiatjaf 2024-03-01 15:54:11 -03:00
  • f75501e7ef nip46: auth_url support. fiatjaf 2024-02-29 20:37:16 -03:00
  • 6d5aef70c5 nip46: create_account fiatjaf 2024-02-29 20:29:08 -03:00
  • e0ba846a03 nip46: support nip05 identifier in client. fiatjaf 2024-02-29 16:28:46 -03:00
  • e4f0509689 nip05: omit empty fields. fiatjaf 2024-02-28 09:41:11 -03:00
  • c5819b6cb5 update checkout and setup-go versions to prevent node js 12 and 16 deprecations in github actions ramin 2024-02-26 20:59:19 +00:00
  • ced14c09ac pool: simplify batches (extra code was actually doing nothing at all). fiatjaf 2024-02-25 11:22:30 -03:00
  • e6ef78c509 DirectedFilters to accept a list of filters. fiatjaf 2024-02-24 18:51:56 -03:00
  • 28b34794f4 pool.BatchedSubMany() fiatjaf 2024-02-24 18:44:37 -03:00
  • 7826e9506c nip49: uncommitted test change. fiatjaf 2024-02-19 07:15:33 -03:00
  • 1b286e52a4 nip49: augment normalization test. fiatjaf 2024-02-16 00:04:11 -03:00
  • faf76711a5 nip49: add normalization test. fiatjaf 2024-02-16 00:02:58 -03:00
  • 2cba101c22 nip49: normalize passwords. fiatjaf 2024-02-15 22:21:11 -03:00
  • f3d9f02598 nip46: add a random element to id generation. v0.28.6 fiatjaf 2024-02-11 11:07:01 -03:00
  • 64cc356404 nip34: remove void property. fiatjaf 2024-02-10 17:40:31 -03:00
  • b5137c95eb add gob to binary benchmarks. v0.28.5 fiatjaf 2024-02-08 20:19:36 -03:00
  • 7fb0ffca6b nip34: allow multiple entries in web/clone/relays tags. fiatjaf 2024-02-08 17:38:06 -03:00
  • c362be0e82 nip34: get patches from repo. fiatjaf 2024-02-08 16:33:52 -03:00
  • 9c4ea87d0b use stdlib "slices". fiatjaf 2024-02-08 16:33:39 -03:00
  • 555197973b RelayStore interface (copied from eventstore) and MultiStore. fiatjaf 2024-02-08 15:54:55 -03:00
  • 385aa9c958 draft nip-34 helpers. fiatjaf 2024-02-07 21:44:47 -03:00
  • 60359110d7 nip46: client. v0.28.4 fiatjaf 2024-02-06 00:45:36 -03:00
  • 09ea5d5758 subscription.EndOfStoredEvents to have a capacity of 1 so it never gets deadlocked. v0.28.3 fiatjaf 2024-01-28 14:34:01 -03:00
  • 58ff5f6716 nip49: encrypt before decrypt. fiatjaf 2024-01-25 10:43:40 -03:00
  • 84134f7d8e nip49: remove dangling fmt.Println() v0.28.2 fiatjaf 2024-01-23 09:30:26 -03:00
  • 20104e47ec NIP-34 code for contributions. fiatjaf 2024-01-23 10:13:23 -03:00
  • 39f541fc03 implement nip49. fiatjaf 2024-01-22 22:27:13 -03:00
  • fb92dc49dd nip29: smarter access control rules for moderation actions. fiatjaf 2024-01-18 21:06:43 -03:00
  • 2586144a5c replace usage of IsValidPublicKeyHex() in subpackages. fiatjaf 2024-01-18 20:30:20 -03:00
  • 9457c5a794 fix IsValidPublicKey() to use schnorr. v0.28.1 fiatjaf 2024-01-18 17:56:54 -03:00
  • 70f719ea31 IsValidPublicKey() and IsValid32ByteHex() replacing IsValidPublicKeyHex() fiatjaf 2024-01-18 16:27:56 -03:00
  • 1a7b8991a3 pool: deduplicate relay urls list. fiatjaf 2024-01-18 11:49:16 -03:00
  • 4dc6e21f60 nip29: join request. fiatjaf 2024-01-18 11:48:43 -03:00
  • 1ff7f826c2 nip11: url normalization improvement and Fetch test. fiatjaf 2024-01-13 12:46:59 -03:00
  • fed7e4c3f2 add nip53. v0.28.0 fiatjaf 2024-01-10 12:07:34 -03:00
  • 88bb00604c nip52: add image. fiatjaf 2024-01-10 12:07:23 -03:00
  • 1800f2e590 add nip31, nip52, nip94. fiatjaf 2024-01-10 10:09:17 -03:00
  • 7b292775c0 migrate to xsync/v3 fiatjaf 2024-01-10 06:54:52 -03:00
  • fd8b2b22b2 nip-46 dynamic and static signers. fiatjaf 2024-01-09 16:55:00 -03:00
  • ce424619f4 nip05: add nip46 field. fiatjaf 2024-01-06 08:07:28 -03:00
  • 8da32e6dfc nip29: NewGroup() doesn't set timestamps to now. fiatjaf 2024-01-04 21:46:10 -03:00
  • 48db1df66c nip29: refine group-events relationships and write some tests. fiatjaf 2024-01-04 15:00:55 -03:00
  • ed3642f112 nip29: move some things back from nip29/relay to nip29 fiatjaf 2024-01-04 11:48:53 -03:00
  • 3fecd03ed4 nip29: move relay-specific stuff to nip29/relay fiatjaf 2024-01-04 11:33:17 -03:00
  • e4b4654e66 nip29: bring in helpers for managing groups to be used on the relay side. fiatjaf 2024-01-04 11:29:21 -03:00
  • f1c71134e3 experimental nip29 support. fiatjaf 2024-01-02 17:23:34 -03:00
  • 96423e9d03 wip wip fiatjaf 2024-01-01 13:07:25 -03:00
  • 9624183ceb dedicated Kind type. kind-type fiatjaf 2024-01-01 12:42:37 -03:00
  • 5938a71146 replace close() with actually sending a value to .EndOfStoredEvents and .Closed channels. fiatjaf 2024-01-01 10:16:07 -03:00
  • 3afa6fc5f6 update reflect/unsafe.String thing. fiatjaf 2024-01-01 10:15:06 -03:00