11 Commits

Author SHA1 Message Date
AutonetSellCar Deploy
234f91a14a fix: Parse actual image URLs from search HTML for thumbnails
Extract main_image from HTML img tags instead of constructing from
car_no pattern. Handles timestamp-based filenames (e.g., 1767925381_0.jpg)
that differ from the default cmcar_0.jpg pattern.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 12:53:37 +09:00
AutonetSellCar Deploy
f01abfa15e feat: Add image download fallback via AutoDB AJAX API
When __carPhoto URL pattern returns 404 (e.g., timestamp-based filenames
like 1767161441_0.jpg instead of cmcar_0.jpg), fall back to fetching
actual image URLs from /common/ajax/AutoDB.html?mode=view&key={car_key}
XML response (strPhotos field).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 12:48:13 +09:00
AutonetSellCar Deploy
02a88da430 fix: Show skip/error reasons in car import results
- Backend: Include car_name in skipped response
- Frontend: Display skip details (car name + reason like "Already imported (ID: 123)")
- Frontend: Display error details with error message
- Add import process description during loading

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 09:08:58 +09:00
AutonetSellCar Deploy
30888c1434 fix: Carmodoo session expiry causing all searches to return 0 results
Detect GoLogin redirect response (126 bytes) when session cookies expire,
automatically re-login and retry the search once.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 08:42:27 +09:00
AutonetSellCar Deploy
346018c4fb feat: Add Complex (단지선택) filter to Carmodoo search
- Added complex_code parameter to search_cars method
- Added /api/carmodoo/complexes endpoint with list of Korean auto complexes
- Added Complex dropdown as first filter in admin Cars search
- Passes complex_code to Carmodoo API as c_danji parameter

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 23:00:35 +09:00
AutonetSellCar Deploy
209c63e463 fix: EUC-KR decoding failure causing garbled Korean text
The Carmodoo HTML response sometimes contains invalid EUC-KR byte
sequences (e.g., 0xA4 followed by ASCII 'F'). This caused the decoder
to fall back to Latin-1, corrupting all Korean text.

Fixed by using errors='replace' which preserves Korean text while
replacing only the invalid byte sequences with replacement characters.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 22:24:00 +09:00
AutonetSellCar Deploy
bea89d0580 fix: Carmodoo search encoding issue - Korean car names garbled
lxml was re-encoding already decoded UTF-8 HTML based on charset="euc-kr"
meta tag. Fixed by removing charset meta tags and explicitly setting
UTF-8 encoding in HTMLParser.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 22:11:06 +09:00
AutonetSellCar Deploy
6209f88a7b fix: Allow PDF access for users with recommended vehicles 2026-02-01 21:36:17 +09:00
AutonetSellCar Deploy
d4bbcfa621 fix: Add cho parameter to search_cars for import car search
- Added 'cho': '' parameter to enable searching both domestic and import cars
- This fixes Toyota Prius (and other import cars) not appearing in search results

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 20:42:11 +09:00
AutonetSellCar Deploy
718c5b0474 Add staging environment documentation and minor fixes
- Document staging vs production DB separation (autonet_staging)
- Add staging sync and deployment commands to CLAUDE.md
- Update changelog with 2025-01-03 changes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 16:22:34 +09:00
AutonetSellCar Deploy
1f0dcb1ddb Initial commit: AutonetSellCar platform with deployment system
- Frontend: Next.js 14 with TypeScript
- Backend: FastAPI with SQLAlchemy
- Agent: Carmodoo sync agent
- Deployment: Docker Compose based staging/production setup
- Scripts: Automated deployment with rollback support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 13:24:39 +09:00