Compare commits

..
Author SHA1 Message Date
Vlad Stan fd3ce06de5 fix: dependencies 2026-07-09 16:36:10 +03:00
Vlad Stan 88da66e4ee refactor: fix deps 2026-07-09 16:36:10 +03:00
Vlad Stan 36958d34f0 refactor: fix some imports 2026-07-09 16:36:10 +03:00
Vlad Stan 220be5cc0b refactor: fix imports 2026-07-09 16:36:10 +03:00
Vlad Stan 1b477f41ad refactor: extract import 2026-07-09 16:36:10 +03:00
Vlad Stan 8ac2cfbd1c refactor: extract permissions component 2026-07-09 16:36:10 +03:00
Vlad Stan 7425f9fa70 chore: clean-up i18n 2026-07-09 16:36:10 +03:00
Vlad Stan 442a272aa5 refactor: separate function 2026-07-09 16:36:10 +03:00
Vlad Stan ebebd781b8 refactor: move function 2026-07-09 16:36:10 +03:00
Vlad Stan 8824ae9fd4 refactor: extract 2026-07-09 16:36:10 +03:00
Vlad Stan ec1a9ac2f4 refactor: is_upgrade_extension 2026-07-09 16:36:10 +03:00
Vlad Stan ba4700b803 chore: make bundle 2026-07-09 16:36:10 +03:00
Vlad Stan 73229c9d0b feat: http.request permissions 2026-07-09 16:36:05 +03:00
Vlad Stan 5f483215d9 chore: lint 2026-07-09 16:36:05 +03:00
Vlad Stan e94a61c279 refactor: remove redundant check 2026-07-09 16:36:05 +03:00
Vlad Stan d9189e62af fix: policies 2026-07-09 16:36:05 +03:00
Vlad Stan 114229fb15 refactor: checks 2026-07-09 16:36:05 +03:00
Vlad Stan 137498740a refactor: move logic out from host.py 2026-07-09 16:36:05 +03:00
Vlad Stan 3ddce73834 fea: nicer permissions 2026-07-09 16:36:05 +03:00
Vlad Stan 597a65c45f feat: ui polish 2026-07-09 16:36:05 +03:00
Vlad Stan 3a5a6713c9 fix: allow no param 2026-07-09 16:36:05 +03:00
Vlad Stan eceb1eba61 fix: start/stop background work 2026-07-09 16:36:05 +03:00
Vlad Stan f186006329 refactor: structure 2026-07-09 16:36:05 +03:00
Vlad Stan 32c782e719 refactor: extract functions 2026-07-09 16:36:05 +03:00
Vlad Stan e45f0cf73d refactor: extract permissions logic 2026-07-09 16:35:53 +03:00
Vlad Stan b5506e7a0b refactor: extract function 2026-07-09 16:35:53 +03:00
Vlad Stan 77d52d3997 chore: clean-up 2026-07-09 16:35:40 +03:00
Vlad Stan 15282ebe23 fix: lint 2026-07-09 16:35:40 +03:00
Vlad Stan 39a148ef51 feat: add camera permissions 2026-07-09 16:35:40 +03:00
Vlad Stan 45a81fe22e feat: pay_invoice 2026-07-09 16:35:40 +03:00
Vlad Stan 4aaab5ca7c fix: icon 2026-07-09 16:35:40 +03:00
Vlad Stan 2add71cf0d refactor: components 2026-07-09 16:35:40 +03:00
Vlad Stan faf3611e2a refactor: better namespace 2026-07-09 16:35:40 +03:00
Vlad Stan 4bcc22d463 feat: add utils 2026-07-09 16:35:40 +03:00
Vlad Stan c094c820ef fix: access to extensions 2026-07-09 16:35:40 +03:00
Vlad Stan 6be509f8f0 feat: call extensions 2026-07-09 16:35:40 +03:00
Vlad Stan 2f74243f2a Revert "feat: public page http calls"
This reverts commit e7c359c1e0e21a8aeea391fd5b2cd6316526d42c.
2026-07-09 16:35:40 +03:00
Vlad Stan 2ff6fe5d3a feat: public page http calls 2026-07-09 16:35:40 +03:00
Vlad Stan 3f281e65f7 fix: user required 2026-07-09 16:35:40 +03:00
Vlad Stan 2286fee5c0 fix: loop issue 2026-07-09 16:35:40 +03:00
Vlad Stan af37caee1b refactor: better imports 2026-07-09 16:35:40 +03:00
Vlad Stan 31d343d220 refactor: split loader from routes 2026-07-09 16:35:40 +03:00
Vlad Stan 42f720cdba fix: typing 2026-07-09 16:35:39 +03:00
alanandVlad Stan 269035d853 chore: make bundle [skip ci] 2026-07-09 16:35:39 +03:00
Vlad Stan c8966d0eaa fix: simplify user check 2026-07-09 16:35:39 +03:00
Vlad Stan 1321c360cc chore: update poetry.lock 2026-07-09 16:35:39 +03:00
Vlad Stan 3ae05ba6e9 feat: ext http request 2026-07-09 16:35:39 +03:00
Vlad Stan 5e48676702 chore: make bundle 2026-07-09 16:35:39 +03:00
Vlad Stan 2cce2f86ef refactor: move code generator to tools 2026-07-09 16:35:34 +03:00
Vlad Stan bca10998bd refactor: remove unused param 2026-07-09 16:35:34 +03:00
Vlad Stan 6400ee985e refactor: move out dispatch_wasm_invoice_paid from tasks 2026-07-09 16:35:34 +03:00
Vlad Stan 61cdfd4662 refactor: remove extra param 2026-07-09 16:35:07 +03:00
Vlad Stan 81e8a08240 refactor: app usage 2026-07-09 16:34:52 +03:00
Vlad Stan 5375055bb7 refactor: simplify 2026-07-09 16:34:44 +03:00
Vlad Stan dbd1e20346 fix: i18n 2026-07-09 16:33:40 +03:00
Vlad Stan 948acb2b73 feat: extra extra 2026-07-09 16:33:39 +03:00
Vlad Stan b8a16e31e7 fix: i18n 2026-07-09 16:33:39 +03:00
Vlad Stan 0fce2481cb fix: owner id 2026-07-09 16:33:39 +03:00
Vlad Stan a2a12a25a5 fix: create row on event 2026-07-09 16:33:22 +03:00
Vlad Stan dab53a70e4 fix: create public invoice 2026-07-09 16:33:09 +03:00
Vlad Stan 003e2e4bb4 feat: create invoice public 2026-07-09 16:33:09 +03:00
Vlad Stan db275afddf feat: public get 2026-07-09 16:33:09 +03:00
Vlad Stan 9081324cda feat: finer grain permissions 2026-07-09 16:33:09 +03:00
Vlad Stan df04f5cc65 fix: permissions 2026-07-09 16:33:09 +03:00
Vlad Stan 21a6bbe73f fix: permissions 2026-07-09 16:33:09 +03:00
Vlad Stan 32c870d71d chore: clean-up 2026-07-09 16:33:09 +03:00
Vlad Stan 0ade5fdc70 fix: navigation 2026-07-09 16:33:09 +03:00
Vlad Stan df5543c280 fix: activate wasm extension 2026-07-09 16:33:09 +03:00
Vlad Stan ebdb95ab89 fix: ui 2026-07-09 16:33:09 +03:00
Vlad Stan e94480f82c feat: ask permission 2026-07-09 16:33:09 +03:00
Vlad Stan 2952e41fd3 feat: permissions 2026-07-09 16:33:09 +03:00
Vlad Stan 2bf50968ba feat: ws bridge 2026-07-09 16:30:18 +03:00
Vlad Stan 52134608f9 chore: clean-up 2026-07-09 16:30:18 +03:00
Vlad Stan 9cc24993ec fix: icons 2026-07-09 16:30:18 +03:00
Vlad Stan 3e30b387b2 fix: import lnbits resources 2026-07-09 16:30:18 +03:00
Vlad Stan d18f225757 feat: pagination 2026-07-09 16:30:18 +03:00
Vlad Stan 3d4202b495 feat: store data 2026-07-09 16:30:18 +03:00
Vlad Stan da76d288ae feat: db operations 2026-07-09 16:30:18 +03:00
Vlad Stan 7f13588705 fix: wallets 2026-07-09 16:30:18 +03:00
Vlad Stan faf436533e feat: create unsafe real invoice 2026-07-09 16:30:18 +03:00
Vlad Stan 15273383ef fix: user bound frame_token 2026-07-09 16:30:18 +03:00
Vlad Stan bdff354d0b fix: links 2026-07-09 16:30:18 +03:00
Vlad Stan 20e3b4c0b4 feat: add wallet list 2026-07-09 16:30:18 +03:00
Vlad Stan f2920e8eb1 fix: postMessage uses '*' 2026-07-09 16:30:18 +03:00
Vlad Stan eed3cb2509 fix: frame in frame 2026-07-09 16:30:18 +03:00
Vlad Stan be2dbd71e9 fix: stricter asset loading 2026-07-09 16:30:18 +03:00
Vlad Stan 3fd08ce223 fix: better error page 2026-07-09 16:30:18 +03:00
Vlad Stan 068cdffb42 fix: allow clipboard copy 2026-07-09 16:30:18 +03:00
Vlad Stan 2dffad917c fix: allow clipboard copy 2026-07-09 16:30:18 +03:00
Vlad Stan 285c0bc92f fix: external iframe access 2026-07-09 16:30:18 +03:00
Vlad Stan a175807188 chore: code format 2026-07-09 16:30:18 +03:00
Vlad Stan f8519c9c60 fix: stricter headers for non-iframe usage 2026-07-09 16:30:18 +03:00
Vlad Stan 951840f50b fix: iframe communication 2026-07-09 16:30:18 +03:00
Vlad Stan 4fccd57595 fix: iframe style 2026-07-09 16:30:18 +03:00
Vlad Stan 15d63fc35a fix: link 2026-07-09 16:30:18 +03:00
Vlad Stan 41db2b2819 feat: serve in iframe 2026-07-09 16:30:18 +03:00
Vlad Stan 4a38d4219c chore: lint 2026-07-09 16:30:18 +03:00
Vlad Stan 6c5bd6f2a1 perf: cache wasm component 2026-07-09 16:30:18 +03:00
Vlad Stan c5c5538a17 fix: REST paths 2026-07-09 16:30:18 +03:00
Vlad Stan 4557910a32 feat: call ext logic 2026-07-09 16:30:17 +03:00
Vlad Stan eec9f8a053 basic extension loading 2026-07-09 16:30:17 +03:00
Vlad Stan da6dbfdcf7 refactor: reorder 2026-07-09 16:30:17 +03:00
Vlad Stan cc4d33c91e fix: remove public context 2026-07-09 16:30:17 +03:00
Vlad Stan 1d7c74b8c1 feat: simpler permissions 2026-07-09 16:30:17 +03:00
Vlad Stan 4943343aa3 feat: dumb 2026-07-09 16:30:17 +03:00
5 changed files with 4 additions and 9 deletions
-5
View File
@@ -528,11 +528,6 @@ def register_async_tasks() -> None:
task_manager.create_permanent_task(process_next_notification)
task_manager.create_permanent_task(process_next_audit_entry)
async def dispatch_extension_invoice_paid(payment) -> None:
await dispatch_wasm_invoice_paid(payment)
core_app_extra.dispatch_extension_invoice_paid = dispatch_extension_invoice_paid
# server logs for websocket
if settings.lnbits_admin_ui:
server_log_task = initialize_server_websocket_logger()
+1 -2
View File
@@ -6,8 +6,7 @@ import json
import os
import shutil
import zipfile
from collections.abc import Mapping
from pathlib import Path, PurePosixPath
from pathlib import Path
from typing import Any
import httpx
+1
View File
@@ -6,6 +6,7 @@ from lnbits.core.crud import create_audit_entry
from lnbits.core.crud.payments import get_payments_status_count
from lnbits.core.crud.users import get_accounts
from lnbits.core.crud.wallets import get_wallets_count
from lnbits.core.db import core_app_extra
from lnbits.core.models.audit import AuditEntry
from lnbits.core.models.extensions import InstallableExtension
from lnbits.core.models.notifications import NotificationType
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long