82f95e217c
Navbar design değişikliği yapıldı.
2025-11-08 23:49:12 +03:00
dca90658da
Yakıt Fişlerinin Mal Sorumlusuna iletilmemesi sorunu giderildi.
2025-11-08 23:12:00 +03:00
2514dfcde3
Formlardaki filtrelemeler düzeltildi.
2025-11-08 19:50:18 +03:00
b091a0e3fc
Logic fixed
2025-11-08 16:55:41 +03:00
495e6ae1a2
Mal Sorumlusu kaydetme mantığı değişti
2025-11-08 14:34:55 +03:00
aa665dd6d1
Yakıt Personeli ekranı fixed
2025-11-08 02:08:56 +03:00
1a0574346c
Araç Ekleme (Düzenleme) Fix
2025-11-08 00:26:46 +03:00
cd604ff0a1
Mukannen değeri girişi eklendi.
2025-11-08 00:17:49 +03:00
6a2c07076d
Port değişti
2025-11-07 01:48:12 +03:00
aae63ee4d0
Port numaraları değişti.
2025-11-07 01:08:52 +03:00
673d53f126
fixed
2025-11-07 00:53:00 +03:00
c9abe6cc55
perosnel işlemleri change
2025-11-07 00:25:21 +03:00
bb9031fb31
refactor: Yakıt fişleri SQLite veritabanı bağlantısı kuruldu
...
- Yakıt fişleri tablosu oluşturuldu (fuel_slips)
- API tamamen SQLite veritabanı ile çalışacak şekilde güncellendi
- Geçici mock data verileri tamamen kaldırıldı
- Veritabanı dosyası temizlendi, proje temiz başlatılacak
- Tüm CRUD operasyonları (CREATE, READ, UPDATE, DELETE) veritabanı ile entegre
- JSON alanlar veritabanında TEXT olarak saklanıyor ve parse ediliyor
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-06 19:57:42 +03:00
2b0c9e82cd
fix: Socket.io real-time güncelleme sistemi tamamen düzeltildi
...
- Socket.IO client modülü oluşturuldu (socketClient.js)
- SvelteKit API route'larından Socket.IO event gönderimi için client kullanımı
- fuel-slips API'de HTTP fetch yerine Socket.IO client kullanımı
- Server'da API event'larını dinleyip broadcast etme eklendi
- GoodsManagerContent component'inde Socket.IO dinleyicileri düzeltildi
- Dashboard'da Mal Sorumlusu content render düzeltmesi
- İbrahim Kara kullanıcısı ve mal sorumlusu kaydı eklendi
- Login endpoint'inde goods_manager ID mapping düzeltmesi
- fuel-slips/+page.svelte'de eksik fonksiyonlar eklendi
- Kapsamlı debug logları tüm Socket.IO işlemlerine eklendi
Çalışma prensibi:
1. Yakıt fişi oluşturulduğunda -> api-fuel-slip-assigned -> broadcast fuel-slip-assigned
2. Fiş onaylandığında/reddedildiğinde -> api-fuel-slip-updated -> broadcast fuel-slip-updated
3. Tüm değişiklikler anlık olarak ilgili ekranlarda güncelleniyor
2025-11-05 23:13:07 +03:00
54779eec79
Veritabanı bağlantı ve favicon hataları düzeltildi
...
- init-db script'indeki veritabanı bağlantı sıralaması düzeltildi
- SQLite veritabanı dizin oluşturulmadan bağlantı deneniyor hatası giderildi
- Favicon 404 hatası için akaryakıt temasına uygun SVG favicon eklendi
- Database bağlantı başarısız olduğunda daha açıklayıcı hata mesajları
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-05 17:53:39 +03:00
4205a8d387
Initial commit: Yakıt Takip Modülü - Akaryakıt İstasyonu Yönetim Sistemi
...
🚀 Features Implemented:
- Full-stack SvelteKit application with Express backend
- Role-based authentication (Admin, Fuel Manager, Goods Manager)
- Real-time notifications with Socket.IO
- SQLite database with auto-initialization in /db directory
- Comprehensive user management and fuel slip tracking
- Responsive design with Turkish language support
🏗️ Architecture:
- Frontend: Svelte + SvelteKit + Vite
- Backend: Node.js + Express + Socket.IO
- Database: SQLite3 with automatic schema creation
- Security: bcrypt password hashing + session management
- Real-time: Socket.IO for instant notifications
📁 Project Structure:
- Organized documentation in /docs directory
- Database files in /db directory with auto-setup
- Clean separation of API routes and UI components
- Comprehensive documentation including processes, architecture, and user guides
📚 Documentation:
- PROJECT_PROCESSES.md: Comprehensive project documentation
- KNOWLEDGE_BASE.md: Quick reference and user guide
- TEST_GUIDE.md: Testing and quality assurance guide
- README_ADMIN_FEATURES.md: Admin functionality guide
- Full API documentation and system architecture
🔒 Security Features:
- Role-based authorization system
- Encrypted password storage with bcrypt
- Session-based authentication
- SQL injection protection with parameterized queries
- CORS configuration and input validation
🎯 Key Features:
- Fuel slip creation and approval workflow
- Real-time notifications between users
- PDF generation for fuel slips
- User and vehicle management
- Comprehensive audit logging
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <[email protected] >
2025-11-05 08:35:13 +03:00