12 Commits
Author SHA1 Message Date
chenxing c1030e9b51 fix: Notify projman 步骤容错——WEBHOOK_URL/DEPLOY_TOKEN 缺失时跳过通知(避免空 URL 致 curl 报 blank argument)
build-push / build-push (push) Successful in 24s
2026-08-31 18:30:34 +08:00
chenxing 60da1f6edf ci
build-push / build-push (push) Failing after 24s
2026-08-31 18:26:28 +08:00
chenxing 6daf5db8c1 fix: 修复CI镜像构建失败(Dockerfile COPY docker/cas.war 但上下文缺失/被 .dockerignore 排除)
build-push / build-push (push) Failing after 42s
- .dockerignore 移除对 docker/cas.war 的排除,保证 COPY 可取到
- docker/cas.war 同步最新构建产物(含自定义登录模板 casLoginView/casGenericSuccessView、check-sso、登录成功跳默认落点、完整版前端资源)
- 补充登录页模板源码与 build 脚本入库
2026-08-31 18:20:05 +08:00
chenxing 07ab248db6 Merge remote-tracking branch 'origin/main'
build-push / build-push (push) Failing after 32s
2026-08-31 18:01:22 +08:00
chenxing 4301f1db8c 添加自定义登录 2026-08-31 17:29:16 +08:00
chenxing d4432ef9e9 build: 重新注入含 service URL 解码的 LoginController.class 到 docker/cas.war
deploy-cassso-service / build-deploy (push) Successful in 52s
后端发布不走源码编译,CI 直接 COPY 仓库内 docker/cas.war 进镜像。
此前仅提交 LoginController.java 源码不生效,导致 CI 重建时用旧 war 覆盖了解码改动。
现用 javac(JDK8) 编译带 URLDecoder.decode 的 LoginController,注入 docker/cas.war 并提交,
保证生产镜像包含 service 解码逻辑(前端已还原不解码,仅后端解码)。
2026-08-06 21:00:47 +08:00
chenxing 4e325c3f2c fix: 在后端对 service 参数做 URL 解码,移除前端解码依赖
deploy-cassso-service / build-deploy (push) Successful in 25s
前端 bschlogin.js 的 getQueryVariable 未对 query value 做 decodeURIComponent,
会把浏览器地址栏里百分号编码态的 service(http%3A%2F%2F...) 原样 POST 给后端,
导致 WebApplicationServiceFactory.createService 拿到的仍是编码串,CAS 服务注册表
正则 ^(https|imaps|http)://.* 匹配不到而抛 UnauthorizedServiceException
(带 service 登录报"建立会话失败")。改为在后端 login() 入口统一解码,方便后续扩展。
2026-08-06 20:56:27 +08:00
chenxing a6a2ccb308 fix: build+run image locally (skip nexus push; nexus docker registry is HTTP)
deploy-cassso-service / build-deploy (push) Successful in 1m17s
2026-08-05 10:48:40 +08:00
chenxing 1eb8022742 fix: use 192.168.10.160:8083 (host-published nexus) instead of bare 'nexus' hostname
deploy-cassso-service / build-deploy (push) Failing after 9s
2026-08-05 10:32:46 +08:00
chenxing 43731034e8 fix: drop git-lfs from workflow (server LFS disabled)
deploy-cassso-service / build-deploy (push) Failing after 2s
2026-08-05 10:21:33 +08:00
chenxing b3d25d309c chore: store cas.war as normal blob (server LFS disabled, raised FILE_MAX_SIZE)
deploy-cassso-service / build-deploy (push) Failing after 4s
2026-08-05 10:12:42 +08:00
chenxing 3bd14554ec init: CasSsoService CAS 5.3 overlay (cas.war via LFS) 2026-08-05 09:53:49 +08:00