Commit graph

14868 commits

Author SHA1 Message Date
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
Dennis Francis
4765c7a315 zoomanim: fix: swipe action never finishes sometimes
Cancel the swipe's autoscroll animation frame as soon as we enter pinch
zoom and don't leak it.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5ae4ffc00c426fdb4f30bae5e759c77ecc88e5a3
2021-04-05 18:20:24 +05:30
Dennis Francis
505e8e9bda zoomanim: avoid flicker: wait till we have all tiles
Conflicts:
	loleaflet/src/layer/tile/CanvasTileLayer.js

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I9089ec3adf1982e19f1ff08acffed73859f75752
2021-04-05 18:20:24 +05:30
Dennis Francis
09d235fb58 fix: pinch-zoom after swipe: overlays out of sync with tiles
The fix is to avoid pinch zoom when swipe action has not finished yet.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I6cc9bf01ed3411f3dceea10326c4be7a6f0914d4
2021-04-05 18:20:24 +05:30
Dennis Francis
813afa18f4 fix: overlay line width gets thicker on zoom out
Keep the lineWidth constant and equal to the 100% zoom value during zoom
animation.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I7a35654cc563eead7f58f4545dca3a307fa31422
2021-04-05 18:20:24 +05:30
Dennis Francis
f6f270c8c8 client-side-grid: draw grid in offscreen canvas properly
When the canvas to draw the tiles is offscreen, always clear background
and draw grids. When drawing grids for offscreen canvas, use the correct
paneOffset as offscreen canvas has a extended pane area (meant to handle
zoom out).

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I202c6cd8540f0d3e501c6290412bf511ee28176b
2021-04-05 18:20:24 +05:30
Dennis Francis
bc3887b5c6 client-side-grid: use the right canvas context for clearing and grid
Earlier it used the main canvas context for clearing and drawing grid
always. This breaks the offscreen canvas contents and overwrites the
main canvas when trying to update offscreen canvas.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I6fe21bd20b1862f32a1e06828b22567b566809bf
2021-04-05 18:20:24 +05:30
Dennis Francis
50078e4161 client-side-grid: draw grid before drawing async tiles
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ic0d814cd0c64dcccd6d1d65b719829f4eed560aa
2021-04-05 18:20:24 +05:30
Dennis Francis
4ebdb4feb3 client-side-grid: clear tile background for Calc too
Tile section is already cleared if call arised from requestRedraw(). So
do per tile pre-clearing for async tiles painting.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I406f6cf2a9c77f81237a1be5a9e6dcf0b600a1de
2021-04-05 18:20:24 +05:30
Gökay Şatır
30a4c726c4 Calc: Fix error when filter is active.
RowColSelCount is used for 2 different states.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ia5f68ca15881102a42016e80ea0b947c0e4d9106
2021-04-05 12:39:34 +03:00
Gökay Şatır
91fa8be0d9 Calc: Update row headers on scroll when entire column/row selected.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Icfe1a71ea67d1a7e3c0adf324a7637ecf7f334fb
2021-04-05 12:18:18 +03:00
Gökay Şatır
c44656c59d CanvasTileLayer: Keep cursor position relative to view.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ib5e37077db0c31d5b43563537731c1f73bb516aa
2021-04-05 11:00:45 +03:00
Gökay Şatır
4f2f22cb5d CanvasTileLayer: Remove unusued variable "calledFromInvalidateCursorMsg"
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Id5f8240f11c2343e7ef5d93167b93008c48ccc93
2021-04-05 11:00:45 +03:00
Ashod Nakashian
e2253257ef wsd: test: http: use Response in the test server
Change-Id: I6e4960d11fc11c509c858cdcb0e68c3ba629da58
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
f53e928530 wsd: http: support sending Request and Response in Socket
Improved handling of http::Request and http::Response
in Socket directly with better error handling and
automatic socket shutdown on error.

We shouldn't need to manually serialize into the
socket's buffer when sending a Request or Response.

Change-Id: I6dfcd2fe4f6b88cd2fa8c749045ce25a8c52fe9a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
251f436049 wsd: test: http: loopback to echo server and random data
Change-Id: Icb57f7658aa88ff748121996187077b105a8389b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
bfc877546b wsd: test: http: echo server
The server, upon request via /echo URL,
returns in the body of the response whatever
is sent in the URL past the "/echo/" prefix.

And use socket::flush() where possible.

Change-Id: Idbb9b70cde69b9030f3f7768185f7ecf0ea321fd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
bf13f90a3a wsd: test: http: more mature http test server
Change-Id: I1ee85847da6c58922c220b7d6cdf675d8e8e4f81
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
8e81559b50 wsd: test: http: use Response instead of crafting strings
Change-Id: Ia072d34d7ea309d1d50782710c70a9539c95a777
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
ea7376df34 wsd: test: http: simplify http test server
Change-Id: I41b025bfa7bbc127f844a202c2047624ea40aa2d
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
0d0dbaea79 wsd: test: http: support external regression-test server
Change-Id: I82b4ab126e85be5b414f7dac138fdb7e1780cf9a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00
Ashod Nakashian
4d413af916 wsd: test: http: improve http test server
Change-Id: Id1e19b857d9c82f953746dbfbcd1a19c7f3cc792
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-03 19:57:03 -04:00