Commit Graph

5641 Commits

Author SHA1 Message Date
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
Arc
c257e42222
Merge pull request #1575 from wazint/ext-doc
Doc: Fix dev guide for getting started with extensions
2023-03-10 13:00:15 +00:00
Arc
17cdf57b8f
Merge pull request #1576 from prusnak/shortuuid-bump
Bump shortuuid dependency to fix build on Python 3.10
2023-03-10 12:59:04 +00:00
Arc
375b575eed
Merge pull request #1572 from lnbits/readme-wiki-link
fix markdown links in the readme
2023-03-10 12:58:28 +00:00
Pavol Rusnak
f860c170fc
Bump shortuuid dependency to fix build on Python 3.10 2023-03-10 11:54:23 +01:00
Arc
095206e2ed
Merge pull request #1574 from lnbits/fix-flake
fix flake error: #1088
2023-03-10 10:54:18 +00:00
Arc
4f3159339a
Merge pull request #1573 from lnbits/feat-backup-pg_dump
BUG: Dockerfile does not support backup funcionality
2023-03-10 09:58:53 +00:00
wazint
9ba2983572 Merge branch 'ext-doc' of github-tor:wazint/lnbits into ext-doc 2023-03-09 21:55:26 +02:00
wazint
acaf4849d2 doc: Fix dev guide for getting started with extensions 2023-03-09 21:53:11 +02:00
dni ⚡
3fa4135a12
non interactive install 2023-03-09 16:01:52 +01:00
dni ⚡
a8f534cd2e
postgres-client version 14... 2023-03-09 15:10:50 +01:00
dni ⚡
c58fac39cd
fix flake error: #1088 2023-03-09 14:50:11 +01:00
dni ⚡
161cb9cfbc
remove build not needed, create the right datadir, add postgres-client for pg_dump backup functionality 2023-03-09 13:48:44 +01:00
Pavol Rusnak
892d8ffa62
fix markdown links in the readme 2023-03-08 18:15:58 +01:00
dni ⚡
f2849a6e68
update version (#1570) 2023-03-08 13:55:58 +01:00
Bitkarrot
3d55d98d33
update installation.md
lnbits-legend -> lnbits for systemd
2023-03-07 20:14:15 -08:00
Arc
dc2a7898f7
Merge pull request #1564 from jackstar12/remove-disabled-extensions
remove lnbits_disabled_extensions
2023-03-07 13:20:56 +00:00
Arc
2787d5c6b6
Merge pull request #1542 from lnbits/pullntxbot
RIP Lntxbot, thank you for all your help building LN, you will be missed :(
2023-03-07 12:48:44 +00:00
Arc
39c1dcb942
Merge pull request #1546 from arbadacarbaYK/main
Readme - updated docu link
2023-03-07 12:47:08 +00:00
Arc
be078a8c52
Merge pull request #1556 from wazint/main
Doc: fix links, spelling and minor updates
2023-03-07 12:39:21 +00:00
Arc
934fc0abbb
Merge pull request #1560 from lnbits/feat-db-export
FEAT: add db export admin route for pg and sqlite, add to adminui
2023-03-07 12:04:20 +00:00
Arc
81986c9b4d
Merge pull request #1554 from lnbits/fix-baseurl
FIX: default baseurl should include port
2023-03-07 12:00:19 +00:00
Arc
00b3ab94ba
Merge pull request #1559 from lnbits/feat-fundingfallback
FEAT: add funding source fallback and VoidWallet warning for frontend
2023-03-07 11:56:01 +00:00