Commit Graph

814 Commits

Author SHA1 Message Date
Fernando López Guevara
27c6652e0e
NIP-36 - sensitive content / content-warning (#82) 2022-12-01 20:41:15 -03:00
fiatjaf
9302c35573
add alby to NIP-07. 2022-11-27 12:03:46 -03:00
Jon Staab
cf5eaf6360 Amend NIP 11 to require CORS support 2022-11-25 13:03:03 -03:00
fiatjaf
743e43a8d4 finalize some NIPs we will not going to change anymore. 2022-11-22 14:52:34 -03:00
Michael Dilger
631e9760bf
NIP-35 User Discovery (#73)
* Draft NIP for user discovery

* Renumber to NIP-35

* spelling fix

* Add to README

* fix quote

* and colon
2022-11-19 11:28:47 -08:00
Mike Dilger
c274c65856 Reword NIP-01 to clarify no line breaks. Existing language of "indentation" implies line breaks. 2022-11-15 17:36:13 -03:00
khimaros
a0852a7cbe stronger wording for relay deletion behavior
- change "MAY" to "SHOULD" for removing referenced events
- suggest indefinite retention for deletion events on relays
- include recommendation for clients to rebroadcast deletion events to relays
2022-11-14 14:52:29 -03:00
fiatjaf
30f1e64e01
Merge pull request #62 from jb55/command-results 2022-11-11 11:00:40 -03:00
alex
f09362695d nip16: clarify about the signers of replaceable events
A newer replaceable event must be signed by the same key.
2022-11-11 07:56:24 -03:00
William Casarin
c510e646d0 NIP-20: server errors happen! 2022-11-10 13:14:23 -08:00
William Casarin
ff26b959f8 NIP-20: More clarity around malformed vs invalid events 2022-11-10 12:55:44 -08:00
William Casarin
7569773ad6 NIP-20: add a note about client handling 2022-11-10 12:20:32 -08:00
William Casarin
e7f74d21c4 NIP-20: pow suggestion 2022-11-10 12:02:14 -08:00
William Casarin
a0b0a021a8 NIP-20: add "invalid" message suggestion 2022-11-10 11:57:52 -08:00
William Casarin
15514283f3 NIP-20: Command Results
When submitting events to relays, clients currently have no way to know
if an event was successfully committed to the database. This NIP
introduces the concept of command results which are like NOTICE's except
provide more information about if an event was accepted or rejected.
2022-11-10 10:29:11 -08:00
Blake Jakopovic
27683d3441 Update 10.md
Fixed typo
2022-11-08 16:45:40 -03:00
w3irdrobot
79bb56c2f4 Fix regex for SetMetadata in NIP1
It appears the regex given in NIP1 for setting the username in the setmetadata event was slightly off. I think the fix here is what was intended. Though I think what was meant here was pretty obvious, to make it easier on future developers, I updated the regex to something that should work with just copying and pasting.
2022-11-04 16:33:57 -03:00
William Casarin
b8b5e3aa40 nip25: fix code example
content should not be blank
2022-10-30 08:34:14 -07:00
DZ
6d86133118 Update 01.md
fix indentation
2022-10-26 09:54:23 -07:00
Semisol
497d5d9ddf
nip16: small fix 2022-10-16 20:24:21 +03:00
DZ
c8a95a0968 Update 01.md
fix typo
2022-10-07 17:17:34 -03:00
fiatjaf
b62aa418de
Merge pull request #28 from Minds/minds-nip-26 2022-09-23 13:43:01 -03:00
Christopher David
3423a6dfbc
NIP-28: Public Chat (#38) 2022-09-10 14:28:08 -03:00
Leo Wandersleb
3e0e6ca2d6 separate array elements with , 2022-09-02 18:47:42 -03:00
Mark Harding
78522b50a1
Changes based on feedback 2022-08-24 13:24:50 +01:00
William Casarin
7af2540c6e reactions: we should be able to react to any note
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-19 15:50:39 -07:00
Ricardo Arturo Cabral Mejía
533d316170
Remove NIP-27 2022-08-16 22:59:02 -04:00
Ricardo Arturo Cabral Mejía
ef059e0fde
NIP-27 Multicasting 2022-08-16 22:57:22 -04:00
Jeff Thibault
903cc0992e
add Giszmo, add comment in code example 2022-08-14 11:26:39 -04:00
Leo Wandersleb
68300c5990
reword nip22, mention replaceable events 2022-08-13 21:50:38 -04:00
Jeff Thibault
6ee98c1bfb
spelling nit 2022-08-13 14:08:14 -04:00
Jeff Thibault
ef0f8a1186
rename and rewrite to be more generic 2022-08-13 13:52:14 -04:00
Jeff Thibault
a902083bac
Merge branch 'nostr-protocol:master' into nip22-unacceptable-event-time 2022-08-13 10:03:37 -04:00
Mark Harding
e13f6d39b9
First draft of Delegated Event Signing 2022-08-04 09:33:38 +01:00
William Casarin
6903ff5b2c nip25: make generic like an explicit +
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-31 12:44:40 -07:00
William Casarin
89bb08ba86 nip25: include dislikes/downvotes
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-30 10:09:33 -07:00
William Casarin
dcbd504639 NIP-25: Reactions
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-30 09:50:26 -07:00
Semisol
1b94488742
nip16: small fix 2022-07-26 04:33:33 +03:00
Jeff Thibault
d1b6bdb18e
add relay logic 2022-07-22 12:53:54 -04:00
Jeff Thibault
8bef0e9d79
add that events from future are unacceptable 2022-07-22 12:45:14 -04:00
Jeff Thibault
f51ce9dc0e
add nip22: unacceptable event created_at field 2022-07-22 11:50:07 -04:00
fiatjaf
3771186c03 change NIP-12 so only single-letter tags are indexed. 2022-07-10 15:33:07 -03:00
emeceve
5980907797 Fix some typos and adds json type to code blocks 2022-06-21 08:07:05 -03:00
fiatjaf
4d19ef128e update nip-02 to disallow null, only allow strings in tags.
fixes https://github.com/nostr-protocol/nips/pull/15
fixes https://github.com/fiatjaf/nostr-army-knife/issues/2
fixes https://github.com/fiatjaf/relayer/issues/3
2022-06-09 15:40:13 -03:00
Robert C. Martin
f367d820d4 update to nip01 to specify syntax for usernames. 2022-06-05 23:02:59 -03:00
fiatjaf
7536d44e9f
Merge pull request #11 from Semisol/nip16
NIP16: Event Treatment
2022-05-29 10:55:31 -03:00
Semisol
501fd5ce22
nip16: kind ranges instead of tags 2022-05-27 19:56:31 +03:00
Semisol
12f6e9ee62
nip15: clarify 2022-05-27 19:43:15 +03:00
Semisol
f49f26fbe2
nip15: EOSE message will be sent always 2022-05-27 17:55:01 +03:00
Semisol
1a1e3e74ec
nip16: add newlines 2022-05-26 21:23:05 +03:00
Semisol
62fde6c098
nip16: create draft 2022-05-26 21:17:27 +03:00
Semisol
3374869b3f
nip15: fix draft artifact 2022-05-26 20:26:34 +03:00
Semisol
a787093c52
nip15: create draft 2022-05-26 20:21:23 +03:00
William Casarin
c3d3a70688 nip10: fix small rendering bug on github
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-26 09:35:53 -07:00
Robert C. Martin
387ce5dbd5 Nip 10 updated with tag markers 2022-05-24 18:07:09 -05:00
Robert C. Martin
ebacbccda8 Nip-14 for subject tag 2022-05-24 07:33:11 -05:00
fiatjaf
a4aea5337f sneak filter.limit in nip-01. 2022-05-08 21:34:27 -03:00
David A. Harding
57b86d2482 NIP05: warn about CORS policies that may inhibit JS apps
JS Nostr apps such as Branle may not be able to load `nostr.json` files due to CORS policies.  Update NIP05 to warn about this and provide hints for troubleshooting and fixing the issue.
2022-05-07 17:18:23 -03:00
William Casarin
d7a4aad4a0 Proof of Work
Thanks-to: Cameri and scsibug for the initial idea of using the id for PoW
Thanks-to: David A. Harding for the difficulty commitment idea
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-06 22:04:57 -03:00
fiatjaf
37eb53e3d9 publish NIP-07: window.nostr. 2022-05-06 20:54:45 -03:00
Robert C. Martin
b66b82e66c change ~mandatory~ to optional, add NIP-10 to README 2022-05-05 11:06:03 -05:00
Robert C. Martin
bd4a81a604 rename NIP-13 to NIP-10 2022-05-04 15:14:49 -05:00
Robert C. Martin
96e4e7eb5c NIP-13 Conventions for e and p tags in text events 2022-05-04 15:05:45 -05:00
fiatjaf
f25c7e672c migrate nips from main nostr repo. 2022-05-01 07:48:57 -03:00