431 Commits

Author SHA1 Message Date
Henry Castro
b135ad4a5c Add WOPISrc parameter 2016-03-16 09:05:33 -04:00
Andras Timar
a32c1e2be3 remove unused webODF unstable setting 2016-03-15 00:23:17 +01:00
Andras Timar
f0f3e42c0e remove dead code (from Collabora Online perspective) 2016-03-14 23:34:29 +01:00
Henry Castro
3a2d2a219f JS handle urlsrc attribute 2016-03-10 10:41:07 -04:00
Ashod Nakashian
30a22ef7e7 WOPI GetFile and PutFile added and document loader updated 2016-03-09 08:42:47 -05:00
Henry Castro
85f3079b47 Post WOPI url iframe 2016-03-05 18:57:23 -04:00
Henry Castro
08dbf236d9 Add WOPI client settings 2016-03-05 17:40:47 -04:00
Andras Timar
4afc1ed80a changed path of iframe, all is in loleaflet 2016-02-09 17:26:44 +01:00
Mihai Varga
fafd5e8cf7 loleaflet: use the permission init option 2016-01-12 15:24:39 +01:00
Faruk Uzun
2e6aef6e9b Fix "Download as ..." for wrong filenames
ccu#1367 - "Download as" links in File menu are downloading files
with a different filename like "ccs-fileID.ext".
2016-01-12 00:41:18 +02:00
Victor Dubiniuk
447610b260 Fix appid 2015-12-16 18:04:32 +03:00
Andras Timar
8010839279 bccu#1335 don't try to handle pdf, internal pdf.js does a better job 2015-11-15 19:12:45 +01:00
Jan Holesovsky
91e49449f3 cloudsuite: Cleanup when the document is closed. 2015-11-05 11:15:45 +01:00
Jan Holesovsky
6b3585dcc6 A bit of formatting + spaces -> tabs. 2015-11-05 10:02:45 +01:00
Jan Holesovsky
e6593def87 cloudsuite: Add buttons to create new spreadsheet and new presentation. 2015-11-04 21:49:23 +01:00
Jan Holesovsky
aa0a8f666a cloudsuite: Implement the saving back. 2015-11-04 13:15:22 +01:00
Jan Holesovsky
00befededb Less confusing variable names. 2015-11-04 10:30:16 +01:00
Jan Holesovsky
75dbb71b01 cloudsuite: Clean the last remnants of webodf from documents.js. 2015-11-04 10:08:50 +01:00
Mihai Varga
ddc34a60c3 bug #1261 - added microsoft document mime types 2015-11-04 10:12:30 +02:00
Mihai Varga
43bce2d00d added pdf,visio,svg,wordperfect mimetypes 2015-11-04 10:10:14 +02:00
Henry Castro
303e64682a cloudsuite: add missing function to avoid uncaught exception.
The upload requeries these functions.
2015-11-01 09:12:24 -04:00
Henry Castro
98a485d46f cloudsuite: add FileList.findfile 2015-10-31 18:21:59 -04:00
Jan Holesovsky
6e8cf39068 cloudsuite: Set editing as the default action. 2015-10-30 17:48:32 +01:00
Jan Holesovsky
302317ca47 cloudsuite: Fix starting of editing directly from the Files view. 2015-10-30 17:48:32 +01:00
Mihai Varga
f08051bd48 allow-modals iframe sandbox flag for the print dialog 2015-10-30 14:36:28 +02:00
Mihai Varga
f9db222605 now the bottom toolbar is visible 2015-10-30 11:25:15 +02:00
Henry Castro
0d69783913 cloudsuite: fix octoolbar clicks
The element #octoolbar should be removed each time document
is closed
2015-10-29 21:52:52 -04:00
Henry Castro
57b90752c6 cloudsuite: remove unused webodfEditorInstance 2015-10-29 20:46:57 -04:00
Henry Castro
64a729ea69 cloudsuite: remove unnecesary scripts and styles 2015-10-29 20:41:54 -04:00
Henry Castro
1a5d30b5d6 cloudsuite: use onClose insted hideEditor 2015-10-29 20:36:31 -04:00
Henry Castro
199fb6083e cloudsuite: rework onClouse method 2015-10-29 20:32:59 -04:00
Mihai Varga
9be8e63a71 allow fullscreen initiated within the iframe 2015-10-29 20:26:03 +02:00
Henry Castro
97ee005462 cloudsuite: avoid uncaught TypeError
FileList is not loaded with documents application, so when upload
file avoid uncaught TypeError
2015-10-29 14:25:50 -04:00
Mihai Varga
7593ec613f remove spaces at the end of lines 2015-10-29 19:05:36 +02:00
Henry Castro
aac766d9f6 cloudsuite: remove the iframe when close 2015-10-28 21:17:26 -04:00
Henry Castro
38f9b8152e cloudsuite: when click a document in FileList view, attach iframe
TODO replace file_path = documentsMain.url
2015-10-28 21:16:10 -04:00
Henry Castro
3809e2ee43 cloudsuite: prepare to rework view.js 2015-10-28 21:05:13 -04:00
Henry Castro
da92304323 cloudsuite: fix close button 2015-10-28 17:32:58 -04:00
Henry Castro
525b1ab4d0 cloudsuite: remove unnecessary css attached to documents 2015-10-28 15:36:13 -04:00
Mihai Varga
a5f572b1df the iframe was previously causing an overflow in the outer container 2015-10-28 19:45:12 +02:00
Jan Holesovsky
3bed81b4a9 cloudsuite: Implement the document loading via CloudSuite.
In order to work, we need a group that is shared between wwwrun (for owncloud)
and loolwsd; let's call it loolwww.  Then:

cd <www>/owncloud/apps/documents
mkdir documents-tmp
chown chown wwwrun:loolwww documents-tmp
chmod g+ws documents-tmp

ownCloud takes care of copying the files to this shared location, and back (in
the future).  It will also need to take care of the cleanup, at the moment the
files are leaked.
2015-10-28 15:57:51 +01:00
Jan Holesovsky
4cdae43fc8 cloudsuite: Let's not hide the cloudsuite itself inside owncloud.
We switched to iframe, so let's keep it separate, that's easier to maintain.
2015-10-28 15:01:48 +01:00
Henry Castro
cd6b29b469 cloudsuite: add iframe element to reference loleaflet 2015-10-27 23:20:02 -04:00
Mihai Varga
4bbcd5cac8 removed .js ending from addScript - now the toolbar appears 2015-10-27 19:08:47 +02:00
Jan Holesovsky
de28f7c58c cloudsuite: Load also the stylesheets, now the document looks correctly. 2015-10-26 13:07:30 +01:00
Jan Holesovsky
52aa2941cd cloudsuite: Order the loading of the JS pieces. 2015-10-26 12:34:31 +01:00
Jan Holesovsky
0a3662e0bf cloudsuite: Document gets visible now (though quite distorted). 2015-10-26 12:16:44 +01:00
Jan Holesovsky
a476af9126 cloudsuite: Actually start the loleaflet.
[Still webodf appears on too many places, so loleaflet does not get visible
yet.]
2015-10-26 11:04:37 +01:00
Jan Holesovsky
4d90760b9a cloudsuite: Instantiate cloudsuite instead of webodf.
This is an incomplete first hardcoded attempt; unfortunately has problems with
Content-Security-Policy settings - to be continued.
2015-10-23 17:17:35 +02:00
Victor Dubiniuk
0f2d32d194 Fix share dropdown 2015-09-30 20:48:29 +03:00