Commit Graph

6 Commits

Author SHA1 Message Date
zhengchen.tao 52c46e738f docs(readme): CI 介绍句补 deploy step,与 DEPLOY_PATH bullet 对齐
上一笔 03474c8 加 vars.DEPLOY_PATH 时只动了 bullet,介绍句还是
'builds and pushes the image',与新 bullet 描述的 deploy job 不对齐。
补一句 'then optionally redeploys ... (controlled by vars.DEPLOY_PATH)'。
2026-05-20 11:51:47 +08:00
zhengchen.tao 03474c81ce docs(readme): CI 段补 vars.DEPLOY_PATH + REGISTRY 例子加 Gitea
之前只列了 REGISTRY / IMAGE_OWNER / PACKAGES_TOKEN 三项,漏了 workflow
里实际还在用的 vars.DEPLOY_PATH——它控制 deploy job 是否启用
(if: vars.DEPLOY_PATH != '')。

- 加 vars.DEPLOY_PATH 条目,显式注明可选 + 留空只 build & push
- REGISTRY 例子在 ghcr.io 旁边补上 'git.example.com for Gitea
  Container Registry',让自建 Gitea 用户对得上号
- README.md + README.zh-CN.md 双语同步
2026-05-20 11:31:37 +08:00
zhengchen.tao 5f43b6b715 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
2026-05-20 10:44:03 +08:00
zhengchen.tao cb3e99aec2 ci: restore deploy job, gated on vars.DEPLOY_PATH
Build Docker Image / build (push) Successful in 14m11s
Build Docker Image / deploy (push) Successful in 1m16s
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:46:49 +08:00
zhengchen.tao 1ccddae692 feat(auth): support RS256 + OIDC discovery (JWKS auto-fetch)
Build Docker Image / build (push) Failing after 1m42s
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:18:50 +08:00
zhengchen.tao 71600adba9 Initial public release
Build Docker Image / build (push) Failing after 1m40s
MCP (Model Context Protocol) server providing read-only access to a Gitea
instance, gated by OAuth-issued JWT bearer tokens. See README.md for setup.
2026-05-17 23:54:59 +08:00