Commit Graph

73 Commits

Author SHA1 Message Date
Pavol Rusnak
a089188664
add pyright to the project (#1367)
* add pyright to project + bump prettier to latest

* reformat to match the latest prettier rules
2023-01-23 10:29:17 +01:00
Pavol Rusnak
20e6ca019e
replace lnbits-legend with lnbits in github links (#1366) 2023-01-14 12:26:17 +01:00
Vlad Stan
c370bd18c6 refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02:00
Vlad Stan
8cd6c7c9bc refactor: use relative imports for own module 2023-01-10 09:44:52 +02:00
Pavol Rusnak
191ad1e224
make payment.extra non-optional
this makes handling in tasks.py so much easier
2023-01-05 09:22:34 +01:00
calle
b622028f7d
Merge pull request #1271 from lnbits/fix/mypy/ignores
removing type: ignore from Query, Depends, Body and import them correctly
2023-01-04 09:19:06 +01:00
ben
e0f55d3e8c Tile size standard should be 128px 2023-01-03 20:05:44 +00:00
dni ⚡
b1d1cc6de3 removing type: ignore from Query, Depends, Body and import them correctly 2023-01-02 11:56:28 +01:00
ben
a8c4bea53d Updated extension card layout 2023-01-01 18:14:20 +00:00
ben
59a8ff9dce All extension icons swapped for logo tiles 2022-12-31 14:15:23 +00:00
ben
f5250e0584 initial
Added bunch tiles, more to add
2022-12-31 01:46:55 +00:00
Arc
efc156689f
Merge pull request #1253 from iWarpBTC/qr_inv_pref
QR invoices and lnurls got prefix and uppercased
2022-12-30 01:04:47 +00:00
ben
6e8abc1c32 Fixes all those ugly hyperlinks 2022-12-29 23:51:18 +00:00
Gene Takavic
71eebc1441 QR invoices and lnurls got prefix and uppercased 2022-12-28 23:42:36 +01:00
Black Coffee
20b06e4922 Corrected casing of LNbits (not LNBits) throughout repo 2022-11-30 14:14:31 +00:00
Tiago Vasconcelos
7d7a2b67ee fix raise error on delete request 2022-11-17 14:47:52 +02:00
dni ⚡
09871bbabc
fix mypy for extensions (#873)
* explicitly exclude all extensions from mypy

* fix example extension mypy

* fix subdomains extension mypy + 1 type error fixed

* fix mypy discordbot

* mypy check copilot extensnion

* copilot black

* add invoices ext to ignore

* add boltz and boltcard

* copilit id is necessary

* was discordbot is ok

Co-authored-by: dni <dni.khr@gmail.com>
2022-10-24 16:29:30 +02:00
calle
5a12f4f237
Improved SSE listeners (#865)
* logging listeners

* comments

* generate privkey upon init

* listener queue

* remove duplicate check

* make format

* reuse channel

* error handling in sse listener

* uuid for listeners

* register named invoices

* uuid for listeners and listener list

* fix poetry lock

* setuptools

* requirements asyncio timeout

* setuptool;s

* make format

* remove async-timeout

* async_timeout readd

* try lower setuptools version

* try lower lower setuptools version

* back to current version + fix, maybe

* fix worflows to use poetry 1.2.1

* remove uneeded setuptools from build-system

* fix up formatting workflow

* debug to trace

* more traces

* debug logs to trace

Co-authored-by: dni  <office@dnilabs.com>
2022-10-04 09:51:47 +02:00
dni ⚡
e2c9673517
subdomains docs fix: #900 (#904)
fix subdomain link to docs: also mentioned in #900
2022-08-18 10:17:32 +02:00
calle
4fc0a25d41
Mega-merge 4: Reenable LndWallet gRPC and use TrackPaymentV2 (#745)
* readd lndgrpc

* debug logging

* Use TrackPaymentV2

* /v2/router/track

* lnd_router_grpc

* flag for blocking check

* error handling

* fix name

* regtest lndgrpc

* new test pipeline

* fix env

* check for description hash

* remove unnecessary asserts for clarity

* assume that description_hash is a hash already

* no lock

* description hashing in backend

* restore bolt11.py

* /api/v1/payments with hex of description

* comment

* refactor wallets

* forgot eclair

* fix lnpay

* bytes directly

* make format

* mypy check

* make format

* remove old code

* WIP status check

* LND GRPC docs

* restore cln to main

* fix regtest

* import

* remove unused import

* format

* do not expect ok

* check ok

* delete comments
2022-08-09 11:49:39 +02:00
ben
3a28ff1020 added swagger to extensions 2022-07-27 19:21:04 +01:00
calle
f4e7d62ca3
make format everything (#743) 2022-07-16 14:23:03 +02:00
Tiago Vasconcelos
348033da1b
python code styling (#739) 2022-07-15 19:11:11 +02:00
Daniel Krahofer
aba206c87e
Extension Subdomains: Update crud.py, critical sql error (#481) 2022-01-04 09:56:14 -03:00
Tiago vasconcelos
cfac70d394 general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
benarc
267dea4f75 black 2021-11-12 04:14:55 +00:00
Tiago vasconcelos
68dd95dc59 fix awaits 2021-11-08 12:28:11 +00:00
Tiago vasconcelos
df0b38f346 Merge branch 'FastAPI' of https://github.com/arcbtc/lnbits into FastAPI 2021-11-08 12:17:40 +00:00
Tiago vasconcelos
20329c9778 fix not fetching domains 2021-10-27 22:17:27 +01:00
Tiago vasconcelos
cf44dc0841 subdomains untested convert 2021-10-27 22:09:55 +01:00
Tiago vasconcelos
6edac8ae8d remove extensions 2021-10-01 10:49:11 +01:00
Tiago vasconcelos
3e0fd39175 some syntax refactoring 2021-08-22 12:16:31 +01:00
Stefan Stammberger
d20c3ce119
fix: syntax errors 2021-08-21 12:14:23 +02:00
Ben Arc
bbdb96f4ac Converted views 2021-08-21 01:55:07 +01:00
Ben Arc
a9dc087f61 All extensions semi-switched 2021-08-21 00:34:48 +01:00
Ben Arc
8dea1e28f0 Added pydantic to models 2021-08-20 14:46:08 +01:00
Ben Arc
fe123d6d31 Put extensions back so we can start converting 2021-08-20 12:44:03 +01:00
Ben Arc
9c313586bd removed all but one extension, so we can focus on core 2021-08-16 18:12:48 +01:00
Ben Arc
aa1c83cdc4 added dynamic titles for continuity 2021-07-25 14:26:20 +01:00
Ben Arc
0c44c0c048 Black 2021-07-03 16:08:18 +01:00
fiatjaf
2f309c9863 postgres support. 2021-07-02 17:34:31 -03:00
Ben Arc
e8c2a5f968 Added subdomain readme link 2021-07-01 00:20:41 +01:00
Ben Arc
b0c0b9f851 Changed primary/secondary colours to branded 2021-06-29 02:10:30 +01:00
fiatjaf
688149fade add trio typing. 2021-06-20 21:17:32 -03:00
Tiago Vasconcelos
2e8145faac
Documentation Updates (#202)
Updates for user manager and subdomains extensions

Co-authored-by: Tiago Vasconcelos <tvasconcelos@gmail.com>
2021-06-09 12:07:42 -03:00
fiatjaf
9ba5342f3c subdomain: guard allowed_record_types type. 2021-05-15 11:06:35 -03:00
fiatjaf
e38b945d5c fix some of mypy complaints. 2021-04-10 18:06:41 -03:00
fiatjaf
fdf4f6c1ae catch errors in multiple places that might be destroying the async flow and causing lnbits to die silently. 2021-04-10 17:37:48 -03:00
fiatjaf
42bd5ea989 remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
Kristjan
2a25932a85 refactored docs 2021-01-03 16:37:13 +01:00