Commit Graph

444 Commits

Author SHA1 Message Date
kiwiidb
fc76657ffb run all tests in all folders 2022-03-31 08:25:10 +02:00
Stefan Kostic
23bd588724 Add unit tests for calc fee limit fn 2022-03-30 18:59:03 +02:00
Stefan Kostic
edc51df4fb Make fixed fees dynamic 2022-03-23 16:55:13 +01:00
kiwiidb
346d24bb56 Merge pull request #120 from getAlby/feature/binary-release-action
add build workflow
0.4.0
2022-03-22 08:59:28 +01:00
kiwiidb
96af86dcc3 Merge pull request #134 from getAlby/unauthorized-invoice-endpoint
Unauthorized invoice endpoint
2022-03-22 07:51:08 +01:00
Stefan Kostic
7060fca760 Extract test err response util fn 2022-03-21 23:25:03 +01:00
Stefan Kostic
805e0970a5 Add tests for new endpoint 2022-03-21 23:20:54 +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
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
Stefan Kostic
61c8d8a53c Add method to fetch user by login 2022-03-18 18:03:32 +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
35d72b40af install go: use v2 action 2022-03-17 09:13:12 +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