Commit Graph

73 Commits

Author SHA1 Message Date
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 ⚡
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 ⚡
235513f2ef
fix if for voidwallet warning 2023-03-07 12:28:52 +01:00
Vlad Stan
12014ee3e3
fix: hide Admin UI if LNBITS_ADMIN_UI is false (#1537)
* fix: hide Admin config if `LNBITS_ADMIN_UI` is `false`

* chore: code format

* chore: code format
2023-02-22 13:30:57 +01:00
Pavol Rusnak
967ce06ca5
fix pylint C0206 (consider-using-dict-items) 2023-01-30 11:46:45 +00:00
Pavol Rusnak
9fa3e5c6cf
fix pylint W0102 (dangerous-default-value) 2023-01-30 11:46:43 +00:00
Pavol Rusnak
d29fcca6aa
fix pylint W0612 (unused-variable) 2023-01-30 11:46:43 +00:00
Vlad Stan
730017ed62 fix: import after renaming 2023-01-20 10:06:32 +02:00
Vlad Stan
478d74efc8 fix: separate lnbits_deactivated_extensions from lnbits_disabled_extensions` 2023-01-20 09:39:27 +02:00
Vlad Stan
0ab913e502 chore: code format 2023-01-18 17:38:36 +02:00
Vlad Stan
2edb9da387 fix: name conflict 2023-01-18 17:38:36 +02:00
Vlad Stan
795d05c109 refactor: extract extensions.py 2023-01-18 17:38:36 +02:00
Vlad Stan
e7a150e708 refactor: move more logic to InstallableExtension 2023-01-18 17:38:36 +02:00
Vlad Stan
3ed2b3cdeb refactor: move more logic to InstallableExtension 2023-01-18 17:38:36 +02:00
Vlad Stan
cb6349fd76 refactor: extract dome methods to helpers 2023-01-18 17:38:36 +02:00
Vlad Stan
8f77c3f7bf fix: handle no-path scenario 2023-01-18 17:38:36 +02:00
Vlad Stan
51c8e183d1 fix: add module_name property 2023-01-18 17:38:36 +02:00
Vlad Stan
8c1479427d fix: merge issues 2023-01-18 17:38:36 +02:00
Vlad Stan
76cfaf93ad fix: merge issue 2023-01-18 17:38:36 +02:00
Vlad Stan
bdee9f46e3 refactor: put classes together 2023-01-18 17:38:36 +02:00
Vlad Stan
691e175370 feat: add re-routing for upgraded extension APIs 2023-01-18 17:38:36 +02:00
Vlad Stan
8f8ebbeeaa refactor: class rename and code format 2023-01-18 17:38:36 +02:00
Vlad Stan
598d2a6939 feat: re-route trafic when an extension is upgraded 2023-01-18 17:38:36 +02:00
Vlad Stan
6c41ac841b feat: temporary fix for upgrades 2023-01-18 17:38:36 +02:00
Vlad Stan
66c908e600 chore: migrate after major changes on main 2023-01-18 17:38:36 +02:00
Vlad Stan
c370bd18c6 refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02:00
ben
f5250e0584 initial
Added bunch tiles, more to add
2022-12-31 01:46:55 +00:00
Tiago Vasconcelos
4410968bf5 enable disable ads and display ads 2022-12-02 14:36:09 +00:00
callebtc
33eb460d5c restore 7f64f426c2 2022-12-01 12:21:25 +01:00
calle
2c562b7053 Revert "Extension: Cashu" 2022-12-01 12:21:25 +01:00
callebtc
4d1c96adc0 allow external migration modules 2022-12-01 12:21:24 +01:00
dni ⚡
ada5cd4330 remove unused function 2022-10-05 13:04:38 +02:00
dni ⚡
1ffc8c3498 use new settings and remove unused amdin extension stuff 2022-10-05 13:04:36 +02:00
dni ⚡
e4c310d197 format 2022-10-05 13:01:59 +02:00
Tiago vasconcelos
363bc85e3b add custom logo 2022-10-05 13:01:59 +02:00
Tiago vasconcelos
5a3ad81c31 allow user settings without restart 2022-10-05 13:01:59 +02:00
Tiago vasconcelos
ba6bda39ab removeEmtpy sting as helper fn 2022-10-05 13:01:59 +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
808bd36e23 some more mypy fixes 2022-07-25 12:02:59 +02:00
calle
e7dd3ec64f
reactivate actions (#682)
* reactivate other actions

* black

* codeql 2

* black only

* remove mock event loop

* do not follow grpc
2022-06-27 01:11:35 +02:00
Arc
b90eb0a3ba
Merge pull request #648 from lnbits/black_formatting
Code cleanup: black formatting
2022-06-20 20:57:44 +01:00
Tiago Vasconcelos
77fbea25af
Allow for custom image logo (#642)
* first test

* add custom URL logo

* some styling

* fixed typo, wrong import

* Update .env.example

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2022-06-08 16:23:36 +02:00
callebtc
f8400512f7 black formating 2022-06-01 14:53:05 +02:00
benarc
4a588dda1b Added ad space and option to turn off api docs 2022-02-23 13:51:30 +00:00
benarc
2c853e7a52 slight bug 2022-02-07 21:28:48 +00:00
benarc
4b11342f0c works 2022-02-07 20:43:47 +00:00
benarc
568a1be91f Adding denomination for alternative currencies 2022-02-02 13:07:12 +00:00
benarc
1d3bb016a2 I want them to turn black 2021-10-17 18:33:29 +01:00
Stefan Stammberger
e3c7ca0726
feat: update offlineshop extension 2021-09-16 19:42:05 +02:00
Stefan Stammberger
ee775b66ef
fix: settings import 2021-08-28 11:16:59 +02:00