Commit Graph

435 Commits

Author SHA1 Message Date
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
0341276f4d use websocket instead of sse because more client support 2022-03-24 13:55:11 +01:00
kiwiidb
edffaf4542 add keepalive messages 2022-03-23 10:20:17 +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
kiwiidb
d64231f7b4 Merge pull request #133 from getAlby/feature/keysend-custom-records
Feature/keysend-custom-records
2022-03-19 15:53:48 +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
Michael Bumann
30e7934fa4 Merge pull request #132 from getAlby/fix/README
update README
2022-03-16 18:05:52 +02:00
kiwiidb
8c0fe79d61 update README 2022-03-16 16:28:28 +01:00
kiwiidb
b3719d0a0b Merge pull request #131 from getAlby/rate-limiter
Rate limiter and cache middleware
2022-03-16 08:38:11 +01:00
Stefan Kostic
0a34f58b87 PR comments 2022-03-15 12:39:39 +01:00
Stefan Kostic
412b2d4659 Add rate limit params to config 2022-03-15 12:31:58 +01:00
Stefan Kostic
ef90a77ed7 Move create limiter to func 2022-03-10 23:46:48 +01:00
Stefan Kostic
6febafdf9d Add and use cache client 2022-03-10 23:38:51 +01:00
Stefan Kostic
f3a5ab7d10 Add rate limiters 2022-03-10 23:36:27 +01:00
Stefan Kostic
5a92fe63c0 Add packages 2022-03-10 23:35:42 +01:00
kiwiidb
595d72087a Merge pull request #130 from getAlby/fix-migration
Fix migration
0.3.1
2022-03-09 07:31:26 +01:00
kiwiidb
d23a6d3db5 Merge branch 'main' into fix-migration 2022-03-09 07:28:31 +01:00
kiwiidb
8516f14751 Merge pull request #129 from getAlby/fix-tests
Fix keysend tests
2022-03-09 07:27:17 +01:00
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