Julius Härtl
9a1f139881
Add tooltip, contactsmenu and properly cleanup container
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-09-04 21:34:04 +02:00
Julius Härtl
70d79756e4
Show avatars in header
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-09-04 21:34:04 +02:00
Roeland Jago Douma
bee311d904
First POC to show the avatars of the editors
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-04 21:34:04 +02:00
Roeland Jago Douma
f37a113cd5
Also allow sharing
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-04 15:26:35 +02:00
Roeland Jago Douma
0c3edf5f29
Add dedicated function for postgraphics
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-04 15:23:49 +02:00
Roeland Jago Douma
41507880e5
Add insert graphic
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-04 15:23:49 +02:00
Roeland Jago Douma
1c439bd3a7
Start with sending the close message to mobile so they can close the
...
view
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-09-04 15:23:49 +02:00
Roeland Jago Douma
e6ac126b8a
Fix payload of sending asset
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-16 15:32:33 +02:00
Julius Härtl
aed1cdc554
Only show sharing sidebar for loggedin users when a header is present
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-13 21:35:14 +02:00
Julius Härtl
7772c85064
Hide searchbox in collabora, since it cannot be used there
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-10 13:24:31 +02:00
Julius Härtl
7130d71f20
Fix sharing button on 13
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-10 13:04:44 +02:00
Julius Härtl
7608e6f6f7
Add sharing button to the header and open files details sidebar
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-10 12:00:19 +02:00
Roeland Jago Douma
c42dc6e9dd
Post to asset URL
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-07 10:48:56 +02:00
Roeland Jago Douma
51569601dd
Fixes
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-07 10:48:56 +02:00
Roeland Jago Douma
d70d884019
Original document patch by Henry
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-08-07 10:48:56 +02:00
Roeland Jago Douma
21059397a9
Initial mobile edit
...
* Add OCS endpoint for client to request a view
* Endpoint returns an URL
* DirectView controller to show info
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-20 20:24:33 +02:00
Roeland Jago Douma
a6a9861433
Move spaces&tab mix to tabs in JS
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-07-10 16:10:47 +02:00
Henry Castro
35b5c15343
add mobile css ( #211 )
2018-07-03 09:14:44 +02:00
Andras Timar
b2e20bc025
set scrolling="no" attribute for loleaflet iframe
2018-06-13 15:51:02 +02:00
nithom
bcb67076a9
Let external users set their display name when editing. ( #200 )
...
Signed-off-by: Nico Thomas <nithom@online.de>
Co-authored-by: JonasBlaesche <jonas.blaesche@me.com>
2018-06-13 15:31:18 +02:00
Jan Holesovsky
1b57dd435f
The 3rd approach to fix the Back button navigation. ( #205 )
...
This one should finally implement the Back button handling, without the
nasty side-effects of the other solutions (non-working Safari or
non-working closing button).
2018-04-20 17:19:26 +02:00
Andras Timar
e080485d31
Revert "fix back button navigation ( #183 )"
...
This reverts commit 4b980cb010
.
2018-04-19 13:49:26 +02:00
Andras Timar
1bd688de1d
Revert "Use the nextcloud API to fix back button navigation ( #183 ). ( #201 )"
...
This reverts commit ac0588077e
.
2018-04-19 13:49:08 +02:00
Jan Holesovsky
ac0588077e
Use the nextcloud API to fix back button navigation ( #183 ). ( #201 )
...
This reverts commit 4b980cb010
, and solves
the situation using the standard API, because the previous solution did
not work on Safari.
2018-04-18 21:07:17 +02:00
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.
2018-03-22 09:37:07 +01:00
Andras Timar
d02ed7a2f0
Use Cancel and Save buttons instead of No and Yes on Save As dialog
2018-02-21 23:57:54 +01:00
Andras Timar
4b8dd9556f
update comment
2018-02-19 19:32:30 +01:00
Andras Timar
6d60e621aa
do not allow empty file name in Save As dialog
2018-02-18 00:35:51 +01:00
Pranav Kant
f00e6cdb4a
Support version restore states ( #166 )
...
See https://gerrit.libreoffice.org/gitweb?p=online.git;a=commit;h=1fabfd9fe34815cab54c1417cfc7e541adb6a341
for details
2018-02-08 10:34:56 +01:00
Pranav Kant
d61999d709
Restore code deleted by accident ( #165 )
...
This reverts some parts of
a08c0b7a5e
2018-02-08 10:23:52 +01:00
Pranav Kant
a08c0b7a5e
Add support for adding canonical webroot ( #157 )
...
See cc42c7f46c
for details
2018-01-31 13:25:33 +01:00
Pranav Kant
fec3a73943
Fixes #140 - name of the document in titlebar ( #160 )
2018-01-30 22:31:25 +01:00
Julius Härtl
1db0d27cc5
Fix z-index of the richdocuments frame for NC13 ( #153 )
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-01-11 10:34:55 +01:00
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
2018-01-10 21:06:49 +01:00
rakekniven
05aee21958
Update documents.js
...
Changed wording according to
https://www.transifex.com/nextcloud/nextcloud/translate/#de_DE/richdocuments/125396748?issue=yes
2017-12-11 16:10:54 +01:00
rakekniven
18350d9faf
Update admin.js
...
Fixed triple dot (changed to ellipsis)
2017-12-11 16:08:39 +01:00
Andras Timar
7f3f30b383
2nd attempt to fix #138
2017-11-29 16:21:28 +01:00
Andras Timar
11274091c0
fix for #138
2017-11-29 11:53:39 +01:00
Pranav Kant
2c3d9ae8d9
Add support for PutRelativeFile for Save As. ( #136 )
2017-11-22 16:23:55 +01:00
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>
2017-11-06 13:54:56 +01:00
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.
2017-10-20 11:26:26 +02:00
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 c6a3e02b4b
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 aa89c908a7
.
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
Pranav Kant
ea484bb357
Fix a typo
2016-07-18 11:11:52 +05:30
Andras Timar
53256007de
Merge pull request #81 from pranavk/download_tooltip
...
Show 'Download' tooltip for download icon in revision history
2016-07-15 19:45:42 +02:00
Pranav Kant
d91151091d
Show 'Download' tooltip for download icon in revision history
2016-07-04 13:55:42 +05:30
Pranav Kant
1a41f8bbd3
Respect lolang param in revision history mode too
2016-07-04 13:35:43 +05:30
Pranav Kant
c084533efb
Wait till page is rendered
...
There's a race condition here between page being rendered with
all the document(s) information and showing the editor to the
user. The later requires the former as it uses data rendered into
the page.
In most cases, former is quick enough and we do not see any
problems, but in some cases, mostly when the server is responding
very slowly, it will lag behind the later causing the editor to
be shown before data is rendered into the page leading to '404
Object not found'.
This should, hopefully, avoid such cases.
2016-06-29 22:03:01 +05:30
Pranav Kant
c80a31ebe0
$.getJSON already returns a promise like object
...
... so no need to create a deferred object separately and then
resolve it manually. This is since jquery 1.5
See: https://api.jquery.com/jquery.getjson/
2016-06-29 21:12:15 +05:30
Pranav Kant
f3e7211ee5
Add Handlebars to global
2016-06-29 19:43:10 +05:30
Pranav Kant
58f9b4c5b4
Explicitly ask for revision history option
...
... since loleaflet explicitly requires it now if revision
history option is required.
2016-06-29 17:42:18 +05:30
Pranav Kant
50d1b609ba
Move exist button to top right of revision sidebar
2016-06-28 17:00:58 +05:30