dni
7da496dbb4
remove asserts and add ignore instead for now
2022-07-27 09:39:52 +02:00
dni
e4078910c4
fix another fastapi type
2022-07-26 09:38:31 +02: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
a80fd5de7a
black formating
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
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
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
f4e7d62ca3
make format
everything (#743 )
2022-07-16 14:23:03 +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
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
Lee Salminen
56c60587a1
fix prettier
2022-07-05 09:14:24 -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
callebtc
f8400512f7
black formating
2022-06-01 14:53:05 +02:00
Tiago vasconcelos
251ecb8f1d
url_for params
2022-02-17 21:01:14 +00:00
Arc
da6a2e772b
Revert "fix disapearing admin extension"
2022-02-10 09:56:02 +00:00
Tiago vasconcelos
4c18eb0b34
fix disapearing admin extension
2022-02-09 10:57:24 +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
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
Tiago vasconcelos
55023fa85b
fix delete wallet
2021-10-25 19:26:21 +01:00
benarc
1d3bb016a2
I want them to turn black
2021-10-17 18:33:29 +01:00
Stefan Stammberger
3bae5c92c2
fix: /extensions endpoint
2021-09-11 20:44:22 +02:00
Stefan Stammberger
63d0242685
fix: more return types
2021-09-11 11:02:48 +02:00
Stefan Stammberger
d9849d43d2
refactor: replace Trio with asyncio/uvloop
2021-08-30 19:55:02 +02:00
Stefan Stammberger
fe79709698
fix: several more API calls restored
2021-08-29 19:38:42 +02:00
Stefan Stammberger
3e5af8c1d1
refactor: purge Quart from the codebase
...
Most functionality is still broken
2021-08-27 20:54:42 +02:00
Stefan Stammberger
f119053953
fix: main page and creating a user and a wallet
...
The wallet page will still not renders correctly, but the backend does
create the user his first wallet.
2021-08-24 21:23:18 +02:00
Stefan Stammberger
6f38fdc39b
feat: move all non-api routes to their own router
...
This unclutters the docs page a bit by making html routes collapsible.
2021-08-23 21:17:46 +02:00
Ben Arc
e03eb3c82b
Fixed formatting
2021-08-22 23:05:39 +01:00
Stefan Stammberger
938fc54af3
feat: switch from Quart to FastAPI part I
2021-08-22 20:07:24 +02:00
Ben Arc
2fb16d0382
Trying to add query params
2021-08-21 19:04:10 +01:00
Ben Arc
bbdb96f4ac
Converted views
2021-08-21 01:55:07 +01:00
Ben Arc
c4b37c6508
Converted some core stuff
2021-08-20 21:31:01 +01:00
fiatjaf
2f309c9863
postgres support.
2021-07-02 17:34:31 -03:00
oriolpont
37d9e30362
Change minWithdrawable from 1 msat to 1000 msats for the lnurl_full_withdraw
...
1 msat is fractional and thus unacceptable anyway. Also, when withdrawing from lnbits itself, this interferes with the input form to expect fractional 1.001 steps
2021-06-12 12:32:40 -03:00
fiatjaf
b06e1c8fa9
try-catch in pay_invoice on global lnurl-withdraw.
2021-06-01 13:28:05 -03:00
fiatjaf
2b21a4f479
g.nursery -> current_app.nursery
2021-05-06 12:41:44 -03:00
fiatjaf
cbeb888761
fix lnurlwallet flow.
2021-04-17 23:44:26 -03:00
fiatjaf
efd9c6917f
lnurl balanceCheck and balanceNotify.
2021-04-17 23:21:19 -03:00
fiatjaf
0f998419e7
basic webmanifest thing, must be improved.
2021-04-13 11:50:30 -03:00
fiatjaf
85011d23c3
fix sqlite database locked issues by using an async lock on the database and requiring explicit transaction control (or each command will be its own transaction).
2021-03-26 19:10:30 -03:00
fiatjaf
42bd5ea989
remove exception to black line-length and reformat.
2021-03-24 00:40:32 -03:00
fiatjaf
d3fc52cd49
migrate to sqlalchemy-aio.
...
a big refactor that:
- fixes some issues that might have happened (or not) with asynchronous
reactions to payments;
- paves the way to https://github.com/lnbits/lnbits/issues/121 ;
- uses more async/await notation which just looks nice; and
- makes it simple(r?) for one extension to modify stuff from other extensions.
2020-11-21 23:02:14 -03:00
fiatjaf
95e8573ff8
SSE endpoint for paid invoices.
...
also move very essential stuff from core/tasks.py to tasks.py so things
are more organized.
2020-10-06 00:40:18 -03:00
fiatjaf
5ead82f57c
fix /lnurlwallet again. db.commit() and wait 3 seconds.
...
should finally fix https://github.com/lnbits/lnbits/issues/103
2020-10-05 20:33:01 -03:00