Michael Bumann
00a0ba7510
Update README.md
2022-02-06 16:31:32 +02:00
Michael Bumann
ed30a9bd8f
Update README.md
2022-02-06 15:37:45 +02:00
kiwiidb
1415c19c3f
Merge pull request #90 from getAlby/feature/wrap-lnd
...
Feature/wrap-lnd
2022-02-04 17:27:51 +01:00
kiwiidb
c3bec5f80c
chore: wrap LND client
2022-02-04 12:13:40 +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
Michael Bumann
95a979a05f
Merge branch 'main' into feature/configurable-port
2022-01-23 19:42:52 +02:00
Michael Bumann
bbada328d5
Longer login/passwords
2022-01-22 23:59:05 +01:00
Michael Bumann
c8de57c876
Update README.md
2022-01-23 00:55:26 +02:00
Michael Bumann
c2edd1302d
Update notes.md
2022-01-23 00:40:03 +02:00
Michael Bumann
3e3e5fb3cf
Document PORT config option
2022-01-22 23:25:31 +01:00
Michael Bumann
9435f75d1f
Merge pull request #66 from getAlby/db/better-pg-constraints
...
Trying to get the PG constraints working
2022-01-23 00:23:07 +02:00
Michael Bumann
436baeeccb
Merge pull request #64 from getAlby/invoice-update-subscriptions
...
First draft to subscribe for LND invoice update
2022-01-23 00:22:46 +02:00
Michael Bumann
f6559a6a0c
Make port configurable
2022-01-22 23:11:13 +01:00
Michael Bumann
edd2abedfb
Do not fail if invoice does not have a description
2022-01-22 23:05:21 +01:00
Michael Bumann
35e7da2f30
Search for correct state
2022-01-22 22:57:14 +01:00
Michael Bumann
af8c72d2c9
Store invoice expiry and use search for not expired invoices in the invoice subscription
...
When subscribing for invoice updates we only subscribe to not expired invoices.
We assume expired invoices will never get paid.
2022-01-22 21:11:19 +01:00