9router/src/lib
Dũng A Tô Ri A d1a8dd4987
feat(usage): add Today period option to Usage & Analytics (#1063)
Bổ sung lựa chọn Today vào bộ lọc thời gian của trang Usage & Analytics
(trước đây chỉ có 24h, 7D, 30D, 60D).

Khác biệt với 24h:
- 24h: cuộn 24 giờ trước → hiện tại
- Today: cố định từ 00:00 hôm nay (giờ local) → hiện tại

Thay đổi:
- page.js, UsageStats.js: thêm option Today vào danh sách PERIODS,
  đổi grid mobile từ 4 cột sang 5 cột để fit option mới.
- api/usage/stats, api/usage/chart: cho phép giá trị period today.
- usageRepo.js:
  + getUsageStats: dùng nhánh live history khi period = today,
    cutoff lấy từ 00:00 hôm nay theo local time.
  + getChartData: thêm 24 bucket theo giờ từ 00:00 → 23:59 hôm nay.
2026-05-14 10:03:05 +07:00
..
auth Add OIDC dashboard auth (#1020) 2026-05-12 09:43:42 +07:00
db feat(usage): add Today period option to Usage & Analytics (#1063) 2026-05-14 10:03:05 +07:00
mcp Fix bug 2026-05-13 20:35:42 +07:00
network feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00
oauth feat: add STT support, Gemini TTS, and expand usage tracking 2026-05-05 10:32:59 +07:00
tunnel # v0.4.30 (2026-05-11) 2026-05-12 09:19:50 +07:00
updater chore: release v0.4.27 2026-05-09 22:48:07 +07:00
usage feat(executors): Improved UI components for displaying provider limits and usage statistics in the dashboard. 2026-02-05 18:38:50 +07:00
appUpdater.js # v0.4.29 (2026-05-10) 2026-05-10 21:56:40 +07:00
consoleLogBuffer.js Feat : console log 2026-03-02 09:31:16 +07:00
dataDir.js fix: handle permission denied when creating DATA_DIR (#1005) 2026-05-12 09:35:49 +07:00
disabledModelsDb.js feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00
initCloudSync.js feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00
localDb.js feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00
mitmAliasCache.js # v0.4.29 (2026-05-10) 2026-05-10 21:56:40 +07:00
providerNormalization.js fix: normalize Ollama Local provider input (#955) 2026-05-09 10:05:22 +07:00
requestDetailsDb.js feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00
usageDb.js feat(db): migrate from lowdb to SQLite with repos pattern 2026-05-09 17:48:20 +07:00