Summary: - Fix Prompt list API response schema missing activeVersion and draftVersion fields - Fastify was filtering out undefined schema fields, causing version columns to show empty - Add detailed diagnostic logging for Prompt debug mode troubleshooting - Verify debug mode works correctly (DRAFT version is used when debug enabled) Changes: - backend/src/common/prompt/prompt.routes.ts: Add activeVersion and draftVersion to response schema - backend/src/common/prompt/prompt.service.ts: Add diagnostic logs for setDebugMode and get methods - PKB module: Various authentication and document handling fixes from previous session Tested: Debug mode verified working - v2 DRAFT version correctly loaded when debug enabled
54 lines
627 B
Plaintext
54 lines
627 B
Plaintext
# Git attributes for REDCap Docker deployment
|
||
# 确保跨平台一致性,防止CRLF/LF问题
|
||
|
||
# PHP文件统一使用LF换行符(Linux标准)
|
||
*.php text eol=lf
|
||
*.inc text eol=lf
|
||
|
||
# Shell脚本统一使用LF
|
||
*.sh text eol=lf
|
||
|
||
# PowerShell脚本保持CRLF(Windows标准)
|
||
*.ps1 text eol=crlf
|
||
|
||
# 配置文件统一使用LF
|
||
*.conf text eol=lf
|
||
*.ini text eol=lf
|
||
*.yml text eol=lf
|
||
*.yaml text eol=lf
|
||
|
||
# Markdown和文档
|
||
*.md text eol=lf
|
||
*.txt text eol=lf
|
||
|
||
# 二进制文件不做转换
|
||
*.png binary
|
||
*.jpg binary
|
||
*.jpeg binary
|
||
*.gif binary
|
||
*.ico binary
|
||
*.pdf binary
|
||
*.zip binary
|
||
*.tar binary
|
||
*.gz binary
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|