blitz_api icon indicating copy to clipboard operation
blitz_api copied to clipboard

A management backend for the RaspiBlitz project written in Python / FastAPI

Results 81 blitz_api issues
Sort by recently updated
recently updated
newest added

updates: - [github.com/psf/black: 24.4.0 → 24.4.2](https://github.com/psf/black/compare/24.4.0...24.4.2) - [github.com/astral-sh/ruff-pre-commit: v0.3.7 → v0.4.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.3.7...v0.4.4)

Right now the api reads the clear text password from the environment. Change thid to use a precomputed hashed password instead. https://github.com/fusion44/blitz_api/blob/11f8d57f4e51a0c84b6c197c6c2ef7eadfe4768f/app/system/impl/native_python.py#L67

bug
v0.6.0-beta
security

**Is your feature request related to a problem? Please describe.** Only a very generic `internal server error` is thrown when handling apps. Detail is not very in depth: ```json {...

enhancement

Advantages: - better integration with FastAPI https://fastapi.tiangolo.com/advanced/websockets/ - Authentication would be easier without workarounds - no limitation on connection when not on HTTP/2 (see https://developer.mozilla.org/en-US/docs/Web/API/EventSource) - Also possible to send...

enhancement

Currently, the error comes in weird formats, depending on the endpoint. Do not send an error array. but only one error at a time.

enhancement
v0.6.0-beta

If the LND RPC server ist just starting up, then the API just returns 500 without any hint: LND side: ```[ERR] RPCS: [/lnrpc.Lightning/ListPayments]: the RPC server is in the process...

``` curl -X 'GET' \ 'http://192.168.178.38/api/apps/status' \ -H 'accept: application/json' \ -H 'Authorization: Bearer xxx' ``` ```json [ { "id": "mempool", "version": "v2.5.0", "installed": false, "status": "offline", "error": "" },...

bug
platform:raspiblitz

Currently, the warm-up code assumes that a BaseModel will be returned at all times. Actually an HTTPException can be returned on error. code: https://github.com/fusion44/blitz_api/blob/b7e9ae29fbcb72b85dc4dea53262c889e82177e8/app/main.py#L303 refs https://github.com/raspiblitz/raspiblitz/issues/4437

bug

as a developer I would like the blitz/api to have some kind of availability / health check to see if the blitz api is there. thus I would like to...

enhancement
help wanted
good first issue
v0.6.0-beta