9 Commits

Author SHA1 Message Date
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
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
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
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
Ricardo Arturo Cabral Mejía
bfcdac51b0
feat: Add health api endpoint or kind (#166)
* feat: handle GET /healthz

* chore: simplify default settings

* chore: keep client alive on message

* chore: increase ws heartbeat timeout to 2min

* chore: improve logging during startup

* fix: zebedee callback crash on expired invoice

* fix: QR code csp error

* feat: add get-invoice-status-controller

* feat: add get-invoice-status-controller factory

* chore: refactor router

* feat: get invoice status using rest api

* fix: bad import

Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>

---------

Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-03 23:02:01 -08:00
Andre Neves
54684a76f3 feat: adding powered by ZBD badge if its enabled payment processor 2023-02-02 00:19:26 -05:00
Ricardo Arturo Cabral Mejía
f9c53eeeb8 feat: massive update
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-02 00:19:26 -05:00
Ricardo Arturo Cabral Mejía
2618a4d2dc feat: add pay-to-relay 2023-02-02 00:19:26 -05:00