Commit graph

13057 commits

Author SHA1 Message Date
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
Pedro Pinto Silva
1633fae50e Simplify var name and follow same name convertions as in #513
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9603c79a544c2243ba47a8c27ad5f62fdb3fdbe3
2020-11-09 16:18:38 +01:00
Pedro Pinto Silva
46446f2dd4 Tooltips: improve upon PR #513, plus add rule-only css
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2a6868e25ceddc9a6f5d383e6ecf41836ecdfc28
2020-11-09 16:18:38 +01:00
Tamás Zolnai
9973736000 cypress: NC: fix up code.
Change-Id: I6d931a59f4281c85347b0e824aefbcd8cf2e129f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 13:30:37 +01:00
Tamás Zolnai
fad24063e0 cypress: show statusbar / sidebar for NC.
In NC statusbar and sidebar an be hidden by
default. Let's avoid test failures because of
that.

Change-Id: If6083df431bfc438f72be4f13e078ea335df114a
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 12:54:20 +01:00
Tamás Zolnai
000c1390c2 cypress: php-proxy: disable all saving related tests.
It's a known issue, that with php-proxy we can't load
the same document twice.

Change-Id: I401a74734e1781f76847387ee9677a0fe6ca699d
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-09 12:54:20 +01:00
Pedro Pinto Silva
10901e3737 Mobile: mobilewizard: Reuse css var for ui-text and dividers
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9c84d756975ef87d60d98208aa34acd389ba38ac
2020-11-09 10:44:22 +01:00
Martin Srebotnjak
fb91c8d71c Translated using Weblate (Slovenian)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Slovenian)

Currently translated at 99.4% (354 of 356 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9fa60e5f65c28697158a1c9f7d550e73ee9f673a
2020-11-08 23:14:39 +01:00
Jetsadakorn
81d892a028 Added translation using Weblate (Thai)
Co-authored-by: Jetsadakorn <tartarza112233@gmail.com>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2ea1292044f5319b60ea389f4cbb6fa71df5aac0
2020-11-08 23:14:39 +01:00
Quentin PAGÈS
4129a1ce7c Translated using Weblate (Occitan)
Currently translated at 42.6% (152 of 356 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/oc/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie56cb5d5f88e092ab89e446b26ae47e01e2c3256
2020-11-08 23:14:39 +01:00
PhD. Ayhan YALÇINSOY
b9b9424316 Translated using Weblate (Turkish)
Currently translated at 100.0% (417 of 417 strings)

Translated using Weblate (Turkish)

Currently translated at 99.0% (413 of 417 strings)

Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id5105b51daa1b565edd59b354542e5febeb2bfe7
2020-11-08 23:14:38 +01:00
Andras Timar
c61654cb17 Translated using Weblate (Turkish)
Currently translated at 99.0% (413 of 417 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If5c624ad859596764f5e25d92b0c239c8680de5b
2020-11-08 23:14:38 +01:00
PhD. Ayhan YALÇINSOY
f58ca9c7b7 Translated using Weblate (Turkish)
Currently translated at 98.3% (410 of 417 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (356 of 356 strings)

Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I44e4b61e6cd674bc06cf117d1f84bed6cd9891a9
2020-11-08 23:14:38 +01:00
Matthaiks
899c34c333 Translated using Weblate (Polish)
Currently translated at 100.0% (356 of 356 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8ce29526fbe71a39bdb71ec72aeecba8e74c709a
2020-11-08 23:14:38 +01:00
Andras Timar
ac0d998335 Translated using Weblate (Danish)
Currently translated at 95.3% (102 of 107 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (356 of 356 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/da/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifaf7c80d29c7df237d9019e1dbef559eeec0942a
2020-11-08 23:14:38 +01:00
Marc Rodrigues
0ca619ff00 Translated using Weblate (German)
Currently translated at 97.7% (348 of 356 strings)

Co-authored-by: Marc Rodrigues <marc.rodrigues@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I393a987aea7a2a1571b43c92ee536ed32c2147cb
2020-11-08 23:14:38 +01:00
Adolfo Jayme Barrientos
155a14d2d9 Translated using Weblate (Spanish)
Currently translated at 100.0% (356 of 356 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (356 of 356 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id383b30beca37eef37e72a7766ac194e3f935893
2020-11-08 23:14:38 +01:00
andreas kainz
4de7717514 Calc: menubar update in sheet calc menubar fix #549
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ic815909aec9860dca98975f524887d8842a6909c
2020-11-06 23:45:21 +01:00
andreas kainz
e6b31fea65 Clac: add commands to calc menubar format section
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If5db19949601e325aa1ebb54256dd9c5ef2137f6
2020-11-06 23:03:30 +01:00
andreas kainz
1cf11ba055 Calc: add commands to calc menubar view and insert
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I340474fba3cd61a3635ab9b657dc0ff358c08da8
2020-11-06 18:04:51 +01:00
Tamás Zolnai
30650d09bb cypress: test for applying left/right alignment via top toolbar (Impress).
Change-Id: I93caf91826a2e4b2e37cd466e31b8b424d9114aa
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-06 14:51:21 +01:00
Tamás Zolnai
2d02cf5cc6 cypress: move all Impress related helper methods into a bigger scope.
Change-Id: I6ab06a9c737258afc11e4fcecc91bc678940cd0f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-06 14:51:21 +01:00
Tamás Zolnai
941754f978 cypress: NC: disable newly added Print test.
Change-Id: I30f5ea0bcb767b41ef62267c4935bdaf374d11e5
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-06 14:51:21 +01:00
Pedro Pinto Silva
efca7abfd6 Tablet: Notebookbar: hamburger menu issue #390
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iaf8378153808582f7d8d785857eed69a6753dfa4
2020-11-06 14:39:22 +01:00