Commit Graph

593 Commits

Author SHA1 Message Date
kiwiidb
73aa3f4e97 set up scaffolding 2022-02-06 15:20:36 +01:00
Michael Bumann
ed30a9bd8f Update README.md 2022-02-06 15:37:45 +02:00
kiwiidb
56d03e8f40 only start listening when it's needed 2022-02-04 18:00:08 +01:00
kiwiidb
505f592265 tests: use postgres by default 2022-02-04 17:43:59 +01:00
kiwiidb
1415c19c3f Merge pull request #90 from getAlby/feature/wrap-lnd
Feature/wrap-lnd
2022-02-04 17:27:51 +01:00
kiwiidb
6a1803ceb4 tests: add deposit integration test 2022-02-04 15:28:34 +01:00
kiwiidb
514d33a0d1 feature: bolt12 2022-02-04 13:31:16 +01:00
kiwiidb
c3bec5f80c chore: wrap LND client 2022-02-04 12:13:40 +01:00
kiwiidb
b172d7c6eb add pay index to updated invoice 2022-02-04 12:02:29 +01:00
kiwiidb
8d37b5f02f send + receive working on regtest 2022-02-04 11:27:55 +01:00
kiwiidb
b9b5be9fd8 init channel 2022-02-04 11:01:37 +01:00
kiwiidb
856c4b5a1d add invoice handling 2022-02-04 11:00:26 +01:00
kiwiidb
ad13bb22fc more work on invoice subscription 2022-02-03 17:42:35 +01:00
kiwiidb
40e41ab879 implement more methods 2022-02-03 17:22:00 +01:00
kiwiidb
c72639aa68 feature: pluggable ln backend 2022-02-03 14:53:12 +01:00
kiwiidb
ff88041e21 Merge pull request #87 from getAlby/feature/integration-testing
Feature/integration-testing
2022-02-02 23:00:43 +01:00
kiwiidb
1ae5df6b8c Feature: integration testing
Add integration tests with testify/suite. Moved some structs
outside of controller funcs so we can re-use them in the testing
package. Add CI workflow for running tests on every push.
2022-02-01 11:47:11 +01:00
kiwiidb
89a924bd30 Merge pull request #86 from getAlby/feature/custom-name
Feature/custom-name
2022-02-01 11:09:22 +01:00
kiwiidb
7e2b432790 add optional custom node name 2022-02-01 09:22:44 +01:00
kiwiidb
db8fb009a3 Merge pull request #82 from getAlby/fixed-fee-limit
Set fixed fee limit
0.1.1
2022-01-31 17:52:02 +01:00
Michael Bumann
2f44889be6 300 sat it is for now. this should work for most payments 2022-01-31 13:31:07 +01:00
Michael Bumann
f2ca4ac0ca Set fixed fee limit
Very small amounts have problems with the percentage based fee limit.
This has to be changed soon to be smarter and more dynamic
2022-01-31 13:27:45 +01:00
kiwiidb
60a13d9e33 Merge pull request #79 from getAlby/bugfix/do-not-use-sql-function
Calculate timestamp in Go to not use PostgreSQL specific function
0.1.0
2022-01-31 09:45:59 +01:00
Michael Bumann
3f01c3304d Calculate timestamp in Go to not use PostgreSQL specific function 2022-01-30 20:30:19 +01:00
kiwiidb
d2d2451fdb fix: typo workflow 2022-01-28 14:41:26 +01:00
kiwiidb
ff9e2d8f97 Merge pull request #77 from getAlby/feature/continuous-deployment
add CD steps to build workflow
2022-01-28 14:25:23 +01:00
kiwiidb
201a02794c fix: add build job tag 2022-01-28 14:24:05 +01:00
kiwiidb
fe04b237df fix: add build job tag 2022-01-28 14:09:23 +01:00
kiwiidb
a6ab887988 fix: github token name 2022-01-28 13:58:13 +01:00
kiwiidb
f98eaca427 fix: github token name 2022-01-28 13:16:31 +01:00
kiwiidb
54dcfd6eb9 only run action on release, not on tag 2022-01-28 13:05:23 +01:00
kiwiidb
96c490f29e Merge pull request #75 from getAlby/feature/index-page
Feature/index-page
2022-01-28 13:00:44 +01:00
kiwiidb
675d5e6b4d address bumi's PR comments 2022-01-28 13:00:09 +01:00
kiwiidb
f7d9d31e60 add CD steps to build workflow 2022-01-28 11:09:55 +01:00
Michael Bumann
95ef74cc0d Merge pull request #76 from getAlby/fix/error-handling
Fix/error handling
2022-01-28 11:29:32 +02:00
kiwiidb
242e1438a6 embed static files 2022-01-28 09:57:51 +01:00
kiwiidb
d947b4fb6b use a single homecontroller 2022-01-28 09:10:08 +01:00
Michael Bumann
dd0d168b5b Use the HTTP error code define by the error if available
This handler handles all errors. those are not necessarily http 500 erros.
We should use the code from the error if available
2022-01-27 18:21:36 +01:00
Michael Bumann
084ddda390 Update go mod
and define Go version for heroku deployments
2022-01-27 17:35:37 +01:00
kiwiidb
5c1b27398b add index page 2022-01-27 16:04:03 +01:00
Michael Bumann
b6b7cbf884 Merge pull request #72 from getAlby/sentry-notifications
Sentry notifications
2022-01-25 14:18:30 +02:00
Michael Bumann
a7a7de94ec Update README.md 2022-01-25 00:58:25 +02:00
Michael Bumann
d10701ad2f Custom HTTP error handler and send sentry notifications 2022-01-24 23:37:03 +01:00
Michael Bumann
9b292398da Add sentry notification to invoice subscription 2022-01-24 23:05:08 +01:00
Michael Bumann
55b7943579 Do not handle invoices not found in the subscription handler as errors
the app will get notfied of any invoice and not just the invoices we have created.
Thus we ignore the updates for invoices we do not know about. This is not an error
2022-01-24 23:04:53 +01:00
Michael Bumann
f6367b33a0 Merge pull request #69 from getAlby/bugfix/fix-invoices-without-description
Do not fail if invoice does not have a description
2022-01-24 20:12:29 +02:00
Michael Bumann
3053ad0549 Merge pull request #68 from getAlby/payinvoice-response
Better payinvoice response + DRY errors
2022-01-24 20:12:21 +02:00
Michael Bumann
906578ff57 Merge pull request #67 from getAlby/do-not-return-initialized-invoices
Do not return invoices that are in the initialized state
2022-01-24 20:12:12 +02:00
Michael Bumann
a2c75110c2 Log correct error 2022-01-23 21:06:34 +02:00
Michael Bumann
2bc86fe828 Merge pull request #70 from getAlby/feature/configurable-port
Make port configurable
2022-01-23 19:43:04 +02:00