Commit Graph
3151 Commits
Author SHA1 Message Date
ArcandGitHub 14344c2f03 Update FUNDING.yml 2022-07-22 11:23:16 +01:00
calleandGitHub e4df8c52e2 add mkcert instructions (#768) 2022-07-21 14:01:16 +02:00
calleandGitHub 4feb45d745 LNURLp: NFC UI improvement (#767) 2022-07-21 13:39:21 +02:00
calleandGitHub 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
dni 04df2129b0 add missing Pipfile.lock 2022-07-20 13:21:42 +02:00
613c5b4667 Update tests/core/views/test_api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-20 13:15:18 +02:00
0784ae02b1 Update tests/core/views/test_api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-20 13:15:06 +02:00
dni f4e3a3980e fix isort check 2022-07-20 13:12:55 +02:00
dni 06b1f71d39 fix up decorators for tests 2022-07-20 12:21:39 +02:00
dni 2e0276bc60 make test run again, introduce mypy again 2022-07-20 12:17:34 +02:00
dni c186e53cef fixup requirements.txt and ad to Pipfile 2022-07-20 12:05:35 +02:00
dni 5f6dc757dc types-mock==4.0.15 to requirements, needed for mypy tests 2022-07-20 12:00:53 +02:00
dni 627959e30b add tests for api_payment 2022-07-20 11:52:49 +02:00
dni 64502c355e black formating 2022-07-20 11:33:37 +02:00
dni 56b4b0cf43 fix last views api bug, thanks calle 2022-07-20 11:21:38 +02:00
dni 8dbf64a0d0 ignore eclair websockets type 2022-07-20 10:34:01 +02:00
dni e96944a4fa fully fix decorators, thanks calle 2022-07-20 10:24:40 +02:00
dni 68a195952a mypy fixes, api, eclair 2022-07-20 10:05:30 +02:00
dni e1d1ce7edc fix PaymentKwargs class for mypy 2022-07-20 09:52:25 +02:00
dni 045212a070 mypy fixes for generic.py, decurators.py, eclair.py 2022-07-20 09:36:13 +02:00
dni 886c74f205 assert Optional[str] 2022-07-20 08:43:10 +02:00
dni 91c5a68ccc mypy fakewallet, macaroon, bolt11 invoice 2022-07-19 19:20:20 +02:00
dni 8901ff8084 some more mypy fixes 2022-07-19 18:51:35 +02:00
calleandGitHub 45c356cf6c change prefix to lightning: until wallets fix their bugs (#762) 2022-07-19 17:35:00 +02:00
calleandGitHub 0f73501a88 LNURLw: NFC fix uri prefix (#761)
* fix uri prefix

* prettier
2022-07-19 17:20:50 +02:00
dni 45a13fd807 remove commented out and unused code in app object, it is now used in lnbits/__main__.py directly, fixes mypy error 2022-07-19 13:39:17 +02:00
dni 83a000d7c9 fix up mypy.ini, and properly ignore grpc and extension 2022-07-19 13:06:19 +02:00
calleandGitHub b8c99a15d1 do not mark payments as failed (#750) 2022-07-19 12:33:28 +02:00
blackcoffeexbtandGitHub fe2cbe8774 Jukebox improvements (#759)
* Improved styling of Spotify redirect URI clipboard copy text

* Jukebox extension - Moved links to Spotify into buttons to make set up steps more obvious

* Jukebox extension - Tweaks to titles of set up steps to clarify

* Prettified jukebox template
2022-07-19 12:28:49 +02:00
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
Lee SalminenandGitHub b6d01792e2 Add NFC Writing support to LNURLw extension (#725) 2022-07-18 16:56:15 +02:00
calleandGitHub f4580955b9 loguru warnings (#751) 2022-07-17 22:25:37 +02:00
c8ab2859fd Splitpayments: floating point percentage for split value (#690)
* allow for float in model

* recreate DB with float type

* remove rounding in UI

* black

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-07-17 20:00:06 +02:00
Tiago VasconcelosandGitHub 2b827d37fa return lnurl in create link (#685) 2022-07-17 14:39:02 +02:00
Lee SalminenandGitHub 8079325ec9 fix /usermanager/api/v1/extensions (#730)
Requests to `POST /usermanager/api/v1/extensions` would silently fail due to a missing `await`.
2022-07-17 14:38:00 +02:00
calleandGitHub 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
calleandGitHub d4c30a1091 remove old files (#748) 2022-07-17 14:04:59 +02:00
calleandGitHub 2febb364ca lnurldevice migration: typo fix (#746)
* typo fix

* fix table name

* revert typo
2022-07-17 13:22:23 +02:00
calleandGitHub ad2aad05e0 CI: Migration SQLite to PostgreSQL (#719)
* migrate all extensions
* errors if migration is missing
2022-07-17 13:11:13 +02:00
calleandGitHub f4e7d62ca3 make format everything (#743) 2022-07-16 14:23:03 +02:00
calleandGitHub 69516bb751 regtest on push (#742) 2022-07-16 14:17:45 +02:00
calleandGitHub 99b6b9d71c CI: regtest with LndRestWallet and CLightningWallet (#738)
* add regtest
* test LndRestWallet
* test CLightningWallet
2022-07-16 14:10:43 +02:00
6a3a72b944 Uvicorn loguru format (#741)
* use loguru formatting for uvicorn logs

* remove depth from logging interceptor

* format for uvicorn

* black

* isort

* black again

* python3-dev

* python3-dev

* leaner pipeline

Co-authored-by: dni <dni.khr@gmail.com>
2022-07-15 19:54:12 +02:00
Tiago VasconcelosandGitHub 348033da1b python code styling (#739) 2022-07-15 19:11:11 +02:00