Pranav Kant
21504eb5a8
support for external apps ( #124 )
2017-09-27 08:53:06 +02:00
Pranav Kant
e9f9711421
Use fileId instead of dir
2017-07-24 14:19:53 +05:30
Andreas Böhler
c4b794360a
Fix editing publicly shared documents
2017-06-28 19:19:12 +02:00
Andras Timar
aa4df2e800
Restore 'Enable edit for specific groups' feature, fixes #66
2017-06-14 14:17:21 +02:00
Patrik Kernstock
4db76d6f01
only edit textfiles when texteditorapp is disabled
...
Signed-off-by: Patrik Kernstock <info@pkern.at>
2017-06-14 02:39:17 +02:00
Patrik Kernstock
dee4991091
Do not open text files using Collabora app
...
Signed-off-by: Patrik Kernstock <info@pkern.at>
2017-06-10 18:21:57 +02:00
Pranav Kant
7d502a3135
Revert "Replace 3 dots to ellisis in l10n files" partially
...
This reverts commit c6a3e02b4b7af75341c573340ef11baef8bee39d partially.
Presumably, some unwanted modifications also found its way in with above
patch breaking the app. Revert problematic pieces.
2017-06-02 00:20:36 +05:30
Andras Timar
c6a3e02b4b
Replace 3 dots to ellisis in l10n files
2017-06-01 09:39:44 +02:00
rakekniven
94ce86e6ec
Update admin.js
2017-05-31 23:04:08 +02:00
rakekniven
3c35d287b0
Update documents.js
...
Changed "..." to ellipsis
2017-05-31 23:02:56 +02:00
Andras Timar
6d9054e6f3
Merge pull request #60 from pranavk/ooxml
...
Revert "Remove unrequired route"; respect OOXML settings again
2017-05-25 11:46:46 +02:00
Pranav Kant
75a12f07e4
allowfullscreen
2017-05-20 00:54:58 +05:30
Pranav Kant
0c14789cc3
Revert "Remove unrequired route"; respect OOXML settings again
...
This reverts commit aa89c908a70dddabb39ea7d0a166e147e31d3f5d.
2017-05-19 23:56:27 +05:30
Morris Jobke
8e44456daa
Merge pull request #53 from nextcloud/verbose-uploadmenu-text
...
Use more verbose text for upload menu
2017-05-17 11:39:23 -05:00
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>
2017-05-17 18:16:44 +02:00
Pranav Kant
9bb400714c
Fix file revisions
2017-05-11 21:09:46 +05:30
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.
2017-05-11 21:09:43 +05:30
Andras Timar
6d78c1053c
fix issue #41 Icons still show after opening doc from Favorites page
2017-04-21 10:38:56 +02:00
Andras Timar
c49a7c7331
Merge pull request #35 from pranavk/fix_lang_Tags
...
Fix language tags that are fed to loleaflet
2017-04-19 20:46:30 +02:00
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
2017-04-05 15:55:26 +05:30
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.
2017-03-22 23:48:07 +05:30
Andras Timar
6d49e2d003
replace trailing slash of wopi url
2017-03-20 13:37:55 +01:00
Andras Timar
829b2b77b9
add rtf and txt as supported file formats
2017-01-07 21:21:21 +01:00
Lukas Reschke
9cd9258dbb
Append instance id to rev history
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-01-03 20:31:35 +01:00
Lukas Reschke
aa89c908a7
Remove unrequired route
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 01:01:01 +01:00
Lukas Reschke
7ef24654cf
Public editing
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-07 00:57:01 +01:00
Lukas Reschke
75af90b4f1
Cleanup source code
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-06 21:09:40 +01:00
Lukas Reschke
62bd261c0b
Remove unrequired "Office" interface
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-12-06 12:53:09 +01:00
Pranav Kant
ee48a54cbf
Pre-light revision history buttons on mouseover and tooltip
2016-11-28 13:05:40 +05:30
Pranav Kant
05e6ed7e0e
Prevent a cramped-up revision history sidebar
2016-11-28 12:50:37 +05:30
Jan-Christoph Borchardt
907e86d278
use Federated Cloud ID wording
2016-11-15 12:20:59 +01:00
Pranav Kant
309d5535ff
Be backward compatible with older LOOLs
2016-10-28 17:29:05 +05:30
Pranav Kant
a12ff8d0d2
security: Support WOPI's PostMessageOrigin
...
Adds a new property PostMessageOrigin to WOPI's CheckFileInfo.
The inner frame then only sends message to target with origin
mentioned in this property.
Also implement editor initialization WOPI specs. Inner frame
sends a App_LoadingStatus message to us when ready, and we send
Host_PostmessageReady when we are ready.
2016-10-27 17:57:46 +05:30
Pranav Kant
93416e52a4
Kill edit for specific groups code
2016-10-19 21:12:29 +05:30
Pranav Kant
20d2ce582a
Don't ignore non-updatable files
...
Don't discriminate with these files; let them have the right to
join the session or generate access token like other sessions
2016-10-19 21:12:29 +05:30
Pranav Kant
c98c1e6ba7
Handle empty arrays correctly
2016-10-14 15:26:05 +05:30
Pranav Kant
1ad1f667ee
Simplify edit group checking algorithm
...
Rather than making a server call, which seems to be not working
always anyways, use a foolproof method for this.
2016-10-13 20:50:48 +05:30
Pranav Kant
de62725ed2
Some beautification of admin settings
2016-10-13 20:16:02 +05:30
Pranav Kant
e593c34fdd
New test server option for specific groups
2016-10-13 19:58:43 +05:30
Pranav Kant
145854400e
New 'Use OOXML by default' option in admin settings
2016-10-13 14:41:49 +05:30
Pranav Kant
40323cab8c
Cleanup/refactor, remove debug code
2016-10-11 17:15:36 +05:30
Pranav Kant
c24c5a0439
Only allow users to edit documents if part of edit groups
...
If edit group setting is not set in Collabora Online settings,
then allow all users.
2016-10-11 13:21:35 +05:30
Pranav Kant
1174105402
Setup edit groups functionality
2016-10-11 13:03:19 +05:30
Miklos Vajna
d6b65b7983
bccu#2033 Respect WOPI action names
...
Don't assume that the action name is 'edit' all the time. Instead, if
it's view, then initialize leaflet with permission=readonly.
2016-10-04 15:53:36 +02:00
Pranav Kant
cf97470caf
Show relative timestamps as heading, formatted as tooltip
...
Be consistent with owncloud own version sidebar, and loleaflet's
DocumentRepair dialog.
2016-10-03 11:17:36 +05:30
Andras Timar
6fc595eb93
remove unused 'Save new documents to' setting, fixes #76
2016-09-12 19:42:46 +02:00
Andras Timar
7a0d2b944c
change id of Apply button, fixes #93 , fixes #92
2016-09-12 18:53:54 +02:00
Morris Jobke
d6a412caac
Fix error in richdocuments
...
Ports https://github.com/owncloud/documents/pull/652 by @vicdeo to richdocuments
2016-09-07 13:27:09 +02:00
Pranav Kant
517e1c79a3
Make NewFileMenu's display name translatable
2016-08-12 14:23:34 +05:30
Pranav Kant
4cda46798e
Add restore button to the revision history sidebar
2016-07-18 11:11:52 +05:30