[PR #837] [MERGED] Implement Google Drive sync #1769

Closed
opened 2026-02-25 23:30:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/floccusaddon/floccus/pull/837
Author: @marcelklehr
Created: 2/23/2021
Status: Merged
Merged: 2/23/2021
Merged by: @marcelklehr

Base: developHead: feature/google-drive


📝 Commits (10+)

  • 7a1a597 Implement raw Google Drive sync
  • 29978f5 UI: Update bookmark_file description for google-drive
  • 660e983 Polish google auth (auto-refresh)
  • 4f85de0 Allow encrypting google-drive file
  • e00da0d Google Drive: Use offline access type with refresh_token
  • 833bea6 CI: Test google drive
  • ccb5bdd CI: Fix build
  • 357591c CI: Fix google-drive tests
  • 3ceaa1e CI: Google Drive: Don't leak access tokens
  • 5ac3c29 Tests: GoogleDrive: Fix clean up

📊 Changes

17 files changed (+655 additions, -26 deletions)

View changed files

📝 .github/workflows/build.yml (+6 -0)
📝 .github/workflows/tests.yml (+8 -0)
📝 .gitignore (+1 -0)
📝 _locales/en/messages.json (+34 -1)
📝 gulpfile.js (+20 -0)
📝 manifest.json (+1 -1)
📝 src/lib/Account.js (+6 -1)
📝 src/lib/adapters/Caching.ts (+2 -2)
src/lib/adapters/GoogleDrive.ts (+401 -0)
📝 src/lib/adapters/WebDav.js (+5 -0)
📝 src/lib/interfaces/Adapter.ts (+1 -1)
📝 src/test/test.js (+34 -18)
src/ui/components/OptionsGoogleDrive.vue (+118 -0)
📝 src/ui/views/AccountOptions.vue (+7 -1)
📝 src/ui/views/NewAccount.vue (+5 -0)
📝 test/selenium-runner.js (+4 -0)
📝 tsconfig.json (+2 -1)

📄 Description

  • Make all strings translatable
  • Allow builds without google credentials
  • Make sure non-existing files trigger a sync from scratch

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/floccusaddon/floccus/pull/837 **Author:** [@marcelklehr](https://github.com/marcelklehr) **Created:** 2/23/2021 **Status:** ✅ Merged **Merged:** 2/23/2021 **Merged by:** [@marcelklehr](https://github.com/marcelklehr) **Base:** `develop` ← **Head:** `feature/google-drive` --- ### 📝 Commits (10+) - [`7a1a597`](https://github.com/floccusaddon/floccus/commit/7a1a597762c1df3a6ff3f045ff4eb585f3b9e4f5) Implement raw Google Drive sync - [`29978f5`](https://github.com/floccusaddon/floccus/commit/29978f5b67b00faaedc4ca16d4f9483a327ca3f3) UI: Update bookmark_file description for google-drive - [`660e983`](https://github.com/floccusaddon/floccus/commit/660e9835785920abe99c3d1fe6f1caac25c1f92e) Polish google auth (auto-refresh) - [`4f85de0`](https://github.com/floccusaddon/floccus/commit/4f85de04a4e8dc47449483ae07fca51d5a118b34) Allow encrypting google-drive file - [`e00da0d`](https://github.com/floccusaddon/floccus/commit/e00da0df408f34c8728465ab737f0507a967b900) Google Drive: Use offline access type with refresh_token - [`833bea6`](https://github.com/floccusaddon/floccus/commit/833bea6df9ea2e2511857dbc68135ca10f072dd3) CI: Test google drive - [`ccb5bdd`](https://github.com/floccusaddon/floccus/commit/ccb5bdd052144d7d57f2adc3bc6ba9e2afdd0902) CI: Fix build - [`357591c`](https://github.com/floccusaddon/floccus/commit/357591c90d0333c65eadf1921b94d634d5946639) CI: Fix google-drive tests - [`3ceaa1e`](https://github.com/floccusaddon/floccus/commit/3ceaa1e55a262ba78a62dc928b9f188e248c0f1b) CI: Google Drive: Don't leak access tokens - [`5ac3c29`](https://github.com/floccusaddon/floccus/commit/5ac3c29354cd5f2ab66b0a9fb8d52031bd419ec5) Tests: GoogleDrive: Fix clean up ### 📊 Changes **17 files changed** (+655 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+6 -0) 📝 `.github/workflows/tests.yml` (+8 -0) 📝 `.gitignore` (+1 -0) 📝 `_locales/en/messages.json` (+34 -1) 📝 `gulpfile.js` (+20 -0) 📝 `manifest.json` (+1 -1) 📝 `src/lib/Account.js` (+6 -1) 📝 `src/lib/adapters/Caching.ts` (+2 -2) ➕ `src/lib/adapters/GoogleDrive.ts` (+401 -0) 📝 `src/lib/adapters/WebDav.js` (+5 -0) 📝 `src/lib/interfaces/Adapter.ts` (+1 -1) 📝 `src/test/test.js` (+34 -18) ➕ `src/ui/components/OptionsGoogleDrive.vue` (+118 -0) 📝 `src/ui/views/AccountOptions.vue` (+7 -1) 📝 `src/ui/views/NewAccount.vue` (+5 -0) 📝 `test/selenium-runner.js` (+4 -0) 📝 `tsconfig.json` (+2 -1) </details> ### 📄 Description - [x] Make all strings translatable - [x] Allow builds without google credentials - [x] Make sure non-existing files trigger a sync from scratch --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:30:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#1769
No description provided.