Commit Graph

86 Commits

Author SHA1 Message Date
Vitor Pamplona
337a2149e9 fixes representation to sustain order in the hex representation. 2024-11-19 10:55:25 -05:00
Vitor Pamplona
d2637dc498 Adds sorted hash as event Ids. 2024-11-19 10:37:06 -05:00
Jon Staab
ce2234e0ba Clarify tag filters 2024-09-30 09:18:13 -07:00
fiatjaf
a736e629be complete renaming to "addressable" events.
as noticed by @bezysoftware at https://github.com/nostr-protocol/nips/pull/1437#issuecomment-2380626514.

I don't know how so many of these instances were left from the original PR at following ca3c52e3e7.
2024-09-28 12:29:03 -03:00
hodlbod
24e97c2539
Merge pull request #1333 from coracle-social/clarify-nip01
Clarify what happens when a duplicate subscription is sent, remove CLOSED on duplicate subscription
2024-08-31 06:45:41 -07:00
fiatjaf_
ca3c52e3e7
rename "parameterized replaceable event" to "addressable event" (#1418) 2024-08-20 12:56:05 -03:00
Alex Gleason
9c54549f18
NIP-01: sort events by id after created_at 2024-07-18 22:16:45 -05:00
Cody Casterline
8c47577ecb
More precisely document since/until bounds. (#1284)
* More precisely document since/until bounds.

Lower in this document, this is expressed as "since <= created_at <= until".

But the English description said that these values had to be "newer than" or "older than".

These two were in conflict. I assume the inclusive behavior is the intended one, since that documentation was added later to clarify. This just makes both cases match.

* Update 01.md

Co-authored-by: Alex Gleason <alex@alexgleason.me>

* Update 01.md

Co-authored-by: Alex Gleason <alex@alexgleason.me>

---------

Co-authored-by: Alex Gleason <alex@alexgleason.me>
2024-07-06 01:31:23 +09:00
Jon Staab
f6b08429a2 Clarify what happens when a duplicate subscription is sent, remove CLOSED on duplicate subscription 2024-06-27 17:00:16 -07:00
Arjen Stens
4aa18e329a
Clarify which kinds have lifetime of 'regular' (#1315)
* Clarify which kinds have lifetime of 'regular'

* Missed space

* Document kind 41 as replaceable

* Revert "Document kind 41 as replaceable"

This reverts commit eead2f5a74.
2024-06-23 09:40:57 +09:00
fiatjaf
1728f93d17 "user metadata" and fix table on readme. 2024-06-17 12:38:57 -03:00
hodlbod
747f634004
Merge pull request #1309 from ArmanTheParman/patch-2
metadata clarity.md
2024-06-17 08:36:42 -07:00
Arman The Parman
c576737ba4
parentheses > commas (#1308)
* Update 01.md

A few small changes that can potentially help a broader audience (non-developers) follow the meaning.

* monospace hex

Co-authored-by: Asai Toshiya <to.asai.60@gmail.com>

---------

Co-authored-by: fiatjaf_ <fiatjaf@gmail.com>
Co-authored-by: Asai Toshiya <to.asai.60@gmail.com>
2024-06-16 16:33:49 -03:00
Arman The Parman
a52d170c8c
Update 01.md
This is not a correction but a suggestion...

When I first read it, it wasn't clear that metadata is specifically for a user and not inclusive of other things (eg not metadata about a photo).

Adding this one extra word here would have helped me understand that immediately.
2024-06-16 19:20:00 +10:00
Arman The Parman
2a8597b32d Update 01.md
Small grammatical change for easier reading
2024-06-15 07:07:24 -03:00
hodlbod
092da0a463
Update 01.md
Co-authored-by: Asai Toshiya <to.asai.60@gmail.com>
2024-05-24 13:19:31 -07:00
P. Reis
ca6dddde80
nip01: mention extra metadata fields may be set 2024-05-24 15:04:45 -03:00
Leo Wandersleb
88246c2741 Require tags to have at least one string
fixes #1193
2024-04-30 22:33:30 -03:00
arthurfranca
9971db3551
Minor fix to nip01 2024-03-30 22:33:24 -03:00
Thebora Kompanioni
a46338bd6a
fix(docs): typo in 01.md 2024-02-08 00:03:32 +01:00
Ioan Bizău
6dd0035085 #p refers to pubkeys, *not* "event pubkeys". 2024-01-23 14:57:48 -03:00
fiatjaf
d0812229a5
use jsonc in some places. 2024-01-21 16:08:45 -03:00
GoodDaisy
402c330ce9 Fix typo in 01.md 2024-01-05 11:59:49 +08:00
fiatjaf_
000c51ef44
Merge pull request #635 from nostr-protocol/clarify-json-serialization
Clarify JSON serialization for the `id` field
2023-12-29 18:15:21 -03:00
Josua Schmid
8e5a275f99 NIP-01 Tighten-up subscription_id management rule
Rephrase to "MUST" so that one does not assume a connection could `CLOSE` any `subscription_id`, which it must not.
2023-12-26 20:02:34 -03:00
Josua Schmid
3b065c3c04
Reword REQ for multiple filters 2023-12-26 20:54:06 +01:00
Josua Schmid
d30f03316f
Emphasis on multiple filters in NIP-01
As mentioned further down in NIP-01

> A REQ message may contain multiple filters.

The comma makes it more clear that the message array can container more than 3 items. So it is understood easily to match

```
// correct:
["REQ", <subscription_id>, filters1, filters2, …]
```

instead of 

```
// wrong:
["REQ", <subscription_id>, [filters1, filters2, …]]
```
2023-12-22 14:54:17 +01:00
fiatjaf_
2bd4bf7841
CLOSED messages for relays that want to reject REQs and NIP-42 AUTH integration (#902)
Co-authored-by: monlovesmango <96307647+monlovesmango@users.noreply.github.com>
2023-12-06 12:01:27 -03:00
fiatjaf
0ba4589550
remove websocket status code meaning as it is replaced by the CLOSED message. 2023-12-02 15:05:59 -03:00
Semisol
da19c078ab
Merge branch 'master' into clarify-json-serialization 2023-11-19 01:45:41 +01:00
Semisol
4d709d1804
add form feed and backspace 2023-11-17 18:12:47 +03:00
fiatjaf
37f6cbb775 remove all NIP authors. 2023-11-16 10:24:53 -03:00
fiatjaf
108b7f16f9
clarify that the OK array must have 4 items. 2023-11-06 13:18:11 -03:00
fiatjaf
b14b9d2120
nip-01: clarify that whitespace is allowed inside the strings.
closes https://github.com/nostr-protocol/nips/pull/861
2023-11-02 19:46:37 -03:00
fiatjaf
b33409c099 make it clear that relays can keep multiple replaceable event versions. 2023-09-29 16:49:55 -03:00
Semisol
ea8fa91c80
clarify parameterized replaceable events 2023-09-04 14:25:04 +03:00
Semisol
c7191fc2f5
fix inconsistency 2023-09-02 14:34:39 +03:00
jiftechnify
e50bf508d9
add a-tag format for non-parameterized replaceable events 2023-08-29 23:54:09 +09:00
Yasuhiro Matsumoto
d1d438bf14
fix typo 2023-08-29 00:45:45 +09:00
Viktor Vsk
c5a8b75abd
Consistency and small refinements for NIP-01 (#731) 2023-08-19 23:04:55 -03:00
fiatjaf
37c4375e29 bring back 9cac35db9b
fixes https://github.com/nostr-protocol/nips/issues/732
2023-08-19 23:03:23 -03:00
fiatjaf_
72bb8a128b
merge nips 12, 16, 20 and 33 into nip 01 (#703)
Co-authored-by: Viktor Vsk <me@viktorvsk.com>
2023-08-13 13:47:45 -03:00
Jesper L. Nielsen
9e0be8467d
Update 01.md
Spelling
2023-07-26 15:59:57 +02:00
Asai Toshiya
b503f8a92b Clarify sort order when specified limit 2023-07-21 10:33:05 -03:00
jiftechnify
d1814405be add detailed description of since/until 2023-07-14 12:45:46 -03:00
Yoji Shidara
0b08cf545b Explicitly state that the subscription_id is treated per connection 2023-07-13 07:08:26 -03:00
jiftechnify
52edccbbe3 standardize the terminology 2023-07-09 07:17:08 -03:00
jiftechnify
3a32c0fd78 clarify case-sensitiveness of tag names 2023-07-09 07:17:08 -03:00
Semisol
21d71791c8
Add carriage returns and tab characters since those may be in some events 2023-07-04 13:55:15 +03:00
Semisol
3f8658ecc1
Fix typo 2023-07-04 13:49:52 +03:00