Pavol Rusnak
27d43e052d
cleanup whitespace in readme
2022-06-05 23:56:52 +02:00
Pavol Rusnak
77ebc21a07
remove unused FIXED_FEE parameter from .env_example
2022-06-05 20:51:28 +02:00
Pavol Rusnak
d8c8526481
be more specific about macaroon/cert files in the readme
2022-06-05 15:49:47 +02:00
kiwiidb
329c022437
Merge pull request #177 from getAlby/fix/start-invoice-subscription-from-last-possible-index
...
Fix: start invoice subscription from last NOT expired invoice
2022-05-28 11:52:13 +02:00
kiwiidb
d9a2486048
add test that reproduces the issue
2022-05-28 10:25:25 +02:00
kiwiidb
2423b67ee0
add test that reproduces the issue
2022-05-28 10:25:19 +02:00
Michael Bumann
6173dcac09
Fix SQLite error in inital migration
...
'initialized'::character varying is not supported in SQLite
2022-05-27 20:37:01 +02:00
Michael Bumann
26fe80bf7d
Fix: start invoice subscription from last NOT expired invoice
...
Currently we checked all payments which means we start the subscription from an index for an invoice that can no longer be paid because it is expired.
And because it is expired we do not need to listen for updates for it anymore
2022-05-24 18:10:33 +02:00
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