lnbits-legend/lnbits
dni ⚡ 5b16f54857
[FEAT] cleanup GET /wallet endpoint, add wallet api routes (#1932)
* [FEAT] cleanup GET /wallet endpoint, add wallet api route
this removes the functionalitiy to create accounts and wallets via
the GET /wallet endpoint in generic.py

it add endpoints inside the api.py for it and the frontend is modified to use the api endpoints

this also simplifies for the `feat/login` for the route.

* remove stale generic tests and add api tests

* bug wrong endpoint create account

* vlad nitpick

* added checkif deleted is 404

* reload after renaming wallet

* another iteration with vlad

* create new wallet if it none exist

* fix delete refresh

* formatting
2023-09-25 14:06:00 +01:00
..
core [FEAT] cleanup GET /wallet endpoint, add wallet api routes (#1932) 2023-09-25 14:06:00 +01:00
nodes [FEAT] Node Managment (#1895) 2023-09-25 15:04:44 +02:00
static [FEAT] cleanup GET /wallet endpoint, add wallet api routes (#1932) 2023-09-25 14:06:00 +01:00
templates [FEAT] Node Managment (#1895) 2023-09-25 15:04:44 +02:00
utils [CHORE] cleanup cache and exception on make test (#1899) 2023-08-28 10:56:59 +01:00
wallets [FEAT] Node Managment (#1895) 2023-09-25 15:04:44 +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 Support custom path for installed extensions (#1940) 2023-09-25 12:44:29 +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 [TEST] use test data as mockdata (#1929) 2023-09-12 11:21:05 +01:00
db.py [FEAT] create data folder if it doesnt exist (#1930) 2023-09-12 11:56:21 +02:00
decorators.py Add deleted flag wallet (#1826) 2023-09-11 14:06:31 +01:00
extension_manager.py Support custom path for installed extensions (#1940) 2023-09-25 12:44:29 +02:00
helpers.py [FEAT] Node Managment (#1895) 2023-09-25 15:04:44 +02:00
jinja2_templating.py fix pyright lnbits 2023-04-04 07:34:17 +02:00
lnurl.py [CHORE] update dependencies, unsafe pip packages, fastapi (#1609) 2023-09-25 10:54:02 +01:00
middleware.py [REFACTOR] core/__init__ to not have circular import issues (#1876) 2023-09-12 11:25:05 +01:00
requestvars.py I want them to turn black 2021-10-17 18:33:29 +01:00
server.py Support custom path for installed extensions (#1940) 2023-09-25 12:44:29 +02:00
settings.py [FEAT] Node Managment (#1895) 2023-09-25 15:04:44 +02:00
tasks.py Startup optimization: nonblocking expiry check (#1943) 2023-09-25 12:32:01 +02:00