lnbits-legend/lnbits/core
dni ⚡ 32596758cc
fix: show proper total balances fix cleanups (#2490)
payments are not deleted oif we delete a wallets, so to get a accurate
total representation of the lnbits balance we need to create the
balances view based on the wallets table, not payments, else deleted
balances will still show up.

2nd, delete_unused_wallets and delete_accounts was never working if
because they never got an updated_at time, so i just check if its null
else i check to timedelta on created_at
2024-05-13 18:01:53 +01:00
..
sso Add Keycloak SSO (#2272) 2024-02-14 09:23:37 +01:00
templates feat: add payments table to user manager (#2491) 2024-05-13 18:01:01 +01:00
views feat: add payments table to user manager (#2491) 2024-05-13 18:01:01 +01:00
__init__.py feat: usermanager (#2139) 2024-05-10 12:06:46 +02:00
crud.py fix: show proper total balances fix cleanups (#2490) 2024-05-13 18:01:53 +01:00
db.py [REFACTOR] core/__init__ to not have circular import issues (#1876) 2023-09-12 11:25:05 +01:00
helpers.py feat: adhere to ruff's B rules (#2423) 2024-04-17 13:11:51 +02:00
migrations.py fix: show proper total balances fix cleanups (#2490) 2024-05-13 18:01:53 +01:00
models.py refactor: get_balance_delta and use pydantic model for openapi docs (#2492) 2024-05-13 17:59:29 +02:00
services.py refactor: get_balance_delta and use pydantic model for openapi docs (#2492) 2024-05-13 17:59:29 +02:00
tasks.py refactor: get_balance_delta and use pydantic model for openapi docs (#2492) 2024-05-13 17:59:29 +02:00