Commit Graph

3 Commits

Author SHA1 Message Date
SepComet afa01ce2af Reduce Seafile manifest churn when endpoint settings change
Store Seafile references as share tokens and resolve full URLs at sync time, while removing the now-obsolete temporary access notice from the homepage after HTTPS migration.

Constraint: Seafile host/domain can change independently from content manifests

Rejected: Keeping /f/<token>/?dl=1 in manifest entries | repeats fixed URL boilerplate and increases bulk-edit risk

Confidence: high

Scope-risk: narrow

Directive: Keep Seafile manifest values token-first unless a non-standard external link is explicitly required

Tested: npm run build; ./scripts/deploy-homepage.sh --dev-deploy

Not-tested: Manual click-through verification for every share/download link on production domain

Co-authored-by: OmX <omx@oh-my-codex.dev>
2026-05-11 20:23:23 +08:00
SepComet 811f8199e0 区分开发部署与全量部署,减少样式迭代发布负担
Constraint: 需要保留公网可见的真实部署路径,同时降低日常样式改动的部署成本
Rejected: 仅保留 --fast | 不会重建镜像,无法可靠看到代码/样式变更
Confidence: high
Scope-risk: narrow
Directive: 日常页面/样式迭代优先使用 --dev-deploy,资源或日志更新再使用 --full-deploy
Tested: bash -n scripts/deploy-homepage.sh; scripts/deploy-homepage.sh --help; ./scripts/deploy-homepage.sh --dev-deploy; ./scripts/deploy-homepage.sh --full-deploy
Not-tested: 生产域名切换后的反代行为
2026-05-10 15:27:08 +08:00
SepComet 8265a10cff feat: scaffold seafile resource sync 2026-05-05 10:30:47 +08:00