Commit graph

11530 commits

Author SHA1 Message Date
Tamás Zolnai
88e2de28d2 cypress: this is not needed anymore.
The problem was with the retriabiltiy of
cy.get().contains() chain.

Change-Id: I086b6667eb68c86254ca38a9033a75cd5e340a93
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94777
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-25 11:42:51 +02:00
Tamás Zolnai
15581bb362 cypress: add tests for insertion of text fields in impress (mobile)
A bug here, that the text fields are inserted at the corner
of the slide and so they are hanging out of the slide.

Change-Id: I5bc895d1c73338cf41e5c896cbdb4ea5cfd5ddd0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94776
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-25 11:42:13 +02:00
Szymon Kłos
41071ee46c mobilewizard: properly set line width
Change-Id: I0d1d61eb31905f241ca40801c38d5eed844d47a4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94706
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-25 09:36:33 +02:00
Tamás Zolnai
c3c9f25954 cypress: deduplicate config related code in make file.
And break commands to multiple lines for better readability.

Change-Id: I5ee25bb34e69f80346a0dbfd3cf5b81329cc8438
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94711
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 23:41:26 +02:00
Tamás Zolnai
015beba207 cypress: document the new spec option of make run-* commands.
Mention it also in the log in case of error.

Change-Id: Ib99dc2d2122a0658c86b223d94fec24de106fbd4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94710
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 23:41:20 +02:00
Henry Castro
defe39ac29 cypress: run interactive specific unit test
If unit test fails, so we can run interactive unit
test to analyse the results (command line)

Change-Id: I44fff4a442b2f6be0dbfced1359e27fc07c2c12e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94426
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 21:09:07 +02:00
Henry Castro
16028271bb cypress: fix running single unit test
When builddir != srcdir

Stills error:

"The support file is missing or invalid.

Your `supportFile` is set to `cypress_test/support/index.js`, but either
the file is missing or it's invalid. The `supportFile` must be a `.js`
or `.coffee` file or, if you're using a preprocessor plugin, it must be
supported by that plugin.

Correct your `cypress.json`, create the appropriate file, or set
`supportFile` to `false` if a support file is not necessary for your
project."

Change-Id: If1aeb55a3821735022dfa57af217130f18cd9dbf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94424
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 21:08:59 +02:00
Ashod Nakashian
ddc85b24f9 leaflet: smart throttling of RichProxy polling
When there is no data coming in from WSD, we slow
down the frequency of invoking RichProxy.

Supports recovering from errors and server restarts
or document unloading (i.e. when the session is
invalid).

We don't invoke RichProxy more than 40 times a second
(i.e. with 25ms interval) and we slow down when
the last data was received 3x longer than the
polling interval. The current decay rate is 15%.
That is, we throttle to 1.15x the last interval.
This brings us down from 25ms to 500ms in about
4 seconds, which is very reasonable.

However, when we want to send data, or when we do
receive any data, we immediately maximize the
frequency so we can communicate as fast as possible
and reduce the user-visible latency. Notice that
when we get some data (without having sent anything
recently) it implies activity from another user,
so we do want to get their changes in real-time.
This is why we reduce the polling frequency
gradually, but increase it abruptly.

The parameters of the algorithm are configurable
directly in the code, but the current defaults are
very reasonable.

Change-Id: I0b9fd6db73caa35853fe6d8077bef66934de679c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94654
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-05-22 17:50:15 +02:00
Szymon Kłos
37eccae0f0 jsdialog: style word count dialog
Change-Id: Ibffe28ddecbbcfcf01aac6e5a112c34134668633
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94692
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-22 17:03:38 +02:00
Tamás Zolnai
d96ca09ced cypress: update version 4.3.0 -> 4.5.0
Change-Id: I87432005dc9c9cb264c0cae260e5adad84e4ef14
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94665
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 14:58:29 +02:00
Szymon Kłos
323eb7f5b4 Add word count dialog in menu
Change-Id: I1417ac3b261bbd9ce7411c5f4bb37e3093ee88bf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94626
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-22 14:45:01 +02:00
Tamás Zolnai
af3691ea51 cypress: this test is failing lately.
Change-Id: Iddadf16895947b2a236e2075118ba822f74eeecb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94666
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 14:11:01 +02:00
Tamás Zolnai
e180fff4b2 cypress: add some basic tests for insertion wizard in impress.
Change-Id: Ia391337aab70f3c6208358d1695f4649edfca7eb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94638
Tested-by: Jenkins
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 14:02:23 +02:00
Szymon Kłos
97a0a765ab Move insert table entry in menubar
Change-Id: I80b8164685cf45a01e26c7a2b58b800262fe080b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94659
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-22 10:21:26 +02:00
Ashod Nakashian
287b70a504 wsd: logging cleanup and improvements
We now don't need to call snprintf (which is best
for signal-safetly), and are much faster thanks
to a custom replacement.

Change-Id: Iae5861e42e8e335967499f93b71b39b0b4b09bf6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94146
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-05-22 00:40:37 +02:00
Michael Meeks
ec48b7c746 Proxy: handle connection failure during session gracefully.
Change-Id: Ib8bda31352de6fea406b32b86bc134ee2a7841d8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94652
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-21 23:02:39 +02:00
Michael Meeks
a87bafb403 Improve exceptions.
Change-Id: I7d10ff831563f47e8c01431803b307cdbcb20349
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94579
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-21 22:26:50 +02:00
Henry Castro
6e230e4ba6 cypress: enable logging browser side
This time the logs come from the browser

Change-Id: If9b66a140b0174d0e3ef1e1e492ceeb49953d563
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94468
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-21 19:53:43 +02:00
Henry Castro
5acffe2af9 cypress: remove logging UNO command states
This is no longer usable when running interactive unit test

Change-Id: I0e44dca7d6c0ec513da08a0d4521ef9d15b27a94
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94430
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-21 16:49:48 +02:00
Szymon Kłos
6a295dd1ad jsdialog: use edit instead of combobox in find & replace
Change-Id: I1d365ef8ac3860ffa581f830c1b989842532723a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94627
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-21 15:58:17 +02:00
Szymon Kłos
cdeaebee88 Add Insert Table in menubar
Change-Id: I13da175b4f15affc3341cbbaf94e39a689820c86
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94570
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-21 12:19:50 +02:00
Andras Timar
f7d5cd0793 pot update after fix of source string
Change-Id: I1702952440af36a13273982795bc8e618d65bce9
2020-05-20 23:02:33 +02:00
Michael Meeks
bec19d4338 Cleanup string and substitute protocol.
Change-Id: Iaa229ec346037788b9de7e5f59038b8afe0f7136
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94607
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-20 23:01:31 +02:00
Andras Timar
c5eae88743 typo
Change-Id: Iaaf095e80a7bcff597825438ce54f8039a7e6bfc
2020-05-20 22:31:19 +02:00
Tamás Zolnai
20ae90f748 cypress: fix closing method of bottom toolbar test (calc)
Change-Id: Ie241720312f58d2be0c3c5f1f4a154246ed84bfd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94597
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-20 21:42:17 +02:00
Tamás Zolnai
09dec12811 cypress: improve the output in case of error.
Mention also the command for the interactive test runner.

Change-Id: Ia013ea589229542d571d9a587ec85ae05ed6b4da
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94590
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-20 21:41:54 +02:00
Andras Timar
9ca444ed9f add missing '/' to welcome dialog URL
Change-Id: I5a715daf31fdb7036859e04423a337d0d1dd6616
2020-05-20 20:51:28 +02:00
Ashod Nakashian
c9be6b4a30 leaflet: restore reuse_cookies to the url
Reuse cookies are captured on file-serving the
loleaflet.html, whereupon they are injected
into it before serving as part of the document
load url. They show up as &reuse_cookies=
in the url embedded in loleaflet.html.
When loading the document, and creating
the session, the cookies received via
reuse_cookies is stored and set in each
WOPI http invocation.

This restores creating reuse_cookies in the
URL. It was inadvertently dropped after some cleanup.

Change-Id: I6de8ddb58e7f43566a08c22327dbc4b7a1207388
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94472
Tested-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-20 16:45:30 +02:00
Andras Timar
53fa59945b loleaflet: updated UI pot file
Change-Id: Ib7ffb5492d9fab732fa9443ca9bb381cf9f9970b
2020-05-20 16:42:09 +02:00
mert
8fa5d48a36 Add "Slow Proxy" string in About
Change-Id: I1c04ef295bdecf782e41d8e299adc67df4f87390
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94581
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-20 16:40:12 +02:00
Weblate
cb51332587 update translations
LibreOffice Online/ios (Chinese (Traditional))
Currently translated at 60.0% (3 of 5 strings)

Change-Id: I6847e097cfe863027230199ea19d7f1903c56d54

update translations

LibreOffice Online/loleaflet-ui (Chinese (Traditional))
Currently translated at 100.0% (299 of 299 strings)

Change-Id: Ibb382a23d555dc6a2f667c849afdb9bc2c7ad383

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 88.0% (366 of 416 strings)

Change-Id: I915ac90f007f76faeb64213230cc474815b57876

update translations

LibreOffice Online/android-app (Russian)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: Ia727ebd5939f337be686f32e11561d5fa2951d2b

update translations

LibreOffice Online/android-app (French)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I92ec0af7327c811305d9cb52979059a7677cfc46

update translations

LibreOffice Online/android-app (Swedish)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I976874b6a0a79a033a71d2eedd0ca458649e89a0

update translations

LibreOffice Online/android-app (Chinese (Simplified))
Currently translated at 98.0% (100 of 102 strings)

Change-Id: I37ec240ebc2099aa624f7a3d4b4dc94bfe31ad32

update translations

LibreOffice Online/android-lib (Swedish)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: Iee6e4f67a9d47f134e9e45438dba8e277f4cfe26

update translations

LibreOffice Online/ios (Swedish)
Currently translated at 100.0% (5 of 5 strings)

Change-Id: I72d9cd5f07a81ee301f5e0f8629b80932b241d8b

update translations

LibreOffice Online/loleaflet-help (Swedish)
Currently translated at 47.6% (198 of 416 strings)

Change-Id: I29358e1b37c663903e7b9cdd44e72e3f1729f73e

update translations

LibreOffice Online/loleaflet-ui (Chinese (Simplified))
Currently translated at 97.3% (291 of 299 strings)

Change-Id: I49d01411ef7bcf6b9e6ef8cd86988934b86757d7

update translations

LibreOffice Online/loleaflet-ui (Swedish)
Currently translated at 100.0% (299 of 299 strings)

Change-Id: If95f6b50651a1c62824c1a69afe08539389bd3e0

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 59.9% (249 of 416 strings)

Change-Id: I8feab13d589621fdb398ab01c86d216d6c280e4a

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 100.0% (299 of 299 strings)

Change-Id: Ie888e0387fdec8698359915cef5fa1e7463b5949

update translations

LibreOffice Online/android-app (Slovak)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: Id4ca86e59776731788903e0b4958e6c788a067ce

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 59.6% (248 of 416 strings)

Change-Id: I202c93bdad3774c93c090f9d2f9183b447975184

update translations

LibreOffice Online/loleaflet-help (Slovak)
Currently translated at 100.0% (416 of 416 strings)

Change-Id: I29804b491b185a852b72465ab551e1b5f330840a

update translations

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

Change-Id: I99b817a5f6450c089c675dc99915b1524bfda635

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 58.9% (245 of 416 strings)

Change-Id: Iab1a57d59fec1f850ae848664d9906819d01f21c

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 87.7% (365 of 416 strings)

Change-Id: Ibf128dd5c824bc10194e4a3ac1b0295be603b781

update translations

LibreOffice Online/loleaflet-help (Asturian)
Currently translated at 9.6% (40 of 416 strings)

Change-Id: I9f24d4b34ff835899a7c3281fb520a853b38803a

update translations

LibreOffice Online/loleaflet-help (Afrikaans)
Currently translated at 53.4% (222 of 416 strings)

Change-Id: I154d5dc548d85f1c7ee909249696ffb8219f9e5e

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 40.5% (121 of 299 strings)

Change-Id: Id80c147ea8656b72b54129a932ca581ac16d4013

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 87.5% (364 of 416 strings)

Change-Id: I596a5e50f7b8bb44d7557b2e7916d2f1882c1885

update translations

LibreOffice Online/loleaflet-help (Afrikaans)
Currently translated at 50.2% (209 of 416 strings)

Change-Id: I626a718cffb35c9fa9974b7b09b0569f902ff49f

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 58.7% (244 of 416 strings)

Change-Id: Ibacea52dd3e147fe08c972eeac919277f5bc2d65

update translations

LibreOffice Online/android-app (Bulgarian)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I2692c03bc48f59d47bf368e730cb5868f17ad245

update translations

LibreOffice Online/android-lib (Turkish)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I1463944f6af77ee34c52fe8d59fe121501667b69

update translations

LibreOffice Online/ios (Turkish)
Currently translated at 100.0% (5 of 5 strings)

Change-Id: I0d16f08359633a0eed2a2ebd0e4c877d02f31d2a

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 57.9% (241 of 416 strings)

Change-Id: I52b9cf006759fd76e3c06788df43ac0fbb6b37c5

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 100.0% (299 of 299 strings)

Change-Id: Ie778af32815fe05664306ed877cc13cd210493d2

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 86.1% (358 of 416 strings)

Change-Id: I1269480dcb1f314e47d41a1507431e41e8080daf

update translations

LibreOffice Online/android-app (Chinese (Simplified))
Currently translated at 98.0% (100 of 102 strings)

Change-Id: I1eb35b456ca82529aec11cbc68d99b07f6ea219c

update translations

LibreOffice Online/android-lib (Chinese (Simplified))
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I048484fd9e5356aaac0644c1e78b8bbbb649e128

update translations

LibreOffice Online/ios (Chinese (Simplified))
Currently translated at 100.0% (5 of 5 strings)

Change-Id: Ifae00f1ea7e7d1904bfaebc7852bc7dcb6fbffd8

update translations

LibreOffice Online/loleaflet-ui (Chinese (Simplified))
Currently translated at 84.9% (254 of 299 strings)

Change-Id: I852c5f36140474efa3c17385aacccc5a3ae2eb26

update translations

LibreOffice Online/android-app (Turkish)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: Icba4193f3b2598039ea3d0fa89350d88652d3a70

update translations

LibreOffice Online/ios (Afrikaans)
Currently translated at 100.0% (5 of 5 strings)

Change-Id: Ib7587f244d71fa0e2f095e9b7321b81e35b44f36

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 85.8% (357 of 416 strings)

Change-Id: Ie4736af55bafd769b9abe8b72fddca4b5f379ba7

update translations

LibreOffice Online/loleaflet-help (Afrikaans)
Currently translated at 47.4% (197 of 416 strings)

Change-Id: I591b23750937082dc15792d8ff1db949998905cb

update translations

LibreOffice Online/loleaflet-help (Afrikaans)
Currently translated at 30.3% (126 of 416 strings)

Change-Id: Iecfa44aa565582ee862a726dcc5e9c3ab751455d

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 85.1% (354 of 416 strings)

Change-Id: I6470bfc966ad0e52de48ce809c4619f713c9907e

update translations

LibreOffice Online/android-app (Italian)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I94834e9a7caf4a790e45cb295e44c1a284e2589b

update translations

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

Change-Id: I9029c5236f3edaf674ffb2eacf08afa9b23fc12d

update translations

LibreOffice Online/android-app (Czech)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I3b70903d5f1bb51ed34d808b1d32e58d0d5b3b1d

update translations

LibreOffice Online/android-app (English (United Kingdom))
Currently translated at 100.0% (102 of 102 strings)

Change-Id: If7eb7eb159c1dcfc3a9607094b20b469e65159c4

update translations

LibreOffice Online/loleaflet-ui (English (United Kingdom))
Currently translated at 100.0% (299 of 299 strings)

Change-Id: Idb217999d2f0469172ca3fcb5f38928bc1381fc1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93596
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-20 16:39:06 +02:00
Tamás Zolnai
f1296cdf19 cypress: extract selectFirstRow() method (calc)
Change-Id: I1e7c9769249169986f411a7d5139ff6b0e9f751c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94572
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-20 15:07:22 +02:00
Tamás Zolnai
5de4f98424 cypress: deduplicate clickOnFirstCell() method.
Change-Id: I359d2f5a12ae83e598e1d61dfd2c4b943ef31f0e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94568
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-20 15:07:14 +02:00
Tor Lillqvist
d921cb6053 Look also for libtoolize on macOS, not just glibtoolize
When build in lode, it gets installed only as "libtoolize".

(Note that when bulding the iOS app, it is needed only by online's
configure script. Not at all at build or run time, of course.)

Change-Id: I7c96672b2660354aecd17db7004f5b79d707e245
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94560
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-05-20 11:11:49 +02:00
Marco Marinello
16f72821bd Enhance docker build system: reduce created layers
Signed-off-by: Marco Marinello <marinello@libreoffice.org>
Change-Id: If12a84b3adb82dad3bf7ef7ea423e8bdfac1650e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94261
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-20 08:35:03 +02:00
Tamás Zolnai
194bc60bb6 Revert "cypress: this test seems to be stable now."
This reverts commit d07db7d74d.

Change-Id: I6d220701082fedcfbc0e00f5c6e0f0092bb4032b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94458
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-20 00:28:35 +02:00
Tamás Zolnai
129d89a9f4 cypress: add tests for bottom toolbar in calc.
Change-Id: I033800eadf5d3b1a454e31549b5adc1fd5d5ebd6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94532
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-19 21:10:02 +02:00
Tamás Zolnai
f43b7e01bf cypress: remove some false comments.
Change-Id: Ibdd0a27c78feeffe09b0b3fdd91ac2d0a444178b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94531
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-19 21:09:18 +02:00
Tamás Zolnai
d07db7d74d cypress: this test seems to be stable now.
Change-Id: Iaa2799bfa489fd04acc4d42452915bde0c9f6528
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94530
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-19 21:09:03 +02:00
Aron Budea
11d9c28478 tdf#133078: Make selection from Borders dropdown work again
If color was undefined, parseInt() of 0 (already int) failed.

Regression from 877e4fd587

Change-Id: Ie7c1e4666a5560c39fd395419185933be395d54c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94543
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-05-19 19:36:22 +02:00
Ashod Nakashian
3309d597e9 wsd: correctly parse wopi URLs in RequestDetails
Wopi URLs have their own /ws marker, which
is confused with the one used with the RichProxy.
Without correctly identifying the one belonging
to the original URL and the one for the Proxy
logic, we end up mis-parsing and Wopi documents
don't load via RichProxy.

Change-Id: I7874e2aed9d5ac7de734f3db01f2820c5bbc5098
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94470
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-05-19 15:17:12 +02:00
Szymon Kłos
3e3a5e01b1 jsdialog: fix inifinite regenetate JSON loop
Change-Id: I52667e115a0cf70f09f570dc6ea1ec0bcac49460
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93463
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-19 13:34:44 +02:00
Szymon Kłos
2b5dac78f6 jsdialog: send control type with event
Change-Id: I6cd6f1d26b5c78715f9e0adc992a1869e0f19a97
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93029
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-19 13:33:58 +02:00
Tamás Zolnai
336184e1e4 cypress: this is unstable.
Change-Id: I7cc737278120df8f4d7a8a27770a4929b5d48660
2020-05-19 13:03:05 +02:00
Szymon Kłos
e55892b997 jsdialog: handle events for dialogs in mobilewizard
- remember window id
- close mobile wizard on dialog close
- close dialog on mobile wizard close
- don't show dialogs on mobile devices

Change-Id: I585c5b92192655684eedd62d88817a92fc1fc0a8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93005
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-19 12:56:27 +02:00
Tamás Zolnai
dd5ce7df94 cypress: make zooming more stable in form field tests.
Change-Id: Ie897b256f13f06e7fc66bd0fac25376b849e5429
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94421
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:42:14 +02:00
Tamás Zolnai
18325d8889 MSForms: make list items's font size relative to the button size.
Change-Id: I05149e704ca248584ba190f2e637e69082ca33fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94420
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:41:48 +02:00
Tamás Zolnai
43d1567b9d MSForms: stop listening on zoom events after button is removed.
Change-Id: I96e484b5fa7309b7d1a6f0a3ec4269f21bb93496
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94410
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:41:37 +02:00
Tamás Zolnai
f1262f7b31 cypress: this is unstable.
Change-Id: Ifb492aa60594a98f7274e09682e3042797431ce8
2020-05-18 14:15:26 +02:00
Tamás Zolnai
82f96b40f8 cypress: add zooming test for form fields.
Make sure the text cursor is inside the form field
button's frame.

Change-Id: Ib8a6fe50c14d01b5d3864f04e9668b9b1844b50e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94408
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 12:45:05 +02:00