Commit Graph

593 Commits

Author SHA1 Message Date
kiwiidb
20610aef06 remove btcec dependency 2022-02-15 17:24:57 +01:00
kiwiidb
fb8fe70d07 remove zpay32 dep 2022-02-15 17:19:35 +01:00
kiwiidb
a3b3e17d49 Merge pull request #104 from getAlby/fix/create-users
update create user call to use new func sig
2022-02-15 17:18:37 +01:00
kiwiidb
146e448cb8 update create user call to use new func sig 2022-02-15 16:52:39 +01:00
kiwiidb
9029d95353 Merge pull request #100 from getAlby/custom-usernames
Custom usernames and password when creating new users
2022-02-15 16:47:20 +01:00
kiwiidb
a44d9052e7 use the right struct to create user 2022-02-15 16:46:32 +01:00
kiwiidb
6ab8628654 Merge pull request #103 from getAlby/missing-integration-tests
Get incoming/outgoing invoices tests
2022-02-15 16:44:59 +01:00
kiwiidb
e551904e82 add fields explicitly in controllers 2022-02-15 16:43:55 +01:00
kiwiidb
f7be8c3663 export responses in controller package 2022-02-15 16:33:47 +01:00
Stefan Kostic
4985adf0da Use util addInvoice method in test incoming payment 2022-02-11 14:08:20 +01:00
Stefan Kostic
d808232001 Cancel invoice subscription on test suite teardown 2022-02-11 14:02:41 +01:00
Stefan Kostic
fd0d3bfe91 Revert db uril in tests 2022-02-11 12:15:57 +01:00
Stefan Kostic
53ec45b482 Add simple tear down test method 2022-02-11 12:09:30 +01:00
Stefan Kostic
140ee03f7c Move payinvoice to test util method and use it on all places in tests 2022-02-11 11:45:05 +01:00
Stefan Kostic
e36e64ec34 Fix outgoing invoice test 2022-02-11 11:32:55 +01:00
kiwiidb
4ddf0aae3b signatures not working like this, need to boot btcec dep 2022-02-11 10:05:31 +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
kiwiidb
4d5c8c12d1 pay command working 2022-02-10 10:30:13 +01:00
Stefan Kostic
06e4257aaa Add test for provided login and password 2022-02-09 22:59:11 +01:00
Stefan Kostic
80a4d4f20c Add support for providing user name and password when creating user 2022-02-09 22:53:46 +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
94fd1fe82e fetch invoice 2022-02-09 12:47:02 +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
kiwiidb
c3f22ab166 everything ok except payment 2022-02-06 15:31:42 +01:00
Michael Bumann
00a0ba7510 Update README.md 2022-02-06 16:31:32 +02:00