Commit Graph

585 Commits

Author SHA1 Message Date
kiwiidb
8a4a4ffbbb Merge pull request #175 from getAlby/feature/user-login-in-webhook-payload
add user login to webhook payload
2022-05-19 11:40:01 +02:00
kiwiidb
d668f2cebf add user login to webhook payload 2022-05-19 11:24:16 +02:00
kiwiidb
402a970140 Merge pull request #172 from getAlby/feature/accept-keysend
Feature/accept keysend
2022-05-19 08:23:09 +02:00
kiwiidb
3c0ac7ebef Merge pull request #170 from getAlby/feature/cache-control
Set cache-control headers for static routes (getinfo and home)
2022-05-18 14:15:44 +02:00
kiwiidb
760c1d83c2 update README 2022-05-18 13:43:22 +02:00
kiwiidb
c3b7dfae1c add test for internal keysend payment 2022-05-18 13:33:37 +02:00
kiwiidb
a0c6cd4729 fix internal keysends 2022-05-18 13:14:31 +02:00
kiwiidb
bc4655fe8c fix swagger 2022-05-18 12:16:24 +02:00
kiwiidb
d01b9c492f internal keysend payments 2022-05-18 11:46:15 +02:00
kiwiidb
9a0ade8a38 look for keysend payment with loop 2022-05-18 10:09:53 +02:00
kiwiidb
8d91b1d92d move keysend logic to it's own function 2022-05-18 10:04:04 +02:00
kiwiidb
efaf42feed add test for custom records 2022-05-18 09:59:47 +02:00
kiwiidb
88c4789412 add custom records to transactions 2022-05-18 09:14:09 +02:00
kiwiidb
26944ae515 add destination custom records column 2022-05-18 09:08:15 +02:00
kiwiidb
44d147a6f1 make keysend test run after payment test 2022-05-17 15:16:41 +02:00
kiwiidb
7abe6434d7 update README 2022-05-17 15:13:48 +02:00
kiwiidb
b9116ca08f add integration test 2022-05-17 15:02:46 +02:00
kiwiidb
045305585b move constant to other TLV constants 2022-05-17 11:30:36 +02:00
kiwiidb
0ade09e8ac keysend payments: don't process already-seen invoices 2022-05-17 11:21:21 +02:00
kiwiidb
db37c52624 accept keysend payments 2022-05-17 10:46:40 +02:00
Michael Bumann
d4dd9fa7e3 Set cache-control headers for static routes (getinfor and home)
This tells clients to cache the response for a few minutes and
thus makes it easier to run lndhub behind a proxy to cache static response
2022-05-09 15:38:40 +02:00
kiwiidb
c688acea15 Merge pull request #162 from getAlby/feature/webhooks
Feature/webhooks
0.7.0
2022-05-03 10:04:21 +02:00
kiwiidb
00bfc568e7 update README 2022-05-03 09:33:21 +02:00
kiwiidb
ac472e4d79 update json schema invoice 2022-05-03 09:18:47 +02:00
kiwiidb
36ee813ff6 fix merge conflicts 2022-05-03 09:04:54 +02:00
kiwiidb
e153cf7355 Merge pull request #168 from getAlby/feature/0-amount-outgoing-invoice
Feature: pay 0 amount invoice
2022-05-03 08:57:28 +02:00
kiwiidb
f2acb462e2 fix test 2022-05-02 19:23:29 +02:00
kiwiidb
733ca4cf92 add 0 amount test 2022-05-02 19:12:31 +02:00
kiwiidb
e15e55c175 refactor tests 2022-05-02 19:10:39 +02:00
kiwiidb
3881ab7e78 add 0 amount outgoing invoice 2022-05-02 14:27:48 +02:00
kiwiidb
48d1aa4263 Merge pull request #152 from getAlby/use-crypto-rand
Replace math rand with crypto rand
2022-05-02 13:52:50 +02:00
kiwiidb
6aa753cd3e fix merge conflicts 2022-05-02 13:46:45 +02:00
kiwiidb
f11098b7b4 add webhook url as argument 2022-05-02 13:42:43 +02:00
kiwiidb
2fac4fcf09 README: add example 2022-05-02 13:39:53 +02:00
kiwiidb
9e465f4b7b Merge pull request #164 from getAlby/chore/extend-logging
Log user ids on more errors
2022-05-02 12:50:03 +02:00
kiwiidb
cfec721f42 Merge pull request #167 from getAlby/fix/0-amount-incoming-invoice
Fix: 0 amount incoming invoice
0.6.2
2022-05-02 12:39:56 +02:00
kiwiidb
cd72e81b24 Update lib/service/invoicesubscription.go
Add user ID

Co-authored-by: Michael Bumann <hello@michaelbumann.com>
2022-05-02 12:39:42 +02:00
kiwiidb
f99409d145 invoice: use rawinvoice amt paid 2022-05-02 11:30:17 +02:00
kiwiidb
78a5f6e366 integration tests: reproduce 0 amt invoice bug 2022-05-02 11:29:24 +02:00
Michael Bumann
887e5fbf89 Log user ids on more errors
This should help analyzing the logs better for a specific user.
2022-05-02 09:38:57 +02:00
kiwiidb
820a993783 Merge pull request #161 from getAlby/feature/api-docs
Feature/api docs
2022-04-28 10:12:13 +02:00
kiwiidb
ea74fadeef add webhook test 2022-04-27 14:35:29 +02:00
kiwiidb
252b1fe784 add webhook service 2022-04-27 13:54:23 +02:00
kiwiidb
03baba8c37 add webhook service 2022-04-27 13:54:15 +02:00
kiwiidb
017bf282fd publish incoming and outgoing payments to respective topics 2022-04-27 12:25:28 +02:00
kiwiidb
b150d8c8ec change topic type to string 2022-04-27 12:21:15 +02:00
kiwiidb
37b603ed39 add test for gettxs fee field 2022-04-27 11:18:05 +02:00
kiwiidb
2744ec73d0 scheme: make https default 2022-04-27 09:53:26 +02:00
Michael Bumann
dfbad475b1 Merge pull request #160 from getAlby/fix/outgoing-invoice-fee
fix: add fees for outgoing invoices
2022-04-26 18:11:44 +02:00
kiwiidb
2fc18ae492 make host configurable 2022-04-26 13:55:08 +02:00