1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00

update sdoc version and sdoc translate

This commit is contained in:
杨顺强 2024-12-03 18:15:20 +08:00
parent b87c529b2e
commit c3af1fd214
3 changed files with 5 additions and 6 deletions

View File

@ -16,7 +16,7 @@
"@gatsbyjs/reach-router": "1.3.9",
"@seafile/react-image-lightbox": "3.0.1",
"@seafile/resumablejs": "1.1.16",
"@seafile/sdoc-editor": "1.0.159",
"@seafile/sdoc-editor": "1.0.160",
"@seafile/seafile-calendar": "0.0.28",
"@seafile/seafile-editor": "1.0.127",
"@seafile/sf-metadata-ui-component": "^0.0.56",
@ -4728,9 +4728,9 @@
"integrity": "sha512-8rBbmAEuuwOAGHYGCtEzpx+bxAcGS+V30otMmhRe7bPAdh4E57RWgCa8x7pkzHGFlY1t5d+ILz1gojvPVMYQig=="
},
"node_modules/@seafile/sdoc-editor": {
"version": "1.0.159",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-1.0.159.tgz",
"integrity": "sha512-9AhAWN+wwrHFzItMX2bbuAKefagmMeBaskn5bojQ8rn0XhpyufwNOL1lvoQNIuR0zHE1R9wCg3RTAgI6XCfkkw==",
"version": "1.0.160",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-1.0.160.tgz",
"integrity": "sha512-QH+dABEf0aPPQLY/MdIZ1hZSfoxKvaLdCnT9HDpcyS7T+3ILIPLAS3XprgUTrk+6AY2/VBnVXdMXANl1TXBfRQ==",
"dependencies": {
"@seafile/print-js": "1.6.6",
"@seafile/react-image-lightbox": "2.0.5",

View File

@ -11,7 +11,7 @@
"@gatsbyjs/reach-router": "1.3.9",
"@seafile/react-image-lightbox": "3.0.1",
"@seafile/resumablejs": "1.1.16",
"@seafile/sdoc-editor": "1.0.159",
"@seafile/sdoc-editor": "1.0.160",
"@seafile/seafile-calendar": "0.0.28",
"@seafile/seafile-editor": "1.0.127",
"@seafile/sf-metadata-ui-component": "^0.0.56",

View File

@ -2183,7 +2183,6 @@ def view_sdoc_revision(request, repo_id, revision_id):
seadoc_perm = 'rw' if can_edit_file else 'r'
return_dict['can_edit_file'] = can_edit_file
return_dict['seadoc_access_token'] = gen_seadoc_access_token(file_uuid, filename, username, permission=seadoc_perm)
return_dict['mobile_login'] = request.session.get(SESSION_MOBILE_LOGIN_KEY, False)
# revision
revision_info = is_seadoc_revision(file_uuid, revision)