478 Commits

Author SHA1 Message Date
dependabot[bot]
cadaf92b14
chore(deps): bump actions/download-artifact in /.github/workflows
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 22:16:11 +00:00
Ricardo Arturo Cabral Mejía
b6133a18fd
chore: update @cucumber/cucumber to 10.2.1 (#356) 2024-01-12 15:43:36 -08:00
semantic-release-bot
64d0f79178 chore(release): 2.0.0 [skip ci]
# [2.0.0](https://github.com/Cameri/nostream/compare/v1.26.0...v2.0.0) (2024-01-12)

* feat!: remove nip-26 delegation support (#350) ([6760ab0](6760ab0e10)), closes [#350](https://github.com/Cameri/nostream/issues/350)

### BREAKING CHANGES

* NIP-26 support has been removed. Delegated events will not be handled differently.
v2.0.0
2024-01-12 23:12:12 +00:00
Ricardo Arturo Cabral Mejía
6760ab0e10
feat!: remove nip-26 delegation support (#350)
BREAKING CHANGE: NIP-26 support has been removed. Delegated events will not be handled differently.
2024-01-12 13:12:04 -08:00
Mihajlo Medjedovic
ed30823511
Admission check endpoint (#338) 2024-01-12 15:43:33 -05:00
Ricardo Arturo Cabral Mejía
fa99657b4a
chore: convert info.pubkey from bech32 to hex for nip-11 (#355) 2024-01-11 22:22:03 -08:00
semantic-release-bot
4cf24b97a7 chore(release): 1.26.0 [skip ci]
# [1.26.0](https://github.com/Cameri/nostream/compare/v1.25.2...v1.26.0) (2024-01-12)

### Bug Fixes

* `invoice.verifyURL` undefined from lnurl processor getInvoice ([#325](https://github.com/Cameri/nostream/issues/325)) ([33c2fd5](33c2fd52e3))
* deleting parameterized replaceable event before event ([#354](https://github.com/Cameri/nostream/issues/354)) ([030bbb3](030bbb33b8))
* strange behavior with nip 33 parameterized replacable events and nip 40 expiration tag ([#316](https://github.com/Cameri/nostream/issues/316)) ([d1d4cb9](d1d4cb9e25))
* typos ([#334](https://github.com/Cameri/nostream/issues/334)) ([3b5b1fc](3b5b1fc85f))

### Features

* add nodeinfo support ([#347](https://github.com/Cameri/nostream/issues/347)) ([d9e4020](d9e402060d))
* **event_tags:** Add event_tags table and migration script ([#349](https://github.com/Cameri/nostream/issues/349)) ([9bf0262](9bf0262cfc))
v1.26.0
2024-01-12 06:00:12 +00:00
Ricardo Arturo Cabral Mejía
030bbb33b8
fix: deleting parameterized replaceable event before event (#354) 2024-01-11 21:54:47 -08:00
dependabot[bot]
e4cecc8fae
chore(deps-dev): bump @babel/traverse from 7.18.11 to 7.23.7 (#353)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.18.11 to 7.23.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.7/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 19:38:58 -08:00
dependabot[bot]
9ef62c9576
chore(deps-dev): bump word-wrap from 1.2.3 to 1.2.5 (#352)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 19:36:48 -08:00
Ricardo Arturo Cabral Mejía
8cc8b5071c
chore: bump axios to 1.6.5 (#351) 2024-01-11 19:28:56 -08:00
Ricardo Arturo Cabral Mejía
acdb08091a
chore: fix intg tests not closing 2024-01-11 20:34:44 -05:00
Alex Gleason
d9e402060d
feat: add nodeinfo support (#347)
Thank you!
2024-01-08 09:37:59 -08:00
Kirino Minato
9bf0262cfc
feat(event_tags): Add event_tags table and migration script (#349) 2024-01-08 01:46:58 -05:00
mattn
3b5b1fc85f
fix: typos (#334) 2023-09-09 13:42:22 -04:00
Ricardo Arturo Cabral Mejía
d1d4cb9e25
fix: strange behavior with nip 33 parameterized replacable events and nip 40 expiration tag (#316)
* fix: fix content-type on GetInvoiceStatusController

* test: fix flaky tests

* test: remove cache client from intg tests

* chore: lint fix

* test: add intg tests for nip-33 events w/ expiration tag
2023-06-19 15:56:51 -07:00
一个不知名の睡觉高手
33c2fd52e3
fix: invoice.verifyURL undefined from lnurl processor getInvoice (#325) 2023-05-30 08:36:16 -07:00
Adithya Vardhan
88422fb2d3
docs: add lnurl in readme (#321) 2023-05-26 09:06:36 -04:00
semantic-release-bot
a63c035d22 chore(release): 1.25.2 [skip ci]
## [1.25.2](https://github.com/Cameri/nostream/compare/v1.25.1...v1.25.2) (2023-05-25)

### Bug Fixes

* confirm invoice confirmedAt is undefined ([#320](https://github.com/Cameri/nostream/issues/320)) ([e0e3a11](e0e3a11afd))
v1.25.2
2023-05-25 13:34:05 +00:00
Ricardo Arturo Cabral Mejía
e0e3a11afd
fix: confirm invoice confirmedAt is undefined (#320) 2023-05-25 06:29:33 -07:00
semantic-release-bot
7969701096 chore(release): 1.25.1 [skip ci]
## [1.25.1](https://github.com/Cameri/nostream/compare/v1.25.0...v1.25.1) (2023-05-25)

### Bug Fixes

* zebedee callback not marking invoice as paid ([#318](https://github.com/Cameri/nostream/issues/318)) ([a2670d0](a2670d030e))
v1.25.1
2023-05-25 01:17:35 +00:00
Ricardo Arturo Cabral Mejía
a2670d030e
fix: zebedee callback not marking invoice as paid (#318) 2023-05-24 18:13:00 -07:00
semantic-release-bot
2335a57096 chore(release): 1.25.0 [skip ci]
# [1.25.0](https://github.com/Cameri/nostream/compare/v1.24.1...v1.25.0) (2023-05-23)

### Bug Fixes

* generic tag queries not accepting uppercase letters ([#312](https://github.com/Cameri/nostream/issues/312)) ([7331f95](7331f9560f))

### Features

* implement opennode payments processor ([#315](https://github.com/Cameri/nostream/issues/315)) ([df1a364](df1a36437c))
v1.25.0
2023-05-23 15:14:34 +00:00
Ricardo Arturo Cabral Mejía
df1a36437c
feat: implement opennode payments processor (#315) 2023-05-23 08:08:16 -07:00
Ricardo Arturo Cabral Mejía
7331f9560f
fix: generic tag queries not accepting uppercase letters (#312) 2023-05-19 12:23:27 -07:00
JohnOnGit
430958f116
docs: add lnbits in readme (#313)
Co-authored-by: john <evildido@pm.me>
2023-05-19 11:59:08 -07:00
semantic-release-bot
054b110d5d chore(release): 1.24.1 [skip ci]
## [1.24.1](https://github.com/Cameri/nostream/compare/v1.24.0...v1.24.1) (2023-05-19)

### Bug Fixes

* lnbits broken after lnurl-pay support ([#310](https://github.com/Cameri/nostream/issues/310)) ([018f9a1](018f9a14fb))
v1.24.1
2023-05-19 18:01:07 +00:00
Ricardo Arturo Cabral Mejía
d8df82d725
docs: improve accepting payments section 2023-05-19 13:53:50 -04:00
Ricardo Arturo Cabral Mejía
018f9a14fb
fix: lnbits broken after lnurl-pay support (#310) 2023-05-19 07:10:30 -07:00
André Neves
fdf49ff59f
ZEBEDEE API documentation / readme cleanup (#308) 2023-05-16 20:58:30 -04:00
Ricardo Arturo Cabral Mejía
08b5829923
chore: use workflow_dispatch 2023-05-15 12:26:28 -04:00
semantic-release-bot
123db2c0e7 chore(release): 1.24.0 [skip ci]
# [1.24.0](https://github.com/Cameri/nostream/compare/v1.23.0...v1.24.0) (2023-05-15)

### Features

* implement nodeless payments processor ([#305](https://github.com/Cameri/nostream/issues/305)) ([52aac39](52aac39875)), closes [#298](https://github.com/Cameri/nostream/issues/298) [#271](https://github.com/Cameri/nostream/issues/271) [#202](https://github.com/Cameri/nostream/issues/202) [#303](https://github.com/Cameri/nostream/issues/303)
v1.24.0
2023-05-15 15:17:16 +00:00
Ricardo Arturo Cabral Mejía
2bb34f72ac
chore: add workflow_call to ci checks 2023-05-15 11:11:45 -04:00
Ricardo Arturo Cabral Mejía
52aac39875
feat: implement nodeless payments processor (#305)
* chore: hide powered by zebedee if payment processor is not

* chore: add nodeless as payments processor to settings

* fix: bad content type on zebedee callback req handler

* chore(release): 1.23.0 [skip ci]

# [1.23.0](https://github.com/Cameri/nostream/compare/v1.22.6...v1.23.0) (2023-05-12)

### Bug Fixes

* add SECRET as env variable ([#298](https://github.com/Cameri/nostream/issues/298)) ([58a1254](58a12546f0))
* invoice auto marked as paid ([be6d6f1](be6d6f1454))
* issues with invoices ([#271](https://github.com/Cameri/nostream/issues/271)) ([e1561e7](e1561e78fd))

### Features

* add LNURL processor ([#202](https://github.com/Cameri/nostream/issues/202)) ([f237400](f23740073f))
* allow lightning zap receipts on paid relays ([#303](https://github.com/Cameri/nostream/issues/303)) ([14bc96f](14bc96f516))

* feat: implement nodeless payments processor

* docs: add accepting payments section

* chore: validate nodeless webhook secret

* chore: hide powered-by-zebedee for non-zebedee processors

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
2023-05-15 08:07:28 -07:00
semantic-release-bot
62c1dbe22c chore(release): 1.23.0 [skip ci]
# [1.23.0](https://github.com/Cameri/nostream/compare/v1.22.6...v1.23.0) (2023-05-12)

### Bug Fixes

* add SECRET as env variable ([#298](https://github.com/Cameri/nostream/issues/298)) ([58a1254](58a12546f0))
* invoice auto marked as paid ([be6d6f1](be6d6f1454))
* issues with invoices ([#271](https://github.com/Cameri/nostream/issues/271)) ([e1561e7](e1561e78fd))

### Features

* add LNURL processor ([#202](https://github.com/Cameri/nostream/issues/202)) ([f237400](f23740073f))
* allow lightning zap receipts on paid relays ([#303](https://github.com/Cameri/nostream/issues/303)) ([14bc96f](14bc96f516))
v1.23.0
2023-05-12 23:57:57 +00:00
Ricardo Arturo Cabral Mejía
14bc96f516
feat: allow lightning zap receipts on paid relays (#303)
* chore: add event_kinds whitelist for fee schedules

* chore: fix identation in default-settings.yml

* chore: waive admission fee for specific event kinds

* docs: add payment settings to CONFIGURATION.md

* docs: improve read replica docs
2023-05-12 19:52:29 -04:00
Ricardo Arturo Cabral Mejía
565f67c5f6
chore: use mailto: scheme for info.contact in settings (#300) 2023-05-06 11:33:58 -07:00
Steffen Rörtgen
58a12546f0
fix: add SECRET as env variable (#298) 2023-05-05 16:18:28 -04:00
Ricardo Arturo Cabral Mejía
e6ca10a0ce
chore: remove tag id and value max len 2023-05-05 10:45:01 -04:00
Jon Staab
eb07f49846
Fix dropped error in web-socket-adapter (#293) 2023-04-26 21:05:58 -04:00
Ricardo Arturo Cabral Mejía
be6d6f1454
fix: invoice auto marked as paid 2023-04-21 19:13:39 -04:00
Ricardo Arturo Cabral Mejía
769a3f6821
chore: add support for multiple read replicas 2023-04-21 19:13:36 -04:00
Ricardo Arturo Cabral Mejía
830a782db3
chore: dont log redis pw 2023-04-21 19:13:34 -04:00
HelloDarkness
039015bafb
Added directory check to start scripts (#252)
Fixes #218
2023-04-21 19:13:31 -04:00
Ricardo Arturo Cabral Mejía
e1561e78fd
fix: issues with invoices (#271)
* fix: issues with invoices

* chore: add invoice event tag

* chore: add sub limits

* chore: cleanup invoices page

* chore: use mergeDeepLeft when updating invoice

* chore: ignore whitelisted pubkey for adminssion fee

* chore: use secp256k1 bytesToHex

* fix: insecure derivation from secret

* fix: tests

* chore: consistent returns

* test: fix intg tests

* fix: intg tests

* chore: set SECRET for intg tests
2023-04-07 09:48:28 -07:00
Adithya Vardhan
f23740073f
feat: add LNURL processor (#202)
* feat: add new lnurl processor

* fix: lnbits issues

* fix: add default settings for lnurl processor

* fix: small changes

* fix: more changes

* fix: add verify url in upsert omit

* fix: change comment

* chore: add updateInvoiceStatus

* chore: revert lnbits change

* fix: changes
2023-03-06 08:34:38 -05:00
semantic-release-bot
d80342837a chore(release): 1.22.6 [skip ci]
## [1.22.6](https://github.com/Cameri/nostream/compare/v1.22.5...v1.22.6) (2023-02-21)

### Bug Fixes

* rsv1 error ([#225](https://github.com/Cameri/nostream/issues/225)) ([0954d84](0954d8426c))
v1.22.6
2023-02-21 05:49:47 +00:00
Ricardo Arturo Cabral Mejía
0954d8426c
fix: rsv1 error (#225)
* chore: remove secret

* chore: allow lightningtipbot pubkey for zaps

* chore: add cloudflare remoteipheader

* chore: close client conn on error

* chore: terminate conn w/o subs

* chore: enable permessage-deflate

* fix: start logs
2023-02-20 21:37:55 -08:00
semantic-release-bot
6335496bf9 chore(release): 1.22.5 [skip ci]
## [1.22.5](https://github.com/Cameri/nostream/compare/v1.22.4...v1.22.5) (2023-02-20)

### Bug Fixes

* confirm invoice function ambiguous unit variable ([#221](https://github.com/Cameri/nostream/issues/221)) ([fd32949](fd3294929a))
* Dockerfile.test to reduce vulnerabilities ([#196](https://github.com/Cameri/nostream/issues/196)) ([eac8c50](eac8c508ce))
* upgrade axios from 1.2.4 to 1.2.5 ([#211](https://github.com/Cameri/nostream/issues/211)) ([a390e29](a390e2922d))
* upgrade axios from 1.2.5 to 1.2.6 ([#215](https://github.com/Cameri/nostream/issues/215)) ([e99ac5d](e99ac5d02b))
* upgrade pg from 8.8.0 to 8.9.0 ([#213](https://github.com/Cameri/nostream/issues/213)) ([fe3726b](fe3726bc08))
* upgrade pg-query-stream from 4.2.4 to 4.3.0 ([#214](https://github.com/Cameri/nostream/issues/214)) ([9272389](927238980e))
* upgrade redis from 4.5.1 to 4.6.2 ([#212](https://github.com/Cameri/nostream/issues/212)) ([86e8818](86e8818917))
v1.22.5
2023-02-20 17:21:49 +00:00
Ricardo Arturo Cabral Mejía
fd3294929a
fix: confirm invoice function ambiguous unit variable (#221)
* fix: dont crash when SECRET is not set

* docs: add semisol to contributors

* docs: improve readme

* docs: add payment info to readme

* docs: add zebedee_api_key to configuration.md

* fix: confirm_invoice unit var

* chore: remove unused code

* chore: improve error logging for payments

* chore: use  instead of changeme

* chore: fix typo

* chore: improve get invoice status ctrl

* fix: csp bug

* chore: remove rate limits

* chore: improve invoice page logging

* chore: prevent root with start_local

* chore: revert to redis 4.5.1
2023-02-20 09:15:45 -08:00