Commit Graph

314 Commits

Author SHA1 Message Date
Stefan Kostic
e36e64ec34 Fix outgoing invoice test 2022-02-11 11:32:55 +01:00
Stefan Kostic
170d7a028a Add tests for incoming invoices and start with outgoing invoice test 2022-02-11 00:38:04 +01:00
Stefan Kostic
afdbf563df Move createAddInvoiceReq to utils 2022-02-11 00:21:53 +01:00
Stefan Kostic
68698c988b Move common test methods to separate utils file 2022-02-10 23:29:22 +01:00
kiwiidb
977fe8c514 Merge pull request #98 from getAlby/add-constants
Add constants for invoice state, type and account type
2022-02-10 18:23:08 +01:00
kiwiidb
526e73bdac Merge pull request #91 from getAlby/feature/integration-testing-payments
Feature/integration-testing-payments
2022-02-10 14:33:13 +01:00
kiwiidb
ec9bd46925 merge master into branch 2022-02-10 14:29:29 +01:00
kiwiidb
3c08c5b349 Merge branch 'main' into feature/integration-testing-payments 2022-02-10 14:26:42 +01:00
kiwiidb
aa0896a1ad replace TODO context with Background context for integration tests 2022-02-10 11:57:01 +01:00
kiwiidb
54958e363a split up test init service 2022-02-10 11:54:42 +01:00
kiwiidb
8b419dfe62 add known issue to readme 2022-02-10 10:33:50 +01:00
Stefan Kostic
f93bdd54f9 Replace hardcoded strings with common constants 2022-02-09 22:27:01 +01:00
Stefan Kostic
413d3c7038 Add account type constants 2022-02-09 22:26:39 +01:00
Stefan Kostic
1c14aa7f31 Add common package for constants 2022-02-09 22:26:21 +01:00
Stefan Kostic
3f4cc70d22 Revert commits related to constants 2022-02-09 22:24:52 +01:00
Stefan Kostic
3152f6f2e6 Replace hardcoded strings with common constants 2022-02-09 22:17:49 +01:00
Stefan Kostic
c74bdf28f4 Add account type constants 2022-02-09 22:16:03 +01:00
Stefan Kostic
6416afdc28 Add common package for constants 2022-02-09 21:58:15 +01:00
kiwiidb
1449b77a14 CI: also run tests on PR's created 2022-02-08 18:23:00 +01:00
kiwiidb
4ccdacba09 Merge pull request #95 from skosito/remove-context-todo
Remove context todo
2022-02-08 18:17:58 +01:00
Michael Bumann
32601a5ded Update README.md 2022-02-08 17:29:41 +02:00
Stefan Kostic
2748b7f2f3 Use request context in handlers 2022-02-08 13:36:50 +01:00
Stefan Kostic
0da4b359d6 Pass in ctx as service methods first argument 2022-02-08 13:35:02 +01:00
kiwiidb
f849c92842 integration test: alice tries to cheat 2022-02-07 13:51:46 +01:00
kiwiidb
fcb2934060 pay external invoices 2022-02-07 12:21:06 +01:00
kiwiidb
8006cec51d internal payments: test working 2022-02-07 12:07:21 +01:00
kiwiidb
a83ae07dac refactoring: allow to create users and tokens while setting up service 2022-02-07 11:27:11 +01:00
kiwiidb
806ea79d37 Merge pull request #94 from getAlby/fix/landing-page-branding
change branding 🐝
2022-02-06 16:26:56 +01:00
kiwiidb
6f40f0a78f change branding 🐝 2022-02-06 16:25:57 +01:00
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
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
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