4671 Commits

Author SHA1 Message Date
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
dependabot[bot]
ca6ae7f4ce
Bump actions/upload-artifact from 4.4.3 to 4.5.0 (#5494) 2024-12-18 07:45:01 +01:00
dependabot[bot]
031ad0dbe6
Bump attrs from 24.2.0 to 24.3.0 (#5492)
Bumps [attrs](https://github.com/sponsors/hynek) from 24.2.0 to 24.3.0.
- [Commits](https://github.com/sponsors/hynek/commits)

---
updated-dependencies:
- dependency-name: attrs
  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-17 14:11:40 +01:00
Mike Degatano
d8101ddba8
Use status 404 in more places when appropriate (#5480) 2024-12-17 11:18:32 +01:00
Mike Degatano
de68868788
Restore backup from specific location (#5491) 2024-12-17 11:09:32 +01:00
Mike Degatano
90590ae2de
Add all addons flag to partial backups (#5490) 2024-12-16 18:25:58 +01:00
dependabot[bot]
5e6bef7189
Bump debugpy from 1.8.9 to 1.8.11 (#5488) 2024-12-16 07:27:26 +01:00
dependabot[bot]
7ab5555087
Bump ruff from 0.8.2 to 0.8.3 (#5483)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-13 09:22:18 +01:00
Mike Degatano
02ceb713ea
Add location to backup download and remove APIs (#5482) 2024.12.0 2024-12-12 19:44:40 +01:00
Mike Degatano
774aef74e8
Backup not found returns 404 instead of 400 (#5479) 2024-12-10 22:30:07 +01:00
dependabot[bot]
045454b597
Bump ciso8601 from 2.3.1 to 2.3.2 (#5478)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-10 08:24:28 +01:00
Mike Degatano
829193fe84
Support CGroup v2 on Supervised with manual restarts (#5419) 2024-12-09 15:09:54 +01:00
Mike Degatano
1f893117cc
Fix backup consolidate and upload duplicate (#5472) 2024-12-09 10:03:49 +01:00
dependabot[bot]
9008009727
Bump sentry-sdk from 2.19.1 to 2.19.2 (#5476)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 08:27:33 +01:00
dependabot[bot]
3bf3bffabf
Bump coverage from 7.6.8 to 7.6.9 (#5475)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 08:17:26 +01:00
Mike Degatano
d44e995aed
Add size in bytes to backups (#5473) 2024-12-07 10:27:23 +01:00
dependabot[bot]
5a22599b93
Bump orjson from 3.10.7 to 3.10.12 (#5449)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-06 21:19:14 +01:00
dependabot[bot]
ae60e947f3
Bump sentry-sdk from 2.19.0 to 2.19.1 (#5467)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-06 11:51:27 -06:00
dependabot[bot]
8115fd98bc
Bump ruff from 0.8.1 to 0.8.2 (#5468)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-06 11:51:11 -06:00
dependabot[bot]
3201061ada
Bump codecov/codecov-action from 5.0.7 to 5.1.1 (#5470) 2024-12-06 08:22:42 +01:00
dependabot[bot]
b68caecbce
Bump actions/cache from 4.1.2 to 4.2.0 (#5469) 2024-12-06 08:22:16 +01:00
J. Nick Koston
5e780293c7
Bump aiohttp to 3.11.10 (#5466)
changelog: https://github.com/aio-libs/aiohttp/compare/v3.11.9...v3.11.10
2024-12-05 23:44:19 -05:00
Mike Degatano
6e32144e9a
Fix and extend cloud backup support (#5464)
* Fix and extend cloud backup support

* Clean up task for cloud backup and remove by location

* Args to kwargs on backup methods

* Fix backup remove error test and typing clean up
2024-12-05 00:07:04 -05:00
dependabot[bot]
9b52fee0a3
Bump aiohttp from 3.11.8 to 3.11.9 (#5461)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-02 14:43:08 +01:00
dependabot[bot]
7af4b17430
Bump cryptography from 43.0.3 to 44.0.0 (#5456)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-02 13:15:27 +01:00
dependabot[bot]
4195c0fb33
Bump pytest from 8.3.3 to 8.3.4 (#5462) 2024-12-02 08:42:13 +01:00
dependabot[bot]
8fe1cfbb20
Bump coverage from 7.6.7 to 7.6.8 (#5451) 2024-12-02 08:41:58 +01:00
dependabot[bot]
623c532c9e
Bump pylint from 3.3.1 to 3.3.2 (#5460) 2024-12-02 08:05:04 +01:00
dependabot[bot]
3a904383af
Bump ruff from 0.8.0 to 0.8.1 (#5459)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 16:47:50 -06:00
dependabot[bot]
28299affef
Bump aiohttp from 3.11.7 to 3.11.8 (#5457) 2024-11-28 07:35:49 +01:00
Mike Degatano
11ca772ada
Disable backup complete ws message (#5452) 2024-11-26 09:08:12 +01:00
Mike Degatano
42e704d563
Fix flaky backup test (#5453) 2024-11-26 00:47:00 +01:00
dependabot[bot]
ec7241c0fd
Bump ruff from 0.7.4 to 0.8.0 (#5450)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.4 to 0.8.0.
- [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.7.4...0.8.0)

---
updated-dependencies:
- dependency-name: ruff
  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-11-25 08:51:31 +01:00
Mike Degatano
d11d59dd92
Add null check on user path in mounts (#5446) 2024-11-22 09:54:21 -05:00