Commit graph

17890 commits

Author SHA1 Message Date
Егор Ермаков
e11fcd478c Translated using Weblate (Russian)
Currently translated at 50.3% (230 of 457 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (438 of 438 strings)

Translated using Weblate (Russian)

Currently translated at 50.1% (229 of 457 strings)

Translated using Weblate (Russian)

Currently translated at 86.7% (380 of 438 strings)

Co-authored-by: Егор Ермаков <eg.ermakov2016@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
2022-03-31 20:40:33 +02:00
Andras Timar
d2275aaf19 Deleted translation using Weblate (Swahili)
Deleted translation using Weblate (Swahili)

Deleted translation using Weblate (Swahili)

Deleted translation using Weblate (Swahili)

Deleted translation using Weblate (Swahili)

Deleted translation using Weblate (trug (generated) (trug))

Deleted translation using Weblate (trug (generated) (trug))

Deleted translation using Weblate (trug (generated) (trug))

Deleted translation using Weblate (trug (generated) (trug))

Deleted translation using Weblate (trug (generated) (trug))

Translated using Weblate (Norwegian Bokmål)

Currently translated at 84.0% (368 of 438 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (438 of 438 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nb_NO/
Translation: Collabora Online/UI
2022-03-31 20:40:33 +02:00
Andras Timar
003a05016d Updated UNO command translations
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic4501ef0a10be078908349c269b63353bf499414
2022-03-31 13:04:14 +02:00
Егор Ермаков
be2e91c03f Translated using Weblate (Russian)
Currently translated at 50.1% (229 of 457 strings)

Translated using Weblate (Russian)

Currently translated at 86.7% (380 of 438 strings)

Co-authored-by: Егор Ермаков <eg.ermakov2016@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5c985e65087f27562be63504352e26e9218ecbce
2022-03-31 10:42:39 +02:00
Adolfo Jayme Barrientos
2ec0062aa3 Translated using Weblate (Spanish)
Currently translated at 100.0% (438 of 438 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.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: I329f739e03650a9b26614c42b91f13ed1042d5b6
2022-03-31 10:42:39 +02:00
ButterflyOfFire
9dd711d8bb Translated using Weblate (Arabic)
Currently translated at 51.8% (57 of 110 strings)

Co-authored-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ar/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iffdb0e31fa34ba98132cd5418685b770a74f35ff
2022-03-31 10:42:39 +02:00
Pedro Pinto Silva
35d0486b04 Translated using Weblate (Portuguese (Brazil))
Currently translated at 95.4% (418 of 438 strings)

Co-authored-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Co-authored-by: Pedro Silva <pedro.silva@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I789ff4badb1a8cc32428d2da28d8e14a8e744a16
2022-03-31 10:42:39 +02:00
Elisa de Castro Guerra
b8055d8596 Translated using Weblate (French)
Currently translated at 99.7% (437 of 438 strings)

Co-authored-by: Elisa de Castro Guerra <elisa.dcg@collabora.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: I404b68f82b4d192fb20ce77e3fbc9425703fb16e
2022-03-31 10:42:39 +02:00
Cor Nouws
7983e786ed Translated using Weblate (Dutch)
Currently translated at 98.6% (432 of 438 strings)

Co-authored-by: Cor Nouws <cno@nouenoff.nl>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia1b9b033a15c22cd052d29021124db8777b62d5a
2022-03-31 10:42:39 +02:00
Rob Pearson
f8bf31b305 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (438 of 438 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (438 of 438 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (438 of 438 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (438 of 438 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: I14f00bf380814045b408c35cf7da60d5f553cf13
2022-03-31 10:42:39 +02:00
Stanislav Horáček
36c54ab235 Translated using Weblate (Czech)
Currently translated at 100.0% (438 of 438 strings)

Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iaee7fc101812c092e2dc2986f968ca2cb62f5a62
2022-03-31 10:42:39 +02:00
Gökay Şatır
9771cb25e2 Translated using Weblate (Turkish)
Currently translated at 100.0% (438 of 438 strings)

Co-authored-by: Gökay Şatır <gokaysatir@collabora.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: Ic981cd5244993ada666b12c1ad86934e1bba1581
2022-03-31 10:42:39 +02:00
Sveinn í Felli
7e7db0be56 Translated using Weblate (Icelandic)
Currently translated at 99.7% (437 of 438 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I22a6ba915ad01048cbb0eb5dcc8744752419f5f1
2022-03-31 10:42:39 +02:00
Andras Timar
076d50f149 Translated using Weblate (Norwegian Bokmål)
Currently translated at 84.0% (368 of 438 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (438 of 438 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nb_NO/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id1868ac0ba3ad474254dde03675152e7022f7efc
2022-03-31 10:42:39 +02:00
Eloy Crespo
6f7057e226 Translated using Weblate (Spanish)
Currently translated at 99.7% (437 of 438 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: I11316a9dc32f66a2ef47521332ef7bbb95ae269d
2022-03-31 10:42:39 +02:00
Weblate
2f12ac128d Added translation using Weblate (Swahili)
Added translation using Weblate (Swahili)

Added translation using Weblate (Swahili)

Added translation using Weblate (Swahili)

Added translation using Weblate (Swahili)

Added translation using Weblate (trug (generated) (trug))

Added translation using Weblate (trug (generated) (trug))

Added translation using Weblate (trug (generated) (trug))

Added translation using Weblate (trug (generated) (trug))

Added translation using Weblate (trug (generated) (trug))

Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9360707c54a2cbc36b7b5aaf603ae406a3939ead
2022-03-31 10:42:39 +02:00
SC
5f2adef8be Translated using Weblate (Portuguese)
Currently translated at 100.0% (438 of 438 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: I7964f522a1375c8b6282c004cae579af51fa954e
2022-03-31 10:42:39 +02:00
Ashod Nakashian
099246d67a wsd: unload when no Kit and nothing to upload
When the Kit dies and there is no data saved to
disk to upload, there is nothing to do but unload
DocBroker and log the fact.

With unit-test that simulates the situation by
killing the Kit of a modified document.

Change-Id: I7dcc0583c053d7166935d15d045fcf6624e43b4e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-30 23:18:57 -04:00
Ashod Nakashian
7920656e36 wsd: remove dup entry in dumpState
Change-Id: I1b5e774d33e743dab98781dbe8609dffa8f5cb63
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-30 23:18:57 -04:00
Ashod Nakashian
28b3e165c2 wsd: remove unsed function in DocumentBroker
Change-Id: Ia310cce20b3ca2c95be98d75b13ec7e047cf19b9
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-30 23:18:57 -04:00
Mert Tumer
5dfbaa963d Revert "Improve edit button visibility when infobar, snackbar is present"
This reverts commit 3c1185aca3.

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ib9ad6e77d14e9388a0df2d94addc24ad948d463a
2022-03-30 18:44:25 +02:00
Mert Tumer
59607d29f0 welcome dialog: give focus to welcome dialog onshow
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ifc47d5467610f9e42c4ebe2edc22acf78b8be685
2022-03-30 18:44:25 +02:00
Pedro Pinto Silva
ff020f5a25 Close iframeDialogs when pressing escape key
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ief0919048bce1a27bee1c6c263a693d487f9c7f2
2022-03-30 18:43:42 +02:00
Pedro Pinto Silva
c85d4816df Add missing remove bullets for sidebar
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6479f82a0661db2d4495667bd8ab10ab8ded4573
2022-03-30 15:12:52 +02:00
Pranam Lashkari
f0026accbf l10n: if English variant is not specified then choose US as default
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Iba4f96c75d69e52044f6460c4e26d0ab1d187d3c
2022-03-30 16:51:56 +05:30
Szymon Kłos
c0b0897aa3 clipboard: notebookbar: show hint with keyboard shortcuts for Paste
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I73ba7d030810ccadbed828bce19e64f0cadbcfe7
2022-03-30 09:29:24 +02:00
Szymon Kłos
f2b1c72ac8 jsdialog: prevent us from unsafe-eval error
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I641237fd5f446a9482f9edec92a29fd948491a60
2022-03-30 09:29:24 +02:00
Szymon Kłos
33ffdcb1e7 clipboard: notebookbar: show Paste Special entry
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I485b70b8063fa6f2660d89ecd22bd72858b7a168
2022-03-30 09:29:24 +02:00
Szymon Kłos
fbe10e41bb clipboard: introduce paste special menu entries
also move paste special popup code to the clipboard.js
so it is easiet to share code

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I86bb1696ff78e3cef5425478cc3fb56cf47916b8
2022-03-30 09:29:24 +02:00
Pedro Pinto Silva
3c1185aca3 Improve edit button visibility when infobar, snackbar is present
Before we were showing edit button only if the snackbar was not present
in the DOM. The goal here was to avoid overlapping elements (bar + FAB).

However and since the infobar can be present in the DOM but set to
display none this would cause another problem: no edit button and no
infobar visible to the user.

Solution:
 - Make use of the existent css class .hidden (which sets it to display
 none) so we can then in the css side show the Edit FAB only after them
 snacbar is dismissed.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I31be2dfeb1bcb08b971074466a24db719320f8f4
2022-03-29 14:31:21 +02:00
Pranam Lashkari
892fa8f835 fixed edit button not appearing in ipads
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I949b3bc6d72541cba18867847cd43f0c6e57a32f
2022-03-29 14:31:21 +02:00
Mert Tumer
aa7eda472b fix trackchange comments are not displayed on docload
fix typo on clearList loop that prevents skipping trackchange
comments from being deleted

Also I removed the line in WriterTileLayer.js containing
clearList because clearList is already called on importComments
function so it was unnecessary

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ic4086a80b126aec62e382078f53d68bc17da8a1c
2022-03-29 13:46:43 +02:00
Rash419
6a1bade376 wsd: handle locked_hosts case where different aliases might have different settings
so now real locked_host settings will be applied if the document accessed with alias

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib76704a4bf2c3da5dc7b83bbad98fe40b5c03316
2022-03-29 12:18:31 +02:00
Rash419
31d8822758 wsd: cleanup: moved all parsing related static methods and containers to HostUtil.cpp
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I8555522c6216f893b90ba4c27747314830f7abd2
2022-03-29 12:18:31 +02:00
Pedro Pinto Silva
8d9317daa8 Fix button order on HyperlinkDialog
Follow the same order as anywhere else such as annotations, JSdialog or
even tunneled dialogs:
primary action aligned to the left

Also update cypress test: Do not target button position related classes
instead, rely solely on main classes

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iac209aa343f22ddfdbd5662eba43d7adaa3f0892
2022-03-28 14:15:44 +02:00
Mert Tumer
e0511aa1bd sanitize-url: bump package version to 6.0.0
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I7c58e3a417e7a247b781800a2ec93417d3b7bc8f
2022-03-28 14:38:20 +03:00
Mert Tumer
dc1242ad9b annotation: fix redline compact-selected comments have wrong structure
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I78f80e6e24306629bacbda57106c1c6b41dee09e
2022-03-28 11:06:45 +02:00
Mert Tumer
958b33d82d annotation: fix trackchange comment gets hidden on collapse
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I34c4ff51f72b040ad1c6183519a13d3f45f56545
2022-03-28 11:06:45 +02:00
Ashod Nakashian
71e1e54eb5 wsd: hostname is needed for SSL SNI
Since the hostname argument is passed
to both the base class of SslStreamSocket
and SSL_set_tlsext_host_name, and since
the base class's getter, also called
hostname(), is hidden by the argument,
we cannot move it.

An empty hostname can result in 403 Forbidden
from the server due to missing Server Name
Indication (SNI).

Change-Id: I27990f64f17ec3c81a4dd543a078807629cd0c20
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-03-27 22:32:38 +02:00
Michael Meeks
45f29fd773 Allow debug.html to be passed a WOPISrc for easier debugging.
Change-Id: I3e618dbb9aa6363974e0759e955dfe73e8787824
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-03-26 23:27:00 +00:00
Szymon Kłos
0227768d7c Notify server about visible slide
Fixes problem with:
- showing wrong slide number in statusbar
- inserting comment at correct page
in pdfs where we see slides in continuous mode.

Sending slide id from online to server is much easier
than calculating based on visible area on the server
where we have to put that data into TabControl widget
which is used in different places.

It updates visible slide on scroll and also when selected
from the previews bar.

Signed-off-by: Szymon Kłos <eszkadev@gmail.com>
Change-Id: I7f8a9458e415e17391a4a249e19fd97f8541debd
2022-03-26 15:12:50 +01:00
Tor Lillqvist
ed8c10dfb1 nftw() does not set errno on failure
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I7e768416b5113d71330148227aeceb941013c578
2022-03-25 21:29:53 +01:00
Andras Timar
9752cd0b80 Bump version to 22.05.0.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib17a8e9a26d73c4f20ce9447bb65c75b50348a58
2022-03-25 17:06:14 +01:00
Michael Meeks
9f5c5dcdf4 Show (E) for experimental mode in help->about if present.
Change-Id: I00d6cb861c3050d5b4f80b0cb41e70012d0fe610
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-03-24 17:25:40 +00:00
Pedro Pinto Silva
c89b062aea Fix closebuttonwrapper position on tablet
- Make sure the close button is always place at the last position so even
if integrator adds additional icons the close button should always
appear afterwards and make sure it does get shrunk
- Force closebuttonwrapper to be positioned at the end (far left side)
by grow #userListHeader (even if invisible)
- Avoid positioning closebutton image with background-position
  - Simplify by just fixing the parent and centering the image

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I851744c75c132957b8754ce7a105e57625f986bc
2022-03-24 10:32:12 +01:00
Pedro Pinto Silva
8eaa96840b Allow notebookbar-tabs-container to occupy full width
Remove the now necessary max-width from tablets
- We now have those parent elements being set as flex box
and thus we have now no need to limit the max width of this container
- Plus by limiting the max-width we were hiding more of the tabs while
not gaining anything useful in return

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1ef477902fd95a4751009f8bf08350b6ce88aa97
2022-03-24 10:32:12 +01:00
Mert Tumer
ab0ed2d6f5 annotation: fix layouting problem on selected comments
modify and reply causes relayouting due to expansion of the
commentsections but it is based on whether they are selected or not
currently. If they are already selected we dont relayout them again
and it causes overlapping. To avoid that we can simply unselect
comments just before reply or modify.

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ifc2e546504b36b46f98a9b22ce791b4279239457
2022-03-24 10:08:34 +01:00
Dennis Francis
98f9e65948 revert: add edit option in link dialog...
commit eb387cc7b1

At least in current master it is possible to right click on the link and
select 'Edit hyperlink' context menu item and the edit dialog(JS)
appears. So it seems there is no need for this workaround edit button
inside the warning 'JS' dialog box anymore.

Additional reason is that when help button is clicked on any
dialog(tunnelled or not) it shows a warning 'link' dialog that it is
about to open a external url, but this dialog has an unneeded edit
button because of the original commit.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2d8434746c698deefe69b38bf9947202f4f95862
2022-03-24 14:33:01 +05:30
Pedro Pinto Silva
fb83f8e3a5 Switch hover color to a lighter color
We need to use a lighter/ highlight color for hover so we then be able
to use darker backgrounds for disabled status and even pressed status
(active)

Also this automatically fixes the hover status for on/off switchers on
the toolbar (e.g.:sidebar trigger). Now they also react onmouseover

With this change

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5efc41e3e7d13c10cf2d714acefee08f99e6af1a
2022-03-23 23:10:57 +03:00
Pedro Pinto Silva
2ec92b2308 Add missing hover state for primary buttons
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic1fea0b40bbbcbb6b77bfe29b3df1786da53b7e9
2022-03-23 23:10:57 +03:00