Commit Graph

115 Commits

Author SHA1 Message Date
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
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
kiwiidb
21f48dbee9 Merge pull request #4 from kiwiidb/feature/event-stream
add keepalive messages
2022-03-23 10:23:48 +01:00
kiwiidb
edffaf4542 add keepalive messages 2022-03-23 10:20:17 +01:00
kiwiidb
96af86dcc3 Merge pull request #134 from getAlby/unauthorized-invoice-endpoint
Unauthorized invoice endpoint
2022-03-22 07:51:08 +01:00
kiwiidb
cd2456ec34 merge in event stream 2022-03-21 13:06:40 +01:00
kiwiidb
61ea259f2e Merge branch 'unauthorized-invoice-endpoint' 2022-03-21 13:05:46 +01:00
kiwiidb
ce80647a23 fix conflicts 2022-03-21 11:57:16 +01:00
kiwiidb
8e2606a2e6 fix: graceful shutdown 2022-03-21 11:42:59 +01:00
kiwiidb
93ad471dac feature: settled invoice stream 2022-03-20 13:17:38 +01:00
Stefan Kostic
88d7d21aa1 Add common add invoice ctrl method 2022-03-18 18:06:39 +01:00
Stefan Kostic
2d34317acb Add and register invoice endpoint 2022-03-18 18:03:46 +01:00
kiwiidb
e5e03659d6 update tests with custom record 2022-03-18 14:10:37 +01:00
kiwiidb
be8a5a4acc feature: allow custom records to keysend 2022-03-18 12:19:19 +01:00
kiwiidb
f86543ee0e Merge pull request #127 from getAlby/keysend-implementation
Keysend implementation
2022-03-08 14:51:28 +01:00
Stefan Kostic
fb1be3bd8b Rename struct 2022-03-08 13:46:51 +01:00
Stefan Kostic
f7b2ea76d6 Group payreq and keysend flag into struct 2022-03-08 12:32:02 +01:00
Stefan Kostic
3a12f908c4 Cleanup keysend ctrl 2022-03-08 01:29:01 +01:00
Stefan Kostic
03e44fac58 Fix keysend response body type 2022-03-08 01:21:28 +01:00
Stefan Kostic
c6b4c3028c Remove todo and cleanup 2022-03-08 01:15:37 +01:00
Stefan Kostic
c6ba661227 Fix key send response body 2022-03-08 01:09:11 +01:00
Stefan Kostic
8b077cd5ea First key send endpoint impl based on pay invoice ctrl 2022-03-04 19:53:25 +01:00
Stefan Kostic
6266156fda Bad request on auth controller bad req body 2022-03-04 15:25:12 +01:00
Stefan Kostic
7c28270c6a Add proper err response to create ctrl 2022-03-04 15:11:23 +01:00
kiwiidb
3d8ecd425f keysend: low-level work and instructions 2022-03-04 11:08:27 +01:00
Stefan Kostic
f615564728 Return bad auth error response properly 2022-02-24 23:16:21 +01:00
kiwiidb
8a91d3e391 Merge branch 'main' into feature/bolt12 2022-02-23 15:03:01 +01:00
Stefan Kostic
b70578eaf9 Add check payment tests 2022-02-18 14:30:51 +01:00
kiwiidb
a1b4e895c4 fix merge conflicts 2022-02-15 17:48:07 +01:00
kiwiidb
fb8fe70d07 remove zpay32 dep 2022-02-15 17:19:35 +01:00
kiwiidb
9029d95353 Merge pull request #100 from getAlby/custom-usernames
Custom usernames and password when creating new users
2022-02-15 16:47:20 +01:00
kiwiidb
a44d9052e7 use the right struct to create user 2022-02-15 16:46:32 +01:00
kiwiidb
e551904e82 add fields explicitly in controllers 2022-02-15 16:43:55 +01:00
kiwiidb
f7be8c3663 export responses in controller package 2022-02-15 16:33:47 +01:00
kiwiidb
977fe8c514 Merge pull request #98 from getAlby/add-constants
Add constants for invoice state, type and account type
2022-02-10 18:23:08 +01:00
kiwiidb
3c08c5b349 Merge branch 'main' into feature/integration-testing-payments 2022-02-10 14:26:42 +01:00
kiwiidb
4d5c8c12d1 pay command working 2022-02-10 10:30:13 +01:00
Stefan Kostic
80a4d4f20c Add support for providing user name and password when creating user 2022-02-09 22:53:46 +01:00
Stefan Kostic
f93bdd54f9 Replace hardcoded strings with common constants 2022-02-09 22:27:01 +01:00
Stefan Kostic
3f4cc70d22 Revert commits related to constants 2022-02-09 22:24:52 +01:00
Stefan Kostic
3152f6f2e6 Replace hardcoded strings with common constants 2022-02-09 22:17:49 +01:00