• Joined on 2025-10-10
kangmin pushed to main at kangmin/api-btekno 2025-12-17 07:29:51 +00:00
dae5e9d2d5 fix: Register CORS middleware di public/index.php sebelum semua route
kangmin pushed to main at kangmin/api-btekno 2025-12-17 07:25:36 +00:00
a87d29c228 chore: Normalize Origin header in CORS middleware dan update test_cors
kangmin pushed to main at kangmin/api-btekno 2025-12-17 07:21:23 +00:00
a8bd195743 fix: Reorder CORS middleware to execute after RoutingMiddleware (LIFO)
kangmin pushed to main at kangmin/api-btekno 2025-12-17 07:18:30 +00:00
37098f4518 fix: Add global OPTIONS route for CORS preflight handling
kangmin pushed to main at kangmin/api-btekno 2025-12-17 07:10:42 +00:00
359def592d fix: Pastikan CORS headers ditambahkan ke error response juga, tambah DEPLOY_CORS_FIX.md
kangmin pushed to main at kangmin/api-btekno 2025-12-17 07:09:21 +00:00
8b81de7fa6 docs: Update troubleshooting CORS dengan langkah restart PHP-FPM yang jelas
kangmin pushed to main at kangmin/api-btekno 2025-12-17 07:07:52 +00:00
e59bf9d981 feat: Tambah script test_cors.php untuk debug CORS middleware
kangmin pushed to main at kangmin/api-btekno 2025-12-17 07:02:59 +00:00
bae1da324b fix: Perbaiki CORS middleware agar selalu add headers jika wildcard diizinkan, tambah script check_cors.php
kangmin pushed to main at kangmin/api-btekno 2025-12-17 06:57:19 +00:00
0dacce974c docs: Tambahkan instruksi deployment CORS dan troubleshooting
kangmin pushed to main at kangmin/api-btekno 2025-12-17 06:56:40 +00:00
89c9ea93c8 feat: Add CORS middleware untuk akses dari browser lokal
kangmin pushed to main at kangmin/api-btekno 2025-12-17 06:44:07 +00:00
bbe4cc000b Add: Complete API endpoints documentation - List all endpoints with request/response examples - Include authentication requirements - Document error responses - Add query parameters and access control info
kangmin pushed to main at kangmin/api-btekno 2025-12-17 06:38:44 +00:00
b10d590649 Fix: Remove created_at/updated_at from daily/hourly summary INSERT - Production database doesn't have these columns - Update DailySummaryService and HourlySummaryService - Add daily_summary and hourly_summary structure check to check_database.php
kangmin pushed to main at kangmin/api-btekno 2025-12-17 06:36:54 +00:00
cb42557fa2 Fix: Update TROUBLESHOOTING.md to reflect 'price' column change
kangmin pushed to main at kangmin/api-btekno 2025-12-17 06:36:37 +00:00
ca3b1bd0d7 Fix: Change 'amount' to 'price' to match database schema - Database uses 'price' column, not 'amount' - Update all queries in DailySummaryService, HourlySummaryService - Update RetribusiWriteService (SELECT, INSERT, UPDATE) - Update Validator to use 'price' field - Update check_database.php and TROUBLESHOOTING.md
kangmin pushed to main at kangmin/api-btekno 2025-12-17 06:35:10 +00:00
56403469ef Add: Database verification scripts and troubleshooting guide
kangmin pushed to main at kangmin/api-btekno 2025-12-17 06:32:39 +00:00
533c22d3af Fix: Fix SQL GROUP BY error in daily/hourly summary aggregation - Use COALESCE in GROUP BY to handle NULL tariff amounts - Remove invalid is_active check on tariffs table
kangmin pushed to main at kangmin/api-btekno 2025-12-17 04:11:35 +00:00
220b554a17 docs: Add module guide dan security guidelines untuk API documentation
kangmin pushed to main at kangmin/api-btekno 2025-12-17 04:08:36 +00:00
c7bfaee618 fix: Improve error handling untuk docs routes
kangmin pushed to main at kangmin/api-btekno 2025-12-17 04:08:11 +00:00
c08e0c7983 feat: Add Swagger UI documentation di root URL
kangmin pushed to main at kangmin/api-btekno 2025-12-17 04:00:48 +00:00
3f4a366c45 docs: Update nginx configuration instructions in DEPLOYMENT.md