Mike Degatano
61a2101d8a
Backup protected status can vary per location ( #5569 )
...
* Backup protected status can vary per location
* Fix test_backup_remove_error test
* Update supervisor/backups/backup.py
* Add Docker registry configuration to backup metadata
* Make use of backup location fixture
* Address pylint
---------
Co-authored-by: Stefan Agner <stefan@agner.ch>
2025-01-23 15:05:35 -05:00
Stefan Agner
088832c253
Extend backup API with file name field ( #5567 )
...
* Extend backup API with file name field
Allow to specify a backup file name when creating a backup. This allows
for user friendly backup file names. If none is specified, the current
behavior remains (backup file name is the backup slug).
* Check passed file name using regex
* Use custom filename on download only if backup file name is backup slug
* ruff format
* Remove path from location for download file name
2025-01-23 15:24:47 +01:00
dependabot[bot]
a545b680b3
Bump codecov/codecov-action from 5.1.2 to 5.2.0 ( #5571 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-23 08:52:49 +01:00
dependabot[bot]
805017eabf
Bump dbus-fast from 2.28.0 to 2.30.2 ( #5562 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.28.0 to 2.30.2.
- [Release notes](https://github.com/bluetooth-devices/dbus-fast/releases )
- [Changelog](https://github.com/Bluetooth-Devices/dbus-fast/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bluetooth-devices/dbus-fast/compare/v2.28.0...v2.30.2 )
---
updated-dependencies:
- dependency-name: dbus-fast
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-21 12:06:41 +01:00
Stefan Agner
b7412b0679
Update Python to 3.13 ( #5564 )
...
* Bump Supervisor to Python 3.13
* Update ruff configuration to 0.9.1
Adjust pyproject.toml for ruff 0.9.1. Also make sure that latest version
of ruff is used in pre-commit.
* Set default configuration for pytest-asyncio
* Run ruff check
* Drop deprecated decorator no_type_check_decorator
The upstream PR (https://github.com/python/cpython/issues/106309 ) says
this never got really implemented by type checkers.
* Bump devcontainer to latest release
2025-01-21 11:57:30 +01:00
dependabot[bot]
fff3bfd01e
Bump pre-commit from 4.0.1 to 4.1.0 ( #5566 )
2025-01-21 07:40:07 +01:00
dependabot[bot]
5f165a79ba
Bump actions/stale from 9.0.0 to 9.1.0 ( #5565 )
2025-01-21 07:39:51 +01:00
dependabot[bot]
0d3acd1aca
Bump release-drafter/release-drafter from 6.0.0 to 6.1.0 ( #5563 )
2025-01-20 08:09:23 +01:00
dependabot[bot]
463f196472
Bump securetar from 2024.11.0 to 2025.1.3 ( #5553 )
...
* Bump securetar from 2024.11.0 to 2025.1.3
Bumps [securetar](https://github.com/pvizeli/securetar ) from 2024.11.0 to 2025.1.3.
- [Release notes](https://github.com/pvizeli/securetar/releases )
- [Commits](https://github.com/pvizeli/securetar/compare/2024.11.0...2025.1.3 )
---
updated-dependencies:
- dependency-name: securetar
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Use file_filter and add test for addon backup_exclude
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2025.01.0
2025-01-17 11:18:55 +01:00
dependabot[bot]
52d5df6778
Bump ruff from 0.9.1 to 0.9.2 ( #5558 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-17 08:28:19 +01:00
dependabot[bot]
ce75c85e65
Bump debugpy from 1.8.11 to 1.8.12 ( #5559 )
2025-01-17 07:42:59 +01:00
puddly
12fd61142d
Trigger rescan on device remove ( #5447 )
2025-01-16 18:16:47 +01:00
Mike Degatano
0073227785
Add env on core restart due to restore ( #5548 )
...
* Add env on core restart due to restore
* Move is_restore to backup manager
2025-01-16 18:15:06 +01:00
Stefan Agner
89a215cc1f
Revert "Bump dbus-fast from 2.28.0 to 2.29.0 ( #5551 )" ( #5555 )
...
This reverts commit da6bdfa7953807081e181e46b801e425a08b20f4.
2025-01-16 12:51:16 +01:00
Stefan Agner
b2aece8208
Revert "Bump orjson from 3.10.12 to 3.10.13 ( #5514 )" ( #5554 )
...
This reverts commit dbd37d657515aca26eeabe5a3cdb239128b34a41.
2025-01-16 11:35:48 +01:00
Mike Degatano
600bf91c4f
Sort jobs by creation in API ( #5545 )
...
* Sort jobs by creation in API
* Fix tests missing new field
* Fix sorting logic around child jobs
2025-01-16 09:51:44 +01:00
dependabot[bot]
da6bdfa795
Bump dbus-fast from 2.28.0 to 2.29.0 ( #5551 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.28.0 to 2.29.0.
- [Release notes](https://github.com/bluetooth-devices/dbus-fast/releases )
- [Changelog](https://github.com/Bluetooth-Devices/dbus-fast/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bluetooth-devices/dbus-fast/compare/v2.28.0...v2.29.0 )
---
updated-dependencies:
- dependency-name: dbus-fast
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 09:51:29 +01:00
dependabot[bot]
5d4894a1ba
Bump getsentry/action-release from 1.8.0 to 1.9.0 ( #5552 )
...
Bumps [getsentry/action-release](https://github.com/getsentry/action-release ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/getsentry/action-release/releases )
- [Changelog](https://github.com/getsentry/action-release/blob/master/docs/publishing-a-release.md )
- [Commits](https://github.com/getsentry/action-release/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: getsentry/action-release
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 09:51:03 +01:00
Stefan Agner
d4c047bd01
Add tun to static device list in hardware manager ( #5547 )
...
Some devices are provided by kernel modules which potentially get loaded
later at startup. Those are not listed by udev, and hence add-ons do
not get permissions for these types of devices as long as the kernel
module is not loaded.
Typically, such devices are created by the kmod-static-nodes.service
systemd service. Ideally, we would read the output of that service and
add those specifically. However, there are very few devices which
use static nodes, and we actually only really interested in tun. So
let's simply add this static node in case udev does not list it already.
2025-01-15 09:56:32 +01:00
dependabot[bot]
6183b9719c
Bump sentry-sdk from 2.19.2 to 2.20.0 ( #5549 )
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 2.19.2 to 2.20.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/2.19.2...2.20.0 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-15 09:54:07 +01:00
Alexander Akhmetov
f02d67ee47
Add support for CAP_CHECKPOINT_RESTORE privileges ( #5426 )
2025-01-14 11:28:36 +01:00
Stefan Agner
bd156ebb53
Add X-Accel-Buffering to disable buffers in proxies ( #5544 )
2025-01-14 10:42:41 +01:00
Wendelin
b07236b544
Add frontend auto update workflow ( #5501 )
...
* Remove git submodule
* Add frontend auto update workflow
* Update .github/workflows/update_frontend.yml
Co-authored-by: Stefan Agner <stefan@agner.ch>
---------
Co-authored-by: Stefan Agner <stefan@agner.ch>
2025-01-13 12:35:54 +01:00
dependabot[bot]
5928a31fc4
Bump dbus-fast from 2.24.4 to 2.28.0 ( #5532 )
...
Bumps [dbus-fast](https://github.com/bluetooth-devices/dbus-fast ) from 2.24.4 to 2.28.0.
- [Release notes](https://github.com/bluetooth-devices/dbus-fast/releases )
- [Changelog](https://github.com/Bluetooth-Devices/dbus-fast/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bluetooth-devices/dbus-fast/compare/v2.24.4...v2.28.0 )
---
updated-dependencies:
- dependency-name: dbus-fast
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-13 11:38:46 +01:00
dependabot[bot]
3a71ea7003
Bump ruff from 0.9.0 to 0.9.1 ( #5542 )
...
Bumps [ruff](https://github.com/astral-sh/ruff ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.9.0...0.9.1 )
---
updated-dependencies:
- dependency-name: ruff
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-13 11:38:12 +01:00
dependabot[bot]
96900b1f1b
Bump actions/upload-artifact from 4.5.0 to 4.6.0 ( #5534 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-11 13:28:31 +01:00
dependabot[bot]
65b39661a6
Bump getsentry/action-release from 1.7.0 to 1.8.0 ( #5535 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-11 13:27:24 +01:00
dependabot[bot]
18251ae8ae
Bump ruff from 0.8.6 to 0.9.0 ( #5538 )
2025-01-11 13:06:45 +01:00
dependabot[bot]
c418e0ea76
Bump setuptools from 75.7.0 to 75.8.0 ( #5536 )
2025-01-11 12:33:30 +01:00
dependabot[bot]
74b009ccd7
Bump ruff from 0.8.5 to 0.8.6 ( #5528 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-06 12:18:44 +01:00
dependabot[bot]
d2631bf398
Bump setuptools from 75.6.0 to 75.7.0 ( #5529 )
2025-01-06 08:12:21 +01:00
dependabot[bot]
c62358d851
Bump ruff from 0.8.4 to 0.8.5 ( #5522 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-03 10:19:05 +01:00
dependabot[bot]
e3af04701a
Bump gitpython from 3.1.43 to 3.1.44 ( #5523 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-03 09:54:05 +01:00
Stefan Agner
c2f6e319f2
Check password early on backup restore ( #5519 )
...
Introduce a validate password method which only peaks into the archive
to validate the password before starting the actual restore process.
This makes sure that a wrong password returns an error even when
restoring the backup in background.
2024.12.3
2024-12-31 13:58:12 +01:00
Stefan Agner
61b37877be
Avoid lingering tasks when using background backup tasks ( #5518 )
...
When a backup tasks is run in background, but actually has an error
early the secondary event task to release the callee is lingering around
still, ultimately leading to a "Task was destroyed but it is pending!"
asyncio error.
Make sure we cancel the event task in case the backup returns early.
2024-12-31 13:16:18 +01:00
Stefan Agner
e72c5a037b
Drop dead folder restore code ( #5517 )
...
The inner function _folder_restore has been converted to a Job with
PR #4802 . The inner function is no longer used. Drop this dead code.
2024-12-31 13:16:04 +01:00
Stefan Agner
578383411c
Fix backup remove for alternate locations ( #5515 )
...
Currently the API converts backup locations on network mounts to
the Supervisor's Mount representation. However, the locations stored
in the backup representations is a dictionary with the location
string as key.
Make sure to use the backup location string to validate the remove
requests. This fixes removing backups from network storage mounts.
2024.12.2
2024-12-30 14:18:11 +01:00
dependabot[bot]
dbd37d6575
Bump orjson from 3.10.12 to 3.10.13 ( #5514 )
...
Bumps [orjson](https://github.com/ijl/orjson ) from 3.10.12 to 3.10.13.
- [Release notes](https://github.com/ijl/orjson/releases )
- [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ijl/orjson/compare/3.10.12...3.10.13 )
---
updated-dependencies:
- dependency-name: orjson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 11:16:25 +01:00
dependabot[bot]
c7cf1e7593
Bump pulsectl from 24.11.0 to 24.12.0 ( #5512 )
...
Bumps [pulsectl](https://github.com/mk-fg/python-pulse-control ) from 24.11.0 to 24.12.0.
- [Changelog](https://github.com/mk-fg/python-pulse-control/blob/master/CHANGES.rst )
- [Commits](https://github.com/mk-fg/python-pulse-control/compare/24.11.0...24.12.0 )
---
updated-dependencies:
- dependency-name: pulsectl
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 09:28:16 +01:00
dependabot[bot]
c06fb069ab
Bump coverage from 7.6.9 to 7.6.10 ( #5513 )
2024-12-27 08:03:29 +01:00
dependabot[bot]
b6c2259bd7
Bump pylint from 3.3.2 to 3.3.3 ( #5511 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 09:00:09 +01:00
dependabot[bot]
d0b7cc8ab3
Bump astroid from 3.3.7 to 3.3.8 ( #5510 )
2024-12-24 08:18:42 +01:00
dependabot[bot]
0f77021bcc
Bump astroid from 3.3.6 to 3.3.7 ( #5507 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefan Agner <stefan@agner.ch>
2024.12.1
2024-12-23 14:26:07 +01:00
dependabot[bot]
b44e6d8cd3
Bump urllib3 from 2.2.3 to 2.3.0 ( #5504 )
...
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.2.3 to 2.3.0.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.3...2.3.0 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 12:40:52 +01:00
dependabot[bot]
dfe9e94f87
Bump jinja2 from 3.1.4 to 3.1.5 ( #5503 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-23 12:40:38 +01:00
Stefan Agner
53ccc5249a
Add astroid to pytest requirements ( #5506 )
2024-12-23 12:27:49 +01:00
dependabot[bot]
5993818c16
Bump ruff from 0.8.3 to 0.8.4 ( #5500 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-20 10:23:28 +01:00
dependabot[bot]
a631dea01a
Bump codecov/codecov-action from 5.1.1 to 5.1.2 ( #5499 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 18:40:22 +01:00
J. Nick Koston
c5b85b2831
Bump aiohttp to 3.11.11 ( #5498 )
...
changelog: https://github.com/aio-libs/aiohttp/compare/v3.11.10...v3.11.11
https://github.com/aio-libs/aiohttp/releases/tag/v3.11.11
2024-12-18 23:14:36 +01:00
Stefan Agner
3c1920e4e1
Bump frontend to 20241127.8 release ( #5495 )
2024-12-18 15:54:40 +01:00