Commit Graph

968 Commits

Author SHA1 Message Date
arthurfranca
b0e6c01321
NIP-96 - HTTP File Storage Integration (#547)
* Add NIP-95 - File Storage

* Add missing response info

* Make it clear that is is an HTTP file storage server integration

* Add monetization suggestion

* Use zap split tags for monetization suggestion

* Add resize option

* Add Zap Gates Integration

* Replace /nip96 convention with /.well-known/nostr.json configuration

* Relays can choose to also act as HTTP file storage server

* Remove nip96 tag in favor of x tags third element

* Fix typo

* Remove redirect cooperation

* Replaced 422 with 400 status code

* Update 96.md

Co-authored-by: Jon Staab <jstaab@protonmail.com>

* Update 96.md

Co-authored-by: Jon Staab <jstaab@protonmail.com>

* Update 96.md

Co-authored-by: Jon Staab <jstaab@protonmail.com>

* Update 96.md

Co-authored-by: Jon Staab <jstaab@protonmail.com>

* Update 96.md

Co-authored-by: Jon Staab <jstaab@protonmail.com>

* Update 96.md

Co-authored-by: Jon Staab <jstaab@protonmail.com>

* Update 96.md

Co-authored-by: Jon Staab <jstaab@protonmail.com>

* Make file expiration a range and add terms_of_service

* Add optional content_type field

* Add plans and tos

* Remove monetization

* Apply minor fixes

* Update 96.md

Co-authored-by: Semisol <45574030+Semisol@users.noreply.github.com>

* Fix after review

* Add kind 10096

* Apply suggestions

* Add suggestions

* Remove duplicate field

* Add optional is_nip98_required plan config

* Add suggestions

* Replace x with ox tag for original file hash

* Make minor changes

* Remove nip96 namespace response field

* Add note about alternative file processing flow

* Simplify processing flow

* Add nostrcheck to server list

* Add audio/* example

* Explain what metadata to show before processing is done

* Add nostrage to list

* Add eta

* Add sove to list and replace eta with percentage

* Fix status code

* Add nostr.build to list

* Add sovbit

* Add optional extra http servers to ox tag

* Add void.cat to list

* Small fix

* Remove ox third array element

---------

Co-authored-by: Jon Staab <jstaab@protonmail.com>
Co-authored-by: Semisol <45574030+Semisol@users.noreply.github.com>
2024-01-08 14:05:01 -03:00
Pablo Fernandez
e489ed468b
Merge pull request #972 from zmeyer44/patch-3
Update 51.md to add support for video lists
2024-01-08 16:23:44 +00:00
Vitor Pamplona
a309c96205
Merge pull request #975 from vuittont60/typo
nip-46,nip-58: fix typos
2024-01-08 08:05:00 -05:00
vuittont60
0cd480dd84
nip-58: fix typo 2024-01-08 13:51:27 +08:00
vuittont60
cfc8dfce89
nip-46: fix typo 2024-01-08 13:50:52 +08:00
zmeyer44
ad40fbdab3
remove kind 1 option 2024-01-07 20:00:04 +00:00
zmeyer44
13c9202ba3
Update 51.md to add support for video lists 2024-01-07 15:32:03 +00:00
Vitor Pamplona
b3c0c4f64a
Merge pull request #968 from shuoer86/master
Fix typos
2024-01-05 20:51:00 -05:00
shuoer86
74a586d6ae
fix typo 53.md 2024-01-06 09:49:57 +08:00
shuoer86
2409f821a4
fix typo 44.md 2024-01-06 09:47:07 +08:00
Vitor Pamplona
3e05545952
Merge pull request #967 from GoodDaisy/master
Fix typos in 01.md and 50.md
2024-01-05 10:43:45 -05:00
GoodDaisy
8bfcbebae4 Fix typo in 50.md 2024-01-05 11:59:58 +08:00
GoodDaisy
402c330ce9 Fix typo in 01.md 2024-01-05 11:59:49 +08:00
Alex Gleason
3d8652ea14
NIP-02, NIP-51: new tags should be added to the end of the list
Fixes https://github.com/nostr-protocol/nips/issues/958
2024-01-01 12:21:50 -06:00
Pablo Fernandez
27fef638e2
index zap senders with P tag (#954) 2023-12-31 21:08:56 -05:00
zmeyer44
54328d8979
Removing "summary" tag
Content in the summary tag is duplicated in the .content field
2023-12-29 17:25:13 -06:00
Vitor Pamplona
98d7f1cd9c
Merge pull request #946 from jiftechnify/patch-nip44
Fix typos of NIP-44
2023-12-29 17:40:47 -05:00
Vitor Pamplona
2986982106
Merge pull request #914 from tyiu/nip52-amendments
Amend NIP-52 to require the content field to be provided, and decouple calendar identifier from calendar name
2023-12-29 17:25:26 -05: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
zmeyer44
f316b219f4
Update 71.md
Co-authored-by: Pablo Fernandez <pfer@me.com>
2023-12-29 14:15:42 -06:00
zmeyer44
8136be6eab
Update 71.md
Changed view start and end time to seconds
2023-12-27 08:26:15 -06:00
Vitor Pamplona
17c67ef557 Removes the aes-256-gcm tag since no one seems to be using. People that wish to use encryption can now use the new NIP-44 scheme. 2023-12-27 11:21:27 -03:00
Josua Schmid
5e0cfb62ec
Rephrase deprecation of kind 2 (#943) 2023-12-27 11:06:36 -03:00
Asai Toshiya
0266d86b41 Simplify list of NIP-07 implementations 2023-12-27 11:00:57 -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
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
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
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