Commit Graph

1690 Commits

Author SHA1 Message Date
benarc
0bb5d6769e removed currency 2021-12-21 17:14:17 +00:00
benarc
d517fe0330 chnaged req to request 2021-12-21 16:20:53 +00:00
benarc
ee4f93d3ba removed s read check 2021-12-21 15:55:24 +00:00
benarc
1e171e660d removed currency check 2021-12-21 15:53:40 +00:00
benarc
b04eea6463 encode key as byte 2021-12-21 15:47:39 +00:00
benarc
0b93811957 added key 2021-12-21 15:38:19 +00:00
benarc
c87abef20f Added Stepans decode functions 2021-12-21 15:33:52 +00:00
benarc
31c131e2ab benched lnurlpayout 2021-12-19 23:25:13 +00:00
benarc
4408f30285 removed print 2021-12-19 23:13:15 +00:00
benarc
31beec4f48 All works 2021-12-19 22:58:23 +00:00
benarc
6a4290c0e9 paying function works 2021-12-19 22:28:19 +00:00
benarc
331a383223 Adding manual check 2021-12-17 12:15:33 +00:00
benarc
22440492d9 adding api point for manual checking lnurlpayouts 2021-12-16 23:55:10 +00:00
benarc
7cbf8d8902 Added title 2021-12-16 23:39:51 +00:00
benarc
55ec6b7fbe Merge remote-tracking branch 'origin/FastAPI' into lnurlpayout 2021-12-16 21:18:38 +00:00
fiatjaf
703e6107fa remove old fiatjaf's checksum thing (replaced with stepan's). 2021-12-16 15:55:36 -03:00
Ben Arc
13a34d78e2 server to baseURL 2021-12-16 17:07:23 +00:00
Ben Arc
b570d82a68 Formatted 2021-12-16 17:01:45 +00:00
benarc
4f6e49b02f added Stepans fix 2021-12-15 14:47:45 +00:00
Arc
2609c2124e
Merge pull request #463 from lnbits/compatible-lnurlpos
lnurlpos v2 lnurl endpoint (backwards-compatible)
2021-12-15 00:21:27 +00:00
fiatjaf
09990450b7 lnurlpos v2 lnurl endpoint.
compatible with the phone app and updated device.
2021-12-14 17:00:20 -03:00
benarc
f3876d547e Added title 2021-12-09 18:04:04 +00:00
benarc
d00bd9a995 lnul display without refresh 2021-12-09 10:32:03 +00:00
benarc
1227fb980f few prints 2021-12-09 10:16:40 +00:00
calle
43b48376bb
lndrest fees for fastapi (#459) 2021-12-09 00:26:08 +01:00
benarc
7e6b2ba029 Should work, listener logic in 2021-12-08 11:43:13 +00:00
benarc
0ab158992e Checks wallet balance is at threshold 2021-12-08 10:28:43 +00:00
benarc
410689e04b completing listener, need to fetch pay lnurlpay 2021-12-06 13:07:47 +00:00
benarc
5f3bbd9695 Should be working 2021-12-06 12:56:48 +00:00
Arc
d21b68a5e7
Merge pull request #417 from chill117/fastapi-tests
Unit tests for FastAPI branch
2021-12-05 22:13:10 +00:00
Charles Hill
4e6c30a909
Unit tests for FastAPI branch
Run via `make test`
2021-12-04 13:11:45 -06:00
benarc
9465347669 Added listener, need to check wallet id agianst lnurlpayouts 2021-12-03 10:50:17 +00:00
benarc
1acdd4b548 Added restrictions 2021-12-03 00:36:02 +00:00
benarc
fa23be7657 Added check fixed LNURL decode 2021-12-03 00:17:32 +00:00
benarc
2490b218b1 Merge remote-tracking branch 'origin/FastAPI' into lnurlpayout 2021-12-02 22:56:54 +00:00
benarc
cacee8d072 Form works, check LNURL is valid url 2021-12-02 22:56:31 +00:00
benarc
907714838b Added check to explain fee reserve 2021-12-02 21:22:30 +00:00
benarc
ccc52dc585 Merge branch 'FastAPI' into lnurlpayout 2021-12-02 11:47:00 +00:00
benarc
69a4583203 wos debugging
lnurl debug

text identifier

text

try1

try2

debugging

more debug

...

....

hard code indentifier

.

more hard code

.

trying

revert

remove identifier

adding identifier...again

.

stupid

return text instead of json

htmlresponse

on more spin

.

added tag

revert to JSON return

.

ditch lnurl lib

.

..

..

clean prints
2021-12-01 21:55:04 +00:00
Tiago vasconcelos
290268885d fix purge
check for missing protocol

fix request url default

more debub

fix lnbits root url

add documentation reference
2021-11-30 15:13:06 +00:00
benarc
b9bc36fabf Merge remote-tracking branch 'origin/FastAPI' into FastAPI 2021-11-30 10:08:46 +00:00
Arc
b4ad8cb5b2
Merge pull request #443 from lnbits/fastapi_fix_lndrestwallet_fee_limit
(FastAPI) LNDRest fee limit
2021-11-30 09:04:01 +00:00
callebtc
12c2a04b2a LNDRest fee limit 2021-11-29 18:10:11 +01:00
benarc
b7fcf461f1 init 2021-11-28 18:11:35 +00:00
Arc
1609280f53
Merge pull request #438 from lnbits/usermanager_api_fix
Fix UserManager endpoint collision (FastAPI)
2021-11-28 17:04:48 +00:00
callebtc
ad3942f844 remove type comment 2021-11-27 13:01:12 +01:00
callebtc
2612e60647 annotation for optional attributes 2021-11-27 12:43:14 +01:00
callebtc
3fd66f38da rename endpoint to avoid collision 2021-11-27 12:42:19 +01:00
Stefan Stammberger
3831bca9e2
fix: cleanup core/views/generic.py
* Fixed withdraw endpoint query params access
    was: request.query_params.get("usr")
    corrected: request.query_params.get("usr")
* Added missing response classes
* Removed old comments and commeted out code
* Deleted the unused auth_bearer.py file
2021-11-27 10:13:32 +01:00
Arc
ed198d3e7d
Merge pull request #435 from arcbtc/FastAPI
Cleanup and black
2021-11-26 05:59:10 +00:00
benarc
56397026c8 Chore, applied black 2021-11-26 05:58:20 +00:00
Stefan Stammberger
efec7cb8f0 Revert "chore: apply black to all .py files"
This reverts commit 83b7779972.
2021-11-26 05:56:30 +00:00
Tiago vasconcelos
cfac70d394 general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
Tiago vasconcelos
2b0bd43974 clean prints 2021-11-25 17:26:46 +00:00
Tiago vasconcelos
b33f0ecae2 request issues again 2021-11-25 17:24:03 +00:00
Tiago vasconcelos
ae50b909eb again 2021-11-25 17:19:49 +00:00
Tiago vasconcelos
98a55bf0df request client 2021-11-25 17:12:41 +00:00
Tiago vasconcelos
4fff5c3b7a missing request 2021-11-25 17:08:20 +00:00
Tiago vasconcelos
1b29eb9f75 fix lnaddress 2021-11-25 16:24:11 +00:00
Stefan Stammberger
83b7779972
chore: apply black to all .py files 2021-11-24 14:31:55 +01:00
Arc
d93aecf960
Merge pull request #433 from arcbtc/FastAPI
fixed lnaddress for testing
2021-11-24 11:22:25 +00:00
benarc
3b80ff5171 disabled lnaddress 2021-11-24 11:20:56 +00:00
Tiago vasconcelos
c441c765b2 fix lnaddress not showing 2021-11-24 10:52:34 +00:00
Arc
c8e2aba451
Merge pull request #432 from arcbtc/FastAPI
added lnaddresss for testing
2021-11-24 10:11:37 +00:00
benarc
e44b5051b5 added 10 min check 2021-11-24 10:11:00 +00:00
benarc
5cb392e5dc changed min to 10 2021-11-24 10:10:02 +00:00
Arc
66c192d6f2
Merge pull request #431 from arcbtc/FastAPI
added lnaddresss for testing
2021-11-24 10:03:41 +00:00
benarc
947d169baa refresh paylinks after create 2021-11-24 10:02:56 +00:00
Arc
b9f3f35718
Merge pull request #430 from arcbtc/FastAPI
added lnaddresss for testing
2021-11-24 09:57:05 +00:00
benarc
f1dea9fc9b weighted chance to account for transaction fees 2021-11-24 09:56:24 +00:00
Arc
09ccf01fbb
Merge pull request #429 from arcbtc/FastAPI
added lnaddresss for testing
2021-11-24 08:56:13 +00:00
benarc
246942509c added lnaddress for testing 2021-11-24 08:54:28 +00:00
benarc
b122debd8c Merge remote-tracking branch 'arcbtc/lnaddress' into FastAPI 2021-11-24 08:42:14 +00:00
Arc
74eb496d67
Merge pull request #428 from arcbtc/FastAPI
merge
2021-11-23 11:04:28 +00:00
benarc
bc0b64a3fb Fixed lnurlpos links not showing 2021-11-23 11:03:57 +00:00
Arc
e2d1e3d261
Merge pull request #427 from arcbtc/FastAPI
merge
2021-11-23 10:28:13 +00:00
Tiago vasconcelos
2676e136cb Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-11-17 21:20:53 +00:00
Tiago vasconcelos
3f8d1a6fb5 fix withdraw routes order 2021-11-17 21:20:48 +00:00
Stefan Stammberger
d8e4237961
fix: TipJar wallet access bug 2021-11-17 14:33:23 +01:00
Tiago vasconcelos
2485e8eabf fix url_for no allowing query params 2021-11-17 12:56:43 +00:00
Charles Hill
4c77d6f11e Fix Bleskomat extension for FastAPI branch 2021-11-16 11:59:34 -03:00
Arc
1cd7823998
Merge pull request #423 from arcbtc/FastAPI
Posgres support
2021-11-15 21:31:05 -06:00
benarc
1ee50006e8 fixed bug 2021-11-16 03:30:37 +00:00
Arc
6da1aec2b9
Merge pull request #422 from arcbtc/FastAPI
Posgres support
2021-11-15 21:26:34 -06:00
benarc
a58924184e Fixed bug 2021-11-16 03:25:13 +00:00
Arc
05299224ee
Merge pull request #421 from arcbtc/FastAPI
Posgres support
2021-11-15 21:19:12 -06:00
benarc
da43923d2f fixed bug 2021-11-16 03:18:06 +00:00
Arc
7d0598f5cf
Merge pull request #420 from arcbtc/FastAPI
Posgres support
2021-11-15 21:15:40 -06:00
Arc
feb5a9e6c8
Update views.py 2021-11-16 03:11:01 +00:00
benarc
99d113f7d1 Fixed lost bug 2021-11-16 03:08:51 +00:00
Arc
5ccf5111a5
Merge pull request #419 from arcbtc/FastAPI
Posgres support
2021-11-15 20:53:40 -06:00
benarc
03ed185aac Fixed lost bug 2021-11-16 02:53:16 +00:00
Arc
a3d2e43a4c
Merge pull request #418 from arcbtc/FastAPI
Posgres support
2021-11-15 20:46:49 -06:00
Tiago vasconcelos
e8882645c4 remove IF NOT EXISTS in CREATE VIEW 2021-11-15 21:45:13 +00:00
Tiago vasconcelos
c34041c49c add hack for milliseconds on postgres 2021-11-15 12:11:42 +00:00
callebtc
bec0b1d1fe fix db connect 2021-11-13 11:42:11 +01:00
fiatjaf
0331861cc6 prevent pay_invoice from locking sqlite for the entire app. 2021-11-12 13:05:10 -03:00
benarc
78f7a3914f Fixed error reporting for lntxbot source 2021-11-12 10:16:15 +00:00
benarc
267dea4f75 black 2021-11-12 04:14:55 +00:00
Ben Arc
860709f48c async wrap 2021-11-10 21:14:47 +00:00
Ben Arc
e0bfb15e42 Merge remote-tracking branch 'arcbtc/FastAPI' into FastAPI 2021-11-10 21:13:08 +00:00
Ben Arc
119404b535 updated withdraw lnurl 2021-11-10 21:12:47 +00:00
Tiago vasconcelos
1537b06e00 reset form 2021-11-10 17:00:53 +00:00
Tiago vasconcelos
10fb16467b url_for not working 2021-11-10 11:15:33 +00:00
Ben Arc
cbc24a8fa5 Changed optional unit to sat 2021-11-09 22:25:20 +00:00
Ben Arc
636da1eefd Merge remote-tracking branch 'arcbtc/FastAPI' into FastAPI 2021-11-09 20:50:07 +00:00
Ben Arc
1b46b61da9 changed see endpoint key back 2021-11-09 20:50:00 +00:00
Stefan Stammberger
cba8fe40bd
Merge branch 'FastAPI' of github.com:arcbtc/lnbits into FastAPI 2021-11-09 19:16:02 +01:00
Stefan Stammberger
0968c1b182
feat: print a message when all migrations are done 2021-11-09 19:15:43 +01:00
Ben Arc
196cdf7737 Merge remote-tracking branch 'arcbtc/FastAPI' into FastAPI 2021-11-09 17:44:15 +00:00
Ben Arc
81d8d4e218 plugged few key issues 2021-11-09 17:44:05 +00:00
Stefan Stammberger
8ea2d20389
fix: wallets not loading when protobuf is missing 2021-11-09 18:15:07 +01:00
Ben Arc
a50c7b6e3a Added some IF NOT EXISTS to avoid errors on startup 2021-11-09 15:17:44 +00:00
Tiago vasconcelos
2c4c7369f3 fix currencies list 2021-11-09 10:41:59 +00:00
Tiago vasconcelos
084ecb1c08 fix missing number on model 2021-11-08 15:55:23 +00:00
Tiago vasconcelos
68dd95dc59 fix awaits 2021-11-08 12:28:11 +00:00
Tiago vasconcelos
df0b38f346 Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-11-08 12:17:40 +00:00
Stefan Stammberger
768aa05b11
fix: switch from purerpc to grpcio for LND Wallet
purerpc is unmaintained and had some old dependencies.
2021-11-07 17:24:22 +01:00
Stefan Stammberger
54f4dfd838
fix: paid_invoices_stream for C-Lightning wallet 2021-11-04 19:49:48 +01:00
Tiago vasconcelos
1718e3d804 fix satsdice update 2021-11-04 16:41:23 +00:00
benarc
114a6f1fed Made memo optional in model 2021-11-04 12:57:28 +00:00
benarc
730c0e0b3d patched bug 2021-11-04 12:46:22 +00:00
benarc
9b1cadaffc Cleaned up lnurl-withdraw 2021-11-04 12:41:31 +00:00
benarc
1ac84f1445 fixed satdice 2021-11-04 11:11:56 +00:00
benarc
2eed8b620c removed header 2021-11-03 22:55:44 +00:00
benarc
a4ca6910fa tidied spark 2021-11-03 22:35:01 +00:00
benarc
7af0b786d1 cln sse should be working 2021-11-03 19:15:02 +00:00
benarc
92ea0635d7 another cln rpc sse try 2021-11-03 16:14:47 +00:00
benarc
a486cbe278 broken cln sse rpc 2021-11-03 16:07:04 +00:00
benarc
13bec714d5 lighningd payment stream not working 2021-11-03 15:24:24 +00:00
benarc
c1d6d3eee6 lnurlpos working 2021-11-03 14:41:36 +00:00
benarc
e62f2e2c34 added request to lnurlpos callback 2021-11-03 12:44:32 +00:00
benarc
980a878537 added manual payment check for offline shop 2021-11-03 12:33:29 +00:00
benarc
43e016633b fixed unit check 2021-11-03 12:09:39 +00:00
benarc
3750dcfd0e fixed descrhash check 2021-11-03 12:03:48 +00:00
benarc
afbe46be8b reverted memo default 2021-11-03 11:49:13 +00:00
benarc
0c0e6e9275 chnaged memo back from optional 2021-11-03 11:23:16 +00:00
benarc
4fe45b34d1 added default memo value 2021-11-03 11:19:51 +00:00
benarc
3336767057 made default meme 2021-11-03 11:14:41 +00:00
benarc
97e4ced2f4 fixed bug 2021-11-03 11:07:01 +00:00
benarc
1e92b863d4 Merge remote-tracking branch 'arcbtc/FastAPI' into FastAPI 2021-11-03 11:02:48 +00:00
benarc
52455e14cd tweaked create_invoice 2021-11-03 11:02:33 +00:00
Tiago vasconcelos
730f673e34 Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-11-03 10:30:48 +00:00
Tiago vasconcelos
d4d3ef2594 lndhub model required fields 2021-11-03 10:30:43 +00:00
benarc
abff990ec3 Changed lnbits wallet check to detail from message 2021-11-03 10:29:39 +00:00
benarc
c734526bc1 reverted exception 2021-11-03 10:12:14 +00:00
benarc
573ad3fb73 Added a try to fix lnbits funding source errors 2021-11-03 10:02:21 +00:00
benarc
00ec6f2af3 added NOT_FOUND to check payment endpoint, rather than OK 2021-11-03 09:49:52 +00:00
benarc
9630d8b363 restored create invoice api endpoint 2021-11-02 16:29:15 +00:00
Tiago vasconcelos
aff29663af lnaddress_ext proposal untested 2021-10-29 16:43:26 +01:00