Commit graph

13396 commits

Author SHA1 Message Date
Gökay Şatır
cdd10066df AdminConsole: Additional changes based on reviews.
Change-Id: I277d9179a84dc34aae9770a07a3a72d35a24a0a6
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2020-12-07 17:30:51 -05:00
Gökay Şatır
b51413c0a0 Admin console: Cosmetic changes and documentation.
Change-Id: I977b5bc56f44c44b8bedf9f9bd710e7050fe67ff
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2020-12-07 17:30:51 -05:00
Gökay Şatır
ace1c23a99 Admin console log levels.
Now chosen log level is propagated to forkit and kits.
Also, admin console users can filter logs according to their channel names on client side.

Change-Id: Ife15a6148ed87533b81e9d63da252c633e74e559
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2020-12-07 17:30:51 -05:00
Michael Meeks
c069f72c4d Socket - re-work disposition to ensure we transfer sockets.
A number of call-sites, eg. clipboard, or admin-ws were
writing to sockets assuming they could return all the data
in a single series of writes, without needing to poll. As
such they failed to addSocketToPoll on the new poll - eg.
the docBroker. Unfortunately this meant that on EAGAIN
writes, the socket would be closed and the last parts
of a message lost.

Browsers would give net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)

The situation is/was intermittent, so painful to debug.
On under-loaded developer machines, socket buffers are larger,
so this was seldom seen.

The re-factor forces a transfer to another SocketPoll via
the disposition, except for a couple of corner cases.

Change-Id: I2f1b2f99f179c4fda84464c9241fe434fa527725
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2020-12-07 14:32:43 +00:00
Szymon Kłos
16a0c6f5de jsdialog: Add headers support for treelistbox
Change-Id: I2d7972a8bde1108648f867a3a5c4e65a98472556
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-12-07 13:58:09 +01:00
Andras Timar
0dcb2f8951 typo fixes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I509861239300ad169a640c174197829e403fa69a
2020-12-06 19:08:20 +01:00
Milo Ivir
859fb5e681 Translated using Weblate (Croatian)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Croatian)

Currently translated at 70.7% (295 of 417 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
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: I8bdf35100f46c48e4a2ea1d687de48d65343e7b4
2020-12-06 18:37:30 +01:00
Eloy Crespo
a4d58e6268 Translated using Weblate (Spanish)
Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: Eloy Crespo <eloy.crespo@collabora.com>
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: I4bfa2f01c11bb17672c2aa1dd5864a8bd8b45f89
2020-12-06 18:37:29 +01:00
Marc Rodrigues
2167c9ce00 Translated using Weblate (German)
Currently translated at 100.0% (363 of 363 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: I3029d0544a046cf3e1377d1a652722281bcf0b35
2020-12-06 18:37:28 +01:00
Pedro Silva
2b11f6ab79 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (363 of 363 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: Pedro Silva <pedro.silva@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I33cc0fdd31453d4c8c4190e38ce1dc709faaff35
2020-12-06 18:37:26 +01:00
Jan Holesovsky
3b6072b703 Translated using Weblate (Czech)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: Jan Holesovsky <kendy@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4285cb95fda091f0b68db90fdb9b778b0e90f0c7
2020-12-06 18:37:24 +01:00
Rob Pearson
68f5cbe98d Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (363 of 363 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (363 of 363 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (363 of 363 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5cb95611b4c855b633189cf3a77198541f38ae6c
2020-12-06 18:37:23 +01:00
Ihor Hordiichuk
46fd80c91b Translated using Weblate (Ukrainian)
Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8ec27e65b8fd5cbea99163c077c49b04ba6119fe
2020-12-06 18:37:22 +01:00
Oğuz Ersen
6b63eb7483 Translated using Weblate (Turkish)
Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6b338b7a540a3c0f00cd701448b6859c91a5edf9
2020-12-06 18:37:20 +01:00
Matthaiks
a1986cdb7e Translated using Weblate (Polish)
Currently translated at 100.0% (363 of 363 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: Ibead2062a9d481a4b29708f7b28374d7fbf9ce31
2020-12-06 18:37:19 +01:00
Andras Timar
09cee35566 Translated using Weblate (German)
Currently translated at 100.0% (363 of 363 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I410d55571afd1d247bd7fd0b383092ff251824c6
2020-12-06 18:37:18 +01:00
J. Lavoie
ddc1185e21 Translated using Weblate (French)
Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I13d5cdba261c1ba932e8dde0ac7115fe5f258d36
2020-12-06 18:37:17 +01:00
Joan Montané
26c6e15fd3 Translated using Weblate (Catalan)
Currently translated at 100.0% (363 of 363 strings)

Co-authored-by: Joan Montané <joan@montane.cat>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I279dbb44582e0327c7f1f49744d4f9c2f9d011ab
2020-12-06 18:37:15 +01:00
Daniel de Souza Melo
0eb7e73790 Translated using Weblate (Portuguese (Brazil))
Currently translated at 60.0% (3 of 5 strings)

Co-authored-by: Daniel de Souza Melo <jxzk@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/pt_BR/
Translation: Collabora Online/CODE welcome text
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Idd9c512623920fee31582f92cc068d7cc231efcb
2020-12-06 18:37:13 +01:00
Weblate
a4f0c8cb46 Added translation using Weblate (Croatian)
Added translation using Weblate (Czech)

Added translation using Weblate (Portuguese (Brazil))

Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I560ba28b6d3ba40446a6dfe30a5af49568f6db35
2020-12-06 18:37:05 +01:00
Tamás Zolnai
4950ca4197 Revert "cypress: use moveCursor() helper method in table tests."
This reverts commit e1ed5d3c299f2664d108375a5ea3cb90814556a4.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I9684921837ed6f55a74fb45750bff6c890996a59
2020-12-04 23:10:56 +01:00
Ashod Nakashian
cf965fe4e3 wsd: do not decode already decoded fields
The different attributes of a document/user
are decoded when the kit receives them.
Decoding them a second time is usually harmless,
unless, that is, they contain '%'.

After the first decoding the '%' character might
not be escaping anything valid (depending on what
follows it). So a second attempt at decoding
might very well fail and throw, since the escape
code is invalid.

Change-Id: I73d56ce995b0237140a54b6c06bd36bde8b387bd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-12-04 22:21:08 +01:00
Andras Timar
d8bda129d7 docker: narrow down permission changes, binaries in systemplate should be owned by root
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I371c8445c12a10d52c4645a460d626a8a0e0e33b
2020-12-04 21:23:11 +01:00
Henry Castro
226a3116e0 loleaflet: sort the packages in package.json
I am using the "npm" version 7.0.12, and after
bundling the "loleaflet", the "package.json" is modified.

Let's sort permanently so I cannot get contaminated with
something that I did not touch in my source directory files.

Change-Id: I6a1e6d6b3f1b2898288f06de85fc0307b62cbbeb
Signed-off-by: Henry Castro <hcastro@collabora.com>
2020-12-04 15:54:04 -04:00
Gökay Şatır
19fed3e255 CalcTileLayer: Rename _corePixelsPerCssPixel to _dpiScale
Remove unused CanvasDPIScale functions.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I46eb68494a956f4d3696b769a5e513b24251bfad
2020-12-04 20:03:18 +03:00
Gökay Şatır
9253f96a6c CalcTileLayer: DPIScale is set everywhere, used only once.
Remove unnecessary usages.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ifd3d9a668a0553fe171d96b20bb4d2cc6674c3a2
2020-12-04 20:03:18 +03:00
Gökay Şatır
14b1e5a277 CanvasTileLayer: Refactor debugging grid.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I245ad2b5a39b329c4a02e04f926a4b75470b6654
2020-12-04 20:03:18 +03:00
Gökay Şatır
37fb84754f Calc: Remove canvas scaling from header entry drawings.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I8b858f73cff33889c08f6d312a93cc0bc8d1a6ba
2020-12-04 20:03:18 +03:00
Gökay Şatır
4e5b178feb Calc: Remove scaling from corner canvas.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Iba16ec7aeca977af890a841ad445de688fa84e52
2020-12-04 20:03:18 +03:00
Gökay Şatır
67cbe36e7c Calc: Remove CanvasDPIScale function. Introduce _dpiScale variable.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Idbe569b3a7c3144bab960f6eb9a9bd32b4477b2b
2020-12-04 20:03:18 +03:00
Gökay Şatır
84b1b8b531 Calc: use pixel coordinates for pane sizing.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I7442f69d7653b2eb95ec60b281d4b61533dbf2ff
2020-12-04 20:03:18 +03:00
Tamás Zolnai
337e570d1c cypress: use moveCursor() helper method in table tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Iace8fab305bba260c19d8fc7086caa24d20f6782
2020-12-04 16:33:26 +01:00
Tamás Zolnai
77dc334325 cypress: generalize mobile interference tests for Impress.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Idcccd74d0c58f768189b488f85158e225130c41b
2020-12-04 16:33:26 +01:00
Tamás Zolnai
4502711166 Fix 'Cannot read property 'project' of null' error.
Triggered by cypress tests.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Icb8b859547b907eb9b742121a7a06833026d7966
2020-12-04 16:33:26 +01:00
Tamás Zolnai
9b181385b1 update cypress: 5.5.0 -> 5.6.0.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I6a290e8520311a89d2c5e214152be58bd7e2904e
2020-12-04 16:33:26 +01:00
Pedro Silva
582f4c3568 Update colibre icons (jsdialog, autofilter)
Signed-off-by: Pedro Silva <pedro.silva@collabora.com>
Change-Id: Iaf6d259aa6e0372bc5344388a03494848e2cb722
2020-12-04 15:22:59 +01:00
Szymon Kłos
2819b72dd5 autofilter: hide submenu if created before main window
Change-Id: I314b1ba8bd45e6b8c5b75085b7292ce112efd53f
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-12-04 15:16:22 +01:00
Szymon Kłos
25816601bc Add Pivot Table entries in menu/notebookbar
Change-Id: If989a7ed3f894750497d7145fd31a0feb1e99b53
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-12-04 15:16:22 +01:00
Szymon Kłos
86ca920692 jsdialog: close dialog handler
Change-Id: I88eaf1e6f7f393307e2c5963cb7c6cd45aa8f816
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-12-04 15:16:22 +01:00
Szymon Kłos
699d560a9b jsdialog: limit listbox height
Change-Id: Id507cebd9694de85b0b5ba6988cc32ad303e87d2
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2020-12-04 15:16:22 +01:00
Andras Timar
93dfff7dad docker: do not modify loolwsd.xml, use command line parameters instead
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I12b1791ef9480cb3391caf292d0e9208323765e0
2020-12-04 15:02:15 +01:00
Pedro Silva
b349f30d20 Mobile: make sure no box-shadow is ever applied to w2ui-button
Signed-off-by: Pedro Silva <pedro.silva@collabora.com>
Change-Id: Id9778057c5b0db070a987e0286aff977cb01b2cc
2020-12-04 12:08:19 +01:00
Pedro Silva
29d2d38c69 Tablet: Notebookbar: Tabs: hide scrollbar
following addendum form:
35c93f06d2 (diff-9d59bc00285529dcd71cc9eecc071f54e3a854ebf558848482dd9c5a3e381dccR69)

Signed-off-by: Pedro Silva <pedro.silva@collabora.com>
Change-Id: I04d92ac9398504f3bd0a2f7d47dcf267ede18966
2020-12-04 11:33:51 +01:00
Ayhan Yalçınsoy
613026a54a Calc:recalculate command is added at Data menu
Signed-off-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Change-Id: Ic2fc1720eceaebff87197c27b16c93a51bf65dbb
2020-12-04 10:17:47 +01:00
Pranam Lashkari
a5306c488e leaflet: fixed image background not being inserted
inserting image background in impress did not work in first try

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Iaa4134626a20b8852f26d00b4386380ffbb5d259
2020-12-03 22:22:12 -05:00
Tamás Zolnai
0c08b6dad0 cypress: php-proxy: reenable table related tests.
There was an issue about tile invalidation related to
Writer tables. This was fixed in the meantime, so we can
enable table tests. I added an additional fix for
these tests to make it work with php-proxy too.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Id3f8288b65e597a49f0a45c8d106d5ed9f6ead46
2020-12-03 14:56:19 +01:00
Tamás Zolnai
f5feb26173 cypress: disable this multi-user test.
It randomly fails recently. The issue is something related
to the text selection at the end of the test. We'll need
need to investigate that later.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ifba3d52d569fa41920e073b809ed12b60f761103
2020-12-03 14:56:19 +01:00
Tamás Zolnai
93403db249 cypress: generalize mobile interference tests for Calc.
Also use a bit longer waiting time for mobile wizard to
become idle. With the interfering user the timing is
a bit different.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I4f24c700cd718bd129b713f2fd12819f92772b64
2020-12-03 14:56:19 +01:00
bayramcicek
d2330390ac Port to Util::make_unique for kit/ChildSession
Signed-off-by: bayramcicek <mail@bayramcicek.com.tr>
Change-Id: I735b9fb8f2e83da08eb50a6767cf127a80103cef
2020-12-03 15:32:05 +03:00
Thais Vieira
a335e6763e impress/cypress: add tests for font size
and font name.

Signed-off-by: Thais Vieira <thais.vieira@collabora.com>
Change-Id: I959a7bc455371504897e03dcc0be8b26178b0202
2020-12-03 11:33:14 +01:00