Commit graph

13134 commits

Author SHA1 Message Date
Tamás Zolnai
01813eceec cyperss: php-proxy: Undo / Repair test passes now.
Change-Id: I17293ecc2f1490855cc1a217776b8c853c8c974c
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-19 13:47:24 +01:00
Tamás Zolnai
db1584c664 cypress: avoid unintentional resizing.
We use simple cy.click() on mobile, we might
get a better result to use a different way for
tap on document in the future.

Change-Id: I4b0c6989aaf105ae79be930ffc54898414efb92a
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-19 13:47:24 +01:00
Tamás Zolnai
50df517e65 cypress: NC: these log configs are not necessary anymore.
Change-Id: Iafa7f6f415d336b8b281bd7df528ec4baf2ec2a4
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-19 13:47:24 +01:00
Ashod Nakashian
1f24489db6 wsd: retry jail cleanup if it fails
It is possible for the jail directory cleanup
to fail, if there are still references to at
least one file in the jail. In those cases we
keep the jail path around so we can retry the
next time we cleanup a jail. This reduces
the chance of leaking jails until restarting
the service.

Change-Id: If6116ef598afc91063de71c66870bd6426a971ba
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-11-19 10:12:38 +00:00
Ashod Nakashian
3382dad05c wsd: const correctness and string ctor instead of literal
Change-Id: Id6b9ca28b09d11344d47099a2244e189afe14841
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-11-19 10:12:38 +00:00
Tamás Zolnai
9c98f326fe cypress: multi-user: improve interfering prototype a bit more.
Instead of hard coded test file, we use the admin
console to find out which test document we should
open with the interfering user.

Change-Id: Iedaea07eb558ca6335d8768ab23799bf02d7f4a7
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-19 11:02:29 +01:00
Tamás Zolnai
e085455ddf cypress: multi-user: improve interfering prototype a bit.
Use comment as syncronization point.

Change-Id: I5a959b3c89f445a150ddb970241d1188366cb00b
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-19 11:02:29 +01:00
Tamás Zolnai
f399beaf65 cypress: multi-user: avoid running more tests in parallel.
We have more users running already for one test, better
to avoid side-ffects coming from running more multi-user
test in parallel (they are using the same loolwsd).

Change-Id: I1cbed36a3ffe2825c384b525da361c4cfe781b38
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-19 11:02:29 +01:00
Tamás Zolnai
0f5042f76f cypress: multi-user: move retries config to a shared place.
Change-Id: I7939395b88c7a74a1e0016ec78c95ef46a5a31ec
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-19 11:02:29 +01:00
Tamás Zolnai
9ff0f3e9fe cypress: multi-user: move this document opening gap to the make file.
Change-Id: Ib37d8d29e8965712975e27a4577a4f1b6a0e35a0
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-19 11:02:29 +01:00
Tamás Zolnai
e066d047ea cypress: NC: improve iframe handling a bit.
Create an alias for the iframes, so we don't need
to find them every time, but we can use the
reference to them. It make the log more clear
and also makes things faster.

Change-Id: I6ca21f951568e46cec3d6a574ce1798b522067ea
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-19 10:07:20 +01:00
Tamás Zolnai
a67bf6198f cypress: NC: remove this check.
It does not work correctly in NC environment.

Change-Id: I1358f0f80aa05ddb118fc1cfd4237a5fac875fcc
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-19 10:07:20 +01:00
Szymon Kłos
3df31945b3 notebookbar: retry to initialize
Change-Id: I978a3c5c5338fcb96798a220400e020ef2dfec26
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-11-19 09:03:33 +01:00
Szymon Kłos
5067b6c5f2 notebookbar: provide default style previews
Change-Id: I41748e5792ba9a451d4a9e49ee9d56806ab296c8
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-11-19 09:03:33 +01:00
Szymon Kłos
dfa6443bfd Use correct position for sidebar tooltips
Remove leftovers after old tooltips

Change-Id: I935285150ed35c922fbcddbe7ff3af9a7c07fd34
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/103682
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-11-19 09:03:33 +01:00
Cor Nouws
791fb14164 Translated using Weblate (Dutch)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Dutch)

Currently translated at 62.8% (262 of 417 strings)

Translated using Weblate (Dutch)

Currently translated at 88.7% (316 of 356 strings)

Co-authored-by: Cor Nouws <cno@nouenoff.nl>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0dd3ffd91480a2c25ab87be1785bb0fdc4c4c806
2020-11-19 08:44:58 +01:00
Weblate
e2b744a434 Added translation using Weblate (Czech)
Added translation using Weblate (Croatian)

Added translation using Weblate (Dutch)

Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5a00860c775611ee90ede5f0f22c56762af0b7ec
2020-11-19 08:44:23 +01:00
Milo Ivir
bac717c400 Translated using Weblate (Croatian)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Croatian)

Currently translated at 67.6% (282 of 417 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (356 of 356 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7a9155c22b448bf6ddda1b6790c88a2f76720a41
2020-11-19 08:44:02 +01:00
Pedro Pinto Silva
8f1d71902b Mobile-wizard: Fix disabled btn contrast and re-use vars
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic90464d225aa40f464159a22c4cd7c62884a5592
2020-11-18 18:04:15 +01:00
Pedro Pinto Silva
3b9748bc80 Mobile: toolbar-down: Remove unnecessary down-sizing of active icons
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib12420fc5e2807e1e3f49abfe6d829f781fe381c
2020-11-18 18:04:04 +01:00
Aron Budea
b59fa6b753 Sync loolwsd.service between '/' and 'debian/'
One is used in Debian-based installs, other is used in the rest.

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: If21c5d70cb8bb738931c3cd05bd4c5c732f394f7
2020-11-18 16:14:17 +01:00
Pedro Pinto Silva
d5c0e17f08 Toolbar: differentiate close btn as a top action from the sidebar toggles..
- Fix redundant values and declarations
- while keeping the style the same across different platforms (desktop, tablet)
- while account for different parent's background (notebookbar)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I501cb0137282682980864d980571429ded8cf6c1
2020-11-18 14:51:55 +01:00
Tamás Zolnai
797139ed0f cypress: extract selectListBoxItem2() method.
Change-Id: I3be28686d19c5bc174b1a2f83fe9a849239756b2
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-18 14:05:12 +01:00
Tamás Zolnai
eea13adc99 cypress: extract checkDialogAndClose() method.
Change-Id: Ib5f2d7c7304390e660ec36878fe060e4f39a9312
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-18 14:05:12 +01:00
Tamás Zolnai
8f9f044865 cypress: extract selectListBoxItem() method.
Change-Id: I4dcc1d77f20955ee9bd425d447a3fb77f1a423f5
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-18 14:05:12 +01:00
Tamás Zolnai
c8166c3a04 cypress: simplify these border tests.
Change-Id: I43ba769f9952c8286a0c190342d382359d23c703
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-18 14:05:12 +01:00
Ezinne Nnamani
de8628121d Created a Cypress test for More option in border style in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: If98fef3d53b190c79335306f4e81d59eda8e6f8c
2020-11-18 13:29:34 +01:00
Thais Vieira
d3225855b2 cypress_test/impress: Add test for strikethrough
font shape

Signed-off-by: Thais Vieira <thais.vieira@collabora.com>
Change-Id: I5c83c95aa968334a82a7ae7a3bb8fc1c7bba9b7c
2020-11-18 13:29:07 +01:00
Tamás Zolnai
9fdfefe3a8 cypress: extract selectFromListbox() method.
Change-Id: I58da02f2a082e3683da62022c3bf9cb656621cb5
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-18 12:04:22 +01:00
Tamás Zolnai
d38360ff74 cypress: extract selectColorFromPalette() method.
Change-Id: I6ce70b2ee51dde2c6449236d911519776f75f892
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-18 12:04:22 +01:00
Tamás Zolnai
3b9e202213 cypress: selectAllMobile() -> selectEntireSheet().
It was a mobile only helper method originally
and I forgot to update the name when moved in
into a bigger scope.

Change-Id: I818cbebadba4152afb8e0261015734a232b0e211
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-18 12:04:22 +01:00
Tamás Zolnai
c91ca12d71 cypress: this wait() is not needed anymore.
Calc helper methods were improved in the
meantime.

Change-Id: I9c464cd9d23ce4a70fa63d376619458f38cc1389
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-18 12:04:22 +01:00
Ezinne Nnamani
342f95f490 Created a cypress test for Apply horizontal borders, Apply all inner and outer borders in Desktop Calc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
Change-Id: I0298ed82345ea4e8541645b91d23167e64077cd4
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-18 11:38:30 +01:00
Gleb Popov
12cd5affc1 Reuse __linux__ code path in __FreeBSD__ case too.
Signed-off-by: Gleb Popov <6yearold@gmail.com>
Change-Id: I153e4e9cce881d356376c143503933642e61c32a
2020-11-18 10:21:39 +00:00
mert
26c5868c88 Use only ThisIsAMobileApp control
Change-Id: I663fb4a1a108d78eec7bc4d3bc0c07eba294173c
Signed-off-by: mert <mert.tumer@collabora.com>
2020-11-17 21:03:17 +03:00
mert
31add21290 Android: Fix Cut/Copy/Paste keyboard shortcuts not working
This patch will apply for Chromebook cases and also
other keyboard connected android devices as well.

Change-Id: I4d88a65ec49935640be6513498b87718b50977f5
Signed-off-by: mert <mert.tumer@collabora.com>
2020-11-17 20:18:08 +03:00
mert
740f6e6220 Android: Pass userInterfaceMode
This will enable notebookbar for tables
smaller devices will continue on classic mode

Change-Id: Ib74b8a0ad161d83300d807fff1fd8b3ffba11399
Signed-off-by: mert <mert.tumer@collabora.com>
2020-11-17 19:51:06 +03:00
Tamás Zolnai
7dfe079903 cypress: update this formulabar test.
To make it more stable.

Change-Id: Ib9c8878bdf266733ec03eb3ba018035b115c7f7d
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-17 17:37:14 +01:00
mert
66d1dcc87a Android: detect large screen devices for tablets
There's no built in detection for tablets and
the suggested way to to it by adding resource values
for large screen and checking it.

Change-Id: Ic4a949033e04d244dbb6d441df516203639d5c48
Signed-off-by: mert <mert.tumer@collabora.com>
2020-11-17 19:24:21 +03:00
mert
99d6ea7df5 Adjust Sidebar Button offset next to X button for tablets
Change-Id: I97d05a9d831e4e8d30c0257ca6f1cf66ecf6c742
Signed-off-by: mert <mert.tumer@collabora.com>
2020-11-17 19:23:19 +03:00
mert
259600625a Sidebar should be closed when entering readonly mode
Change-Id: I2eb4cbcd209c367a7f9a384a4745e244e8c64f30
Signed-off-by: mert <mert.tumer@collabora.com>
2020-11-17 19:23:04 +03:00
mert
32ffadf75e Show/hide tabs on permission change for Tablets on Notebookbar
Change-Id: I387d19a33c5682eef890cc9a9fb0283238ecbde9
Signed-off-by: mert <mert.tumer@collabora.com>
(cherry picked from commit 1bda946b1c48608026ed07848a05ced664cc61e8)
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2020-11-17 19:22:46 +03:00
mert
bbb3f02d71 Create OptionsSection for all tablets on Notebookbar
Change-Id: I2447d2662c4c092ae938794c3bbfff134df02710
Signed-off-by: mert <mert.tumer@collabora.com>
(cherry picked from commit cc163ee0ce252459ed7244c6b27b28d4cea259f1)
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2020-11-17 19:22:30 +03:00
mert
6ac5608231 Don't initialize Menubar button for tablets on Notebookbar
Normally when waited enough before pressing the blue edit button
it will be removed but tapping on the button early before the
notebookbar initialization it stays visible.

Change-Id: If3536702319f029232ebd53315796f1618f56241
Signed-off-by: mert <mert.tumer@collabora.com>
(cherry picked from commit 1fc42dc390cada852bcafb74c9aab7cf7763f69e)
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2020-11-17 19:21:55 +03:00
mert
bd28aedcaf Android: create new document labels are tappable now
Change-Id: Ie24817ac0770516b50256da04a362c87fca3b0d4
Signed-off-by: mert <mert.tumer@collabora.com>
2020-11-17 19:21:26 +03:00
mert
820021f2bd Trackpad scrolling on Chromebook
Change-Id: Iaccda3e98cca17dbd9a2099293ccbc15e434d8f1
Signed-off-by: mert <mert.tumer@collabora.com>
2020-11-17 19:21:02 +03:00
Thais Vieira
bbf7b33ca6 cypress_test/impress: Add test for underline
text shape.

Signed-off-by: Thais Vieira <thais.vieira@collabora.com>
Change-Id: Ia71b891d78bf621aec24d90e105fed1b32152528
2020-11-17 14:57:20 +01:00
Ihor Hordiichuk
91a0c06883 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Ukrainian)

Currently translated at 65.4% (273 of 417 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (356 of 356 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5f95d91ad73f9e16883e430cf6c2d95c3e4d7954
2020-11-17 14:22:09 +01:00
Matthaiks
05b33bb36e Translated using Weblate (Polish)
Currently translated at 100.0% (356 of 356 strings)

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: I1feeb18916d0486c746bbd306f50f17eeb8007cb
2020-11-17 14:21:00 +01:00
Allan Nordhøy
a110ff6258 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (356 of 356 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nb_NO/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia7eab132ad6957df0f30afdae33fdb63ff959e6b
2020-11-17 14:21:00 +01:00