Commit graph

2041 commits

Author SHA1 Message Date
Emre Öztürk
d10e0bc129 tdf#107562 Enabled replying comments in impress
Change-Id: I55862204ef71f69bc88c79fe2259f7cb8365699a
Reviewed-on: https://gerrit.libreoffice.org/43165
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-10-16 19:56:49 +02:00
Pranav Kant
cf3076a260 [API CHANGE]: loleaflet: postmessage: s/rev-history/UI_FileVersions/
And keep the compatibility with older clients by adding 'Deprecated'
flag to the messages in PostMessage API. The clients must ignore such
messages marked with deprecated flag and should wait for the standard
non-deprecated post message.

Change-Id: Id203c44db5986303c574e66602d8f98b4c04ba50
Reviewed-on: https://gerrit.libreoffice.org/43093
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-10-16 19:50:09 +02:00
Henry Castro
b57a4e9171 loleaflet: enable Impress spell checking
Change-Id: Ie4ae3f683bc55f7ca67b01e65dafea9746784b5a
2017-10-13 20:59:19 -04:00
Pranav Kant
981d810f1d loleaflet: The comment JSON has user name, not userid
We register the full names of the user with libreoffice core, not user
ids. Create a viewinfo map mapping usernames with viewinfo, not userids
with viewinfo.

This fixes the regression: the avatar URL doesn't work.

Change-Id: Ie4cc75168c7480fcb663414f3a082264b42c11d9
2017-10-11 14:47:26 +02:00
Andras Timar
609c52e79c loleaflet: update pot file
Change-Id: I7a58230990a2b7feab90f831880e97a3f0e61d54
2017-10-08 13:10:34 +02:00
Henry Castro
e78d9a0d91 loleaflet: add "None (Do not check spelling)" option
Change-Id: Iae5176cf5b6b87b5c9540e392e6e81db7193e83f
2017-10-06 17:33:26 -04:00
Jan Holesovsky
dec231da0f Move the language menus one level up.
Change-Id: I01f5d985ac3ebd9265200ecc161b861dc582ad69
Reviewed-on: https://gerrit.libreoffice.org/43113
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-06 11:39:47 +02:00
Andras Timar
b599bb0a31 loleaflet: l10n update from Pootle
Change-Id: Idead8ba649396abaeda2fb3db2fac5266d82a49c
2017-10-06 11:20:25 +02:00
Andras Timar
6bd9ea1659 loleaflet: es l10n correction: Djibouti->Yibuti
Change-Id: I90ca414e0e0104dc54a56abc6e812d637677d686
2017-10-06 11:12:45 +02:00
Andras Timar
4ef7da3733 loleaflet: updated sl translation
Change-Id: I890f3fe7232a8b5b1708d555344ca65ad6fa188c
Reviewed-on: https://gerrit.libreoffice.org/43155
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-05 08:32:46 +02:00
Andras Timar
a9b635a5d0 loleaflet: add language name translations from core (langtab.src)
Change-Id: I7e425cefe68aa4ebb8ba0e6416e4f0bdead37dfd
Reviewed-on: https://gerrit.libreoffice.org/43144
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-04 22:58:21 +02:00
Henry Castro
30fd4d2f11 loleaflet: fix statusbar items when refreshed
when the statusbar is refreshed the items are restored to according to
html property

Change-Id: I79f77c5ab4932c10d10dd9780cbd6e6a9b132a38
2017-10-04 09:45:59 -04:00
Andras Timar
cb2de58108 loleaflet: enable l10n of language names
Change-Id: Idd8b1b0bb081d718cf8d36c60ce6e293bd818fc6
Reviewed-on: https://gerrit.libreoffice.org/43130
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-04 13:33:26 +02:00
Andras Timar
7bc407c452 loleaflet: update UI pot
Change-Id: Ib1c02dbfb91c7b52830923324666bc6b006adce1
Reviewed-on: https://gerrit.libreoffice.org/43129
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2017-10-04 13:31:59 +02:00
Aron Budea
dfa9b44e93 Status bar function: first make it work properly
The way the parameter was interpreted changed with this
core commit: 7bc97db5b972f27693161beb9182f8a5850f5551

For now let's make single function work again.

Change-Id: I6e8ebb4cc7a272c53aa3e44066df7a62ab89d8ab
Reviewed-on: https://gerrit.libreoffice.org/43110
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-10-04 12:12:13 +02:00
Henry Castro
9edf7f0712 loleaflet: add more menus for the Writer spell checking
Change-Id: I3ef19021f0cb44aa2c34c84af08f2af2d11b25a2
2017-10-03 20:09:54 -04:00
Henry Castro
9677b1eae0 loleaflet: change position of the language status bar item
Change-Id: If5f7ad59e3ef4694313c086ad473af0cc377ea9c
2017-10-03 19:57:00 -04:00
Pranav Kant
6a73c19d16 Show save-as option based on CheckFileInfo params
If UserCanNotWriteRelative is mentioned in the CheckFileInfo response.

Change-Id: I33d2e21159b3e18ae88fd72f404f2d1d1d9b64e5
2017-10-03 20:58:36 +05:30
Henry Castro
d5b76b5d5c loleaflet: use commandvalues to request the list available languages
Change-Id: Ibc312bf4d464dd7446715d7bf51ed208d41e8e6f
2017-10-02 22:57:44 -04:00
Michael Meeks
1c164427ba Pre-select search text if present on a new ctrl-f.
Change-Id: Idec7c3e3a419bb26f951872932c8c2c7de69b68f
2017-10-02 20:58:41 +01:00
Andras Timar
3eadb79cf3 loleaflet: updated UI pot file
Change-Id: I074f2cc268ea06e5693d21d249bb35367a3b9b0d
2017-10-02 10:04:56 +02:00
Henry Castro
22b7bee742 loleaflet: add tools -> language menu items
Change-Id: Ie79a03b53bdbb248788e444115cf7d7e159bb964
2017-10-01 10:58:11 -04:00
Henry Castro
e02ca0603a loleaflet: add language status bar item
Change-Id: I6615373a27b1a32561f3c5fba2f9c7765dbf9bef
2017-10-01 10:53:36 -04:00
Henry Castro
e45d05f847 loleaflet: resolves: no row header in revision history
_onUpdateScrollOffset is triggered when the client window is resized or
when it is loading a new document. However, there are some cases when
the offset is 0, it means to update row and columns.

Change-Id: If4c4bb4f50335c642004ceb7723c8b5eb949cada
2017-09-21 11:31:19 -04:00
Aron Budea
61acc4ae7d loleaflet: enable horizontal scrolling via Shift + mousewheel
Change-Id: I3cac65248628042e0150e9f393c89e4fbefb8ed6
Reviewed-on: https://gerrit.libreoffice.org/41088
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-09-21 15:46:28 +02:00
Andras Timar
b8a50e6750 loleaflet: updated UI pot file
Change-Id: I4de681eded5a1839928935be4b3d94dfa90a0efe
2017-09-20 12:12:49 +02:00
Henry Castro
0d870d444c loleaflet: fix background color of the top level menu items
Change-Id: I548c700a16664e8acfc6010c1be549e6176f2383
2017-09-19 21:46:09 -04:00
Pranav Kant
fcffb01725 Don't forget reconnecting the socket in these cases
This regressed with 7c1e1120c6

Calling .initialize() on socket object is not enough anymore after above
mentioned commit; it doesn't re-establish the socket connection as
was the intent earlier in following cases.

Change-Id: Icd0a87a875eb275ed3c914474cdc502b460e2d16
Reviewed-on: https://gerrit.libreoffice.org/42431
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2017-09-18 20:17:50 +02:00
Henry Castro
1a493880a4 loleaflet: show error when the document is disconnected
Change-Id: I43f8d48002ccb2fc3b6ac9807b72ba6b618d72d2
2017-09-17 11:09:02 -04:00
Henry Castro
0cdf361510 loleaflet: clean up the socket connection
Change-Id: I29861d74ba5e0aa789eec41fb353aca1dad6cce4
2017-09-17 10:45:59 -04:00
Jan Holesovsky
6cd5d869ef Temporary hack to pass through the reverse proxy a nocanon way.
Change-Id: Iefc8704d4b08bab6a0afabcbc9aec5ef11d2be26
2017-09-15 15:32:45 +02:00
Henry Castro
105eeddae1 loleaflet: ignore events before the document is loaded
Change-Id: Icd28854f4430786e1383a7fe6a694f3c7ce9a188
2017-09-14 17:36:45 -04:00
Jan Holesovsky
7707507ed0 Introduce Tools -> Automatic Spell Checking.
Change-Id: Icfae090f69e49bbce2cf98c53c35ab1bb6794490
2017-09-14 11:38:55 +02:00
Henry Castro
9c3393fc44 loleaflet: fix background color of the menu item in disabled state
Change-Id: Idbe08dcd1fd1bb885f77478e3ad314be392a140d
2017-09-13 12:37:10 -04:00
Henry Castro
7c1e1120c6 loleaflet: ensure initialize map components before the document is loaded
Change-Id: I3b6219926f0f9d0306ef25bc5f9a9145410bac74
2017-09-13 11:14:17 -04:00
Jan Holesovsky
c5fc1594e1 HA: Pass WOPISrc= param in all the requests that need to...
...end up in the same loolwsd instance.

Change-Id: I69c4f5be0c0a6f4ffdec6dd571a5d62f2df4b1fb
2017-09-08 17:04:05 +02:00
YiiChang Yen
488c2e98f3 loleaflet: Sortting font-select list localelly
Change-Id: I6ebe7a30e0d47776986aa67b44de7b2bc1d25fca
Reviewed-on: https://gerrit.libreoffice.org/41873
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-09-08 11:22:17 +02:00
Marco Cecchetti
5112f33d09 Disable slideshow feature when DisableExport property is set.
Change-Id: I424da9abf2bba737c2985c6dcbb2ab9dbee4770c
Reviewed-on: https://gerrit.libreoffice.org/42081
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-09-07 22:07:46 +02:00
Henry Castro
3b6af443bd loleaflet: related to tdf#107806
Change-Id: Ifd6bd15538007416747accf7b0ad602292b1195a
2017-09-04 20:40:53 -04:00
Henry Castro
01dd761750 loleaflet: log when w2ui toolbar is not created
Change-Id: I9f8f50b628028f9f5541aa97f8c2f0ff2e72924d
2017-09-04 19:26:12 -04:00
Henry Castro
b53bcf23ae loleaflet: disable toolbar buttons before the document is loaded
Change-Id: Ia6679414f8eab54366a48b1c431ce9384d2dc8ca
2017-09-04 16:52:30 -04:00
Henry Castro
a29fa8756d loleaflet: add initial menu bar before the document is loaded
Change-Id: I9ab7f87e0ad3f4c9ff11670b8a2675d895a9c812
2017-09-04 16:35:29 -04:00
Christian Glombek
b61bcd2e53 Fix build from non-git source archives like tar or zip
Change-Id: I359056c9ad2550b625eb3e7b8e71d841eedea93b
Reviewed-on: https://gerrit.libreoffice.org/41553
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-09-03 01:30:27 +02:00
Jan Holesovsky
f7c199684c WOPI extension: DisableInactiveMessages to avoid showing message when dimmed.
Change-Id: I925602295dde95611ab1a6565dd7266460769a50
Reviewed-on: https://gerrit.libreoffice.org/41709
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-08-29 19:44:33 +02:00
Pranav Kant
29db4b447f admin protocol: 'total_mem' -> 'mem_consumed'
total_mem can be confused with total system memory or total memory
availabe to loolwsd process. Change the API to say what it actually
returns.

Change-Id: I55c246b8a1d0c5c52767520150e55616266a6d4f
2017-08-29 12:12:13 +05:30
Aditya Dewan
c61db390c9 Ruler now compatible with comments and zoom
Change-Id: Ic5e99eb3a280ce5f5f4621b20d0e44250ea30621
Reviewed-on: https://gerrit.libreoffice.org/41562
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-08-28 10:46:26 +02:00
Aditya Dewan
6494821d27 add numbers on ruler
Change-Id: Iff90ddedf3c808cda3bad0a397b456cb8c9e607d
Reviewed-on: https://gerrit.libreoffice.org/41336
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-08-28 10:46:17 +02:00
Aditya Dewan
94ee746edc Add tooltip on ruler to track change
Change-Id: I6d982dadbee18e2ce492b80f429b65e20b3905f8
Reviewed-on: https://gerrit.libreoffice.org/41352
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-08-28 10:45:55 +02:00
Aditya Dewan
8ef4d33e15 Adding ruler to loleaflet
Change-Id: I585850a7111eb5ab70bc5b51a508eb29317b92ca
Reviewed-on: https://gerrit.libreoffice.org/40461
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2017-08-28 10:45:33 +02:00
Pranav Kant
29aef0af4b loleaflet: Mention the reason of closing websocket to WOPI hosts
Reason is part of the JSON of post message with ID, 'Session_Close'.

Change-Id: I51a465f63fbd80843292a3f19c5b89f920301194
2017-08-25 18:46:39 +05:30