Commit graph

16648 commits

Author SHA1 Message Date
Oğuz Ersen
09f470ed49 Translated using Weblate (Turkish)
Currently translated at 100.0% (410 of 410 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: Idf51d46bcbc63ae4b67f1fd690d90742aceb46cc
2021-11-06 21:46:10 +01:00
SC
824b1a666f Translated using Weblate (Portuguese)
Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2c6f4a56cf18c250f05792a7b0832c0131051b78
2021-11-06 21:46:10 +01:00
Matthaiks
09775b31e0 Translated using Weblate (Polish)
Currently translated at 100.0% (410 of 410 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: I4424129be13f17e331f15671dfe9a29e4808e665
2021-11-06 21:46:10 +01:00
Yaron Shahrabani
f1c252e138 Translated using Weblate (Hebrew)
Currently translated at 64.1% (293 of 457 strings)

Translated using Weblate (Hebrew)

Currently translated at 63.8% (292 of 457 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/he/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I404d5ea303d832bb1f0566929d4b3a26b0d98ec0
2021-11-06 21:46:10 +01:00
Nathan
c93fec59af Translated using Weblate (French)
Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
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: Id0b331cbac11485c878ddbe252915d5eedcfcde8
2021-11-06 21:46:10 +01:00
phlostically
d5e5f2f5ee Translated using Weblate (Esperanto)
Currently translated at 93.4% (427 of 457 strings)

Translated using Weblate (Esperanto)

Currently translated at 96.3% (395 of 410 strings)

Co-authored-by: phlostically <phlostically@mailinator.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eo/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eo/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I97c90851156bfb190600dc901d2789c8c546be68
2021-11-06 21:46:10 +01:00
Rob Pearson
48772563e5 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (410 of 410 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
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: I05959e03230dd188a5f30a9272096528ea073233
2021-11-06 21:46:10 +01:00
Andras Timar
f4d53a1a37 Translated using Weblate (Spanish)
Currently translated at 99.5% (455 of 457 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (410 of 410 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Hungarian)

Currently translated at 56.8% (260 of 457 strings)

Translated using Weblate (French)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (410 of 410 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (410 of 410 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (457 of 457 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_ZA/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5279ab9ad51b99e2b560b2f60b7278face50cfba
2021-11-06 21:46:10 +01:00
Michael Meeks
f92e85dacc Ensure that options are always initialized.
Socket.js was failing in doc.connect with permission access in
a local debug build otherwise; possibly a JS init. ordering issue.

Change-Id: Iccb68a43ee300ae85498a3652d1a2f51ade3d115
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-11-06 15:25:13 +00:00
Szymon Kłos
035620c912 Simplify comments switching to bubbles
- now we switch to minified mode also depending on document size
  (not only window size) so when zoom is used we will also switch.
- no longer needed to use minSize property as comments section doesn't
  change it's size

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie9ac822ec6fcac7722035083653dd4e90f970559
2021-11-06 13:38:51 +01:00
Andras Timar
a362d89313 make this text localizable (again)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id00b334430ef060e6659499d0e9720d7bb2a98e4
2021-11-05 17:01:21 +01:00
Andras Timar
5a34ed7cd1 Introduce security.enable_metrics_unauthenticated config item
When enabled, the /lool/getMetrics endpoint will not require authentication.
By default authentication is required and this setting is set to "false".

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I801130cf552eb14c231fcc0a0bdd39d9ebb6db7f
2021-11-05 16:47:11 +01:00
Henry Castro
d3cadea93e loleaflet: avoid creating an empty dialog
When a document is reconnecting, it shows an empty dialog.

Change-Id: I00b8d47b2fee67175d2e2936d93e121b10c38389
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-05 11:26:37 -04:00
Pedro Pinto Silva
2632880ddc Loleaflet: impress: Fix Slide properties label
Instead of using Page as in `Page properties` use
Slide as in `Slide properties` so it's consistent with the other
labels

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib41a2b00a3bb31a148726496aeafda6ad13befde
2021-11-05 13:06:55 +01:00
Pedro Pinto Silva
8ecf4b2985 Loleaflet: impress: Fix labels in the insert tab
Replace all instances of `Page` with `Slide` since we
are talking about presentations and so it's consistent with
all the other elements

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I604b3d3fd8194a22d606149d4e5704f0301b1c46
2021-11-05 13:06:55 +01:00
Rash419
e6825083a2 loleaflet: calc: fix: remove sheet confirmation dialog has extra space
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I84b59ced2b0fd803235f667ddcc4f81f81913576
2021-11-05 13:06:55 +01:00
Rash419
e824fe1e8f loleaflet: impress: fix: Wrong labelling of buttons in Layout tab
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I627103970ce34cf1612dfe1c2f072e4f58596965
2021-11-05 13:06:55 +01:00
Szymon Kłos
74ef554fb4 autofilter: delete elements on close
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8c0ad1d27fc6c1daee1d2409b4fe19d39ac5a55e
2021-11-05 12:01:16 +01:00
Pedro Pinto Silva
8204e8a427 JSsidebar: spinfields n edge elms: Fix alignments
Many elements are too wide (as a group) which breaks the sidebar
layout:
- Spinfields and their labels (example cm) occupy too much width
- Many other elements are getting some with: max-content rules
from the generic jsdialog.css file which is affecting and also
breaking the sidebar
- Make sure these changes do not affect layout from impress sidebar
as in that case it's not needed

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie6c18e829cbe32319e77ce031521c6ccc7c6a5c9
2021-11-05 11:09:02 +01:00
Tor Lillqvist
50399b20ed Don't generate useless loleaflet._emitSlurpedEvents-to-idle async trace events
The resulting Trace Event JSON ends up with tons of such async events
for which the viewer in Edge (i.e. Chromium) just says "Did Not
Finish".

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I29ae233bf16086ffd464567660954ac4c171c7fb
2021-11-05 02:45:42 +02:00
Pedro Pinto Silva
8356433c03 Color picker: Don't set indicator's border so bright
Before, when the color is set to black the border color
that was alright — for any other non-black color — but for black
the grayish border around was causing weird contrast artifacts

Fix by setting different border color for that situation

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia660f559f276bc7e9c335d43e57d51a9b1036472
2021-11-04 17:49:57 +01:00
Pedro Pinto Silva
22830f33d3 Color picker: UI, fix radius n add visual padding
- Before indicators were positioned in such a way that they would
, rightly so, inside of the main parent (visible on hover status)
but it would unfortunately spill over some of the icons (example:
in the font colour goes above "A")
  - Use whit outline so we keep the same positioning but creating that
  white separator
- Fix radius: Use round corners for these indicators instead of
a harsh rectangle to denote that this element is not a simple
icon detail or a small btn but instead an indicator

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ibee65b832c8f01a185b0461efa3630cbbcceaf37
2021-11-04 17:49:57 +01:00
Pedro Pinto Silva
c046dc7980 Mobile: Remove unused rules, were affecting desktop
Color panels do not used .w2ui-tb-caption and thus
Border-radius rule was having not effect on mobile and
instead of affecting Desktop, namely some of the color picker

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I13efd2b04a7e6abfe773f4931f830124e209d72c
2021-11-04 17:49:57 +01:00
Michael Meeks
1444ac7251 Add a version suffix configuration option.
This allows people to perturb the etags for now, and in future the
URL sub-path to make it easier to develop with binaries where the
git hash doens't change.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I6082a71cde5d3a34cca29fa5858feaf6fdb7f4d6
2021-11-04 14:02:03 +00:00
Andras Timar
1f4dad602f typo: missing space
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7a25f6311f2ce5f7c20cb96eab2cb649dcdd8fa0
2021-11-04 14:23:26 +01:00
Andras Timar
531394381a Better error message when quarantining failed
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib5722237a0f0b2962552470f35abc8e1042c9b7d
2021-11-04 14:09:51 +01:00
Nnamani Ezinne Martina
3a5383cc30 Trace: Writer and Impress: Generated loolstress traces
Created trace for adding and editing slides and shapes in Impress. Also re-typing and adding bullet points using large Writer file

Signed-off-by: Nnamani Ezinne Martina <nnamani.ezinne@collabora.com>
Change-Id: I3541295fada230338acb934409c2bcb80730354b
Signed-off-by: Nnamani Ezinne Martina <nnamani.ezinne@collabora.com>
2021-11-04 13:02:04 +00:00
Pedro Pinto Silva
5f08881ebd Fix: empty CSS file errors
By removing those files that are not needed anymore and
thus avoiding extra useless requests

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8fcbd8053edd0ee00d388117ccd77094fc4594ed
2021-11-04 12:44:31 +01:00
Miklos Vajna
1190f85d27 configure: extend --enable-fuzzers description
To make it more clear that if you enable this in an existing build tree,
you'll get an outdated loolwsd binary, which is confusing.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Iaf6e747a9d7ac4262732c3df69bb5012bc7dc352
2021-11-04 11:26:46 +01:00
Mert Tumer
ecb2b1f4b5 android: Do copy back in another thread for network operations
If network provider is used, on some devices download/upload
operations can cause an exception. Creating a new file is already
covered but better to cover saving back operation too.

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I90ffa890ed864e730c16c68bc777b1d6371fd0a8
2021-11-04 10:07:57 +03:00
Mert Tumer
b4fcb63a43 mobile: Fix hidden blue edit button on readonly files
We display the edit button on mobile and offer save-as
to allow editing
Except for PDF

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Iee4590704bb38880b39d00f6973559f68b96b781
2021-11-04 10:07:52 +03:00
Mert Tumer
bcd28ec9e8 android: Attempt to fix modification time issue
the issue is when there's no change in the document, the modification time is
still being updated. The current approach was using the modified status
message but appearently due to it's sent delayed, it caused the changes
being not saved. We already upload the changes on uno callback result
of uno:Save command if it is sucessfull and it should be enough.
No need to copy back the temp file on after killing the document because
it also saves the file thus it updates the original file before the exit.

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I2a26a3bc6d55ac0a090c4e4d89e47544c545f8d1
2021-11-04 10:07:44 +03:00
Mert Tumer
36e627a21b android: Fix inserting special characters in Non English Languages
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I7b0fd5e8a1abb5048cc0bd4dd4b7a6d794b446ea
2021-11-04 10:07:38 +03:00
Mert Tumer
b95807d6aa android: Make pdf not editable & commentable
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I477adc715b9a75a9f0e3455e81507285e730cb48
2021-11-04 10:07:34 +03:00
Mert Tumer
a8bd7720f2 android: Blind fix for 0 byte output file after close
for some reason if the input stream of the temp file becomes 0 byte
we should not try to write it back to the original file

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Id1d2f623d5c7262c06f2c72dc813a8a81c786bc6
2021-11-04 10:07:28 +03:00
Mert Tumer
921186b98c Fix #1372 - dont copy back the temp file if unmodified
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I174c96947aeca9585c586bdcdddc246bdcd14457
2021-11-04 10:07:18 +03:00
Ashod Nakashian
4cf5797585 leaflet: correct map reference in socket
This caused an exception which prevented
the WSDServer member from updating after
a saveas operation that ended up on a
different server (in a load-balanced setup).

Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 2b0180c4104ccf1a3e7da94cfc2d2f35c09d0684)

Change-Id: Ibf8f69d53dc3cb14fa004201660e3997ad5c298e
2021-11-03 21:50:57 -04:00
Julius Härtl
5162f91eca Keep branding theme dynamic
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I07c952d10d50a38dd43369f5db6db41a2a4f32a0
2021-11-03 21:25:01 +01:00
Andras Timar
500ecdde09 fix build with --enable-anonymization #2464
Do not check for incompatibility of trace level logging and user data anonymization
when cleaning up jails. The --cleanup switch of loolwsd is special and not used
normally in production.

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If95c8c87c5fc2a278ee7d85e7e9089807a06602b
2021-11-03 12:56:07 -04:00
Miklos Vajna
f67b8901dd test: double the timeout in isDocumentLoaded() for sanitizers
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I8627f16fb7ad67561312d3053d855bab8008ab75
2021-11-03 17:19:34 +01:00
Mert Tumer
8f5ed6c2ad Fix closing CSV dialog returns an exception
It should return to the integration instead

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I1b2ce5013365faa4f67263866764ed4bd34277d7
2021-11-03 18:04:29 +03:00
Szymon Kłos
def82002d8 Unselect comments when collapsing to bubbles
It prevents us from case when bubble is "higlighted"
but we cannot open comment preview.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9524946c82f534264a3f77963efb0a2692283324
2021-11-03 15:52:14 +01:00
Szymon Kłos
a2543104ab Keep map focus after zoom animation end
When we had focus and cursor in the document and we click
zoom in/out on the statusbar on the desktop - in result we lost
focus and we cannot type.

Zoom animation disabled textarea used for input so it loses focus.
This change restores focus for it after animation end.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4c1a5f4b806968c7fdd4c6acde90d5d6450be5a1
2021-11-03 15:51:26 +01:00
Szymon Kłos
ee06e08f6c Update indicator in statusbar on permission change
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie86471e793732bc9e8eef2fbf4323a0f5087f4e4
2021-11-03 15:51:26 +01:00
Szymon Kłos
55c9ecac1e Don't waste space for comment section
Use trick to set 1px width for comment section so it doesn't
reserve space which can be used for document itself.

Thanks to that we don't see grey area on the right side when
zoom level is big enough so document is shown in a full width.

Position correctly HTML elements for comments so they are still visible.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iccae9c834e05bd1afc5c43424b03d95335923a53
2021-11-03 15:50:11 +01:00
Andras Timar
34db51f8d4 disable quarantine by default even if its section is missing from loolwsd.xml
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9f625060ea42d8a444984ce3b828e68a9e1d6adb
2021-11-03 14:37:32 +01:00
Pranam Lashkari
15f5ce6e52 Quarantine: minor correction for path resolution
some code cleaning for code repeatation

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I4ea7972ed711eba41c7bbcfa36b8db607ad3d738
2021-11-03 16:51:52 +05:30
Rash419
b0f92d273d loleaflet: calc: fix: comment button active when there is graphicselection
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ibd19ead342a50658eae76808f2af81f378ac17cc
2021-11-03 12:17:56 +01:00
Pranam Lashkari
e7c2f5cd07 quarantine: keep quarantine off by default
allow path specification for the quarantine directory

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I407288db60fe5fbf0f6a9346175c3d4acfd35add
2021-11-03 09:57:00 +02:00
Szymon Kłos
686e6ccbc9 Don't show empty vex when DisableInactiveMessages is set
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib361463cd60e3c6b7337908343f54dbc2515a48d
2021-11-03 08:25:17 +01:00