1319 Commits

Author SHA1 Message Date
Jan Holesovsky
e587fce1da cloudsuite: Construct more reasonable names + copy mtime.
So that we are able to use the cloudsuite tile caching.
2015-11-05 11:54:39 +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
37f61b4056 cloudsuite: Fix the 'New document' button to always create new text documents. 2015-11-04 16:58:18 +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
Mihai Varga
8d2a2e1f1f add opendocument.graphics mime type 2015-11-04 10:04:44 +02:00
Mihai Varga
3ffdf58d2c fixed typo in mime type 2015-11-02 15:47:12 +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
3cb7029a09 cloudsuite: add missing styles for oc dialogs 2015-11-01 09:08:29 -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
fbe7b6908c cloudsuite iframe, removed a small 1px wide line 2015-10-30 15:44:08 +02: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
Andras Timar
e96a49418c do not package unused stuff 2015-10-30 09:55:18 +01: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
Henry Castro
32bc4fdbfe cloudsuite: add filter documents
The upload works as expected. But the document filters does not
show the uploaded files.  So this patch add more file supports
2015-10-29 15:10:55 -04:00
Mihai Varga
916336cf8c added more mimetypes to the owncloud app 2015-10-29 20:26:03 +02:00
Mihai Varga
9be8e63a71 allow fullscreen initiated within the iframe 2015-10-29 20:26:03 +02:00
Mihai Varga
afb8e58dbc removed spaces at the end of lines 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
Andras Timar
9a7c739661 RPM packaging for our ownCloud app 2015-10-29 18:46:35 +01: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
48cba261ec cloudsuite: revert route showLOleaflet
With the current layout changes, showLOleaflet is no longer need it.
2015-10-28 16:14:38 -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
0f952506ab cloudsuite: With the iframe approach, we don't need to embed anything. 2015-10-28 16:08:56 +01: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
35425eeff6 cloudsuite: updateCloudSuite.sh to copy templates 2015-10-27 23:22:05 -04:00
Henry Castro
cd6b29b469 cloudsuite: add iframe element to reference loleaflet 2015-10-27 23:20:02 -04:00
Henry Castro
7f7c41fb56 cloudsuite: add showLOleaflet method 2015-10-27 23:12:41 -04:00
Henry Castro
6354b2aa2c cloudsuite: add Frame Domain policy 2015-10-27 23:10:48 -04:00
Henry Castro
0038ebc2da cloudsuite: add URLGenerator to document controller 2015-10-27 23:08:48 -04:00
Henry Castro
5368e28482 cloudsuite: add route showLOleaflet 2015-10-27 23:04:26 -04:00
Henry Castro
ddfacfe344 cloudsuite: add URLGenerator 2015-10-27 23:03:18 -04:00