Commit Graph

434 Commits (master)

Author SHA1 Message Date
Skylar Ittner ef3f5b2a88 Merge upstream changes 6 years ago
Pranav Kant 4b980cb010 fix back button navigation (#183)
now backbutton when document is opened takes you back to the files app
from where the document was opened.
6 years ago
Andras Timar d02ed7a2f0 Use Cancel and Save buttons instead of No and Yes on Save As dialog 6 years ago
Andras Timar 4b8dd9556f update comment 6 years ago
Andras Timar 6d60e621aa do not allow empty file name in Save As dialog 6 years ago
Pranav Kant f00e6cdb4a Support version restore states (#166)
See https://gerrit.libreoffice.org/gitweb?p=online.git;a=commit;h=1fabfd9fe34815cab54c1417cfc7e541adb6a341
for details
6 years ago
Pranav Kant d61999d709 Restore code deleted by accident (#165)
This reverts some parts of
a08c0b7a5e
6 years ago
Pranav Kant a08c0b7a5e Add support for adding canonical webroot (#157)
See cc42c7f46c

for details
6 years ago
Pranav Kant fec3a73943 Fixes #140 - name of the document in titlebar (#160) 6 years ago
Julius Härtl 1db0d27cc5 Fix z-index of the richdocuments frame for NC13 (#153)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years ago
Pranav Kant 8bbc30c52d Cleanup (#152)
* unused signal

* remove isGuest thing

This is always false; no point in having conditionals depending on this
variable

* another unused variable
6 years ago
rakekniven 05aee21958
Update documents.js
Changed wording according to 
https://www.transifex.com/nextcloud/nextcloud/translate/#de_DE/richdocuments/125396748?issue=yes
6 years ago
rakekniven 18350d9faf
Update admin.js
Fixed triple dot (changed to ellipsis)
6 years ago
Andras Timar 7f3f30b383 2nd attempt to fix #138 6 years ago
Andras Timar 11274091c0 fix for #138 6 years ago
Pranav Kant 2c3d9ae8d9 Add support for PutRelativeFile for Save As. (#136) 6 years ago
Skylar Ittner a43eaaad55 Merge 'upstream/master' and 'multihost_tor' into 'master' 7 years ago
Lukas Reschke 9bf62db3aa Add option to enable the app only for users in a specific group (#135)
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Pranav Kant 72cb1956b0 Start listening for standard post messages and ignore deprecated ones (#126)
New online versions emits both the post messages (the older one with a
deprecated flag and newer one without). Ignore if the deprecated flag is
mentioned because it means that we would get another post message
without deprecated flag.
7 years ago
Pranav Kant 21504eb5a8 support for external apps (#124) 7 years ago
Skylar Ittner 6ff27cb17f Add internal access URL (hopefully) 7 years ago
Pranav Kant e9f9711421 Use fileId instead of dir 7 years ago
Andreas Böhler c4b794360a Fix editing publicly shared documents 7 years ago
Andras Timar aa4df2e800 Restore 'Enable edit for specific groups' feature, fixes #66 7 years ago
Patrik Kernstock 4db76d6f01 only edit textfiles when texteditorapp is disabled
Signed-off-by: Patrik Kernstock <info@pkern.at>
7 years ago
Patrik Kernstock dee4991091 Do not open text files using Collabora app
Signed-off-by: Patrik Kernstock <info@pkern.at>
7 years ago
Pranav Kant 7d502a3135 Revert "Replace 3 dots to ellisis in l10n files" partially
This reverts commit c6a3e02b4b partially.

Presumably, some unwanted modifications also found its way in with above
patch breaking the app. Revert problematic pieces.
7 years ago
Andras Timar c6a3e02b4b Replace 3 dots to ellisis in l10n files 7 years ago
rakekniven 94ce86e6ec Update admin.js 7 years ago
rakekniven 3c35d287b0 Update documents.js
Changed "..." to ellipsis
7 years ago
Andras Timar 6d9054e6f3 Merge pull request #60 from pranavk/ooxml
Revert "Remove unrequired route"; respect OOXML settings again
7 years ago
Pranav Kant 75a12f07e4 allowfullscreen 7 years ago
Pranav Kant 0c14789cc3 Revert "Remove unrequired route"; respect OOXML settings again
This reverts commit aa89c908a7.
7 years ago
Morris Jobke 8e44456daa Merge pull request #53 from nextcloud/verbose-uploadmenu-text
Use more verbose text for upload menu
7 years ago
Marius Blüm 0a98e7ea2f Use more verbose text for upload menu
* see https://github.com/nextcloud/server/pull/4922

Signed-off-by: Marius Blüm <marius@lineone.io>
7 years ago
Pranav Kant 9bb400714c Fix file revisions 7 years ago
Pranav Kant a5f6569591 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.
7 years ago
Andras Timar 6d78c1053c fix issue #41 Icons still show after opening doc from Favorites page 7 years ago
Andras Timar c49a7c7331 Merge pull request #35 from pranavk/fix_lang_Tags
Fix language tags that are fed to loleaflet
7 years ago
Pranav Kant 5596ae17ce Fix incorrect language tags feeding to loleaflet
loleaflet expect a BCP47 language tag syntax while OC.getLocale returns
a lanugage tag where subtags are separated by '_' instead of '-'
(BCP47).

It seems safe to just replace '_' with '-' before feeding it to
loleaflet
7 years ago
Pranav Kant f36c5106d6 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.
7 years ago
Andras Timar 6d49e2d003 replace trailing slash of wopi url 7 years ago
Andras Timar 829b2b77b9 add rtf and txt as supported file formats 7 years ago
Lukas Reschke 9cd9258dbb
Append instance id to rev history
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke aa89c908a7
Remove unrequired route
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke 7ef24654cf
Public editing
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke 75af90b4f1
Cleanup source code
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Lukas Reschke 62bd261c0b
Remove unrequired "Office" interface
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Pranav Kant ee48a54cbf Pre-light revision history buttons on mouseover and tooltip 7 years ago
Pranav Kant 05e6ed7e0e Prevent a cramped-up revision history sidebar 7 years ago