mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
ruby: convert after uploading only tagged formats
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
# Change Log
|
||||
|
||||
- ruby: convert after uploading only tagged formats
|
||||
- python: convert after uploading only tagged formats
|
||||
- php: convert after uploading only tagged formats
|
||||
- setUsers for region protection
|
||||
|
||||
@ -88,9 +88,7 @@ class FormatManager
|
||||
sig { returns(T::Array[Format]) }
|
||||
def convertible
|
||||
all.filter do |format|
|
||||
format.type == 'cell' && format.convert.include?('xlsx') ||
|
||||
format.type == 'slide' && format.convert.include?('pptx') ||
|
||||
format.type == 'word' && format.convert.include?('docx')
|
||||
format.actions.include?('auto-convert')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user