Commit Graph

1746 Commits

Author SHA1 Message Date
benarc
50fcb15725 typo 2022-02-03 13:00:56 +00:00
benarc
8db19f33e3 Removed key for password that generates a key 2022-02-03 12:52:51 +00:00
benarc
75e78d2ab6 FakeWallet own denomination now working 2022-02-02 17:28:00 +00:00
benarc
568a1be91f Adding denomination for alternative currencies 2022-02-02 13:07:12 +00:00
Ben Arc
b10a23dcc4 FakeWallet invoices to correct amount 2022-02-01 23:16:38 +00:00
Ben Arc
dab943baad fixed internal lnurl 2022-02-01 23:11:26 +00:00
Ben Arc
db734d4acd added hex 2022-02-01 23:04:40 +00:00
Ben Arc
0415f3d7cc Removed hex 2022-02-01 21:32:54 +00:00
Ben Arc
3927545e32 fixed buggy lnurl checks 2022-02-01 21:22:20 +00:00
Ben Arc
3f0a855526 Black 2022-02-01 20:51:40 +00:00
Ben Arc
615abffeb4 Replaced rustys hashed for hash 2022-02-01 20:22:02 +00:00
Ben Arc
31e300e05b hex description_hash in fakewallet 2022-02-01 20:17:42 +00:00
Ben Arc
d2879aa80c added value to avoid error 2022-02-01 20:05:58 +00:00
Ben Arc
d1b390b929 Use scope instead of prop 2022-02-01 20:02:21 +00:00
Ben Arc
3ae6ef25a1 trypo 2022-01-31 16:52:35 +00:00
Ben Arc
382622d5ac Fixed balance update not showing properly 2022-01-31 16:47:58 +00:00
Ben Arc
0680669e59 Fixed fake invoices registering as paid 2022-01-31 16:35:46 +00:00
Ben Arc
dbab181759 Admin users can credit accounts 2022-01-31 16:29:42 +00:00
Ben Arc
649776951c Works 2022-01-31 11:58:39 +00:00
Ben Arc
7c3b3ac200 Fake wallet working 2022-01-31 11:07:29 +00:00
Ben Arc
a147a07bab works 2022-01-31 00:12:59 +00:00
benarc
228717195b back 2022-01-30 19:43:30 +00:00
benarc
d6f145eee9 Merge branch 'main' into fake-wallet 2022-01-30 10:48:20 +00:00
benarc
47300e477e Added try to lnurlpos to lnurldevice transfer to avoid crashing if lnurlpos does not exist 2022-01-30 10:44:20 +00:00
benarc
c96e7068e5 initi 2022-01-30 10:41:20 +00:00
calle
b4d00a490b
remove restriction for positive amount to check outgoing payments (#500) 2022-01-27 22:58:35 +01:00
pseudozach
b00a39a7ce fix livestream startup issue 2022-01-24 15:58:51 -08:00
Bitkarrot
b4dc07170f
fix curl example paths 2022-01-24 14:51:39 -08:00
benarc
57eb27fcee Swaps lnurlpos for lnurldevice 2022-01-21 21:23:32 +00:00
Tiago vasconcelos
09bfa35cd5 avoid voidwallet crash 2022-01-17 15:52:19 -03:00
Tiago Vasconcelos
918e9be7ed
Upgrade conversion endpoint (#491) 2022-01-14 09:19:30 -03:00
benarc
4e0e5b9956 Added conversion endpoint
Exposes fiat_amount_as_satoshis
2022-01-11 15:11:48 +00:00
Tiago vasconcelos
25b502e5d5 fix copilot not getting created 2022-01-10 20:52:51 -03:00
Tiago vasconcelos
a00e46f629 Change _asdict() to dict() 2022-01-05 07:36:10 -03:00
Daniel Krahofer
aba206c87e
Extension Subdomains: Update crud.py, critical sql error (#481) 2022-01-04 09:56:14 -03:00
Arc
db666fd103
Merge pull request #475 from talvasconcelos/fix/chargepermission
fix wallet key permission for create
2021-12-31 15:43:10 +00:00
Arc
57a2dffe52
Merge pull request #476 from mrbitcoiner/main
2% reserve only for external payments
2021-12-30 17:11:37 +00:00
Arc
d5617b9462
Merge pull request #480 from talvasconcelos/issue/452
fix issue #452
2021-12-30 17:10:10 +00:00
Arc
79ab444f59
Merge pull request #479 from talvasconcelos/issue/472
fix issue #472
2021-12-30 17:09:39 +00:00
Arc
480546ded7
Merge pull request #478 from talvasconcelos/fix/CORS_origins
allow all origins to request from lnbits
2021-12-30 17:09:24 +00:00
Tiago vasconcelos
17b13bb652 fix issue #452 2021-12-30 16:39:24 +00:00
Tiago vasconcelos
6ba88d262b fix issue #472 2021-12-30 16:21:44 +00:00
Tiago vasconcelos
f76ef6b975 allow all origins to request from lnbits 2021-12-30 16:09:12 +00:00
Tiago vasconcelos
12bd930334 fix return for compatibility 2021-12-30 12:13:32 +00:00
Tiago vasconcelos
b9104bf63b get only one address instead of multiple 2021-12-30 11:56:19 +00:00
Tiago vasconcelos
e3c6d7aebe fix :// in bitcoin 2021-12-29 15:19:09 +00:00
Tiago vasconcelos
87105b22bb fix lightning://
fix lightning://
2021-12-29 15:15:49 +00:00
mrbitcoiner
cdeccec01b 2% reserve only for external payments 2021-12-29 11:55:52 -03:00
Tiago vasconcelos
2991cbce1f add listener to invoice 2021-12-29 12:57:43 +00:00
Tiago vasconcelos
df2345bda9 added require_invoice_key
clean up
2021-12-28 15:22:45 +00:00
Tiago vasconcelos
0ef0188462 index 2021-12-28 15:16:45 +00:00
Tiago vasconcelos
e42fdde2ac fix wallet key permission for create 2021-12-28 14:47:44 +00:00
calle
32ea1106f9
Crud webhook amount (#474)
* get_standalone_payment selects only incoming tx
2021-12-28 14:05:25 +00:00
fiatjaf
93e58f4c80 lnurlpos: fix query param variable is called "p", not "payload". 2021-12-22 21:55:33 -03:00
fiatjaf
6b5aaa442d lnurlpos: return lnurl error on xor_decrypt failure. 2021-12-22 21:03:56 -03:00
benarc
40aadbfec7 amount to amount_in_cent 2021-12-22 19:47:29 +00:00
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