lnbits-legend/lnbits
dni ⚡ 820882db28
refactor: use new fastapi lifespan instead of startup/shutdown events (#2294)
* refactor: use new fastapi lifespan instead of events
recommended use: https://fastapi.tiangolo.com/advanced/events/?h=lifespan
threw warnings in pytest
* make startup and shutdown functions
* nix: add override for asgi-lifespan

---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2024-04-05 07:05:26 +02:00
..
core chore: adhere to ruff's C (#2379) 2024-04-03 17:56:05 +02:00
nodes chore: adhere to ruff's C (#2379) 2024-04-03 17:56:05 +02:00
static fix: remove trailing slash from admin.js 2024-04-04 08:55:18 +02:00
templates bug: show extensions in frontend had wrong boolean (#2370) 2024-03-27 12:00:50 +01:00
utils feat: reduce initial requests on wallet page (#2335) 2024-03-22 12:59:49 +01:00
wallets chore: adhere to ruff's C (#2379) 2024-04-03 17:56:05 +02:00
__init__.py refactor: clean up __init__ file following some Flask conventions 2020-09-06 21:06:01 -03:00
__main__.py overall fixes 2022-10-25 09:23:30 +02:00
app.py refactor: use new fastapi lifespan instead of startup/shutdown events (#2294) 2024-04-05 07:05:26 +02:00
bolt11.py adding bolt11 lib and removing bolt11.py from the codebase (#1817) 2023-09-25 12:06:54 +02:00
commands.py chore: adhere to ruff's A 2024-04-02 17:11:06 +02:00
db.py chore: adhere to ruff's A 2024-04-02 17:11:06 +02:00
decorators.py chore: keychecker todo remove type ignores (#2337) 2024-03-21 11:36:01 +01:00
extension_manager.py chore: typo in function name nofiy_upgrade (#2383) 2024-04-02 08:38:12 +02:00
helpers.py feat: complete use of LNBITS_EXTENSIONS_DEACTIVATE_ALL (#2341) 2024-03-26 11:44:33 +01:00
jinja2_templating.py chore: update to latest fastapi (#2240) 2024-02-06 11:47:36 -03:00
lnurl.py feat: lnurl library update 2023-12-06 12:55:01 +01:00
middleware.py chore: adhere to ruff's C (#2379) 2024-04-03 17:56:05 +02:00
requestvars.py I want them to turn black 2021-10-17 18:33:29 +01:00
server.py chore: adhere to ruff's C (#2379) 2024-04-03 17:56:05 +02:00
settings.py feat: complete use of LNBITS_EXTENSIONS_DEACTIVATE_ALL (#2341) 2024-03-26 11:44:33 +01:00
tasks.py feat: create_unique_task helper (#2292) 2024-03-18 13:02:04 +00:00