Commit graph

13030 commits

Author SHA1 Message Date
Tamás Zolnai
1ed1f0705f Update cypress: 5.3.0 -> 5.5.0.
Change-Id: I0c1431eaa3f49c3a4705a9cd438162cd7ccd0fe8
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 11:57:23 +01:00
Tamás Zolnai
2aa37cbaf4 cypress: do not run afterAll method in case of failure.
After a test failure, it's common, that the afterAll
method also fails which covers the right error
message and also makes the following tests to be ignored.

Change-Id: I5c1bbc5dd8b1b48dd2a8f1fc20a8ca3b8ecd8462
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 11:57:23 +01:00
Tamás Zolnai
9c65fe9805 cypress: NC: avoid hard coding locale indicator in number formatting tests.
1033 means en-US locale. It can be different in an
NC environment for example.

Change-Id: I929a7308b9f0d4a102f836d1ec66c5c98a6eb9c6
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 08:53:14 +01:00
Tamás Zolnai
6620c77c3a cypress: php-proxy: disable this unstable test.
Change-Id: I6fa2f777c95dac57d4ae8b13063c04f44d1ff20c
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 08:53:14 +01:00
Tamás Zolnai
10df5de391 cypress: NC: disable retries.
In NC environment it does not work properly.

Change-Id: I9adbb01b450103a6ac2aa211eb933a5ab3f5fcd2
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 08:53:14 +01:00
Tamás Zolnai
175b32ddb1 cypress: NC: disable this unstable test.
Change-Id: Ifd7b970aac8e5f6a6bfc1a58d75eddf63ea42fd7
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-13 08:53:14 +01:00
Ezinne Nnamani
4bea7938c5 Created a Cypress test for Format as currency and Format as Percent in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I90ca9051ce71e9f3bc9b774cd0bdb87c076ceb8d
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-13 05:09:21 +01:00
Tamás Zolnai
d328f930ce cypress: php-proxy: close php-proxy connection by the end of the test.
For some reason if we use proxy.php continuously, then
it will eventually fail on the test. With visiting the
localhost in the afterEach method we can avoid that.

Change-Id: If56c8e40e9e2b9002c1c5b0b91851e4a19a2c9bd
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-12 16:38:11 +01:00
Tamás Zolnai
2581ab44f9 cypress: remove core/master blacklist.
It is outdated.

Change-Id: I29de4a7ddbacb62cd091446929fe9ba56ce9baf9
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-12 16:38:11 +01:00
Ezinne Nnamani
f0f330498e Created a Cypress test for Add Decimal places and Delete decimal places in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I3420488c79af469cbcc5181106e4ec864f40893d
2020-11-12 13:47:15 +01:00
thais-dev
4c915f5604 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (356 of 356 strings)

Co-authored-by: thais-dev <thais.vieira@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9bd887506cfeb282ca01b7d6deacdd289196f278
2020-11-12 13:37:01 +01:00
Mike Kaganski
73f45e6648 Translated using Weblate (Russian)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (356 of 356 strings)

Co-authored-by: Mike Kaganski <mikekaganski@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I58036ad7c92666a8c029f870a19193edcafa86a3
2020-11-12 13:36:55 +01:00
J. Lavoie
2458a96ce5 Translated using Weblate (Italian)
Currently translated at 99.7% (355 of 356 strings)

Translated using Weblate (French)

Currently translated at 100.0% (356 of 356 strings)

Translated using Weblate (German)

Currently translated at 100.0% (356 of 356 strings)

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/it/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2cd7320f63f868da91d514f1324145f645e306de
2020-11-12 13:36:27 +01:00
Pedro Pinto Silva
3e53289dbb Vex dialog: close btn: approximate style to regular dialogs
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7e25cfd716cba88364682dcf1093fa2224a1da5b
2020-11-12 13:16:45 +01:00
Pedro Pinto Silva
4b1c79058e Vex dialogs: Fix close vertical alignment on hover
to match its height (that is comming from vex theme)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ibffc3040d07afd2ea98af65a3aeaa041b0dc73fe
2020-11-12 13:16:45 +01:00
Pedro Pinto Silva
169ab2ce62 iOS: Fix fontname btn styles and inherit defaults from...
existent classes while overruling line-height and padding
for that particular btn (has np chevron since it's a btn and not a combobox)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I393c972b44402c4030a6d7838750cfbd8156530e
2020-11-12 10:56:56 +01:00
Pedro Pinto Silva
4f2ce5a1ba Notebookbar: Fix the order in which elements are added,
fix logo (document-header) overlap on some devices, namely iPads.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib2ca48d805f6decd941ae3f817f987791a074ed4
2020-11-12 10:56:40 +01:00
Ezinne Nnamani
ccf0c54de0 Created a Cypress test for Clear Direct formatting, Apply font style and Apply font size in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I7f59d8e9d9597137e26e6d2cc0a20bf3d516ce21
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-12 08:16:49 +01:00
Tamás Zolnai
ffc114e909 cypress: php-proxy: disable calc undo / redo tests.
We might hit a race conidtion here. I'll need to
investigate this later. It seems sometimes the
selectio is what is undo-ed and not the text
modification.

Change-Id: Ib9c6214cefd0b8625116681c3cbca17899beaece
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-12 05:40:08 +01:00
Tamás Zolnai
f9f459fe67 cypress: php-proxy: fix clone formatting test.
Change-Id: Ia83a534eb0f97f70db992239d41d2f25dc69042d
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-12 05:40:08 +01:00
Tor Lillqvist
b5ea4811f0 tdf#133279: Fix typing into tunnelled dialogs on hardware keyboards in iOS app
Let's hope this doesn't have any unintended side effect.

Change-Id: I38d5c6f3a8526ce510fe07f58fba17e98eb09e2e
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2020-11-11 19:22:35 +02:00
Pranam Lashkari
dbca0433a9 leaflet: calc text selection is never removed
problem:
once text inside the cell is selected,
taping on other cell does not remove the selection

Change-Id: I2c4bd4e46a42854bdcc5a09f6af170d33dc4e8c0
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
2020-11-11 17:42:09 +05:30
Tamás Zolnai
eb4a36c1ec cypress: NC: disable revision history tests for now.
In CI environment this does not work. I'll need to find out
how to make this tests work there too.

Change-Id: If9780796b52aa27fd18d72cc3bf786ab46865e4a
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-11 12:25:56 +01:00
Ezinne Nnamani
fba2ee9ced Created a Cypress test for the HighLight color and Font color attributes in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I6cdaac6c8465cb97dd801b94f55054100bc46948
2020-11-11 10:40:59 +01:00
Ashod Nakashian
3dff047b16 wsd: support line-breaks in watermark text
New-line breaks can now be inserted in the watermark
text using
. This helps break long watermark texts
at desired points and therefore make watermarks more
readable.

Change-Id: Ifee6faa06c9fb1fac38e5a4036c2e225829d796d
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-11-11 08:14:42 +01:00
Ashod Nakashian
4185c5fd03 wsd: encapsulate watermark details
The watermark handler member has been fully encapsulated
inside ChildSession, so there is no need to have public
members or circular dependencies (ChildSession owns Watermark
instance, and Watermark takes ChildSession instance to
construct and initialize).

Minor refactoring and const-correctness improvements.

This is a non-functional patch.

Change-Id: I32525c47e35e96fc5314e107639be93ebc49a60e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-11-11 08:14:42 +01:00
Ashod Nakashian
b5921288de wsd: comment typo
Change-Id: Ie75ae1cc73791af2e8f52b7ccab438b7adbd795e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-11-11 08:14:42 +01:00
Ayhan Yalçınsoy
ec4d35a53a loleaflet: eslint v.bump to 6.0.0 #396
Signed-off-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Change-Id: I08f7cc953aa6434fccbc92d74570c62a43c7dad9
2020-11-10 22:53:23 +03:00
Tamás Zolnai
2297388a32 cypress: NC: try to fix revision history related tests.
Let see whether waiting some time after context switch
makes things better. Cypress does not support iframes
very well.

Change-Id: If6011f16c54e3473bef20546f39bb45941c40dc9
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 20:18:32 +01:00
Tamás Zolnai
f4dc257423 cypress: php-proxy: disable formula bar related tests.
It's a known issue that formula bar is very laggy,
which makes test to fail.

Change-Id: Ia2cbee763c596065e36d178913a8df400adb4668
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 20:18:32 +01:00
Ezinne Nnamani
cb355967f1 Created a cypress test for Italic, Strikethrough and Underline attributes in top toolbar of Calc Desktop
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I1f782710a8728c39d3a40dfb56b6af4d9809947c
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-10 17:53:47 +01:00
Miklos Vajna
59e8c35afc README: mention the tinderbox
Its status is not reported on GitHub, so at least make this easy to
find.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I8a4f5bffbdb6692afa7f55e0f55ce41c04facd39
2020-11-10 14:10:55 +01:00
Tamás Zolnai
6fe727048e cypress: add remaining tests for Writer top toolbar (desktop).
Change-Id: Ie55928532afbb3b59ee348c3a04f38e7cf3304d8
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
5806c963af cypress: fix this undo/redo test.
We should wait until the undo/redo toolbar
items become enabled, before pushing them.

Change-Id: Ieea499722917e8ae1689701b819f5eb181c6c4e9
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
afab5bfb4c cypress: simplify show/hide sidebar test.
Change-Id: I0da2c509dc31b640dff90f0d1eae53472acc2cb1
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
37f37b6972 cypress: fix indentations in top_toolbar_spec.js.
Change-Id: I640fe25a34e2e07279d15b8dc87ba92a5476cda1
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
69e84fb326 cypress: let's be more specific about what we test here.
Change-Id: I82c898f57c0bd850117abfc88242b69923ed77cd
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
e7a880d782 cypress: merge these two test cases.
To avoid code duplication.

Change-Id: I24e2eb47429733d5baa14e3b9d3639391f5467ce
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Tamás Zolnai
7cc571be5a cypress: merge left/right alignment tests.
To avoid code duplication.

Change-Id: I23af599925e91addef604474841b597ed26b9dfa
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-10 13:57:31 +01:00
Pedro Pinto Silva
ccd3b1949f Hyperlink popup (leaflet-popup-tip): fix cropped Shadow
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0782d2117a9b08489b2f43e56f1831b45c4dd2b3
2020-11-10 13:50:52 +01:00
Pedro Pinto Silva
993aed9180 Loleaflet: contextMenu: Fix submenu style and arrow on hover
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id4a1c4c61b433108b30e348ee1c6573e2fa1f509
2020-11-10 13:02:04 +01:00
Pedro Pinto Silva
081b503a10 Loleaflet: contextMenu: Fix single action entry style
E.g.: right click; paste (single entry with action) was not changing color

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib3889859f4210ac01a1c308ac15e383a511aa067
2020-11-10 13:02:04 +01:00
Ezinne Nnamani
d0210de7e6 Created a Cypress test for Spacing attribute in desktop Writer
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: Iefbffc90fc794b61815b92fd54702a4215858dc7
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-10 12:20:32 +01:00
Pranam Lashkari
43db7bf841 leaflet: removed all the path not using canvas renderer
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I4831d1226854424b22263aa15c02df1fe9454661
2020-11-10 12:01:48 +01:00
Tor Lillqvist
9235d91cee Revert "tdf#133279: Use CollaboraOnlineWebViewKeyboardManager also for hw keyboards"
The reverted change caused many problems when using a hardware
keyboard. See https://github.com/CollaboraOnline/online/issues/402 ,
https://github.com/CollaboraOnline/online/issues/389 , and
https://github.com/CollaboraOnline/online/issues/399 .

tdf#133279 (Not possible to type in "tunneled dialogs" on iOS using a
hardware keyboard) will now then re-appear, but it will have to be
fixed in another way.

This reverts commit 68d2d9cbd42f57418927bf3e619e372bb674b218.

Change-Id: Ic723f57a95700f352a2c1f501922aad4eb84479c
Signed-off-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 051e594d7a81d818c16ddce9203bf9b5d929df61)
2020-11-10 12:45:06 +02:00
Tamás Zolnai
6a96d3f6d9 cypress: NC: sidebar can be hidden by default in NC.
Change-Id: I5292ba2bcbf840f0128bd28be3f381672b45fa7f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 21:56:09 +01:00
Tamás Zolnai
8829bc1167 cypress: php-proxy: disable retries.
For some reason the build hangs with retries. It must be
an issue with cypress itself, but I did not manage to
find a small reproducable test to report a bug about it yet.

Change-Id: I89874a2601649274ed9f7bf7a0e88c9cd1ffcf6f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 21:56:09 +01:00
Tamás Zolnai
4aa3e79ad9 cypress: php-proxy: fix page setup tests.
With php-proxy the timings are a bit different.
We need to make sure that the mobile wizard is
already in the right state to close it.

Change-Id: I4d5c26400c301a0c51622bd799c49ed7d04d1478
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 21:56:09 +01:00
Jan Holesovsky
6ff2ffd60c Improve the check whether the PDF annotation is enabled.
Change-Id: I28a9b46d139edfb6dffe2afde39bd767ac6a7af3
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2020-11-09 16:26:08 +01:00
Jan Holesovsky
6c2d725c58 Disable Freeze panes menu & notebookbar entries on tablets.
The feature is not available there, so it is confusing the users.

Change-Id: I5ecd1ba3c1cf78e54433262d710ee64e38a8bd1e
Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2020-11-09 16:25:26 +01:00