Commit graph

14639 commits

Author SHA1 Message Date
Ashod Nakashian
29b4866dcd killpoco: use http::Request in UnitHosting
Change-Id: I4455ad24d9ac3c2e2d6f22f402649b187ef2ff23
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-07 11:36:10 -04:00
Ashod Nakashian
455a71ab9c wsd: test: http: more parseUri tests
Change-Id: I85fc927a0d27bb774570ff8d04c009d02ca6cd83
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-07 11:36:10 -04:00
Ashod Nakashian
fb6e7793ff wsd: http: use parseUri
Change-Id: I5c1e95acb30509f2b1865da31a8a0e622a94c4e3
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-07 11:36:10 -04:00
Ashod Nakashian
49a13798eb wsd: http: parse the host and validate
Change-Id: I3ad1bcf51d59295e411a949a714bb680ff789f34
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-07 11:36:10 -04:00
Ashod Nakashian
6f8b6057b1 wsd: http: use std::move where sensible
Change-Id: Ie1c880224822f8c0b2db0e58dd83693335fbfd1f
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-07 11:36:10 -04:00
Ashod Nakashian
9a2acf2558 wsd: test: better loggin in UnitCopyPaste
Change-Id: Idf684249b87b9b73d21fd6ee101364bf49ae7a5d
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-07 11:36:10 -04:00
Ashod Nakashian
f74234a354 wsd: test: log before asserting
Change-Id: Ic6769159a5f91bd59ccca578f1e80a880b6de344
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-07 11:36:10 -04:00
Ashod Nakashian
885b5ab0b7 wsd: test new unit-httplib test for http tests
Change-Id: Id22a83620a2ef6543d27f7426d79d78d093168ba
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-07 11:36:10 -04:00
Gökay Şatır
84e003fdd6 Calc: Filter with split panes improvement.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I866edb95f55d8b16a6ce3ba4e0cb4bbaa79e182d
2021-04-07 11:38:50 +03:00
Dennis Francis
40ff6989fe lint typescript files too
Fix some issues it found and disable the following checks for now. Some
of them needs module support to work and some of them needs project
compilation using tsc rather than per file compilation.

cypress_test/ extends loleaflet's eslintrc so, its package.json needs to
have the typescript lint plugin as well.

Disabled checks:

@typescript-eslint/no-unused-vars // This can be enabled after fixing
all places it finds.

@typescript-eslint/no-inferrable-types // Lets do explicit typing
whenever we can.

no-var  // This needs a lot of conversion of var to let.

@typescript-eslint/no-explicit-any

@typescript-eslint/no-namespace // ES5 has no module support

no-inner-declarations // ,,

no-constant-condition // This is sometimes useful

@typescript-eslint/triple-slash-reference // ES5 no module support.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib4fd8b4fcee42216d4322fd043a1873302db375a
2021-04-07 14:03:42 +05:30
Dennis Francis
ac6ba02ade test: calc has 0-alpha empty tiles which are not black
A black tile pixel is 0xff000000 (alpha channel must be 255) should not
be confused with empty Calc tile pixels whose alpha is 0. This is true
since we disabled grid+background painting in core and do it in client
canvas.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I94eac4748f28a4d9a01c4a3b73b71f2ce7efc5ea
2021-04-07 13:59:06 +05:30
Dennis Francis
4b2a6b98e8 fix: grid lines spill to adjacent tile area
Ensure grid lines drawn for specified area confines to that.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I9b294db3e9cdf4721717b695aead35bce5333c08
2021-04-07 13:59:06 +05:30
Dennis Francis
3ec3af8707 client-side-grid: disable core grid and bg
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib8fdba0ea3f8ddca761f9e0d8c56773e86b5e2f4
2021-04-07 13:59:06 +05:30
Dennis Francis
1e2001db3a client-side-grid: force white canvas bg for Calc
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia84d5ab66b3a7b06b4874193479b585a9f11c464
2021-04-07 13:59:06 +05:30
Miklos Vajna
f38e0db765 test helpers: fix -Werror,-Wreturn-type
./test/helpers.hpp:211:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]

Perhaps it could go further and even call LOK_ASSERT_FAIL().

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I4f68f6d290bcb0a832ea71153d5f699d5366def9
2021-04-07 10:27:07 +02:00
Pedro Pinto Silva
3a87f57ede Loleaflet: postmessage-api: update documentation
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9af5dc9d20fe90b4a9b289d214c7209adf606ea0
2021-04-07 09:42:55 +02:00
Pedro Pinto Silva
8239f80309 WSD: Update documentation, add new url
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I50f9efbc2bac3ab30e56424f4dfb4cd8d09f79ea
2021-04-07 09:42:55 +02:00
Tor Lillqvist
f60f3945d9 Add some more source files for breakpointing convenience
Change-Id: Iba566d62bb65e7b63d8125710fc1371de5df02fc
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2021-04-06 22:17:35 +02:00
Szymon Kłos
1219851b0d notebookbar: disable change tracking in calc
Change-Id: Ib510f00666f4bf5af9d7780327b9f97c0f8964bd
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 16:33:21 +02:00
Szymon Kłos
781191bb85 Blinking cursor only when window is focused
use window instead of document.
now it works also in chrome.
always show curos on add.

Change-Id: Id58b8810fb6a8d5ba00369308cce1dd201b7340a
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 16:33:21 +02:00
Szymon Kłos
48d30fcf4a ObjectFocusDarkOverlay showing all pieces
When Points were created with floating point numbers
the overlay wasn't shown on the right side of the chart.

Change-Id: I069927c5e6a97a7155878bdd8f4645b11dbe8493
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 16:33:21 +02:00
Pedro Pinto Silva
bcc0df4b78 Draw and Impress: fix slide sorter
- Fix positions and backgrounds
- Draw: no need to hide presentation controls anymore (was affecting position)
- Make sure scroll bar is not getting different styles from browser thus affecting position
  - happening on FF

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I479cf7d01023ffc611a3cfa6a5fb90fb0dbda1d7
2021-04-06 15:40:18 +02:00
Andras Timar
3537f06d75 docker: install libnss3 on aarch64
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifbfa06052bf7af72beacbefe672db93e52a812ed
2021-04-06 13:39:30 +02:00
Yaron Shahrabani
b82c63a4b0 Translated using Weblate (Hebrew)
Currently translated at 59.7% (251 of 420 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/he/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I698c39e5328c7944309824bc95f2fc511365a627
2021-04-06 13:03:23 +02:00
bruh
bd98b397dd Translated using Weblate (Vietnamese)
Currently translated at 100.0% (371 of 371 strings)

Co-authored-by: bruh <quangtrung02hn16@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/vi/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3885d33a813479389e5b113e0261f4c2d9d05e0c
2021-04-06 13:03:23 +02:00
Besnik Bleta
fca5352c0f Translated using Weblate (Albanian)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Albanian)

Currently translated at 60.0% (3 of 5 strings)

Translated using Weblate (Albanian)

Currently translated at 8.8% (33 of 371 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sq/
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I09d0b90a402c72e619d9718549a739483ea859a8
2021-04-06 13:03:23 +02:00
Gontzal Manuel Pujana Onaindia
d05671be28 Translated using Weblate (Basque)
Currently translated at 40.0% (2 of 5 strings)

Co-authored-by: Gontzal Manuel Pujana Onaindia <thadahdenyse@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/eu/
Translation: Collabora Online/CODE welcome text
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic996d8e31e0e2b3b82449a1b44360a55e45ae8b7
2021-04-06 13:03:23 +02:00
wxf26054
46f5296897 Translated using Weblate (Chinese (Simplified))
Currently translated at 98.6% (366 of 371 strings)

Co-authored-by: wxf26054 <wxf26054@live.cn>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/zh_Hans/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I57bf071fb5d8ee1116fe8c93ddf5facb608858cf
2021-04-06 13:03:22 +02:00
Ihor Hordiichuk
d983360135 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (371 of 371 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/ui/uk/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia7eb2240f304d55b7b9aed89b92a8b3c13f309c8
2021-04-06 13:03:22 +02:00
Ron Stephen Mathew
2df8581a55 Translated using Weblate (Malayalam)
Currently translated at 6.9% (26 of 372 strings)

Translated using Weblate (Malayalam)

Currently translated at 40.0% (2 of 5 strings)

Co-authored-by: Ron Stephen Mathew <ronstephenmathew@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/ml/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ml/
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I086eb775b52118a37a426e1300bc46108062add9
2021-04-06 13:03:22 +02:00
Weblate
82ec7b4ccc Added translation using Weblate (Basque)
Added translation using Weblate (Malayalam)

Added translation using Weblate (Malayalam)

Added translation using Weblate (Malayalam)

Added translation using Weblate (Malayalam)

Added translation using Weblate (Malayalam)

Added translation using Weblate (Malayalam)

Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I300d751a4a4a38f4d0108ec389bec7d45ce0aa06
2021-04-06 13:03:22 +02:00
Milo Ivir
7d7d5ded3e Translated using Weblate (Croatian)
Currently translated at 100.0% (18 of 18 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (371 of 371 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iba4e8d10d6fa0298da7c6e33cae9f589dd750b36
2021-04-06 13:03:22 +02:00
Adolfo Jayme Barrientos
2597543f15 Translated using Weblate (Galician)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Aragonese)

Currently translated at 80.0% (4 of 5 strings)

Translated using Weblate (Galician)

Currently translated at 95.3% (102 of 107 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (371 of 371 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (371 of 371 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/gl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/an/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ios-app/gl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8e6a7f237c675e275e391c5f1f005886050672d3
2021-04-06 13:03:22 +02:00
Nguyen Tuan Anh
c372a8073b Translated using Weblate (Vietnamese)
Currently translated at 99.7% (419 of 420 strings)

Co-authored-by: Nguyen Tuan Anh <anhnt633@viettel.com.vn>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I195e4de5540eccdcb3318a41ba00cc97157c8674
2021-04-06 13:03:22 +02:00
Gontzal Manuel Pujana Onaindia
877ba11248 Translated using Weblate (Basque)
Currently translated at 100.0% (18 of 18 strings)

Translated using Weblate (Basque)

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Basque)

Currently translated at 77.7% (14 of 18 strings)

Translated using Weblate (Basque)

Currently translated at 100.0% (371 of 371 strings)

Co-authored-by: Gontzal Manuel Pujana Onaindia <thadahdenyse@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/eu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eu/
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I03404b92f62f11b8bbbc6d549a3370873a5461bb
2021-04-06 13:03:22 +02:00
Andras Timar
5e10aa795a Translated using Weblate (German)
Currently translated at 100.0% (420 of 420 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/de/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib37b3564f3630b7ef8028a042e0979c1795c4d16
2021-04-06 13:03:22 +02:00
Martin Srebotnjak
87d02c0b7f Translated using Weblate (Slovenian)
Currently translated at 100.0% (18 of 18 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (371 of 371 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: I039afe669f4ee98a0e79ab6233117324937290ac
2021-04-06 13:03:22 +02:00
Szymon Kłos
84771d4ba5 notebookbar: fix alignment in insert,layout,file,help tabs
Change-Id: Ia0699ffa749e6be2e943460c0b4398d6f3689fa3
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 12:01:02 +02:00
Yunusemre Şentürk
27365caf98 Use CODE arm64 repository while the base OS architecture is aarch64
when creating docker image

Change-Id: I8562b5bbccc50d11c6b8110a4791fa9592eff6b8
Signed-off-by: Yunusemre Şentürk <yunusemre@collabora.com>
2021-04-06 12:21:21 +03:00
Szymon Kłos
e6b12a5741 notebookbar: refresh font list when is updated
Change-Id: I9139fccf47dd16c0e6729886b6e6da68a05f5d02
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
e6850dc9f7 notebookbar: show context tabs if needed
Change-Id: I4deb132600ef34654dba665683a248691691e03d
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
bed804309a notebookbar: use full JSON only once
Load full JSON on the beginning and later don't
rebuild on switching tabs.

Change-Id: I0b63c3f3dfa43a7b5cd4f580ab542e9f5022a5ec
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
9d2ac7f89d notebookbar: minify home tab for impress
Change-Id: If9f4affa2eff1364ee16bdee45f9a9092702753f
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
c303db11de notebookbar: minify home tab for calc
Change-Id: Iab61f19f4ba2cd1a13e4787762afcdd0e24365dc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
853121b841 notebookbar: minify home tab for writer
Change-Id: I2f8ce6f1305dc13546efef23dded6a531691e2b9
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 10:37:51 +02:00
Szymon Kłos
4a218d656e mobile-wizard: listbox prepared for partial updates
Change-Id: I778f7d46de1fc3c9c2eb61daaee690e8438d57d6
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 09:30:15 +02:00
Szymon Kłos
f5af8e3395 mobile-wizard: prepare radiobutton for partial updates
Change-Id: Iddb1d57b0de1cc984f57793dfcdcfaee26737f71
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 09:30:15 +02:00
Szymon Kłos
8183e37f65 notebookbar: unify single tab code in tabcontrol
this will allow to use toolboxes without id

Change-Id: Ic5eb5ac249b9d1317fccc2143f10af292f564b52
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-06 09:30:15 +02:00
Dennis Francis
a13d18538c zoomanim: show markers/svg-overlays only at the end
Conflicts:
	loleaflet/src/layer/tile/CanvasTileLayer.js

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2163918a721db540cc02a73e0d75753dbccc9996
2021-04-05 18:20:24 +05:30
Dennis Francis
4e0f7459da zoomanim: avoid infinite setInterval loop
In Writer the tiles wont be sent for margin areas so waiting for all
tiles will hang forever. This is more apparent in low zoom levels where
the page margins are visible. So lets put a cap on waiting time instead
and hope the tiles would have arrived by then. If not it will cause a
flicker, but this is better than the document freezing due to infinite
loop.

Conflicts:
	loleaflet/src/layer/tile/CanvasTileLayer.js

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5f2fe5bac7e20cb0cc1417df078a1722b55cd08a
2021-04-05 18:20:24 +05:30