Commit Graph

2844 Commits

Author SHA1 Message Date
dni
66477bc392 enable mypy checks 2022-07-25 12:05:16 +02:00
Daniel Krahofer
b865fad95e Update tests/core/views/test_api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-25 12:05:16 +02:00
Daniel Krahofer
e939b9a5aa Update tests/core/views/test_api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-25 12:05:16 +02:00
dni
a3e4f175dd add missing Pipfile.lock 2022-07-25 12:05:10 +02:00
dni
4dfa0873e5 fix isort check 2022-07-25 12:03:06 +02:00
dni
0e393111de fix up decorators for tests 2022-07-25 12:03:06 +02:00
dni
463fbb39bd make test run again, introduce mypy again 2022-07-25 12:03:06 +02:00
dni
88ee5fd6cc fixup requirements.txt and ad to Pipfile 2022-07-25 12:03:06 +02:00
dni
a0707f8a32 types-mock==4.0.15 to requirements, needed for mypy tests 2022-07-25 12:03:06 +02:00
dni
b9373f7283 add tests for api_payment 2022-07-25 12:03:06 +02:00
dni
a80fd5de7a black formating 2022-07-25 12:03:06 +02:00
dni
9a17e4896b fix last views api bug, thanks calle 2022-07-25 12:03:06 +02:00
dni
7f2c25336c ignore eclair websockets type 2022-07-25 12:03:06 +02:00
dni
f677777f07 fully fix decorators, thanks calle 2022-07-25 12:03:06 +02:00
dni
25d19244be mypy fixes, api, eclair 2022-07-25 12:03:06 +02:00
dni
704b572349 fix PaymentKwargs class for mypy 2022-07-25 12:03:06 +02:00
dni
56560fca02 mypy fixes for generic.py, decurators.py, eclair.py 2022-07-25 12:03:06 +02:00
dni
7ad9ad799e assert Optional[str] 2022-07-25 12:03:06 +02:00
dni
8e9b3190e4 mypy fakewallet, macaroon, bolt11 invoice 2022-07-25 12:03:06 +02:00
dni
808bd36e23 some more mypy fixes 2022-07-25 12:02:59 +02:00
dni
895770e26a remove commented out and unused code in app object, it is now used in lnbits/__main__.py directly, fixes mypy error 2022-07-25 12:00:22 +02:00
dni
2891a421f1 fix up mypy.ini, and properly ignore grpc and extension 2022-07-25 12:00:22 +02:00
ben
5f3183c54c Merge branch 'main' into matthewcroughan/nixify 2022-07-25 10:34:29 +01:00
Tiago Vasconcelos
7fbea79e62
Add voucher design (#704)
* allow for custom print of vouchers

* lnbits defaul voucher

* reduce png size

* add template for custom design

* rename lnbits voucher

* send voucher amount to UI

* add some tweaks for default voucher

* added bonus in readme

* blacked

* make default string as constant
2022-07-25 11:22:21 +02:00
Tiago Vasconcelos
ff5b1189b5
Fix/tpos tips #697 (#713)
* small fastapi convertion

* make tip add up to invoice

* make tip add to invoice

* display existing tpos

* clean console logs

* suggestion from @leesalminen

* blacked
2022-07-25 11:19:03 +02:00
calle
4bb184e08b
CI: DB migration with real data (#776)
* fix migration conv.py

* migrate with mock data
2022-07-25 09:13:41 +02:00
callebtc
4e57b75fa1 Merge branch 'fix/migration_columns' 2022-07-25 07:32:17 +02:00
callebtc
20817df4de Merge branch 'main' of github.com:lnbits/lnbits-legend 2022-07-25 07:32:08 +02:00
dni ⚡
4b5e113c03
Regtest update (#775)
* preparation pr for regtest update

* remove FIXMEs

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-25 07:31:15 +02:00
callebtc
b17aed2d37 funzt 2022-07-24 22:13:05 +02:00
callebtc
d93bd4bec1 print number of rows 2022-07-24 22:10:46 +02:00
callebtc
dd7f622a67 db file 2022-07-24 22:07:19 +02:00
callebtc
923fad7382 migrate with mock data 2022-07-24 22:01:51 +02:00
callebtc
52c889f1d8 Merge branch 'main' of github.com:lnbits/lnbits-legend 2022-07-24 01:12:56 +02:00
ben
244d6f23bf Merge branch 'main' into matthewcroughan/nixify 2022-07-23 20:09:24 +01:00
ben
0e8da3c368 Fixed path for extension templates 2022-07-23 20:08:59 +01:00
calle
32a8736f32
CI: Test core/views/generic.py enabling and disabling extensions (#774) 2022-07-23 11:58:29 +02:00
callebtc
70d270bd69 Merge branch 'main' of github.com:lnbits/lnbits-legend 2022-07-23 11:26:48 +02:00
calle
bf2a3e9df2
fix tip link (#773) 2022-07-23 11:01:23 +02:00
callebtc
3b172630e3 fix tip link 2022-07-23 11:00:33 +02:00
blackcoffeexbt
c0c26fb98e
Extension list UI improvements (#769)
* Extensions list is now sorted alphabetically

* Added extension list search

* Prettified changes

* Removed console.log

* Code improvements based on motorina0 feedback

* Remove console.log from lnbits/templates/base.html

Run prettier
2022-07-23 10:46:30 +02:00
calle
96af5fc3a7
CI: Test core/views/generic.py (#772)
* Adds tests for GET /wallet

* Update `httpx` to `0.23.0` and `http-core` to `0.15.0` in `venv` installation path

* Fix `secp256k1 = "==0.14.0"` and `cffi = "==1.15.0"`
2022-07-23 10:39:58 +02:00
calle
fd0d6bffce
Update FUNDING.yml (#770) 2022-07-22 12:23:27 +02:00
Arc
14344c2f03
Update FUNDING.yml 2022-07-22 11:23:16 +01:00
calle
e4df8c52e2
add mkcert instructions (#768) 2022-07-21 14:01:16 +02:00
calle
4feb45d745
LNURLp: NFC UI improvement (#767) 2022-07-21 13:39:21 +02:00
calle
76a5196dbf
LNURLp: Write NFC tags with LNURL-pay links (#766)
* NFC for LNURL-pay

* notification ui improvements
2022-07-21 12:38:30 +02:00
dni
5aa30c843c added FIXME tags and fix WalletTypeInfo 2022-07-20 13:41:13 +02:00
dni
76fdce4328 enable mypy checks 2022-07-20 13:23:50 +02:00
dni
7f960d8802 Merge branch 'fix/mypy' of github.com:dni/lnbits-legend into fix/mypy 2022-07-20 13:23:14 +02:00