api-server / server.js

Commit History

fix: update server.js with latest chart rendering improvements
3c5f549
Running

XWX-AI Claude Opus 4.6 commited on

feat: remove PDF size hard rejection, allow large files to proceed with warning
6dd390f

XWX-AI Claude Opus 4.6 commited on

feat: add messageCount parameter to PDF generation logging
b4075c9

XWX-AI Claude Opus 4.6 commited on

chore: increase HTML size limit from 8MB to 10MB for backend consistency
b89c431

XWX-AI Claude Opus 4.6 commited on

fix: use textOnlySizeMB for PDF render time estimation
82942de

XWX-AI commited on

feat: PDF backend enhancements — 8 MB HTML size limit, dynamic timeout with cubic formula, protocolTimeout=0, temp file method for large HTML
f44ea82

XWX-AI Claude Opus 4.6 commited on

fix: enhance chart extraction - multi-chart support, ES6 shorthand, and brace-balanced parsing
d842f0a

XWX-AI Claude Opus 4.6 commited on

feat: add widget renderer (chart.js, mermaid) and bump to v2.0.0
44a8902

XWX-AI Claude Opus 4.6 commited on

fix: change htmlToUse from const to let for future reassignment compatibility
e550365

XWX-AI Claude Opus 4.6 commited on

feat: update server logic
fb94a6b

XWX-AI Claude Opus 4.6 commited on

fix: restore data-language attribute in Shiki-highlighted code blocks
f8322a5

XWX-AI Claude Opus 4.6 commited on

v1.4.6 代码块高亮最终方案 - Shiki 后端预高亮
e14f86d

XWX-AI Claude Opus 4.6 commited on

fix: add dynamic timeout for PDF generation to prevent timeout on large pages
cd363bd

XWX-AI Claude Opus 4.6 commited on

Add dashed separators around API request log line
d106d98

XWX-AI Claude Opus 4.6 commited on

v1.4.4 - Add platform, export count, language and per-format counts to backend log
e6f0a87

XWX-AI Claude Opus 4.6 commited on

fix: increase base timeout from 30s to 60s for PDF generation
6213d08

XWX-AI Claude Opus 4.6 commited on

fix: dynamic timeout for Puppeteer PDF generation
78a0140

XWX-AI Claude Opus 4.6 commited on

fix: improve PDF image rendering - remove lazy loading, handle base64 images, add screenshot workaround
7ff2703

XWX-AI commited on

fix: optimize PDF generation - use headless shell mode, extend image timeout, add network idle wait
d1f4de0

XWX-AI commited on

feat: add environment-aware logging and dual-environment support
00d6248

XWX-AI commited on

Rollback to Puppeteer 22.x - v24.x has critical PDF encoding bug
93bf046

XWX-AI commited on

Fix Puppeteer 24.x Chrome launch in Docker
35f3546

XWX-AI commited on

Upgrade Puppeteer to v24.x for better PDF generation
8dea6b9

XWX-AI commited on

Optimize PDF generation with dynamic wait times based on image stats
f13b991

XWX-AI commited on

Fix: Replace deprecated page.waitForTimeout with delay helper
ea21983

XWX-AI commited on

压力测试
89c8cea

XWX-AI commited on

feat: support showWatermark parameter for dynamic footer
ab40ae2

XWX-AI commited on

fix: update PDF generation to respect frontend margins and improve footer
4bef791

XWX-AI commited on

Force right alignment for PDF footer using Flexbox to fix centering issue
8ad6178

XWX-AI commited on

Update PDF Footer: Page numbers only (Right aligned), remove Powered By (moved to HTML body)
2fa8594

XWX-AI commited on

Enable PDF footer with page numbers (1/N) and powered-by text
2282119

XWX-AI commited on

Use preferCSSPageSize: true for exact print preview matching
c04468e

XWX-AI commited on

Adjust PDF margins to 10mm (matching local print preview)
6907e14

XWX-AI commited on

Reduce PDF margins: L/R 5mm, T/B 15mm
5f5cfd9

XWX-AI commited on

Switch to Node.js + Puppeteer for 100% fidelity PDF
8617367

XWX-AI commited on