ben
618717b529
Merge branch 'main' into qrcodemaker
2022-07-28 12:40:25 +01:00
ben
4199f1bf98
Make format
2022-07-28 11:02:49 +01:00
calle
730add5116
Core/tag check get ( #797 )
...
* safer tag checking
* annotate
2022-07-28 11:53:40 +02:00
ben
4c8641fe00
Merge remote-tracking branch 'origin/main' into qrcodemaker
2022-07-28 10:48:12 +01:00
dni
c72834e47e
revert attribute check
2022-07-27 09:50:16 +02:00
dni
7da496dbb4
remove asserts and add ignore instead for now
2022-07-27 09:39:52 +02:00
dni
347baa076a
Merge branch 'main' into fix/mypy
2022-07-26 13:00:06 +02:00
dni
36cb1eb47b
fix int type by changing the order
2022-07-26 12:46:43 +02:00
dni
00dba54ac8
remove FIXME add couple of ignores
2022-07-26 12:21:21 +02:00
dni
e4078910c4
fix another fastapi type
2022-07-26 09:38:31 +02:00
dni ⚡
5810a4993b
Update lnbits/core/views/api.py
...
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-07-26 09:08:16 +02:00
Arc
2d46eda5f5
Revert "Revert "LNURLp: check description hash""
2022-07-25 15:54:49 +01:00
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
dni
5779243d3e
blacked
2022-07-25 13:30:45 +02:00
dni
3d1abfa35a
last mypy fails
2022-07-25 13:27:31 +02:00
dni
0bf4457c2f
fixup types
2022-07-25 13:19:35 +02:00
dni
a7c10dde4a
fixup types
2022-07-25 13:13:50 +02:00
dni
9cecd42467
ignore Body type
2022-07-25 12:09:29 +02:00
dni
df00a018f0
added FIXME tags and fix WalletTypeInfo
2022-07-25 12:05:16 +02:00
dni
4dfa0873e5
fix isort check
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
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
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
808bd36e23
some more mypy fixes
2022-07-25 12:02:59 +02:00
calle
32a8736f32
CI: Test core/views/generic.py
enabling and disabling extensions ( #774 )
2022-07-23 11:58:29 +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
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
Lee Salminen
94e4495026
run prettier
2022-07-05 16:16:46 -06:00
Lee Salminen
aa51d85d65
Merge branch 'main' into improved-pwa
2022-07-05 15:10:57 -06:00
Lee Salminen
ebeb3d213b
alter injection of tpos to match
2022-07-05 15:09:04 -06:00
Lee Salminen
2cb87d96f2
better way of handling injection of webmanifests
2022-07-05 15:05:31 -06:00
calle
92887ed169
Format: prettier ( #707 )
...
* format: prettier
* gh-actions: add prettier checkg
* actions
2022-07-05 21:14:56 +02:00
Lee Salminen
56c60587a1
fix prettier
2022-07-05 09:14:24 -06:00
Lee Salminen
52b8506d0a
reduce noise
2022-07-04 16:10:31 -06:00
Lee Salminen
d88ffeb237
segregate cache by api key header
2022-07-04 12:32:28 -06:00
Lee Salminen
d0ba5c6f30
Improved support for Progressive Web Apps (PWA)
...
- modify webmanifest to use LNBITS_SITE_TITLE and LNBITS_CUSTOM_LOGO env vars
- modify webmanifest to have a more accurate description, start_url and set theme_color to match default lnbits theme
- add service worker to cache requests (chrome requires a registered service worker to activate some pwa functionality)
- move webmanifest to <head> (chrome acts weird with it in the body)
2022-07-04 11:01:08 -06:00