Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
cloudooo
Commits
6c9ca4ff
Commit
6c9ca4ff
authored
Jan 08, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip
parent
0b5ff71a
Pipeline
#19212
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
832 additions
and
114 deletions
+832
-114
cloudooo/handler/ooo/handler.py
cloudooo/handler/ooo/handler.py
+2
-1
cloudooo/mime.types
cloudooo/mime.types
+830
-113
No files found.
cloudooo/handler/ooo/handler.py
View file @
6c9ca4ff
...
...
@@ -41,7 +41,7 @@ from cloudooo.handler.ooo.mimemapper import mimemapper
from
cloudooo.handler.ooo.document
import
FileSystemDocument
from
cloudooo.handler.ooo.monitor.timeout
import
MonitorTimeout
from
cloudooo.handler.ooo.monitor
import
monitor_sleeping_time
from
cloudooo.util
import
logger
,
parseContentType
from
cloudooo.util
import
logger
,
parseContentType
,
loadMimetypeList
from
psutil
import
pid_exists
...
...
@@ -66,6 +66,7 @@ class Handler(object):
if
not
self
.
office_binary_path
:
self
.
office_binary_path
=
environ
.
get
(
"office_binary_path"
)
self
.
_createDocument
(
base_folder_url
,
data
,
source_format
)
loadMimetypeList
()
def
_createDocument
(
self
,
base_folder_url
,
data
,
source_format
):
if
source_format
==
'csv'
:
...
...
cloudooo/mime.types
View file @
6c9ca4ff
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment