Skip to content

Enable OAuth2 using Nextcloud user_oidc/oidc apps#204

Merged
cbcoutinho merged 37 commits into
masterfrom
feature/oauth2
Oct 13, 2025
Merged

Enable OAuth2 using Nextcloud user_oidc/oidc apps#204
cbcoutinho merged 37 commits into
masterfrom
feature/oauth2

Conversation

@cbcoutinho

Copy link
Copy Markdown
Owner

This is a work-in-progress PR until nextcloud/user_oidc#1221 is merged.

@cbcoutinho cbcoutinho force-pushed the feature/oauth2 branch 2 times, most recently from d9dcd9a to af21981 Compare October 12, 2025 20:37
@cbcoutinho cbcoutinho changed the title Feature/oauth2 Enable OAuth2 using Nextcloud user_oidc/oidc apps Oct 12, 2025
@cbcoutinho cbcoutinho force-pushed the feature/oauth2 branch 2 times, most recently from c3f053e to 121e7f2 Compare October 13, 2025 16:08
@cbcoutinho cbcoutinho marked this pull request as ready for review October 13, 2025 23:30
@cbcoutinho cbcoutinho merged commit 7103a79 into master Oct 13, 2025
2 checks passed
cbcoutinho added a commit that referenced this pull request Jun 4, 2026
…name

The vector-sync pipeline derived an indexed file's display title from the
document's embedded metadata (e.g. a PDF's /Title), falling back to the
filename only when absent. That embedded title frequently disagrees with how
the user named the file in Nextcloud and is confusing in the astrolabe
vector-viz UI (a passive consumer of the `title` payload field).

For files, always derive the title from the Nextcloud filename via a shared
`file_title_from_path` helper. Notes/deck/news keep their metadata titles.

A rename/move in Nextcloud keeps the fileid (doc_id) and content (etag/mtime)
but changes the path, so both the dedup claim and the scanner freshness gate
skip re-embedding and the stored file_path/title go stale. Add
`reconcile_document_path`: a metadata-only set_payload that refreshes
file_path + title on the existing real chunks without re-fetch/re-embed.
Wire it into both skip paths:
  - dedup hit (etag unchanged on rename) via claim_existing_index(current_path=...)
  - scanner incremental skip (etag changed, mtime stable)
Both reuse already-fetched payloads, so steady-state scans add no extra
round-trip (reconcile is a no-op when the path is unchanged).

Refs: Deck #204

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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