12 Commits

Author SHA1 Message Date
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
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
Semisol
2342386bb4
Add LNbits payment processor (#194)
* feat: add lnbits payment processor

* fix: add lnbits error logging and add lnbits config

* feat: use HMAC instead of IP whitelist for LNbits

also adds two utility functions and ensures the SECRET environment
variable is set.

* refactor: remove unnecessary comment

* fix(pay-to-relay/lnbits): compare by msat scaled amount

* fix: scale balance addition with invoice unit on confirm_invoice
2023-02-18 06:13:49 -08:00
Ricardo Arturo Cabral Mejía
bcd072efcd
fix: bug unable confirm invoice (#204)
* chore: confirm only if bolt11 is present

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

* fix: fix double invoice bug. thx mazin

* fix: fypo tix on default-settings

* fix: use correct dbname on knexfile

---------

Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-14 20:41:09 -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
Ricardo Arturo Cabral Mejía
1a8c55df38
chore: increase max payload size to 262144
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-03 19:17:38 -05: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
cd4c60a139 feat: implement static mirroring
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-02-02 00:19:26 -05:00
Ricardo Arturo Cabral Mejía
282f7db0a1 fix: increase rate limits
Signed-off-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
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
Anton Livaja
5a8107f73c feat(utils): refactor settings to use yaml 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