Commit Graph

16 Commits

Author SHA1 Message Date
ee8463fcda Remove Romanian diacritics from PACK_IMPORT_PARTENERI comments
- Replace ÎNCEPUT → INCEPUT in log messages
- Replace SFÂRȘIT → SFARSIT in log messages
- Replace NEAȘTEPTAT → NEASTEPTAT in error messages
- Replace În → In in comments
- Ensure ASCII compatibility for Oracle database systems

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 00:02:59 +03:00
f4145f773c Implement unified error handling system for PACK_IMPORT_PARTENERI
- Add g_last_error package variable matching PACK_JSON/PACK_IMPORT_COMENZI pattern
- Implement get_last_error() and clear_error() functions for VFP orchestrator integration
- Replace exceptions with error storage in validation and main functions
- Return -1 on errors instead of raising exceptions for deferred error handling
- Enable orchestrator to read errors before deciding when to log them

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 23:59:26 +03:00
0b9814114d Implement error handling system for PACK_IMPORT_COMENZI similar to PACK_JSON
- Add g_last_error package variable for VFP orchestrator integration
- Replace immediate pINFO logging with error storage for deferred logging
- Implement get_last_error() and clear_error() functions matching PACK_JSON pattern
- Update Oracle 10g compatibility for PACK_JSON regex patterns
- Enhance PACK_COMENZI with OUT parameter version for ID_COMANDA return

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 23:57:26 +03:00
dc91372760 Add PACK_JSON generic parser and refactor IMPORT_COMENZI package
- Create PACK_JSON: Generic JSON parser for Oracle 10g/11g/12c compatibility
  * Uses only standard Oracle functions (no dependencies)
  * Functions: parse_array, get_string, get_number, get_boolean
  * Built-in error tracking with g_last_error property
  * Comprehensive test suite with 4 test functions
  * Supports nested objects and complex JSON structures

- Refactor IMPORT_COMENZI to use PACK_JSON instead of manual parsing
  * Clean separation of concerns - JSON parsing vs business logic
  * Improved error handling and logging consistency
  * Uses pINFO for consistent logging across packages

- Update IMPORT_PARTENERI logging to use pINFO consistently
  * Remove custom log_operatie function
  * Standardize logging format across all packages

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 22:36:03 +03:00
3a4029cc6e Fix PACK_IMPORT_PARTENERI compilation errors and update logging
- Fix pack_def procedure calls with correct parameter signatures
- Change from function calls to procedure calls with OUT parameters
- Remove diacritics from all Romanian text in package
- Simplify NULL comparisons to use IS NULL only
- Update logging to use INFO table instead of system_log
- Rename package to PACK_IMPORT_PARTENERI for consistency

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 21:21:09 +03:00
461b26e8a7 Actualizare documentatie si plan pentru VFP Orchestrator
- CLAUDE.md: Actualizare completa cu architecture multi-tier si status project
- PRD.md: Adaugat plan detaliat pentru sync-comenzi-web.prg cu:
  * Flux complet de procesare (input/output/logging)
  * Helper functions necesare (CleanGoMagText, BuildArticlesJSON, etc.)
  * Cod complet pentru procesarea articolelor GoMag → Oracle
  * Gestionare cazuri speciale (shipping/billing/discounts)
  * Mapare detaliata Phase 2 cu P2-001 prin P2-004
- LLM_PROJECT_MANAGER_PROMPT.md: Update comenzi disponibile

Phase 1 Database Foundation: 75% complete, ready for P1-004 testing
Phase 2 VFP Integration: Fully planned, ready for implementation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 20:33:31 +03:00
3a234b5240 Remove FXP files from tracking and update gitignore
- Remove nfjson/nfjsonread.FXP from git tracking
- Add Python cache patterns (__pycache__/, *.py[cod], *$py.class)
- Add environment file patterns (.env, .env.local, .env.*.local)
- Reorganize project structure with VFP files moved to vfp/ directory
- Add comprehensive database scripts and documentation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 19:38:31 +03:00
30de817ecc Merge remote changes, keeping local versions of conflict files 2025-09-09 19:27:02 +03:00
4da36593da Implement unified Oracle mode support with auto-detection
- Unified Dockerfile with thick/thin mode auto-detection
- Single docker-compose.yaml with build arguments
- Auto-detect logic: thick mode for Oracle 10g/11g, thin mode for 12.1+
- Simplified .env configuration with clear mode selection
- Updated admin.py with FORCE_THIN_MODE and INSTANTCLIENTPATH support
- Added comprehensive documentation for both deployment modes
- Container tested successfully with thick mode for Oracle 11g compatibility

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 11:44:31 +03:00
3f654cd771 Update Oracle connection configuration
- Update tnsnames.ora with correct host IP address
- Ensure proper TNS configuration for ROA database

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 22:52:20 +03:00
669acbe86d Add gitignore and environment configuration template
- Update .gitignore to exclude sensitive files and helper docs
- Create .env.example with placeholder values for setup
- Ensure .env with secrets remains untracked

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 22:51:21 +03:00
3e92456c59 Setup Docker infrastructure for GoMag vending import system
- Add Flask admin interface with Oracle connection pool
- Create ARTICOLE_TERTI table for SKU mappings
- Configure Docker container with Oracle Instant Client
- Setup project documentation and requirements

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-08 22:48:33 +03:00
9d3fa2bf9e Initial commit with current state 2025-08-28 00:28:20 +03:00
6a841e3cc0 gitignore foxpro 2025-08-26 23:43:22 +03:00
Marius
5b9ec542cc commit initial
testare api gomag vending master
2025-08-26 23:01:45 +03:00
Marius
b7e7a20d99 Initial commit 2025-08-26 22:59:58 +03:00