• Joined on 2025-10-10
kangmin created repository kangmin/Retribusi 2025-12-18 04:20:40 +00:00
kangmin pushed to main at kangmin/api-btekno 2025-12-18 04:13:17 +00:00
d05fa2f4cd Fix daily_summary dan hourly_summary aggregation, tambah fallback logic untuk dashboard, update validator untuk camera dan location type
kangmin pushed to main at kangmin/api-btekno 2025-12-18 00:03:49 +00:00
9416de7d87 docs: add feature checklist untuk monitoring retribusi
kangmin pushed to main at kangmin/api-btekno 2025-12-17 23:53:59 +00:00
5af51949db feat: add OpenAPI auto-generate dari routes - Tambah OpenAPIGenerator class untuk scan routes dan generate spec - Tambah CLI command bin/generate-openapi.php - Support auto-generate on request via OPENAPI_AUTO_GENERATE env - Update public/index.php untuk auto-generate saat request /docs/openapi.json - Tambah dokumentasi OPENAPI_AUTO_GENERATE.md
kangmin pushed to main at kangmin/api-btekno 2025-12-17 23:46:10 +00:00
eaa8ca97c1 docs: update OpenAPI spec dengan endpoint baru dan field camera - Tambah GET /locations/{code}, GET /gates/{location_code}/{gate_code}, GET /tariffs, GET /tariffs/{location_code}/{gate_code}/{category}, GET /audit-logs, GET /entry-events, GET /streams, GET /realtime/events, GET /realtime/snapshot, GET /summary/hourly, GET /dashboard/by-category, GET /dashboard/summary - Update field camera di gates (support HLS, RTSP, HTTP)
kangmin pushed to main at kangmin/api-btekno 2025-12-17 23:42:33 +00:00
820a0600ed docs: update API_ENDPOINTS.md dengan endpoint baru dan field camera
kangmin pushed to main at kangmin/api-btekno 2025-12-17 23:36:55 +00:00
4d36f02f32 feat: tambah endpoint frontend dan field camera di gate
kangmin pushed to main at kangmin/api-btekno 2025-12-17 10:57:23 +00:00
1d5511ccbc Add location_code filter to streams endpoint for live camera filtering
kangmin pushed to main at kangmin/api-btekno 2025-12-17 10:55:44 +00:00
d2b4def127 Fix location_code filter in stream method: handle empty string and trim whitespace
kangmin pushed to main at kangmin/api-btekno 2025-12-17 10:55:07 +00:00
2760f1a8f7 Fix location_code filter: handle empty string and trim whitespace
kangmin pushed to main at kangmin/api-btekno 2025-12-17 10:51:25 +00:00
a1a9dd93f8 Add test script to verify hourly summary API response
kangmin pushed to main at kangmin/api-btekno 2025-12-17 10:49:48 +00:00
c9928c5a6e Add debug script to check why total_amount is not calculated in hourly summary
kangmin pushed to main at kangmin/api-btekno 2025-12-17 10:48:13 +00:00
61c6c23e8a Add explanation: hourly summary will be updated again when cron runs (repeated updates behavior)
kangmin pushed to main at kangmin/api-btekno 2025-12-17 10:46:08 +00:00
828fae33e9 Add guide for manual cron execution testing
kangmin pushed to main at kangmin/api-btekno 2025-12-17 10:44:03 +00:00
4e7878d417 Add explanation: hourly summary data is REPLACED not ADDED (upsert behavior)
kangmin pushed to main at kangmin/api-btekno 2025-12-17 10:43:05 +00:00
55ae19de66 Add detailed explanation for hourly cron job concept (jam 2 update jam 1)
kangmin pushed to main at kangmin/api-btekno 2025-12-17 10:41:34 +00:00
1aa462d9da Fix hourly summary: default to today for realtime updates, add hour parameter for efficient updates
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)