Arc
b708950b93
Revert "LNURLp: check description hash"
2022-07-25 15:32:59 +01:00
Arc
1da7c9b349
Merge pull request #758 from lnbits/lnurl/check_description_hash
...
LNURLp: check description hash
2022-07-25 15:19:20 +01:00
Tiago Vasconcelos
ed2c5cc586
Fix/lnurl auth ( #757 )
...
* remove g() and add wallet
* wallet type
* add wallet object
* send wallet as param
* make lnurlauth work
* remove g() and add wallet
* wallet type
* add wallet object
* send wallet as param
* make lnurlauth work
* black'ed
* blacked
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-07-19 11:35:28 +02:00
callebtc
694124b5d6
require admin
2022-07-19 11:27:32 +02:00
callebtc
b2a0faf9de
error check for pr
2022-07-19 11:21:54 +02:00
callebtc
8d52b1b359
check description hash
2022-07-19 11:15:11 +02:00
calle
f4580955b9
loguru warnings ( #751 )
2022-07-17 22:25:37 +02:00
calle
6646fce549
Core: add internal flag for invoice creation to use FakeWallet ( #646 )
...
* add internal flag for invoice creation to use FakeWallet
2022-07-17 14:34:25 +02:00
calle
f4e7d62ca3
make format
everything (#743 )
2022-07-16 14:23:03 +02:00
calle
63d4e60542
Testing: postgres db backend ( #711 )
...
* try postgres run
* fix yaml
* test with postgres
* check with postgres
* inkey_from
* remove trio
* add coverage
* add coverage
* more python testing
* use @pytest_asyncio.fixture
* remove unused imports
* fix api_payment payment lookup
* measure durations
2022-07-07 18:29:26 +02:00
calle
089313f613
Logging with loguru ( #708 )
...
* logging
* requirements
* add loguru dependency
* restore it
* add loguru
* set log level in .env file
* remove service fee print
* set log level
* more logging
* more logging
* more logging
* pyament.checking_id
* fix
2022-07-07 14:30:16 +02:00
Tiago vasconcelos
6154454f15
hotfix api_payments failing
2022-06-29 10:55:54 +01:00
calle
f6da260464
Automated tests ( #566 )
...
* return error for wrong key
* payment check use key dependency
* more expressive error
* re-add optional key
* more tests
* more
* more granular
* more testing
* custom event_loop
* tests work
* fix lots of mypy errors
* test_public_api
* both files
* remove unused import
* tests
* tests working
* rm empty file
* minimal test
* set FAKE_WALLET_SECRET="ToTheMoon1"
* set FAKE_WALLET_SECRET="ToTheMoon1"
* trial and error
* trial and error
* test postgres
* test postgres
* test postgres
* test postgres
* test postgres
* test postgres
* test build
* skip mypy
2022-06-27 00:11:46 +02:00
calle
2c68f53c91
/api/v1/payments with limit and offset ( #594 )
2022-06-26 19:05:34 +02:00
callebtc
f8400512f7
black formating
2022-06-01 14:53:05 +02:00
Arc
b4ad0e101d
Revert "Check invoice status outgoing"
2022-05-20 14:35:00 +01:00
Arc
2337471e45
Merge pull request #619 from lnbits/check_invoice_status_outgoing
...
Check invoice status outgoing
2022-05-17 14:17:41 +01:00
Tiago vasconcelos
caa23e6c9d
key issues fixed
2022-05-16 11:21:30 +01:00
callebtc
ebd6d6d58b
key check
2022-05-10 22:00:50 +02:00
calle
b1c75813a0
fix decodepay ( #568 )
2022-03-24 12:50:57 +01:00
Ben Arc
435b4056fd
fixed conversion api
2022-03-10 12:16:51 +00:00
Ben Arc
52ef2da76d
added wrong key type
2022-03-08 22:22:51 +00:00
Ben Arc
e4dd0972a5
Wrong key int being returned
2022-03-08 22:15:45 +00:00
Ben Arc
c708cb1e2b
Important fix to payment check
2022-03-07 18:27:03 +00:00
benarc
9bbf78e026
Assigned wallet var
2022-03-07 08:19:14 +00:00
benarc
d62ef0bb80
Added extra pay details
2022-03-07 08:08:08 +00:00
Arc
ef6d12fe10
Merge pull request #545 from talvasconcelos/fix/paymentsDecode
...
fix payments decode
2022-03-07 04:24:32 +00:00
Joseph Pentland
baf55afc28
api: Fix conversion from fiat to satoshis ( #516 )
...
Conversion to satoshis incorrectly used data.to as fiat currency rather
than data._from.
2022-03-01 23:11:39 +03:00
Tiago vasconcelos
eb7b369b6d
fix payments decode
2022-02-22 16:45:35 +00:00
callebtc
13a72d9a41
replace string with LNBITS_SITE_TITLE
2022-02-17 11:42:08 +01:00
callebtc
d559c604fa
invoice without memo
2022-02-17 09:29:10 +01:00
callebtc
9fb30080ab
black
2022-02-16 22:42:27 +01:00
callebtc
30ab519c3a
amount is float and sats are int
2022-02-16 22:41:12 +01:00
callebtc
914b9f3ffe
allow amounts >0
2022-02-16 22:23:26 +01:00
Arc
155c32504a
Update api.py
2022-02-14 11:31:42 +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
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
382622d5ac
Fixed balance update not showing properly
2022-01-31 16:47:58 +00:00
Ben Arc
dbab181759
Admin users can credit accounts
2022-01-31 16:29:42 +00:00
benarc
228717195b
back
2022-01-30 19:43:30 +00: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
benarc
4408f30285
removed print
2021-12-19 23:13:15 +00:00
benarc
fa23be7657
Added check fixed LNURL decode
2021-12-03 00:17:32 +00:00
callebtc
12c2a04b2a
LNDRest fee limit
2021-11-29 18:10:11 +01:00
benarc
267dea4f75
black
2021-11-12 04:14:55 +00:00
Ben Arc
cbc24a8fa5
Changed optional unit to sat
2021-11-09 22:25:20 +00:00
Ben Arc
1b46b61da9
changed see endpoint key back
2021-11-09 20:50:00 +00:00