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