Commit graph

14768 commits

Author SHA1 Message Date
Rash419
465c435e68 added dropdown arrow in FontColor BackColor and BackgroundColor buttons
Signed-off-by: Rash419 <rasheshpadia419@gmail.com>
Change-Id: I303b1cc1d2197eedf6e66b04dfebf72e3c763f75
2021-04-19 20:46:20 +05:30
Miklos Vajna
e56e8ec30c test: tolerate missing minor core version
ProductVersion used to be "6.4" with core.git distro/collabora/cp-6.4,
but core.git distro/collabora/co-2021 sets it to just "2021".

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I08c1204c42bba21c8036975138e3d999b7357bdf
2021-04-19 11:20:45 +02:00
Cor Nouws
ece844adb8 Translated using Weblate (Dutch)
Currently translated at 63.5% (267 of 420 strings)

Co-authored-by: Cor Nouws <cno@nouenoff.nl>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/nl/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I02245d1bac7f5a4d35c00f77c078b2a93aa2221f
2021-04-18 12:31:40 +02:00
Ihor Hordiichuk
93e811db24 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (391 of 391 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: I46e51da01e79c72c373a4316f03a1af7d14436ba
2021-04-18 12:31:40 +02:00
Matthaiks
d0b2942f75 Translated using Weblate (Polish)
Currently translated at 100.0% (391 of 391 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: I76ef077bda4e3ed391dee89ea9b03a69552deb38
2021-04-18 12:31:40 +02:00
Andras Timar
7a5ef5a2a2 Translated using Weblate (Hungarian)
Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
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: Ia88dc26e52bcc98a07a621d61d9ac5e6f2bbd784
2021-04-18 12:31:40 +02:00
Yaron Shahrabani
92379f8605 Translated using Weblate (Hebrew)
Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7e2739bda5fcf5646bf4c3b8c8c18b00d1fdfcf8
2021-04-18 12:31:40 +02:00
phlostically
e04311ed55 Translated using Weblate (Esperanto)
Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: phlostically <phlostically@mailinator.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eo/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I74bea48a5ad8f7261effb7ec78ebfca6ad9dc3d4
2021-04-18 12:31:40 +02:00
Rob Pearson
5916290e2a Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (391 of 391 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (391 of 391 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (391 of 391 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_NZ/
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/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I790d2b9ff8404193118e667e4ecb9d52a52655ef
2021-04-18 12:31:39 +02:00
Andras Timar
29012454f5 Update translations from core (co-2021)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id867ed3782c06c50e2f77baf436004b0a99aa07a
2021-04-18 11:23:36 +02:00
Andras Timar
335d41587c Updated UNO command translations (co-2021)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4bd4bc7eae097c5b2b1bccdfebe191c4f595de9e
2021-04-18 11:18:34 +02:00
Michael Meeks
2fcc5451d7 Avoid errno == ERANGE poisoning numerical conversions.
Change-Id: I0156310257caf7c578fb273393566a0970b3bb1f
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-04-16 22:43:17 +01:00
Andras Timar
c4d48be9de Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2e9de81c8532d5d184fb169f3cc78f5fdb3660af
2021-04-16 22:08:09 +02:00
Adolfo Jayme Barrientos
45f84d1773 Translated using Weblate (Catalan)
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% (420 of 420 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/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I42b19ee43164c16bdd533ab2f5f4f59117b3881a
2021-04-16 21:57:00 +02:00
J. Lavoie
afd9ae846a Translated using Weblate (Italian)
Currently translated at 94.8% (352 of 371 strings)

Translated using Weblate (French)

Currently translated at 100.0% (371 of 371 strings)

Translated using Weblate (German)

Currently translated at 100.0% (371 of 371 strings)

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/it/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0c57918b61e1fab2ca9222cdff053a88aef48fbc
2021-04-16 21:54:43 +02:00
bruh
d1fd08baf8 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (420 of 420 strings)

Co-authored-by: bruh <quangtrung02hn16@gmail.com>
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: Iec489f61dbf2ba485444aa758b68130784f653de
2021-04-16 21:54:29 +02:00
Reza Almanda
507d329bf7 Translated using Weblate (Indonesian)
Currently translated at 100.0% (18 of 18 strings)

Translated using Weblate (Indonesian)

Currently translated at 62.1% (261 of 420 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (371 of 371 strings)

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/id/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/id/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/id/
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I455b122a5bb80d68784ce24b995d2a811b10fadf
2021-04-16 21:54:14 +02:00
Andras Timar
a63060d352 Make this string localizable on Admin Console
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5c7b7b457eb54a9a9f0b29340a0a411749f3fc4c
2021-04-16 21:53:15 +02:00
Andras Timar
d7fe91f59a Version numbers on About box and on Admin Console
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib1294ce7f8586c4ff8a5966d604287f2a87c6df5
2021-04-16 21:43:02 +02:00
Andras Timar
7713379d94 we use micro version a lot, let's add it back
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I15e74de7f757b76eb303b11bfd93187aefc61f0b
2021-04-16 16:41:54 +02:00
Michael Meeks
f732e00918 Allow easy configuation of the user-id that is accepted.
So if you're debugging the product build you can use:

 --with-user-id=`whoami`

Change-Id: I3f753b83c0806729d36d45293bc2b6a38d50fdbb
2021-04-16 15:40:28 +01:00
Michael Meeks
ce13c82d99 Restore JS / TS file ordering.
We badly need to preserve the ordering of files in the WEBORDER,
but also to be able to treat them differently.

Allow both the m4 concatenation for bundlifying and also the
HTML script substitution to use the files in the right order.

Change-Id: If2a1b32548e1086b18395385fb512e9d39978406
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-04-16 15:21:44 +01:00
Michael Meeks
0a62014746 Fix tscompile.done dependencies, and remove wildcards for ts/js files.
Get dependencies right for tscompile - to point to dist/ and not src/

Use _WEBPATH to codify the paths and order of the served HTML.

Switch back to shell/find for findign js and ts in any order.

Change-Id: Ida6cd1a505376099551821e86144410ff75eca6b
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-04-16 12:20:42 +01:00
Andras Timar
737b098a80 fixed warning: 'git checkout HEAD^2 is no longer necessary. Code Scanning recommends analyzing the merge commit for best results.'
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2bee16c70aee2dedb493de4cccdba854517ee399
2021-04-16 11:31:41 +02:00
Michael Meeks
9fcac56459 Detect obsolete generated .js files in the source tree.
Created or dropped in the wrong place in the past, or not
removed when converting to typescript.

Change-Id: Ifb67c8b0ad3a543069e3478dc4f85785d0c67268
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-04-15 17:48:35 +01:00
Michael Meeks
c0bd8182f0 Ensure that we compile typescript even for product builds.
call prereq_loleaflet was not helping us here.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Id39a8ae53b47e2001a1b8995b34ac7108420d107
2021-04-15 16:39:44 +01:00
Henry Castro
21c66b2352 wsd: revisit log messages DocumentBroker.cpp
LOG_FTL = abnormal, crash, denied service
LOG_ERR = load, save, session, connection, wrong parameters
other cases LOG_WRN, LOG_INF

Change-Id: I174a86f48e6b4107d0f846fd9af28a7ab1f62afc
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-04-15 10:53:00 -04:00
Michael Meeks
92af50e4b9 Initialize SSL un-conditionally.
Even if we use http:// locally via a tunnel the new outgoing socket
code needs SSL initialized to connect securely to remote servers.

Change-Id: If64a3838267182757591a8026097bf08d9ba732f
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-04-15 16:39:45 +02:00
Gabriel Masei
609d5563f0 loleaflet: translate hyperlink toolbar button uno command to id
This fixes hyperlink button enabling issue when dynamically changing UI mode to classic.

Signed-off-by: Gabriel Masei <gabriel.masei@1and1.ro>
Change-Id: Ib4494e71c8cedf0818c946abea75e52e1b5ca7ad
2021-04-15 14:12:51 +02:00
Andras Timar
1d3c553e51 cosmetics: tab to space
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib0d019a79f3739080bb5fdd78bfbcb39b6ee2c0a
2021-04-15 11:31:43 +02:00
Pedro Pinto Silva
5e29b66d4b Fixes #2003 (show paste icon)
Revert c28c6b2c3c

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic63e50fe5c87dea2dc7998a99e739b41e65cad1d
2021-04-15 10:46:38 +02:00
Pranam Lashkari
9eee4ea296 loolkitconfig: introduce config to show Non-printing Characters
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ia28fdcf76a899a6844d367bc6fb81e289abc12f6
2021-04-14 22:45:17 +05:30
Marco Cecchetti
3317f6fe3e cypress tests for fullscreen presentation
Set up support for performing end-to-end tests on the fullscreen
presentation.

Added 2 tests:

1 - check text fields (slide number, slide name) are correct for the
current slide

2 - check the background for current slide is referenced correctly

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: If8d3cda49254a910aa0c5d2d672834aa5b029e0b
2021-04-14 15:02:48 +02:00
Rash419
4551482451 cypress: added tests for comment switching in desktop impress
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I0cd13c2555274e243ac60cceec0b3e00d2d929ef
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
2021-04-14 16:17:11 +05:30
Szymon Kłos
2c82014662 notebookbar: no label for sorting in data tab
Change-Id: I512478b8c29de374b640fdf44f65d65c49b53d2f
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-13 15:00:59 +02:00
Szymon Kłos
b96f73c461 notebookbar: reorganize sheet and data tabs
there was no space in the data tab with some languages

Change-Id: Iaf3105a57b30dbdfc275a6a4a4a5eede0d817c33
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-13 15:00:59 +02:00
Szymon Kłos
01c0e5af69 notebookbar: handle Get_Export_Formats wopi post message
Change-Id: I051826dc50d261e00d084a6ac625ce7cb6f55b1d
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-13 15:00:59 +02:00
Szymon Kłos
d8a7d97248 notebookbar: fix alignment in review,format tab
Change-Id: I25f16b730665b329c444b5b0a7504be8403c1c23
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-13 15:00:59 +02:00
Szymon Kłos
a11ad434ee notebookbar: make line spacing smaller
Change-Id: I45c2d2e9d4dafd28e490b7d2b0f50c99a57b2f66
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-04-13 15:00:59 +02:00
Tor Lillqvist
6778cb439c Add the 'Delete' context menu entry in browser on tablet, too
And not just for browser in mobile phone or mobile app. This is
apparently what we want. See
https://github.com/CollaboraOnline/online/issues/1751 .

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I7cc89889899f20286913a1d2136b40dd6930d996
2021-04-13 13:24:45 +03:00
Pranam Lashkari
d3d049d88b leaflet: Removed impress download options from drawing doc
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I282aeaa171081b60633720b4619e0b0f250b501a
2021-04-13 00:21:52 +05:30
Pedro Pinto Silva
2f1eb41842 Writer: Improve table controls (markers)
- Do not use big rectangles as markers
  - it hides surrounding content
	- too intrusive (since it appears every time we select a table)
- Use smaller discreeter elements WHILE maintaining the existing
  active zone size (so it's still easy to click it, no need to be precise)
- Add missing hover status
  - Create new SVG plus add rounded corners
- Treat column and row marker as different elements
  - Use one generic class + add another for each type (element modifier)
	- So we can target each one and have a nice center line
	no matter the disposition (vertical, horizontal)

note: motivated by the reported issue:
https://github.com/CollaboraOnline/online/issues/1297

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4d997864e99582f74411a12c33381a926fd47a05
2021-04-12 17:48:22 +02:00
Ashod Nakashian
37e6ed0a51 wsd: test: dump clipboard state in test to the log
Change-Id: I337703d899ef6e85a9a0960d4cce8c174fc2f2f6
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-12 09:06:38 -04:00
Ashod Nakashian
be17696903 wsd: log the buffer size in WebSocketHandler::sendFrame
Change-Id: Ifb8121d9e27c9d6159af3578852e44c35b6f6e0c
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-12 09:06:38 -04:00
Ashod Nakashian
bf64465b4e wsd: test: killpoco in tile cache test
Change-Id: I0ad05b5b496c8b184b3bc4bd9c7b9e7167e26fc3
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-12 09:06:38 -04:00
Ashod Nakashian
ad52aea7ba wsd: test: killpoco in crashtest
Change-Id: Iad87dcb6c25271df75a5b397bb94bb1aecfc7d38
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-12 09:06:38 -04:00
Ashod Nakashian
4333845728 wsd: test: killpoco in httpwstest
Change-Id: Ief228862d882ae96650708e30442693cc127f0c9
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-12 09:06:38 -04:00
Ashod Nakashian
0bf5f97b15 wsd: override getPollEvents in WebSocketSession
Change-Id: I3f59e60f74830998739ae03ff1979a784b9cc8fe
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-12 09:06:38 -04:00
Pranam Lashkari
24cbf59d2c leaflet: enable comments for PDF in mobile
in addition, allow users to work with comments in read only mode
wizard z index increased to avoid mobile-edit-button overlapping it

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ie80f9a808d0234f6c58b768fa27673c9fe50b122
2021-04-12 17:16:16 +05:30
Gökay Şatır
dbb1cd1403 Scroll Section: Adjust scroll bar durations.
Variables are added into initialization for easy management.
Duration is adjusted.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ic53a159d708a5f8b0121ec264b229da0141333fa
2021-04-12 14:20:27 +03:00