yiling
f04729b4bf
refactor(chatbot): use SessionTreeEntry type directly in ChatService, removing SimpleMessageEntry
2026-07-07 14:16:31 +08:00
yiling
55026af22e
refactor(chatbot): import AgentMessage type statically in DTO layer
2026-07-07 12:30:41 +08:00
yiling
b8eddcd854
feat(chatbot): return rich AgentMessage structure directly from listMessages API
2026-07-07 12:25:32 +08:00
yiling
d326a4cab8
refactor(chatbot): make mapEntryToMessage fully type-safe without any casts
2026-07-07 12:04:08 +08:00
yiling
243a4ab2c5
feat(chatbot): remove manual AgentSessionEntry creation from ChatService
2026-07-07 11:50:31 +08:00
yiling
e4c1830e02
feat(chatbot): delegate context prompt building to AgentChatPromptBuilder in workflow
2026-07-07 11:42:40 +08:00
yiling
7b6db5b56c
feat(chatbot): require agentId in ChatRequest and validate agent presence
2026-07-07 11:27:29 +08:00
yiling
63590d5329
feat(chatbot): decouple chatbot sessions from AssetComment table
2026-07-07 11:12:15 +08:00
yiling
ccf742e158
refactor(chatbot): make user parameter in startOrContinueChat type-safe
2026-07-07 11:04:51 +08:00
yiling
e55ee3a3f0
feat(chatbot): add chatbot backend api support
2026-07-07 10:55:22 +08:00
yiling
e1d3dd46db
feat(comments): allow marking comments as complete or incomplete
2026-07-06 12:24:40 +08:00
yiling
af8bc30409
docs: improve documentation and examples for S3 compatible storage
2026-07-06 10:13:12 +08:00
yiling
a05c0ac0db
fix(upload): resolve empty and generic MIME types in confirmFileUpload
...
Use Bun's built-in file resolver to fall back to extension-based MIME type detection when the mediaType is missing, empty, or generic ('application/octet-stream').
2026-07-05 21:55:26 +08:00
yiling
8ad25215dd
refactor(agent): prevent creating autofill and embedding tasks for audio assets
2026-07-05 16:31:14 +08:00
yiling
ccfcdce23c
fix(upload): correct .wma MIME type to audio prefix on upload and add tests
2026-07-05 15:57:29 +08:00
yiling
a2e982f2e6
feat(transcode): add audio file support with AAC stereo mp4 proxy and styled viewer
2026-07-05 15:11:19 +08:00
yiling
481c1ff8ba
fix(version-stack): resolve correct latest version ID of version stack
2026-07-04 20:56:31 +08:00
yiling
d3efc00902
feat(file-browser): show video duration on file card preview
...
Display the video duration (mm:ss) in the bottom-right corner of the
video file card preview area with white text and a transparent
background. Duration is sourced from media metadata and exposed via the
preview DTO. The overlay is gated behind a showDuration prop so it only
appears on file cards, not folder card child previews.
2026-07-03 20:48:26 +08:00
yiling
b7367bb129
refactor(storage): use original filenames and fix download UX
...
- Store uploaded files as files/{ulid}/{original-name} instead of files/{ulid}/raw
- Store transcoded videos as {stem}-{resolution}.mp4 (e.g. foo-720p.mp4)
- Store transcoded images as {stem}-{width}p.webp (e.g. foo-1920p.webp)
- Add download?: boolean param to presign - only sets Content-Disposition: attachment when true
- Local storage handler only sets Content-Disposition when ?download=1 query param is present
- Add POST /api/files/download-url endpoint for key-based single file downloads
- Uses ResourceType.Asset for permission check
- Validates key belongs to the asset's storage directory
- Fix existing download-links API to pass download: true to presign
- Fix breadcrumb navbar download: video shows resolution submenu, others download directly
- Fix video player download: calls download-url API, shows correct file type label
- Remove filename query param hack from presign URLs
- Add sanitizeFilename() and stemFromKey() utility helpers
- Add key field to VideoTranscode DTO interface
2026-07-02 17:39:23 +08:00
yiling
9b1890f57c
feat(auth): allow setting user locale on signup
2026-07-01 19:23:49 +08:00
yiling
178670fdab
feat(transcode): change video poster resolution to 480p
2026-07-01 12:45:16 +08:00
yiling
34a69a33bf
fix(api): fix update team settings and make request schema type-safe
2026-06-30 14:41:50 +08:00
yiling
95f91cd4de
feat(db): add custom migration to backfill totalFrames and startTimecode
2026-06-29 11:27:32 +08:00
yiling
adb5f58535
fix(transcode): replace isNaN with isFinite to guard against Infinity frameRate
2026-06-29 10:55:28 +08:00
yiling
eee7b5a677
feat(video): add SMPTE timecode support and format selection dropdown
2026-06-28 21:04:40 +08:00
yiling
837fe5bd7a
feat(video): add frame-accurate video player and CFR proxy generation
2026-06-28 20:35:47 +08:00
yiling
efd6163238
refactor(s3): remove automatic port appending to AWS_ENDPOINT_URL_S3
2026-06-25 18:46:14 +08:00
yiling
92801ba14a
fix(core): make version stack sort index lookup deterministic
...
When creating a version stack, the sortIndex was previously extracted
by taking files[0] from the database query result. Because findMany
without orderBy is non-deterministic, this resulted in flakiness
where the sortIndex would sometimes be null (from file2) instead of
'abc' (from file1), causing tests to fail.
We now look up the first file specifically based on the ordered
fileIds array parameter.
2026-06-23 10:02:01 +08:00
yiling
bdceda4cb6
refactor(share): use custom strongly-typed error classes
2026-06-22 20:48:47 +08:00
yiling
df6e392bf6
feat(share): expose raw password on settings page
2026-06-22 20:32:46 +08:00
yiling
4806c63906
feat(metadata): add single user and multiple user custom fields
2026-06-22 11:27:00 +08:00
yiling
90ef063d43
feat(cli): add shumai-cli and token authentication
2026-06-21 12:35:12 +08:00
yiling
b5ff76960f
fix(cli): defer PID file cleanup to process exit event for graceful shutdowns
2026-06-20 13:05:50 +08:00
yiling
ca0c2ece75
fix(cli): handle EPERM signal errors in isProcessRunning helper
2026-06-20 13:02:06 +08:00
yiling
c8b1d521d8
fix(cli): open log files in write mode to truncate on startup
2026-06-20 12:59:58 +08:00
yiling
4bd5083ac1
fix(cli): remove unused watch import in daemon utility
2026-06-20 12:56:15 +08:00
yiling
c6527650d0
fix(cli): bypass already running check if matching current process pid
2026-06-20 12:53:14 +08:00
yiling
d4a1eff715
fix(cli): resolve Bun compatibility issue with WriteStream stdio redirection
2026-06-20 12:49:05 +08:00
yiling
463cd61cfd
test(cli): resolve lint violations in daemon test file
2026-06-20 12:40:14 +08:00
yiling
93b4656939
feat(cli): add daemon mode and stop, logs, restart subcommands
2026-06-20 12:37:49 +08:00
yiling
1835016a9b
fix(webui): use poster field instead of thumbnail for video notifications
2026-06-19 13:34:14 +08:00
yiling
5e92660d1c
fix(webui): render sprite image scrubber for video upload notifications
2026-06-19 13:25:00 +08:00
yiling
aa265c5322
fix(search): fix hasAny and hasNone operators on metadata filter
2026-06-19 11:29:26 +08:00
yiling
a76dbdfc22
feat(share): improve share config page sidebars, layout options, and sorting
2026-06-19 10:22:20 +08:00
yiling
53c132e41d
feat(auth): refine demo mode support using SHUMAI_DEMO_MODE API
2026-06-19 00:36:23 +08:00
yiling
d84950d372
feat(transcode): set loglevel to warning for all ffmpeg commands
2026-06-18 11:57:38 +08:00
yiling
f399d2c469
feat(embedding): defer embedding workflow, use transcoded assets, and execute chunks in separate activities
2026-06-18 10:57:22 +08:00
yiling
ce457e1161
fix(s3): remove port from AWS_ENDPOINT_URL_S3 and sync with server port in local mode
2026-06-18 10:22:16 +08:00
yiling
a69dd6a660
feat(server): allow customizing server port via SHUMAI_SERVER_PORT
2026-06-18 10:08:31 +08:00
yiling
1ad5720f42
fix(transcode): handle high-precision FPS using rational fractions
2026-06-17 22:55:01 +08:00