Commit graph

12451 commits

Author SHA1 Message Date
Pedro Pinto Silva
48bb33748b Mobile: Hamburger Menu: Add right padding to checkmarks
Change-Id: Ia4f5f95749661b2f0cb881d34b9c6c92ae682eed
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101404
Tested-by: Jenkins
Tested-by: Pedro Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-08-26 15:31:05 +02:00
Szymon Kłos
27f75ae2d9 notebookbar working css in IE
in IE/Edge:
- not working var()
- color with opacity must be used in rgba() format
- width: max-content not working, use nowrap

Change-Id: I771b2b8d58821144f5704d67126b5490a5f75c7a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101399
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-08-26 13:34:46 +02:00
Pedro Pinto Silva
43543a7437 Mobile: Context menu: add missing assets (show/hide note)
Change-Id: I231c8ae917c9c3b694477c37e276d0b4dd97f6f2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101389
Tested-by: Pedro Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-08-26 10:58:54 +02:00
Szymon Kłos
6f18c16d42 notebookbar: add comment in insert tab (calc)
Change-Id: I65fff06355ccf541e7447c2bad42148f600e7106
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101380
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-08-26 10:50:30 +02:00
Pedro Pinto Silva
1cbb871336 Mobile: Fix misalignment due to vex sizing
- make sure avatar container is set to content-box instead of border-box

Change-Id: I342f01136bee99a0154527f34703b323cd62aeb5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101381
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-26 10:02:35 +02:00
Szymon Kłos
7fba29f190 notebookbar: align home tab
Change-Id: I24c83af9e5136b17e06d78043e447c107e17f716
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101323
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-08-26 09:19:22 +02:00
mert
851bdeb949 Fix insert image dialog only opens once
Change-Id: I5a184feadcf25e22829f80ad4da20d25e04d3f27
Signed-off-by: mert <mert.tumer@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101348
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-26 09:19:04 +02:00
gokaysatir
a5e77d71c2 Loleaflet: Impress image previews are adjusted.
Change-Id: I0c333b58e823702678c4c292de2f58adabbdb3c1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101319
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-25 22:08:35 +02:00
Tor Lillqvist
2a8db1b5ab Use CollaboraOnlineWebViewKeyboardManager
For now, just copy its source files here. When/if I figure out what is
the appropriate way to package that framework for use in other
products (like the Collabora Office iOS app) I will use that instead.

Change-Id: If808f96b6a72c80e54dc84fce80a551503c96335
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101268
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-08-25 13:41:20 +02:00
Szymon Kłos
f6e7ec9ee1 notebookbar: always extend on tab click
Change-Id: Ic7b8166c636e61f79042092cabcce1e8c62286ac
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101316
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-08-25 13:08:56 +02:00
Pedro Pinto Silva
1c4dcc1f58 Document Name Input: make it flexible (dynamic width) and
* convert var colors to rgb
* use the var colors for shadow + alpha (rgba)
* .document-title container: remove table display and add min width

Change-Id: Id4289af91562790edd23c83d4e70a16688e44fe3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101048
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-08-25 12:55:50 +02:00
Szymon Kłos
58f1e865b8 notebookbar: insert textbox directly after click
Change-Id: Ibfa5e306b53186b63d90fc3c655c83989e5936e9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101308
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-08-25 11:54:29 +02:00
Szymon Kłos
61b6d8d386 notebookbar: build using div not tables
This solves issues with positioning in Chrome
using non standard zoom levels

Change-Id: I14987f6c9e50f2d1c8a1170c489f69471cb9f807
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101307
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-08-25 11:54:24 +02:00
Szymon Kłos
78e3fd8716 notebookbar: avoid doubled tab switch
Don't send notification about switching to the custom tabs
(negative ids).

Change-Id: I6a67d2889087ff757a7a84a815bb484f1bc0fca5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101281
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-08-25 10:47:19 +02:00
Ashod Nakashian
29a5a1f1e9 wsd: move jail setup to the script to support readonly systemplate
We now gracefully fallback to copying when/if systemplate
is readonly.

The bulk of the change is to support proper cleanup in
both cases.

First, we had to move as much of the jail bootstrapping
into the loolwsd-systemplate-setup script, so systemplate
will be as complete as possible before it is locked down.
Next, we needed to update the jail with graceful fallback
to linking/copying upon failure. For that, the jail setup
logic in Kit.cpp has been reworked to support not just
update failures, but also more comprehensive mounting
failures as well.

Finally, jail cleanup now is seamless. To support proper
cleanup when we had mounting enabled but had to fallback,
we mark jails that aren't mounted so we can 'rm -rf' the
contents safely and without fear or causing undue damage
(as unlikely as that is, technically we wouldn't want to
rm systemplate files, if mounting read-only had failed).

There are a few minor refactorings of JailUtil to make
it cleaner and more robust.

Change-Id: Iac34869cb84f45acf64fbbc46d46898367b496d2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101260
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-25 07:58:30 +02:00
Szymon Kłos
b72146bfac Revert "Remove parameters from uno commands when creating image names."
This reverts commit 73227645c0.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Iad24abbe8f84b4624d729801b925b80da4478120
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101160
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-08-24 16:15:38 +02:00
Samuel Mehrbrodt
8c602e179e Revert "Revert "Don't update modified status after saving to storage fails""
This reverts commit e83e36bd9b.

Unit test failure was fixed

Change-Id: I2176368278725c1711df3b23eef95de6526c68d5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100859
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-08-24 14:34:10 +02:00
Tor Lillqvist
e7b92924f8 Guard against TypeError: null is not an object
Change-Id: I9a7c708bf753891d54ce8da91b2e9aaeb352cd45
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100913
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-08-23 11:42:09 +02:00
Andras Timar
6a29bd22ae add missing l10n for .uno:HideNote
Change-Id: Idb426cc7e165e1af8c7b387522fee2192531db42
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101151
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-22 06:28:18 +02:00
thais-dev
43904d4598 Fix comment syntax.
Change-Id: Ia726b1b46c1aa2ca7d2757441e6699956313b924
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101142
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-08-21 16:12:06 +02:00
Michael Meeks
cd98388653 Avoid contention on RSA Digest engine.
Change-Id: If9068371c7ab18083d432f8bc582d85c2f85e80e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101081
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-08-20 18:11:12 +02:00
Michael Meeks
701e78a6ae Detect dpi scale factor change and re-render.
Change-Id: I4c09ade1efdfee67bc5d9224c50cf1825b6657fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101016
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-08-20 11:23:06 +02:00
Pranam Lashkari
cb5e5b3e50 leaflet: changing cursor according to objects selected
text cursor only if cursor is visible
appropriate cursor for drag markers
move cursor for selected object

Change-Id: If750ac91fc870a0d730d4455c51bde0423c55e4a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98425
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-20 09:55:19 +02:00
Szymon Kłos
252c9245a6 Show availible user avatars in comments in calc
Shows only for users which are present in the session
as oly for them we have available data.

Change-Id: I26b7c7f4358873216dba9fbf69a2608b1bf0803f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100430
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101019
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-19 22:57:28 +02:00
Szymon Kłos
7e2929674a When avatar fails to load use generic image
Change-Id: I03659a75ed168b15483ef46677eae4989b734933
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100643
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101021
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-19 22:52:50 +02:00
Andras Timar
f513eaf5a1 do not show broken images instead of avatars, 2nd try
Change-Id: Iab87518807ce11bbcf19ff8436b9241527140b7a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101023
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-19 22:06:39 +02:00
gokaysatir
745f4a5287 leaflet: truncate long links in the popup
Change-Id: I82ab8d35e0c57aa82b130a89d0d4c7b3ba0b50e6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100547
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101020
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-19 21:40:53 +02:00
Tor Lillqvist
c440e8dd7b Use CollaboraOnlineWebViewKeyboardManager if available
If loleaflet is embedded in an iOS app that uses
CollaboraOnlineWebViewKeyboardManager, then we can use that to
reliably display and hide the on-screen keyboard. (Such iOS apps are
Collabora Office or Nextcloud.)

This is optional as we can't be sure whether the version of the iOS
app we are embedded in uses CollaboraOnlineWebViewKeyboardManager or
not. If not, work as before. I.e. hope that calling the focus()/blur()
methods of a textarea object will show/hide the on-screen keyboard.

Change-Id: Idddedcb4a83588c622067cdbeadb02ecdbd4fc72
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100980
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-08-19 19:34:41 +02:00
Michael Meeks
ab0538bf30 Enable cypress search / focus test.
Change-Id: I9f6482d80fac4dae677dcb471deff3b3575dbbfd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100986
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-08-19 14:24:19 +02:00
Michael Meeks
8657bd21ce We no longer need to mess with focus during sidebar paint.
TextInput.js sends keyboard events to the right dialog window now
by referring to Map.js - rather than needing several different places
that can be focuses.

Change-Id: I044bc858a80379b68838d64d1987a1dbd9007195
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100955
Reviewed-by: Ashod Nakashian <ash@collabora.com>
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Ashod Nakashian <ash@collabora.com>
2020-08-19 11:29:42 +02:00
Andras Timar
449dc691d2 do not show broken images instead of avatars
Change-Id: I6babd0a892dccc2ca5d6d1bf6ac6e6007411b1e2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100977
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-19 11:25:22 +02:00
gokaysatir
46e996c76f loleaflet: Make sure lokchild window is not rendered off screen.
Change-Id: Ib1d8c045750aeb653d8b1d1e962711e5da1705fe
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100683
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-08-18 19:52:41 +02:00
Andras Timar
f6db27343f polyfill endsWidth for IE11
Change-Id: I4a2d3af2ccffdc7dcd79ff24e00c909bc57d365e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100916
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-18 16:18:41 +02:00
Michael Meeks
6c161540a9 Fix annoying exception on calc close with annotations.
Change-Id: Ic9fbdd443419365470137858dac2e5b3de71c9b7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100906
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-08-18 11:57:37 +02:00
Andras Timar
9273b0f72e loleaflet: updated UNO translations
Change-Id: I7e6ffbc60adaca22eddf12e9ce270d03220e306d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100887
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-18 06:37:48 +02:00
Ashod Nakashian
0d2a32fe2a leaflet: hide the splitter on the toolbar if the first
When the toobar buttons to the left of the first splitter
are hidden, we start the toolbar with a splitter, which
is aesthetically unpleasant.

Here we special case for the desktop only, because
tablets and mobiles have a slightly different toolbar.
Although we should have a similar logic for them too.

Change-Id: I9869433f3ca3391d7ee899a77bb1466fe456f9f2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100832
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ash@collabora.com>
2020-08-18 02:28:26 +02:00
Henry Castro
dcdb0afdf5 loleaflet: fix uncaught exception
Control.MobileWizard.js:363 Uncaught TypeError: Cannot read property 'children' of undefined
    at NewClass._onMobileWizard (Control.MobileWizard.js:363)

Change-Id: I13617414aca15d8c6120261264911322128a181a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100680
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-17 17:56:37 +02:00
Weblate
0d0d2334cd update translations
LibreOffice Online/android-lib (Galician)
Currently translated at 100.0% (13 of 13 strings)

Change-Id: I20825affea2fe6337ab098e8f92eaad0a8f7b483

update translations

LibreOffice Online/loleaflet-ui (Galician)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I4ce0e74f4f24509fa01774fdaa1a4514228c6a03

update translations

LibreOffice Online/loleaflet-ui (Esperanto)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I00e4fa474159c57e0c60d81f1c8fd9498d8c9ffc

update translations

LibreOffice Online/loleaflet-ui (Ukrainian)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I0e13f812d94e99d06d37b08ee203f00b7790bc6b

update translations

LibreOffice Online/loleaflet-ui (Ukrainian)
Currently translated at 99.4% (342 of 344 strings)

Change-Id: I49438a1a4262b8cd7d6d54a445afb6aaaa7fcd60

update translations

LibreOffice Online/loleaflet-ui (Portuguese (Brazil))
Currently translated at 98.8% (340 of 344 strings)

Change-Id: I36528b4d19081e26af92ce6d347cac67797a7167

update translations

LibreOffice Online/loleaflet-ui (Slovak)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: Ifd57a6e733dcf75deeed9cb9d3110b956eea150a

update translations

LibreOffice Online/loleaflet-ui (Norwegian Bokmål)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I321b475d23782bd70d7864cb9309294ef2c0415c

update translations

LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I02ad16334449b5e12da58f6f2b1c8af2167bf9c4

update translations

LibreOffice Online/loleaflet-ui (Bulgarian)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: Ie87d597b441272feac170f4d5fd9adfa49092779

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 45.0% (155 of 344 strings)

Change-Id: I3d290dcf34fd852eaaa35ebe6d47a20ed099c9c8

update translations

LibreOffice Online/loleaflet-ui (Slovenian)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I5616691719811850135b66ee45fe8c7ac6d513da

update translations

LibreOffice Online/loleaflet-ui (Portuguese (Brazil))
Currently translated at 98.2% (338 of 344 strings)

Change-Id: I1ce2107e08e626361cb4edb7e5abd8d212d6226e

update translations

LibreOffice Online/loleaflet-ui (Slovenian)
Currently translated at 97.9% (337 of 344 strings)

Change-Id: I63ed0d3308ae96d354f3d53caa447150247bb9d7

update translations

LibreOffice Online/loleaflet-ui (Italian)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I6d0a2b0861327e657994d3841f05d5a28a1d6b25

update translations

LibreOffice Online/loleaflet-ui (Basque)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I771df8992bbe4dcda956ade9e9b4150d3cd1879d

update translations

LibreOffice Online/loleaflet-ui (Ukrainian)
Currently translated at 98.2% (338 of 344 strings)

Change-Id: I471972b34fa801ead2a003d8681a563c4bfe1166

update translations

LibreOffice Online/loleaflet-ui (Czech)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I8a374fe008d533681e6489a5e1c3035f3fbd7231

update translations

LibreOffice Online/loleaflet-ui (Upper Sorbian)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: Ie08a2654ddbe5f6f67ff29f647bee98a646fec2d

update translations

LibreOffice Online/loleaflet-ui (Lower Sorbian)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I835b2a230dffd94d8981fe5b4290856fe0bd7025

update translations

LibreOffice Online/loleaflet-ui (Czech)
Currently translated at 94.4% (325 of 344 strings)

Change-Id: I4ad417c45c55fc78c1335296b8b5981b284ff066

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 97.6% (336 of 344 strings)

Change-Id: I777040e30f05b861de26c33183d1cebd44f27bab
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100145
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-17 17:55:45 +02:00
Henry Castro
1ff9b38198 loleaflet: simplify remove child nodes
Change-Id: Ie14b9b933aad74d31acd6add5c07f1e5d9b94b91
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100866
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-08-17 17:50:29 +02:00
Ashod Nakashian
3cf27ee2c2 wsd: minor cosmetics
Change-Id: I9e67cf870c92197a5c53d45f479d8c9f70818049
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100833
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Ashod Nakashian <ash@collabora.com>
2020-08-17 14:15:37 +02:00
Ashod Nakashian
bc8da0cb33 wsd: support read-only systemplate
For various reasons, systemplate may be read-only
or under a different owner and therefore impossible
to update the dynamic files in it.

To support such a scenario, we first link the
eight dynamic files in /etc when creating systemplate.
If this fails, we copy the files.

When creating jails, we always check that all the
dynamic files are up-to-date. If they are, nothing
further is necessary and we bind-mount, if enabled
and possible.

However, if the dynamic files are not up-to-date,
we disable bind-mounting and force linking
the files in the jails. Failing that, we copy them,
which is not ideal, but allows us to ensure the
dynamic files are up-to-date as we copy them too.

Ideally, the dynamic files in question would be
hard-link (or at least soft-linked) in systemplate
at creation. From then on we would bind-mount
the jails and everything would work perfectly and
no files would need updating. This patch is fallback
for when this scheme fails, which should be exceedingly
rare anyway, but which still ensures correct operation.

Change-Id: I09c6f057c49396579aaddb1b8bf4af0930dd4247
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100834
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-08-17 13:51:56 +02:00
Tor Lillqvist
ad031401b5 window.webkit.messageHandlers.<name>.postMessage() takes just one argument
There has apparently been confusion with the unrelated
Window.postMessage() method.

Do it for the iOS app case but presumably the same can be done for the
Android app case, too.

Change-Id: Iabb259b618426cbbb9f4ed2a9a97ad907bc09c39
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100773
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-08-15 17:05:53 +02:00
Michael Meeks
73227645c0 Remove parameters from uno commands when creating image names.
Change-Id: I26b4a6793e03b178382c04c91bd07b29182176ac
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100760
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-08-15 10:59:14 +02:00
gokaysatir
5de37de1c7 loleaflet mobile: Insert image: Make all items visible.
Change-Id: If479adf4a3b106676f9174669e3f7141bb23964d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100613
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-08-15 00:01:06 +02:00
Tamás Zolnai
8d3209dd1e cypress: add log lines to impress helper methods.
Change-Id: I64289fa556e12142400bca07ff9d45f2b2df72cd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100757
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-14 21:33:39 +02:00
Tamás Zolnai
15444dbf33 cypress: improve removeShapeSelection() method.
Instead of using a click() and a dblclick() method, do
click() repeatedly, until selection is actually removed.
For example, it takes ony click when the shape is selected,
but no text is selected inside it. It takes two clicks when
a text also selected and sometimes when selection stucks it
takes even more click.

Change-Id: Ic017d0f5b623de29343cf171a8f4d64988fdb721
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100756
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-14 20:44:39 +02:00
Tamás Zolnai
6d239a3a9f cypress: improve selectTextOfShape() method.
Sometimes double clicking inside the shape does
not makes the shape to step into text editing mode.
To avoid this kind of issue, we can click more times
until we get the cursor.

Change-Id: I4a9671c299144bd8ca250b575665538ab14758ad
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100755
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-14 20:37:58 +02:00
Tamás Zolnai
0134d74b45 cypress: improve typeIntoDocument() method.
Change-Id: I9e28a44a42596624c6c40984581e97679fad63b3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100754
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-14 20:37:47 +02:00
Henry Castro
22fd4ebaa6 admin: fix build when builddir != srcdir
Change-Id: If29863c06a8c296d5d4b7c37f0f6473e949e4371
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98223
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-08-14 15:42:13 +02:00
Tamás Zolnai
0139a7c2f4 cypress: improve selectAllMobile() method.
A bug occures when we remove a column selcetion.
The document freezes for seconds before it is
updated. Let's workaround it in cypress tests,
until it's fixed.

Change-Id: I5436c969655260d377d4ce47c86270ef15a15c2f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100740
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-14 14:31:12 +02:00