Commit Graph

172 Commits (e22151a2b5621510762ee1e5287ffa5419376964)

Author SHA1 Message Date
Andras Timar e22151a2b5 Pass the lang paramater to loleaflet from ownCloud user settings, which controls UI language 8 years ago
Andras Timar cdc6d2dffc add tooltip with document path for icon view 8 years ago
Henry Castro efcf28abc2 Add ulrsrc attribute when create new documents 8 years ago
Jan Holesovsky e94fa64836 One more place where we need to present the error message. 8 years ago
Jan Holesovsky ea47464459 More improvements in the error handling. 8 years ago
Jan Holesovsky b48ae81a99 Small improvement in the documentation. 8 years ago
Jan Holesovsky f2974bd618 Adapt to changes in loolwsd - pass only access_token via form post.
Also limit the amount of stuff that actually needs to be passed, and add
comments.
8 years ago
Pranav Kant 41f2f63907 Do not show scary warning dialog
... since we save to disk on abnormal client termination.
8 years ago
Henry Castro a27950d617 Post WOPI url iframe 8 years ago
Pranav Kant c25de38ef5 Rename filename -> title 8 years ago
Pranav Kant 96c88b5a1e Use window.postMessage API for cross-domain frame communication
Use filename as additional param to let the child frame know the
name of the document easily.

Use closebutton param to instruct the child frame about whether
to show the close button, or not.
8 years ago
Ashod Nakashian 1a737b4f07 wopi: pass the url wopi without /contents, to make it more flexible 8 years ago
Henry Castro 81ba6a184e Fix close button bug 8 years ago
Henry Castro b135ad4a5c Add WOPISrc parameter 8 years ago
Henry Castro 3a2d2a219f JS handle urlsrc attribute 8 years ago
Ashod Nakashian 30a22ef7e7 WOPI GetFile and PutFile added and document loader updated 8 years ago
Henry Castro 85f3079b47 Post WOPI url iframe 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 8 years ago
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".
8 years ago
Victor Dubiniuk 447610b260 Fix appid 9 years ago
Jan Holesovsky 91e49449f3 cloudsuite: Cleanup when the document is closed. 9 years ago
Jan Holesovsky 6b3585dcc6 A bit of formatting + spaces -> tabs. 9 years ago
Jan Holesovsky e6593def87 cloudsuite: Add buttons to create new spreadsheet and new presentation. 9 years ago
Jan Holesovsky aa0a8f666a cloudsuite: Implement the saving back. 9 years ago
Jan Holesovsky 75dbb71b01 cloudsuite: Clean the last remnants of webodf from documents.js. 9 years ago
Henry Castro 303e64682a cloudsuite: add missing function to avoid uncaught exception.
The upload requeries these functions.
9 years ago
Henry Castro 98a485d46f cloudsuite: add FileList.findfile 9 years ago
Jan Holesovsky 302317ca47 cloudsuite: Fix starting of editing directly from the Files view. 9 years ago
Mihai Varga f08051bd48 allow-modals iframe sandbox flag for the print dialog 9 years ago
Mihai Varga f9db222605 now the bottom toolbar is visible 9 years ago
Henry Castro 0d69783913 cloudsuite: fix octoolbar clicks
The element #octoolbar should be removed each time document
is closed
9 years ago
Henry Castro 57b90752c6 cloudsuite: remove unused webodfEditorInstance 9 years ago
Henry Castro 64a729ea69 cloudsuite: remove unnecesary scripts and styles 9 years ago
Henry Castro 1a5d30b5d6 cloudsuite: use onClose insted hideEditor 9 years ago
Henry Castro 199fb6083e cloudsuite: rework onClouse method 9 years ago
Mihai Varga 9be8e63a71 allow fullscreen initiated within the iframe 9 years ago
Henry Castro 97ee005462 cloudsuite: avoid uncaught TypeError
FileList is not loaded with documents application, so when upload
file avoid uncaught TypeError
9 years ago
Mihai Varga 7593ec613f remove spaces at the end of lines 9 years ago
Henry Castro da92304323 cloudsuite: fix close button 9 years ago
Henry Castro 525b1ab4d0 cloudsuite: remove unnecessary css attached to documents 9 years ago
Mihai Varga a5f572b1df the iframe was previously causing an overflow in the outer container 9 years ago
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.
9 years ago
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.
9 years ago
Henry Castro cd6b29b469 cloudsuite: add iframe element to reference loleaflet 9 years ago
Mihai Varga 4bbcd5cac8 removed .js ending from addScript - now the toolbar appears 9 years ago
Jan Holesovsky de28f7c58c cloudsuite: Load also the stylesheets, now the document looks correctly. 9 years ago
Jan Holesovsky 52aa2941cd cloudsuite: Order the loading of the JS pieces. 9 years ago
Jan Holesovsky 0a3662e0bf cloudsuite: Document gets visible now (though quite distorted). 9 years ago
Jan Holesovsky a476af9126 cloudsuite: Actually start the loleaflet.
[Still webodf appears on too many places, so loleaflet does not get visible
yet.]
9 years ago