Commit Graph

593 Commits

Author SHA1 Message Date
Stefan Kostic
64c77d4ebb Add new migration to alter check balance trigger 2022-03-08 18:51:16 +01:00
Stefan Kostic
f68ca7ac6e Revert constraint migration 2022-03-08 18:38:53 +01:00
Stefan Kostic
a5dfed3daf Fix keysend tests 2022-03-08 17:17:02 +01:00
kiwiidb
e834d41c0c Merge pull request #117 from getAlby/fee-handling
Fee handling
0.3.0
2022-03-08 14:58:04 +01:00
kiwiidb
a3c6f294e0 fix merge conflict 2022-03-08 14:57:46 +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
2548de40a5 Change keysend endpoint method to POST 2022-03-08 12:30:43 +01:00
kiwiidb
894317194a Merge pull request #124 from getAlby/sentry-notifications
Sensitive data from sentry payload
2022-03-08 08:33:28 +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
ba7c045729 Add keysend tests 2022-03-08 01:11:02 +01:00
Stefan Kostic
6dc4e608fb Fix invoice keysend spelling 2022-03-08 01:09:43 +01:00
Stefan Kostic
c6ba661227 Fix key send response body 2022-03-08 01:09:11 +01:00
Stefan Kostic
b82deb3835 Register endpoint 2022-03-08 01:08:57 +01:00
Stefan Kostic
7e528489d7 Add check for user balance after successful payment 2022-03-07 11:28:58 +01:00
kiwiidb
96b1657abb Merge pull request #122 from getAlby/chore/go-mod-tidy
run go mod tidy
2022-03-05 07:39:28 +01:00
Stefan Kostic
dd600af5b2 Refactor send payment sync a bit to reduce code duplication 2022-03-04 20:05:59 +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
f13e8888bc Add test for negative balance 2022-03-04 18:32:35 +01:00
Stefan Kostic
a881131b8d Adapt balance constraint 2022-03-04 18:29:31 +01:00
Stefan Kostic
90e90dc79c Merge branch 'main' into fee-handling 2022-03-04 17:46:36 +01:00
Stefan Kostic
831895a8e0 Remove integration tests util todo and fix comment 2022-03-04 17:28:04 +01:00
Stefan Kostic
9c81020829 Fix tests 2022-03-04 17:24:38 +01:00
Stefan Kostic
6266156fda Bad request on auth controller bad req body 2022-03-04 15:25:12 +01:00
kiwiidb
7c938477a6 make keysend work on regtest 2022-03-04 15:15:43 +01:00
Stefan Kostic
7c28270c6a Add proper err response to create ctrl 2022-03-04 15:11:23 +01:00
kiwiidb
e1067b7c8e add arm v7 build for raspberry pi 2022-03-04 12:07:13 +01:00
kiwiidb
d02d9ffd67 run go mod tidy 2022-03-04 11:28:12 +01:00
kiwiidb
3d8ecd425f keysend: low-level work and instructions 2022-03-04 11:08:27 +01:00
kiwiidb
06bb1372c3 add dash 2022-03-03 14:05:34 +01:00
kiwiidb
39a7509953 fix some bugs, tested as working in another repo 2022-03-03 14:04:47 +01:00
kiwiidb
22d4e1d74d add build workflow 2022-03-03 13:47:57 +01:00
kiwiidb
8e4646982d Merge pull request #116 from getAlby/refresh-token-fix
Refresh token fix
2022-03-02 13:39:13 +01:00
kiwiidb
836fbcb75d Merge pull request #115 from getAlby/fix-init-migration
Use sql for init migration
2022-03-02 13:35:54 +01:00
Stefan Kostic
cd6a08690c Fix PR comments 2022-03-01 23:22:45 +01:00
Stefan Kostic
8b0a721c75 Add auth tests for failing scenarios 2022-03-01 22:55:23 +01:00
kiwiidb
c63aa0c7d2 add lnd3 credentials 2022-03-01 13:05:39 +01:00
kiwiidb
735cd6a839 fee handling should come from payment response 2022-03-01 10:06:29 +01:00
kiwiidb
b05b6d89d3 no auth for decoding 2022-02-27 09:09:00 +01:00
kiwiidb
d067b2c2d2 use a super high timeout 2022-02-26 13:28:07 +01:00
Stefan Kostic
d572b1585f Add fee check to internal payment test 2022-02-25 20:24:06 +01:00
Stefan Kostic
0669546a08 Add amount checks for internal payment test transaction entries 2022-02-25 20:13:00 +01:00
Stefan Kostic
31cf4fbd13 Add transaction entries checks in outgoing payment test 2022-02-25 20:08:16 +01:00
Stefan Kostic
5033a33593 Add fee handling to tests 2022-02-25 19:40:46 +01:00
Stefan Kostic
e489320363 Change transaction entries count in existing tests 2022-02-25 19:21:16 +01:00
Stefan Kostic
3858528607 Add transaction entry for fee 2022-02-25 00:23:37 +01:00
Stefan Kostic
b99182db64 Add configurable fixed amount for fee 2022-02-25 00:23:09 +01:00