Commit Graph
47 Commits
Author SHA1 Message Date
yiling 2858274e52 fix(core): inherit sortIndex when creating version stack container 2026-06-15 20:38:46 +08:00
yiling 45318d1eec fix(core): correctly query nextAsset for afterIndex reordering 2026-06-15 20:25:49 +08:00
yiling cf2546c861 migration(db): add C collation to sort_index column 2026-06-15 19:51:59 +08:00
yiling 1f640ede19 test(core): add test reproducing fractional indexing collation mismatch 2026-06-15 19:33:51 +08:00
yiling 6a63e99044 feat(sandbox): add pending domains support for network sandbox 2026-06-15 00:01:55 +08:00
yiling 8c55897d80 refactor(auth): remove BETTER_AUTH_URL configuration and set a default baseURL fallback 2026-06-14 15:01:44 +08:00
yiling fb76fbd970 feat(project): support adding existing team members and prioritize project-specific roles 2026-06-12 10:00:17 +08:00
yiling 5835c36cb5 refactor(trash): optimize cascade delete CTE queries and add rigorous edge-case tests
- Extracted recursive CTE cascade update to cascadeStatusToPendingPurge private helper

- Updated emptyTrash and expireTrashedAssets background job to use batch helper

- Added expireTrashedAssets GC test to verify date boundaries and recursive child marking

- Resolved typecast any warning in test
2026-06-11 16:40:21 +08:00
yiling f093b490c6 feat(trash): add recently-deleted banner and empty trash option for admin
- Added emptyTrash method in AssetService to purge trashed assets from DB and S3

- Added POST /projects/:projectId/empty-trash endpoint in project API

- Implemented unit and integration tests for service and API

- Prevented double click redirect in recently deleted folder

- Added top banner with Delete Now option in recently-deleted folder with confirmation dialog
2026-06-11 16:19:35 +08:00
yiling c910f22542 refactor(core): move starting symlink resolution to getDownloadLinks and simplify getProjectIds 2026-06-11 13:08:29 +08:00
yiling aed0676032 refactor(api): extract db query from download-links endpoint to service method 2026-06-11 13:06:01 +08:00
yiling ec42c4e9ff feat(file): add bulk download links API and frontend batch download dialog 2026-06-11 11:44:26 +08:00
yiling dfc66a110d Merge branch 'main' into feat/virtualize-file-list 2026-06-10 17:11:31 +08:00
yiling 6e1951e8ac fix(webui): fix pagination in file browser list mode 2026-06-10 16:20:58 +08:00
yiling 0722845ecc test(core): add search service unit tests for totalSize 2026-06-10 15:44:47 +08:00
yiling 412900bd84 fix(webui): improve virtualized file browser and total size querying 2026-06-10 15:41:25 +08:00
yiling d364674735 feat(team): add member scope labels and visibility filtering for project-scoped members 2026-06-10 11:12:48 +08:00
yiling 20cc67a494 refactor(core): fix fileCount and createAssetsRecursively transaction 2026-06-09 08:10:33 +08:00
yiling cf674eb810 fix(s3): fix linting errors in s3 service and tests 2026-06-08 20:07:36 +08:00
yiling 24c279318a fix(s3): ensure downloadToFile uses Bun.write for streaming 2026-06-08 20:04:13 +08:00
yiling 38909b2bab fix(s3): address code review feedback on security and memory efficiency 2026-06-08 20:00:48 +08:00
yiling 3fe0b3490d fix(s3): use client.size instead of file.size in getObjectSize 2026-06-08 19:51:04 +08:00
yiling f96f687be4 feat(s3): migrate to bun native s3 and add filename support 2026-06-08 19:35:46 +08:00
yiling 5333d17c7c fix(webui): prevent infinite redirect loop between /signup and /login 2026-06-08 16:08:41 +08:00
yiling eedda813a6 feat(webui): implement virtualization for file list and grid views 2026-06-08 15:19:46 +08:00
yiling 4043e90970 fix(core): resolve lint errors and optimize evictSample in LruTtlCache 2026-06-08 15:01:18 +08:00
yiling ea01d91fa4 feat(core): implement generic LRU-TTL cache and integrate with S3 presigned URLs 2026-06-08 14:52:56 +08:00
yiling 922ba4a4f5 test(api): fix lint error in file upload tests 2026-06-08 12:43:41 +08:00
yiling 688e1a4ede feat(api,webui): implement image compression, auto-refresh for uploads, and infinite pagination for collections/shares 2026-06-08 12:14:14 +08:00
yiling 99424aa6e1 update tests 2026-06-07 19:26:07 +08:00
yiling a464499077 feat(search): remove includeCount and add infinite scroll to search dialog 2026-06-07 17:07:38 +08:00
yiling 62a2cb3589 feat(members): allow owners to manage roles and remove members 2026-06-07 15:28:05 +08:00
yiling e790df2812 fix: resolve lint, typecheck, and tsconfig deprecation errors 2026-06-07 11:10:27 +08:00
yiling 658113ec4e test(backend): add tests for resolving creator avatar URL in share and collection APIs 2026-06-06 12:33:35 +08:00
yiling 02e845ef71 feat(backend): generate presigned avatar URLs for collection and share link creators 2026-06-06 12:25:07 +08:00
yiling 6ebeb3f804 feat(ui): add collection and share link pages and management actions 2026-06-06 12:02:51 +08:00
yiling 11b34736d2 feat(docs): add mintlify documentation with docker compose guide 2026-06-04 11:19:52 +08:00
yiling 2afc6920ab feat(agent): use inlined base64 data URIs for preset avatars 2026-06-03 23:42:48 +08:00
yiling 05f6069af7 fix(web): support static asset routing under Bun.serve and fix test types 2026-06-03 23:30:33 +08:00
yiling cf2e6907ba feat(agent): add agent avatar selection and S3 uploading 2026-06-03 23:24:21 +08:00
yiling e65b3edbee feat(user-avatar): add support for uploading, cropping, and displaying user avatars 2026-06-03 19:56:07 +08:00
yiling 6e933a9970 fix(auth): fix invite code bypass vulnerability 2026-06-03 10:33:14 +08:00
yiling 5ae7e408ec feat(auth): remove enablePublicSignup and disable public signup in UI 2026-06-03 10:18:15 +08:00
yiling e409f551cc refactor(db): isolate test hooks and clean up workflow worker options 2026-06-02 18:48:54 +08:00
yiling 1f341c15d0 refactor(monorepo): decouple api and webui into workspaces packages 2026-06-01 23:35:00 +08:00
yiling e3f4fa219e refactor(monorepo): decouple and split background workflow workers into packages
Splits monolithic workflow workers into four decoupled workspaces under the Bun workspaces monorepo:
- @shumai/workflow-core containing the core execution engine and utilities.
- @shumai/agent containing agent-specific logic, workflows, and activities.
- @shumai/transcode containing transcoding workflows, transcoder, and transcode activities.
- @shumai/worker-db containing database activities.

Introduces a dynamic workflow and activity registration pattern on LocalExecutor to eliminate circular dependencies. Updates worker bootstrapping and test suites to cleanly leverage generic workspace modules.
2026-06-01 23:29:11 +08:00
yiling cb80822637 refactor: extract core service domain layer to @shumai/core 2026-06-01 23:16:22 +08:00