Commit Graph

810 Commits

Author SHA1 Message Date
Asai Toshiya
4d32f3a1db
Remove authors 2024-01-09 12:35:41 +09:00
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
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
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
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
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