open-webui/backend/open_webui/models
Classic298 f25708484b
fix: Daily Messages chart in Analytics fails to load on All time when a message has no timestamp (#31888)
With All time selected, the Daily Messages chart in Admin Panel > Analytics failed to load (the daily analytics request returned a 500) as soon as one message had been saved without a timestamp, for example a chat created through the API with a null timestamp. A date range still worked because those messages were left out of it. Such messages now get the time they were saved, and ones already stored without a timestamp are counted on today's date instead of breaking the chart. Messages that came after the missing timestamp in the same chat were also left out of analytics before and are now counted.

Fixes #27316
2026-10-05 06:46:49 +04:00
..
access_grants.py refac 2026-09-22 13:13:22 -04:00
auths.py refac 2026-09-15 22:47:03 -04:00
automations.py fix: automation still shows "Last run Never" after "Run now" (#31583) 2026-09-30 19:01:42 +04:00
calendar.py refac 2026-09-21 08:59:39 -04:00
channels.py refac 2026-09-15 22:47:03 -04:00
chat_messages.py fix: Daily Messages chart in Analytics fails to load on All time when a message has no timestamp (#31888) 2026-10-05 06:46:49 +04:00
chats.py fix: shared chats can't open new files attached together with a file already in the chat (#31650) 2026-09-30 21:03:32 +04:00
config.py refac 2026-08-13 15:02:18 -06:00
feedbacks.py perf: drop redundant session.refresh calls after commit across the model layer (#27381) 2026-07-23 18:08:00 -05:00
files.py perf: drop redundant session.refresh calls after commit across the model layer (#27381) 2026-07-23 18:08:00 -05:00
folders.py fix: keep folder parent references acyclic (#28748) 2026-08-24 17:06:19 -04:00
functions.py fix: prevent startup crash when function/tool has null user_id (#26850) 2026-07-24 00:00:37 -05:00
groups.py perf: index group_member on (user_id, group_id) (#27822) 2026-07-31 19:09:15 -05:00
knowledge.py refac 2026-09-21 10:19:59 -04:00
memories.py refac 2026-07-24 01:54:36 -04:00
messages.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
models.py fix: on PostgreSQL, searching automations or filtering models by a non-ASCII word finds nothing (#31423) 2026-09-27 23:09:54 +04:00
notes.py refac 2026-08-10 19:46:46 -06:00
oauth_sessions.py refac 2026-07-31 17:41:14 -04:00
prompt_history.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
prompts.py fix: on PostgreSQL, searching automations or filtering models by a non-ASCII word finds nothing (#31423) 2026-09-27 23:09:54 +04:00
shared_chats.py feat(ui): add 'Unshare All Shared Chats' button to Shared Chats modal (#25848) 2026-06-17 03:06:41 +02:00
skills.py refac 2026-09-04 18:31:59 -04:00
tags.py perf: build debug log messages lazily so disabled debug logs cost nothing (#27834) 2026-07-31 19:09:01 -05:00
tools.py refac 2026-09-04 18:31:59 -04:00
users.py refac 2026-09-17 20:11:05 -04:00