Commit Graph
15 Commits
Author SHA1 Message Date
Kenneth Skovhede 4d569c51e4 Added read-only testing to backends
This PR adds a flag to the test method so we can choose to test for read-only access (needed for restore) or read-write (needed for backups).

Additionally, this PR fixes a logic bug in that the BackendSourceProvider would not actually test the connection, but just check the placeholder element returned (which is always returned). With this PR the backend's ListAsync command is tested fully.

Also renamed the methods on ISourceProvider to have the `...Async` prefix.

This replaces #6939
2026-06-03 17:27:34 +02:00
Kenneth Skovhede a3295c3d94 Fixed issue after merge 2026-02-20 10:48:50 +01:00
Kenneth Skovhede d9b5cb256d Fixed some Windows path issues 2026-02-17 09:31:39 +01:00
Kenneth Skovhede 086aa28731 Fixed restore to shared Google Drive 2026-02-16 20:17:12 +01:00
Kenneth Skovhede fc2c1e7246 Fixed not applying organizer permissions to personal drives 2026-02-16 16:56:49 +01:00
Kenneth Skovhede 1b1ee0a419 Fixed support for restoring Drive files 2026-02-16 16:40:30 +01:00
Kenneth Skovhede 7b377d51ef Fixed restore of Gmail + labels 2026-02-16 13:40:59 +01:00
Kenneth Skovhede 90c6f4fa54 Fixed task restore 2026-02-16 12:43:54 +01:00
Kenneth Skovhede 4d83a62635 Fixed restore of keep notes 2026-02-16 11:51:20 +01:00
Kenneth Skovhede a256e774bf Refactored deserializer to shared class.
Removed use of deprecated props, they are internally linked anyway.
2026-02-16 11:50:46 +01:00
Kenneth Skovhede 61dcb52863 Implemented chat restore 2026-02-16 11:31:19 +01:00
Kenneth Skovhede 42bf8f217c Fixed restoring contacts 2026-02-15 23:07:24 +01:00
Kenneth Skovhede 48db6834f4 Cleaned up some extra empty levels in the source tree 2026-02-15 22:44:56 +01:00
Kenneth Skovhede 910c56b3c4 Reworked the use of scopes.
Instead of requesting all scopes up front, each sub-section of the backup/restore will request the permissions that are relevant for the operation.

The effect is that it is not required to grant all permissions to get a backup running. If permissions are failing, that part of the backup will generate warnings for items that are excluded.
2026-02-15 22:03:57 +01:00
Kenneth Skovhede da246874ec Initial implementation of Google Workspace backup.
This is a WIP and still needs the restore part implemented.

Not all resources are fully tested but basic elements work.
2026-02-04 15:44:23 +01:00