Commit Graph

6 Commits

Author SHA1 Message Date
zhengchen.tao e1d1af7f36 docs(readme): CI 介绍句补 deploy step,与 DEPLOY_PATH bullet 对齐
跟 gitea-mcp 52c46e7 同步:介绍句之前只说 'builds and pushes',
跟新加的 vars.DEPLOY_PATH bullet 不对齐。补 'then optionally
redeploys ... (controlled by vars.DEPLOY_PATH)'。
2026-05-20 11:51:57 +08:00
zhengchen.tao bc2fedd4e6 docs(readme): CI 段补 vars.DEPLOY_PATH + REGISTRY 例子加 Gitea
跟 gitea-mcp 03474c8 同步:之前只列三项,漏了 workflow 里 vars.DEPLOY_PATH
(if 条件控制 deploy job 启用)。

- 加 vars.DEPLOY_PATH 条目,显式注明可选
- REGISTRY 例子补上 Gitea Container Registry 写法
- README.md + README.zh-CN.md 双语同步
2026-05-20 11:31:46 +08:00
zhengchen.tao d0852a222e docs(readme): 加 i18n 切换 + 中文版 + nas-auth 引用
- README.md L3 加'English | 简体中文'切换 header
- Choosing an AS / Self-hosted minimal 段:把"Write your own 500 LoC"
  改成显式指向 [nas-auth](https://github.com/ZhengchenTao/nas-auth),
  本 server 开发过程中对接的就是它,作 reference 实现
- 新增 README.zh-CN.md

CI build-image.yml paths-ignore '**.md',本次 docs-only push 不触发
build。
2026-05-20 10:46:54 +08:00
zhengchen.tao 2b595ea27b ci: restore deploy job, gated on vars.DEPLOY_PATH
Build Docker Image / build (push) Has been cancelled
Build Docker Image / deploy (push) Has been cancelled
Re-add the deploy job dropped during open-source cleanup. The job pulls
the just-built image and restarts the compose stack in vars.DEPLOY_PATH.

The gate `if: vars.DEPLOY_PATH != ''` keeps the workflow safe for
public mirroring: no path appears in the YAML, and any fork without
DEPLOY_PATH set will silently skip the deploy step.
2026-05-18 00:47:01 +08:00
zhengchen.tao 1388cd24ba feat(auth): support RS256 + OIDC discovery (JWKS auto-fetch)
Build Docker Image / build (push) Has been cancelled
Add Jwt__Algorithm config to choose between HS256 (shared symmetric key,
existing behavior, default) and RS256 (Authority-based OIDC discovery,
public-key auto-fetch with periodic refresh).

RS256 mode makes the server compatible with any standard OAuth 2.1 / OIDC
provider (Logto, ZITADEL, Keycloak, Auth0) without requiring a shared
secret. HS256 mode remains the default for minimal self-built AS setups.
2026-05-18 00:19:11 +08:00
zhengchen.tao 515763bc72 Initial public release
Build Docker Image / build (push) Failing after 1m22s
MCP (Model Context Protocol) server for reading and writing an Obsidian
vault, gated by OAuth-issued JWT bearer tokens. See README.md for setup.
2026-05-17 23:55:00 +08:00