Commit Graph

1249 Commits

Author SHA1 Message Date
Sandwich
81fd5deff6
Update language 2023-12-27 13:24:20 +01: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
hodlbod
92f3a45bdc
Merge pull request #949 from schmijos/patch-1
Reword REQ for multiple filters
2023-12-26 12:28:52 -08:00
Josua Schmid
3b065c3c04
Reword REQ for multiple filters 2023-12-26 20:54:06 +01:00
jiftechnify
95218740e2
fix typos 2023-12-25 12:00:05 +09:00
hodlbod
d52b09732a
Merge pull request #944 from AsaiToshiya/patch-2
Add leading zero to NIP numbers
2023-12-22 08:50:58 -08:00
Asai Toshiya
91244c50cd
Add leading zero to NIP numbers 2023-12-23 01:07:55 +09:00
hodlbod
b946a86135
Merge pull request #942 from schmijos/patch-1
Emphasis on multiple filters in NIP-01
2023-12-22 06:57:44 -08:00
hodlbod
ffc32c43e6
Merge pull request #939 from coracle-social/nip44-tweaks
Clean up NIP 44
2023-12-22 06:56:51 -08: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
Josua Schmid
5ed4232584 Mention deprecation of kind 2
Kind `2` was [consciously](https://github.com/nostr-protocol/nips/pull/703#issuecomment-1672098794) removed in 72bb8a128b (diff-39307f1617417657ee9874be314f13aabdc74401b124d0afe8217f2919c9c7d8L105). Mentioning the fact should help prevent further confusion.
2023-12-22 06:20:01 -03:00
Jon Staab
2b78cc9304 Add clarification about not replacing nip 04 2023-12-20 13:01:12 -08:00
Jon Staab
732b0ce0a4 Clean up NIP 44 to clarify separation of concerns (encryption vs messaging), improve formatting and clarify encryption/decryption steps 2023-12-20 11:28:43 -08:00
fiatjaf
ff533d7a99
remove nip44 calls from nip07 temporarily. 2023-12-20 14:39:39 -03:00
Paul Miller
9be51261c0 nip-44: add audit notice 2023-12-20 14:37:42 -03:00
fiatjaf
4199f20236
nip-44: remove author names and arbitrary line-breaks. 2023-12-20 13:56:03 -03:00
Paul Miller
822b70a565
NIP44 encryption standard, revision 3 (#746)
* Introduce NIP-44 encryption standard

* Finalize NIP-44

* Update spec.

---------

Co-authored-by: Jonathan Staab <shtaab@gmail.com>
2023-12-20 09:22:02 -03:00
Sandwich
46a81d9c25
Clarify summarization language
The initial language is misleading as it is not clear the tags are to be used on any event outside of the kind it defines until the bottom of the NIP.
2023-12-19 13:31:13 +01:00
Pablo Fernandez
09f8244e6f
Merge pull request #831 from nostr-protocol/nostr-connect
rewrite NIP-46
2023-12-18 10:22:17 +00:00
zmeyer44
2bd3c74002
Update 71.md
Adding segments
2023-12-12 14:01:51 -05:00
zmeyer44
d53f6fba15
Update 71.md
After discussing with Pablo, we decided to move away from relying on kind 1063 events and instead use the majority of the same tags for video events. The main motivations behind this are to allow for parameterized replaceable events for video events, prevent excessive `REQ` requests, not stringify event JSON in the `.content` section, ease of filtering by kind number, as well as some others. Happy to discuss this further.
2023-12-12 13:56:28 -05:00
zmeyer44
c84d40f4a6
Update 71.md
Co-authored-by: Pablo Fernandez <pfer@me.com>
2023-12-12 11:19:57 -05:00
zmeyer44
7afd1049d9
Update and rename 44.md to 71.md
Changing to NIP-71
2023-12-09 17:46:53 -05:00
zmeyer44
cec99e7b13
Update 44.md
Updating to reference NIP-94 file metadata event
2023-12-09 12:55:25 -05:00
Terry Yiu
ec08d65665
Deprecate 'name' for 'title' on calendar events and add 'title' as a shared tag via NIP-24 2023-12-08 09:59:44 -08:00
Terry Yiu
b8308a9a04
Amend NIP-52 to require the content field to be provided, and decouple calendar identifier from calendar name 2023-12-08 09:39:28 -08:00
Daniel Cadenas
ae0fd96907
Fix Authorization header string
The previous auth header was for an event in which the tag is `url` instead of `u` so it was not matching the event provided as an example
2023-12-08 13:19:54 -03:00
zmeyer44
a2914eed6d
Update 44.md
Adding some of Vitor's suggestions, differentiating between horizontal and vertical video kinds, changing how views are kept track of, and changing some tag names.
2023-12-08 09:06:14 -05:00
zmeyer44
01035dadf4
Update 44.md
fixing spelling error
2023-12-08 07:22:32 -05:00
zmeyer44
7646386956
Create NIP 44 for Video Events
Nip for video events to enable dedicated video clients (e.g. Netflix, YouTube) to be built on nostr.
2023-12-07 20:09:08 -05:00
fiatjaf
ef106eccca
nip-42 phrasing. 2023-12-07 21:18:45 -03:00
hodlbod
730324f487
Merge pull request #921 from alexgleason/follows
NIP-02: Rename Contact List to Follow List
2023-12-07 10:03:55 -08:00
Pablo Fernandez
d0aef4c158 add nip-44 calls 2023-12-07 17:01:25 +00:00
Alex Gleason
0146892501
NIP-02: Rename Contact List to Follow List 2023-12-07 10:01:57 -06: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
hodlbod
c07f0eab1a
Merge pull request #915 from xiaolou86/master
Fix typos
2023-12-04 06:05:01 -08:00
xiaolou86
8aba861bdf fix typo in 90.md 2023-12-04 16:08:38 +08:00
xiaolou86
85abb0e026 fix typo in 53.md 2023-12-04 16:08:37 +08:00
xiaolou86
625dad7c1a fix typo in 10.md 2023-12-04 16:08:36 +08:00
xiaolou86
149ead1679 fix typo in 47.md 2023-12-04 16:08:35 +08:00
CapDog
9913395d90 fix Lightning.Pub hotlink 2023-12-03 18:59:23 -03:00
hodlbod
fa120e8edf
Merge pull request #913 from mikedilger/master
Fix sort order of event kinds
2023-12-02 16:26:42 -08:00
Mike Dilger
0a97dc0440 Fix sort order of event kinds 2023-12-03 13:22:34 +13:00
fiatjaf
0ba4589550
remove websocket status code meaning as it is replaced by the CLOSED message. 2023-12-02 15:05:59 -03:00
fiatjaf
131fcab95c
reformat lightning.pub. 2023-12-02 14:54:42 -03:00
fiatjaf
3983a52d3b
latest discoveries. 2023-12-02 14:45:10 -03:00
CapDog
210e38ae36
Add kind Lightning.Pub's kind 21000 (#911) 2023-12-02 14:44:57 -03:00
fiatjaf_
d67988e64e
delete NIP-22 (#897) 2023-12-01 13:54:12 -03:00
hodlbod
0874eab3c9
Merge pull request #910 from AsaiToshiya/patch-1
Update tag list
2023-12-01 08:31:45 -08:00
Asai Toshiya
cf57f1d068
Update tag list 2023-12-01 20:45:55 +09:00