dni ⚡
255638a9ce
remove elif for vlad
2023-04-05 11:39:01 +02:00
dni ⚡
50149c360c
add assert
2023-04-05 11:38:07 +02:00
dni ⚡
6fae6dab92
remove *1000 for fake
2023-04-05 11:35:09 +02:00
dni ⚡
be5f909d1c
merge issue in lnd_rest
2023-04-04 08:00:43 +02:00
dni ⚡
2a1a0f3a2f
fix pyright issues
2023-04-04 07:49:13 +02:00
dni ⚡
5dbd9a9192
add some assert description
2023-04-04 07:35:20 +02:00
dni ⚡
1f6a961840
fix cln mypy
2023-04-04 07:35:20 +02:00
callebtc
9b7bda4e4e
finish services.py
2023-04-04 07:35:20 +02:00
callebtc
a8103ba091
remove unnecessary checking_id from fakewallet
2023-04-04 07:35:20 +02:00
callebtc
234b508368
shorten and ignore cln.py
2023-04-04 07:35:19 +02:00
callebtc
f766f9b2c3
comment
2023-04-04 07:35:05 +02:00
callebtc
370ec7e366
remove error fallback
2023-04-04 07:35:04 +02:00
dni ⚡
0822058661
fix newly introduced pyright issue from rebase
2023-04-04 07:35:04 +02:00
dni ⚡
7be46587db
do not ignore core and wallets for pyright, bug probably got introduced while rebasing...
2023-04-04 07:35:04 +02:00
dni ⚡
fa58a5fa4c
flake it
2023-04-04 07:35:04 +02:00
dni ⚡
486631b455
move middleware to middleware.py
2023-04-04 07:35:04 +02:00
dni ⚡
435743a265
add **kwargs to create_invoice functions
2023-04-04 07:34:51 +02:00
dni ⚡
72386033a9
formatting
2023-04-04 07:34:51 +02:00
dni ⚡
69c0cd0276
asserting broke payments
2023-04-04 07:34:51 +02:00
dni ⚡
abfee29676
uncomment webhook_listerner and add TODO
2023-04-04 07:34:50 +02:00
Pavol Rusnak
9c8a79eb9b
fix pyright lnbits/wallets
...
Co-authored-by: dni ⚡ <office@dnilabs.com>
2023-04-04 07:34:50 +02:00
Pavol Rusnak
0607cb1d6e
fix pyright lnbits/core
...
Co-authored-by: dni ⚡ <office@dnilabs.com>
2023-04-04 07:34:37 +02:00
Pavol Rusnak
02306148df
fix pyright lnbits
...
Co-authored-by: dni ⚡ <office@dnilabs.com>
2023-04-04 07:34:17 +02:00
Pavol Rusnak
3855cf47f3
Merge pull request #1607 from lnbits/f-strings
...
small followup to #1597
2023-04-03 17:59:50 +02:00
Pavol Rusnak
b2bc378a6f
small followup to #1597
2023-04-03 17:54:55 +02:00
dni ⚡
e59a218912
bugfix: 500 error if same wallet tries to pay an external invoice twice ( #1594 )
...
* bugfix: 500 error if same wallet tries to pay an external invoice twice
* fstring
* log the error
---------
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-04-03 15:34:55 +02:00
Pavol Rusnak
689c443d72
increase readability by using f-strings ( #1597 )
...
* increase readability by using f-strings
* readd merge conflict stuff
---------
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-04-03 15:34:17 +02:00
calle
58c3b05e29
fix internal payment check ( #1604 )
2023-04-03 15:15:34 +02:00
dni ⚡
8ce84ce592
FEAT: Filters for GET requests, add it to GET /payments ( #1557 )
...
* feat filters, add them to GET payments
* add limit and offset to filters (#1563 )
* add limit and offset to filters
* move filters example to parse_filters doc string
* black
* add openapi docs
* remove example commentC
* improve typing and make nested filter possible in openapi
* typo in fn name
* readd Type
---------
Co-authored-by: jackstar12 <62219658+jackstar12@users.noreply.github.com>
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-04-03 14:55:49 +02:00
dni ⚡
fe9e821af5
BUG: proper exception for already paid internal invoices ( #1593 )
...
* BUG: proper exception for paid interal invoices
* test should now fail, because we pay invoice twice, and should also work in regtest
* sorting
* unpack check_internal
* introduce another crud fn for checking internal paid payment
* rename
---------
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-04-03 14:44:17 +02:00
dni ⚡
a9bdf24425
FEAT: use versioning for frontend (npm) and copy it to lnbits/static/vendor for easier updating ( #1590 )
...
* remove static/vendor
* add node dependencies
* add bolt11-decoder
* run npm install inside dockerimage
* only use bundle.js and bundle.css
* use node_modules for bundling vendor assets
* remove dead code
* make argument optional
* reintroduce vendor dir
* reintroduce vendor and single javascript files, minification
* wrong moment, remove minification
* lock packages with non critical issues
* black
2023-03-31 12:46:24 +02:00
dni ⚡
43c9c9754b
FEAT: #1552 add copy payment_hash to payment details ( #1591 )
...
* add copy to payment details
* icon for calle
2023-03-30 14:30:50 +02:00
dni ⚡
9127ebc621
FIX: admin topup to use payment_hash ( #1588 )
...
* FIX: admin topup to use payment_hash
* flake8
2023-03-30 14:21:01 +02:00
dni ⚡
407a61cd29
add version to fastapi app and startup log ( #1568 )
...
* add version to fastapi app and startup log
* move version into settings
* remove unused dep
2023-03-30 14:19:45 +02:00
calle
994b203a8e
return fee in status ( #1598 )
2023-03-29 19:40:52 +02:00
Vlad Stan
239f166a14
fix: format relative path
2023-03-20 16:07:20 +02:00
Vlad Stan
e1e34def8c
fix: correct method names for Path
2023-03-20 16:07:20 +02:00
Pavol Rusnak
a805d2a0e8
refactor extension_manager to use pathlib.Path instead of os.path.join
2023-03-20 16:07:20 +02:00
Pavol Rusnak
281d37f79c
Merge pull request #1582 from lnbits/docs-nginx
...
docs: add nginx ssl proxy info to installation
2023-03-19 09:27:14 +01:00
Pavol Rusnak
0039c60a27
Merge pull request #1583 from lnbits/mypy-pyproject-simplify
...
simplify exclude syntax for mypy in pyproject.toml
2023-03-18 20:49:23 +01:00
Pavol Rusnak
3317bc1bc5
Merge pull request #1578 from lnbits/flake-update
...
flake: update to latest nixpkgs
2023-03-17 23:10:55 +01:00
Pavol Rusnak
9cf43dcea1
simplify exclude syntax for mypy in pyproject.toml
2023-03-17 18:05:43 +01:00
Pavol Rusnak
b3910da6d7
flake: update to latest nixpkgs
2023-03-17 18:03:33 +01:00
Pavol Rusnak
ec1caa6015
docs: fix readability of HTTPS section in installation
2023-03-17 15:13:25 +01:00
Pavol Rusnak
0d8d580fc9
docs: add nginx ssl proxy info to installation
2023-03-17 15:10:15 +01:00
dni ⚡
4dd206da2a
good bye venv ( #1569 )
...
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-03-16 16:45:23 +01:00
Vlad Stan
fbe982af36
fix: assume no pre-installed extensions ( #1558 )
...
* fix: assume no pre-installed extensions
* chore: code format
2023-03-15 11:26:07 +01:00
Arc
a360a47be9
Merge pull request #1577 from lnbits/bump-version-0-10-3
...
bump to version 0.10.3
2023-03-10 13:03:00 +00:00
dni ⚡
552f253b5d
bump to version 0.10.3
2023-03-10 14:01:46 +01:00
Arc
5021d86488
Merge pull request #1566 from bitkarrot/patch-3
...
update installation.md path
2023-03-10 13:01:22 +00:00