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
93092e968b
Use restore mode when listing folders to ensure we can list all, and that the permission requests matches the restore operation
2026-02-17 09:32:22 +01:00
Kenneth Skovhede
d9b5cb256d
Fixed some Windows path issues
2026-02-17 09:31:39 +01:00
Kenneth Skovhede
a7fe859a50
Fixed test using more likely permissions in restore mode
2026-02-16 23:09:56 +01:00
Kenneth Skovhede
4c04ff64bd
Removed unused license for OUs
2026-02-16 20:46:44 +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
28de585e91
Removed Duplicated class
2026-02-16 13:53:19 +01:00
Kenneth Skovhede
7b377d51ef
Fixed restore of Gmail + labels
2026-02-16 13:40:59 +01:00
Kenneth Skovhede
bd5c141a0f
Fixed using IDs internally for paths
2026-02-16 13:03:38 +01:00
Kenneth Skovhede
8cadf5f510
Handling duplicates for contacts
2026-02-16 12:46:19 +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
d7a97915a1
Make service-account-json a password
2026-02-15 10:26:21 +01:00
Kenneth Skovhede
e5eec7b531
Fixed chat attachments and better display name for chat messages
2026-02-13 14:42:55 +01:00
Kenneth Skovhede
ce73f05534
Fixed impersonation on user items
2026-02-13 13:46:07 +01:00
Kenneth Skovhede
f72366bd01
Fixed loading shared drive contents
2026-02-13 12:55:03 +01:00
Kenneth Skovhede
bbe3e12468
Added support for backup of group conversations
2026-02-12 17:13:03 +01:00
Kenneth Skovhede
cac45377ee
More shared Mime logic, fixed not reading revisions from sites.
2026-02-12 12:02:10 +01:00
Kenneth Skovhede
bfb39d8a92
Defensive fixes
2026-02-11 16:26:18 +01:00
Kenneth Skovhede
b1c9c5ec1c
Fixed group settings returning XML by default
2026-02-11 16:24:11 +01:00
Kenneth Skovhede
9511d60711
Fixed contact photo
2026-02-11 16:23:50 +01:00
Kenneth Skovhede
5eb80854ae
Normalized Id across all files and moved mimetypes into a shared place
2026-02-11 16:23:35 +01:00
Kenneth Skovhede
ce8c1aab7f
Grabbing subject for better restore experience
2026-02-04 16:04:07 +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