mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-05 15:44:28 +00:00
feat(storage): add archive storage support for assets (#514)
* feat(storage): add archive storage support for assets * fix(webui): show archive icon in front of file name in breadcrumb bar * fix(webui): display archive icon in breadcrumbs when restoring * refactor(transcode): simplify restore asset workflow to single while loop * docs(configuration): add archive storage documentation and readme entries * fix(webui): show archive icon in front of version names and prevent version card overflow * fix(webui): fix overflow in manage versions dialog scroll area * fix(webui): prevent manage versions dialog overflow on long file names * docs(configuration): fix archive storage environment variables and defaults * fix(storage): address code review findings for archive storage
This commit is contained in:
@@ -17,6 +17,7 @@ describe('operation registry', () => {
|
||||
|
||||
it('contains the asset, project, comment, metadata, version, and upload operations', () => {
|
||||
expect(operationDefinitions.map((d) => d.name).sort()).toEqual([
|
||||
'archive_assets',
|
||||
'complete_upload',
|
||||
'copy_assets',
|
||||
'create_comment',
|
||||
@@ -38,6 +39,7 @@ describe('operation registry', () => {
|
||||
'remove_version',
|
||||
'rename_asset',
|
||||
'resolve_comment',
|
||||
'restore_archived_assets',
|
||||
'search_assets',
|
||||
'update_asset_metadata',
|
||||
])
|
||||
@@ -128,6 +130,8 @@ describe('operation registry', () => {
|
||||
['move_assets', ['move', 'mv']],
|
||||
['copy_assets', ['copy', 'cp']],
|
||||
['delete_asset', ['delete', 'rm']],
|
||||
['archive_assets', ['archive']],
|
||||
['restore_archived_assets', ['unarchive', 'restore-archive']],
|
||||
['read_asset', ['read']],
|
||||
['get_asset_render', ['render']],
|
||||
['download_asset', ['download']],
|
||||
|
||||
Reference in New Issue
Block a user