Integration layer for 2dph: canonical OnlyOffice SDK/client reuse #1

Closed
opened 2026-08-19 12:02:48 +01:00 by eSlider · 3 comments
Owner

Goal

Make go-onlyoffice the canonical OnlyOffice integration layer used by 2dph, instead of duplicated adapters where practical.

Scope

  • identify 2dph local OnlyOffice client logic that should be replaced or wrapped
  • expose/stabilize any missing SDK/CLI surfaces needed by 2dph
  • keep rebuild path healthy for:
    • oo
    • office
    • downstream 2dph consumers

Constraints

  • this is an integration-layer merge, not a hard monorepo merge
  • preserve repo/module boundaries
  • avoid regressions in existing oo / office CLI consumers

Test plan

  • library/API surface reviewed against 2dph needs
  • go test ./...
  • downstream rebuild smoke in 2dph
## Goal Make `go-onlyoffice` the canonical OnlyOffice integration layer used by `2dph`, instead of duplicated adapters where practical. ## Scope - identify `2dph` local OnlyOffice client logic that should be replaced or wrapped - expose/stabilize any missing SDK/CLI surfaces needed by `2dph` - keep rebuild path healthy for: - `oo` - `office` - downstream `2dph` consumers ## Constraints - this is an integration-layer merge, not a hard monorepo merge - preserve repo/module boundaries - avoid regressions in existing `oo` / `office` CLI consumers ## Test plan - library/API surface reviewed against `2dph` needs - `go test ./...` - downstream rebuild smoke in `2dph`
Author
Owner

First increment landed: mail attachment download support was merged in PR #2. Remaining integration work stays open for the broader 2dph adapter migration.

First increment landed: mail attachment download support was merged in PR #2. Remaining integration work stays open for the broader 2dph adapter migration.
Author
Owner

Second increment landed too: PR #3 merged, so the canonical oo CLI now exposes mail attachment downloads for downstream migration.

Second increment landed too: PR #3 merged, so the canonical oo CLI now exposes mail attachment downloads for downstream migration.
Collaborator

Шаг 1 готов: PR #4 добавляет Client.FetchMailFolder (canonical list→get→download walk с Limit/StartIndex-окнами для чекпойнтов и FetchBodies для вложений). Следующий шаг — перевести mail-ingest 2dph с внутреннего raw-HTTP OOClient на этот фасад (параллельно в 2dph: PR #107 портирует IMAP-источник v1 + фиксы write-пути, отчёт eSlider/2dph#106).

Шаг 1 готов: PR #4 добавляет `Client.FetchMailFolder` (canonical list→get→download walk с Limit/StartIndex-окнами для чекпойнтов и FetchBodies для вложений). Следующий шаг — перевести mail-ingest 2dph с внутреннего raw-HTTP OOClient на этот фасад (параллельно в 2dph: PR #107 портирует IMAP-источник v1 + фиксы write-пути, отчёт eSlider/2dph#106).
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eSlider/go-onlyoffice#1