Commit Graph

10 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 9ad73276e4 Prepare build-time static asset syncing without touching page templates
Constraint: Static images need to come from remote sources before log sync and build
Rejected: Per-file source mapping | directory-grouped manifests are easier to maintain
Confidence: high
Scope-risk: narrow
Directive: Prefer grouped target_dir manifests and keep page-facing paths stable
Tested: npm run assets:sync; npm run build; bash -n scripts/deploy-homepage.sh; npx tsc --noEmit --pretty false --project tsconfig.json
Not-tested: Real Seafile download against production URLs
2026-05-07 14:38:44 +08:00
SepComet d46f69c9a6 优化首页 Gitea Activity 展示 2026-05-07 09:09:29 +08:00
SepComet 31796260cc docs: add cron deploy script and ignore local runtime artifacts 2026-05-06 19:23:17 +08:00
SepComet 89bc23e7e7 Add structured rebuild entrypoint for AstrBot 2026-05-06 10:11:16 +08:00
SepComet 85e510fbc0 Add schema validation and sync metadata UI 2026-05-06 09:47:00 +08:00
SepComet 8265a10cff feat: scaffold seafile resource sync 2026-05-05 10:30:47 +08:00
SepComet fdeb25805c feat: add gitea sync and env-aware content sync 2026-05-05 09:53:51 +08:00
SepComet d85c8ac85d feat: add build-time content sync scaffold 2026-05-05 09:04:11 +08:00