Pranav Kant
3eba8b7644
Use fileId instead of dir
...
(cherry picked from commit e9f9711421
)
7 years ago
Andreas Böhler
909053b299
Fix editing publicly shared documents
...
(cherry picked from commit c4b794360a
)
7 years ago
Patrik Kernstock
d76740bc75
only edit textfiles when texteditorapp is disabled
...
Signed-off-by: Patrik Kernstock <info@pkern.at>
(cherry picked from commit 4db76d6f01
)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
7 years ago
Patrik Kernstock
5855b7de9e
Do not open text files using Collabora app
...
Signed-off-by: Patrik Kernstock <info@pkern.at>(cherry picked from commit dee4991091
)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
7 years ago
Andras Timar
b44c4da9a5
Merge pull request #61 from pranavk/nc11
...
Revert "Remove unrequired route"; respect OOXML settings again
7 years ago
Pranav Kant
5e42ea1dab
allowfullscreen
...
(cherry picked from commit 75a12f07e4
)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
7 years ago
Pranav Kant
d6c90226b9
Revert "Remove unrequired route"; respect OOXML settings again
...
This reverts commit aa89c908a7
.
(cherry picked from commit 0c14789cc3
)
7 years ago
Pranav Kant
b1e51782fc
Bin superfluous returnToDir logic
...
This was initially introduced in OC so that we know which directory to
go after we close the editor but this seems unnecessary here in NC as
richdocuments is just an iframe which is removed from DOM when we close
the document.
(cherry picked from commit a5f6569591
)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
7 years ago
Pranav Kant
674a6cb384
Try opening readonly documents too
...
Also simplify the logic during file action registration. Basically, we
should try to open all known mimetypes; file permissions are taken care
of later in the WOPI protocol.
Without this commit, it is not possible to open a document in a
directory for which user has no write access.
(cherry picked from commit f36c5106d6
)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
7 years ago
Andras Timar
f74b0b3018
add rtf and txt as supported file formats
...
(cherry picked from commit 829b2b77b9
)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
7 years ago
Lukas Reschke
aa89c908a7
Remove unrequired route
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Lukas Reschke
7ef24654cf
Public editing
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Pranav Kant
145854400e
New 'Use OOXML by default' option in admin settings
8 years ago
Pranav Kant
517e1c79a3
Make NewFileMenu's display name translatable
8 years ago
Pranav Kant
bb01949a9a
Use new owncloud9 addMenuEntry plugin
...
... to add new odf files from main 'Files' app
8 years ago
Jan Holesovsky
68b81e846b
bccu#1882: Return to the 'Files' app when the editing started there.
...
Also retain the directory where the editing started.
8 years ago
Andras Timar
f3eaa1683d
use SSL
8 years ago
Andras Timar
4afc1ed80a
changed path of iframe, all is in loleaflet
8 years ago
Mihai Varga
fafd5e8cf7
loleaflet: use the permission init option
9 years ago
Victor Dubiniuk
447610b260
Fix appid
9 years ago
Andras Timar
8010839279
bccu#1335 don't try to handle pdf, internal pdf.js does a better job
9 years ago
Jan Holesovsky
00befededb
Less confusing variable names.
9 years ago
Mihai Varga
ddc34a60c3
bug #1261 - added microsoft document mime types
9 years ago
Mihai Varga
43bce2d00d
added pdf,visio,svg,wordperfect mimetypes
9 years ago
Jan Holesovsky
6e8cf39068
cloudsuite: Set editing as the default action.
9 years ago
Jan Holesovsky
302317ca47
cloudsuite: Fix starting of editing directly from the Files view.
9 years ago
Henry Castro
aac766d9f6
cloudsuite: remove the iframe when close
9 years ago
Henry Castro
38f9b8152e
cloudsuite: when click a document in FileList view, attach iframe
...
TODO replace file_path = documentsMain.url
9 years ago
Henry Castro
3809e2ee43
cloudsuite: prepare to rework view.js
9 years ago
Victor Dubiniuk
c49dc3337c
Rename variable. Fixes #505
9 years ago
Victor Dubiniuk
0606fc58a5
Fix coding style complaints
9 years ago
Victor Dubiniuk
76b17f71bb
editor->wodotexteditor
9 years ago
Victor Dubiniuk
608eccac55
Encode token in viewer
9 years ago
Thomas Müller
58b14218b6
Merge pull request #379 from owncloud/remove-minified
...
Use not minified webodf source. Let Assetic do its job
10 years ago
Victor Dubiniuk
39e72cbbcf
encodeURIComponent on dirname
10 years ago
Victor Dubiniuk
815194cddb
Move supported mimes to settings controller
10 years ago
Victor Dubiniuk
45c30440b8
Move download to documentcontroller
10 years ago
Victor Dubiniuk
7f8c119750
Use not minified webodf source. Let Assetic do its job
10 years ago
Andrej Lajovic
0cd8d66a9a
Do not localize the internal (javascript) name of action "Edit"
10 years ago
Vincent Petry
423cb53e14
Use context instead of static access
10 years ago
Vincent Petry
0c0e52ead2
Removed call to FileActions.display()
...
Let the file lists automatically update themselves from the previous
calls to FileActions.register().
10 years ago
Vincent Petry
41ff4b55ba
Do not change the controls bar
...
Rely on the default behavior / CSS instead.
10 years ago
Victor Dubiniuk
f8b638bee5
More OCA.Files.fileActions
10 years ago
Victor Dubiniuk
5a568393a5
Fix invisible document content when viewing
10 years ago
VicDeo
e37816348b
Merge pull request #277 from owncloud/new-fileactions
...
Check for a new fileactions availability
10 years ago
Victor Dubiniuk
a364ac7af4
Chack for a new fileactions availability
10 years ago
Victor Dubiniuk
534c288f0a
Open Editor in the same tab
10 years ago
Victor Dubiniuk
fd4f15d9f2
Fix viewer controls position
10 years ago
Victor Dubiniuk
cdb9a92c21
Register actions via brand new API
10 years ago
Vincent Petry
9d12c920b5
Set viewer mode to filelist when viewing ODF file
...
Now calling FileList.setViewerMode() to properly toggle viewer mode.
This will hide the sidebar and actions automatically.
10 years ago