Commit Graph
2 Commits
Author SHA1 Message Date
ssw f9c2324c47 refactor: 将 ipass-core 内核外置为 deps/ipass 子模块,本仓库仅保留 SSO
- 新增 git submodule deps/ipass(指向 ipass/ipass,pin 9c46e27),内核与通用能力插件统一收归子模块
- 删除仓库内 crates/ipass-core、vendor/ngx-rust、crates/plugin-domain
- source/rust/Cargo.toml 改为 members=[plugin-sso, gateway] + exclude=[../../deps/ipass],ngx/nginx-sys/ipass-core 改为 ../../deps/ipass/... 的 path 依赖
- gateway 移除 plugin-domain 装配:PLUGINS=[SsoPlugin, CorePlugin],去除 ipass_proxy 指令 / domain 开关 / set_flag_domain
- plugin-sso 新增 compat.rs 兼容层,重建被主线内核移除的 4 个 http 辅助函数(body_object/json_body/send_ct/redirect),scim/cas/portal/reset.rs 改走 crate::compat
- 删除 tests/domain-e2e.sh,run-local-e2e.sh 的域名测试调用一并移除(e2e 由 7 套降为 6 套)
- 更新 README/CLAUDE/docs 反映子模块结构;构建已验证:cargo build --release 通过,产出 libsso_gateway.dylib
2026-09-21 15:17:35 +08:00
ssw 81c8346ad6 docs: 致上游 ipass 内核修改建议(A 档 6 项 + B 档自解清单)
- A1 User 加 extra flatten 透传通道(插件字段通用解,替代逐字段硬编码)
- A2 split_value position→rposition(内嵌分隔符截断 bug)
- A3 iter_prefix_ex 带 exp 枚举原语
- A4 账号操作支持路径确认(插件经 store::update_users + sync_shm 自实现)
- A5 插件文件读写口径二选一
- A6 PASSWORD_MIN_LEN 6→8、COOKIE_NAME 由插件声明
- B 档全部本地自解,不阻塞内核原样收敛
2026-09-13 17:18:16 +08:00