Commit graph

19 commits

Author SHA1 Message Date
fusion44
65588d6c7c
chore(deps): bump dependencies with known security vulnerabilities
Direct dependencies:
- fastapi 0.128.0 -> 0.139.0 (needed for starlette 1.x support)
- starlette 0.49.1 -> 1.3.1
- pyjwt 2.10.1 -> 2.13.0
- aiohttp 3.13.3 -> 3.14.1
- deepdiff 8.6.1 -> 9.1.0
- requests 2.32.5 -> 2.33.0

Transitive dependencies:
- urllib3 2.6.3 -> 2.7.0
- idna 3.11 -> 3.18
- python-multipart 0.0.22 -> 0.0.32

Dev dependencies:
- pytest 9.0.2 -> 9.0.3

The update-requirements-file make target now passes --upgrade to
uv pip compile; without it, stale (vulnerable) pins from the existing
requirements.txt are silently preserved.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 17:46:36 +02:00
fusion44
c2e3e88e66
chore: remove unused Docker regtest setup
Removes Dockerfile.regtest and the docker/ directory along with the
remaining references: the docker-regtest-image Makefile target, its
help text, and the docker/.env gitignore entry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 17:08:23 +02:00
fusion44
e0f4d7e2fc
fix(deps): ensure async-timeout is included for older Python 3.11
- Add async-timeout as a direct dependency in pyproject.toml to fix
  ModuleNotFoundError on systems with Python < 3.11.3 (e.g. Raspberry Pi).
- Switch to universal requirements generation in Makefile and
  requirements.txt to include platform-specific markers and conditional
  dependencies.
- Update uv.lock to reflect dependency changes.

This resolves a crash where redis-py attempted to import async_timeout,
which was missing because it was pruned during requirements generation
on a newer Python version.
2026-02-21 08:04:34 +01:00
fusion44
44385ca40c
chore: deprecate poetry for uv; update dependencies 2025-11-10 12:30:03 +01:00
fusion44
4e038e8fc7 feat: fetch app status via a celery task
This is a feature that allows to fetch the app status via a celery
task which stores the result in the Redis database and notifies the API
of the change. The API sends a notification to connected clients via the
SSE mechanism.

Using a background task allows to avoid crashing the whole API if the
script call fails.

The by default the cache is refreshed every 30 minutes. This can be
changed by setting the `BAPI_APP_STATUS_UPDATE_INTERVAL_MIN` environment
variable.

refs #123
2025-05-06 09:16:46 +02:00
fusion44
d3902e1c2b
chore: remove pre-commit 2024-10-06 15:01:58 +02:00
fusion44
7cb062cbec
chore: update Makefile and gitignore 2024-01-03 21:19:56 +01:00
fusion44
d0d1380eea
feat: implement remote debugging on a remote machine (#207)
closes #206 

* feat: implement remote debugging on a RaspiBlitz
* docs: reverse the prep steps
* fix: ruff line length warning
2023-06-25 08:01:43 +02:00
fusion44
88e8d1feab
feat: avoid dev dependencies in requirements file 2023-04-09 18:26:24 +02:00
fusion44
80b163540a
feat: add regtest Dockerfile (LNbits regtest)
See: https://github.com/fusion44/legend-regtest-enviroment
( Currently only works with the forked version )
2022-11-29 21:05:20 +01:00
fusion44
04eadf9caa
chore: add changes from main
Due to the heavy refactoring work, it was almost impossible to
normally merge the changes over. The changes where applied
by manually.
2022-10-20 20:38:47 +02:00
fusion44
fe65568f55
Revert "chore: merge changes from main"
This reverts commit e3f0350c72, reversing
changes made to a448dbda8d.
2022-10-19 21:32:47 +02:00
fusion44
967a174c17
feat: improve Makefile to run commands with poetry
This way we don't need to run the commands in a `poetry shell`
2022-10-18 20:35:18 +02:00
fusion44
1fdfd19c6f
feat: add openapi client generator script
refs #142
2022-08-07 07:38:02 +02:00
fusion44
bb6d6a6bff
chore: dep update; update version to 0.5.0 2022-05-28 12:38:10 +02:00
fusion44
20f60abaf3
feat: add a pre-commit hook to format source code
refs #14
2022-03-20 16:00:25 +01:00
Stefan Stammberger
5eb39c52a0
feat: add sync to blitz make target 2021-12-05 21:14:25 +01:00
Stefan Stammberger
2349d917b9
feat: add a "make export" command to Makefile
Export will update the requirements.txt file fir pip.
2021-11-18 10:57:27 +01:00
Stefan Stammberger
1748e5ba1c
feat: Add a Makefile as build system 2021-10-02 12:10:52 +02:00