Commit Graph

154 Commits

Author SHA1 Message Date
kiwiidb
ceec6dd181 don't omit payment error when empty 2022-08-08 10:11:18 +02:00
kiwiidb
98bebe0c87 add custom records 2022-08-05 12:12:03 +02:00
Pavol Rusnak
3fa782c2d4 Make it possible to override branding 2022-07-17 22:27:42 +02:00
Pavol Rusnak
ce0825e8be Fix typo 2022-07-14 02:17:09 +02:00
Pavol Rusnak
97abfe6178 Fix whitespace via go fmt 2022-07-14 02:17:09 +02:00
kiwiidb
96c6a4f952 replace username by login 2022-07-07 14:07:28 +02:00
Pavol Rusnak
6740e66094 Introduce MaxReceiveAmount, MaxSendAmount, MaxAccountBalance 2022-06-30 10:55:51 +02:00
kiwiidb
b256a3fefe remove old api docs 2022-06-17 15:38:44 +02:00
Pavol Rusnak
1adea74429 Implement fee-reserve 2022-06-15 23:06:53 +02:00
kiwiidb
dd1fe8c00b Merge pull request #192 from prusnak/invoicestream-fix-defer
Don't defer close when the creation failed
2022-06-13 12:43:07 +02:00
Pavol Rusnak
1572aa06b2 Don't defer close when the creation failed 2022-06-11 21:48:22 +02:00
kiwiidb
22a788e153 add missing amt validations 2022-06-10 10:20:54 +02:00
kiwiidb
4a3b548783 Merge pull request #171 from getAlby/chore/sentry-context-info
Extend sentry with some mode debugging information
2022-06-07 09:53:38 +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
bc4655fe8c fix swagger 2022-05-18 12:16:24 +02:00
kiwiidb
88c4789412 add custom records to transactions 2022-05-18 09:14:09 +02:00
Michael Bumann
aaa6bddf52 Add payment context to sentry notification on payment errors 2022-05-17 14:39:11 +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
36ee813ff6 fix merge conflicts 2022-05-03 09:04:54 +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
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
b150d8c8ec change topic type to string 2022-04-27 12:21:15 +02:00
kiwiidb
2793303ad3 swagger: add all endpoints 2022-04-26 13:48:05 +02:00
kiwiidb
d1679f499d fix: add fees for outgoing invoices 2022-04-26 13:14:16 +02:00
kiwiidb
0818abdd2c change tags 2022-04-26 12:21:16 +02:00
kiwiidb
5137d966cc feature: start swagger docs 2022-04-26 12:14:50 +02:00
kiwiidb
d36d22a2d0 add integration test for missing invoices 2022-04-20 16:57:12 +02:00
kiwiidb
9180a7d79b add missing invoice functionality 2022-04-20 16:48:16 +02:00
kiwiidb
c24d1599d0 refactor parse token 2022-04-20 16:25:01 +02:00
Stefan Kostic
e2947cf9a1 Replace math rand with crypto rand 2022-04-13 20:21:35 +02:00
kiwiidb
a9b796a7d6 refactor tests 2022-04-13 13:19:14 +02:00
kiwiidb
455fba26a0 implement fixes based on skosito's remarks 2022-04-13 13:04:29 +02:00
kiwiidb
bbe47cbd4c Merge branch 'main' into feature/event-stream 2022-04-12 15:30:51 +02:00
kiwiidb
8be8471da0 add all integration tests 2022-04-12 15:22:24 +02:00
ext.kwinten.de.backer
8ed306fe61 always lowercase payreq 2022-04-08 11:11:03 +02:00
kiwiidb
bc57cd04c2 handle close messages 2022-04-07 12:09:13 +02:00
kiwiidb
a5ae01a5f2 add proper pubsub 2022-04-06 18:00:04 +02:00
Stefan Kostic
e5c2e5337f Add ignoreErrors to sentry 2022-04-06 17:15:17 +02:00
kiwiidb
45e0c48f1f fix conflicts 2022-04-06 16:38:01 +02:00
kiwiidb
4cb60a5c91 clean up PR 2022-04-06 16:36:06 +02:00
kiwiidb
55c775d8b4 send keepalive msg on startup 2022-03-25 09:34:02 +01:00
kiwiidb
8b678c363f Merge branch 'feature/event-stream' of github.com:kiwiidb/lndhub.go into feature/event-stream 2022-03-24 17:02:47 +01:00
kiwiidb
c77e7ccff8 struct tags 2022-03-24 15:08:45 +01:00
kiwiidb
4bfbc3d25c add keepalive messages 2022-03-24 15:06:55 +01:00
kiwiidb
789ef5c4f1 Merge branch 'main' into feature/event-stream 2022-03-24 13:58:11 +01:00
kiwiidb
0341276f4d use websocket instead of sse because more client support 2022-03-24 13:55:11 +01:00
kiwiidb
de472742bc fix: pay response should follow lndhub api 2022-03-23 17:20:04 +01:00