Skip to content

A Google Drive sync renews its access token, a disconnect spares a grant still in use, and only the connector reconnects - #33

Merged
gedaiu merged 1 commit into
re-devfrom
feat/google-drive-review-fixes
Oct 23, 2026
Merged

gedaiu merged 1 commit into
re-devfrom
feat/google-drive-review-fixes

Conversation

@gedaiu

@gedaiu gedaiu commented Oct 23, 2026

Copy link
Copy Markdown

Brings WaylandYang's review fixes on deeplethe#1386 and deeplethe#1388 into re-dev, ahead of upstream. These are the same changes, taken as a diff so re-dev keeps the fork migration 9006.

A sync renews its access token on a 401 instead of failing every download after an hour. A disconnect revokes at Google only when no other source uses the same account, and checks the response. Only the person who connected can reconnect: everyone else disconnects first, after a confirmation that names whose Drive it is. Creating a Drive source is refused without an OAuth client.

Drive and source tests pass on a fresh database, and the web build and tests pass. Needed before v0.1.0-re.20.

…ant still in use, and only the connector reconnects

Signed-off-by: Bogdan Szabo <bogdan@re-cinq.com>
@gedaiu
gedaiu merged commit 2ce27c1 into re-dev Oct 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant