Commit graph

21981 commits

Author SHA1 Message Date
Rob Pearson
f17fe3ca22 Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (526 of 526 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic89da9ce4e47459f6628d0e203fd6edb33497029
2023-10-10 11:26:07 +02:00
Rob Pearson
fe1d6ddbcc Translated using Weblate (English (Australia))
Currently translated at 100.0% (526 of 526 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id3576206dece929eaa6c2f66743b19baf3c34baa
2023-10-10 11:25:58 +02:00
Stanislav Horáček
8418452876 Translated using Weblate (Czech)
Currently translated at 100.0% (526 of 526 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I183bd565756f8f147e86c0cab4f17e8ea7a687a2
2023-10-10 11:25:48 +02:00
Adolfo Jayme Barrientos
dfbd5fd4a7 Translated using Weblate (Catalan)
Currently translated at 98.0% (516 of 526 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib887d3401404c5f4e7b9530888e5cf89bf4ff9cf
2023-10-10 11:25:33 +02:00
Gökay Şatır
717bc2ba0a Translated using Weblate (Turkish)
Currently translated at 100.0% (526 of 526 strings)

Co-authored-by: Gokay Satir <gokaysatir@gmail.com>
Co-authored-by: Gökay Şatır <gokaysatir@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I26c0c65582054188315033fd768f9e337d8554cb
2023-10-10 11:12:41 +02:00
Leif-Jöran Olsson
c298f81d81 Translated using Weblate (Swedish)
Currently translated at 100.0% (526 of 526 strings)

Co-authored-by: Leif-Jöran Olsson <info@friprogramvarusyndikatet.se>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/UI
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I85e961a29166bc6bfeb98c74d7eff053668b2e8b
2023-10-10 11:12:31 +02:00
Mike Kaganski
3e8b90b90b Translated using Weblate (Russian)
Currently translated at 100.0% (526 of 526 strings)

Co-authored-by: Mike Kaganski <mikekaganski@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/UI
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia58f78785481bef64f6e9e417ed743950b27837c
2023-10-10 11:12:22 +02:00
Pedro Pinto Silva
b13f25e043 Translated using Weblate (Portuguese)
Currently translated at 99.2% (522 of 526 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/
Translation: Collabora Online/UI
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I80968433b35ec5d9e32df4670c465290448514d0
2023-10-10 11:12:10 +02:00
Matthaiks
d48856ad5e Translated using Weblate (Polish)
Currently translated at 100.0% (526 of 526 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: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I22c4f1936dbb1aca7a0d65d32600daa140672a38
2023-10-10 11:11:55 +02:00
Sebastiaan Veld
3c6db2edd9 Translated using Weblate (Dutch)
Currently translated at 100.0% (526 of 526 strings)

Co-authored-by: Sebastiaan Veld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/UI
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id58ef3bb4fa4a26a2ce0b80af38859a5f8b68656
2023-10-10 11:11:43 +02:00
Andras Timar
6067633c44 Translated using Weblate (Hungarian)
Currently translated at 100.0% (526 of 526 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: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I554abec8d43e1ed0164251ec616000d018847c4d
2023-10-10 11:11:33 +02:00
Darshan Upadhyay
0f0fd78182 Translated using Weblate (Hindi)
Currently translated at 27.4% (128 of 467 strings)

Translated using Weblate (Hindi)

Currently translated at 30.4% (160 of 526 strings)

Co-authored-by: Darshan Upadhyay <darshan.upadhyay1188@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hi/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hi/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Icbbccaa4847a0ede18e0246354bebddd4a70fd96
2023-10-10 11:11:24 +02:00
gallegonovato
d26310a866 Translated using Weblate (Spanish)
Currently translated at 100.0% (526 of 526 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/UI
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I91551233ae759aac9a4c2904b5b4901b65307627
2023-10-10 11:11:09 +02:00
Skyler Grey
ee57d3af74 Fix tile dumping when /tmp is not temporary directory
On iOS, each app has its own sandbox which has a temporary directory.
The FileUtil::getSysTempDirectoryPath() method successfully gets this
directory and we create a tiledump directory under it. Sadly, we then
try to write to /tmp regardless of where the temporary directory is.

This commit makes us also write our file in the directory returned by
FileUtil::getSysTempDirectoryPath()

Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: Ic8425cb94d1d85ac9c77212eb84d0ca7c46cd34e
2023-10-10 08:24:21 +00:00
Rash419
3c20783ac6 admin: added id field in verifyauth msg
- this id will help to identify which adminClusterOverview socket
  has sent verifyauth message from controller

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ic09b33c9eb2c0072f84b7147acc673031dbac0d8
2023-10-10 13:10:44 +05:30
Pedro Pinto Silva
f96622bcd4 Collapse tabs: Remove extra unused localized string
`command` has `Collapse Notebook Bar` that not only is incorrect (we do
not call tabbed view that name anymore) plus it's never used. So, no
need to give extra work to translators when this is not used in the
generated code.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic021a7f48ef653bebd65562f6d6b546947e406d4
2023-10-09 17:02:48 +02:00
Pedro Pinto Silva
c2ce164edd Fix Pencil button's title and aria-label attributes
"Enter editing" what? Better: "Enter edit mode"

Even better, let's start with the action verb and make it shorter:
"Edit document"

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I41ea52532302fa903e9d31398baffdce904cf832
2023-10-09 17:02:48 +02:00
Rash419
812212d598 docker: cleanup
- remove start-collabora-online.pl from-source

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I4cc477733e8bd6a2c736e16bcb2d75aa295e9895
2023-10-09 19:06:51 +05:30
Caolán McNamara
9ae7c294bc cid#318975 help coverity see assert
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ibf735e47362715d442c0122b9a29a0225d1cdc9a
2023-10-09 10:24:11 +02:00
Caolán McNamara
15c85f3b41 cid#318938 silence Unchecked return value from library
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ic2770254b709fcadcbb551b8b37382541be06902
2023-10-09 10:24:11 +02:00
Andras Timar
9b426db674 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I709255950dc050b9a10fc36da1665fce5a5c41e3
2023-10-09 09:58:50 +02:00
BY
feea22acb1 Translated using Weblate (Chinese (Simplified))
Currently translated at 71.4% (371 of 519 strings)

Co-authored-by: BY <alucard_118@163.com>
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: I1495ffe3c0bdfb86e7244696ab368cb19e8d3f20
2023-10-09 09:56:06 +02:00
lpwxyz
69308ff09c Translated using Weblate (Portuguese (Brazil))
Currently translated at 95.3% (495 of 519 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 89.5% (418 of 467 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 94.6% (491 of 519 strings)

Co-authored-by: lpwxyz <lpw@tutamail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5643936930e886eedcbf59ae1f3f49a75119a3a0
2023-10-09 09:56:06 +02:00
Gökay Şatır
39a983ecfd Ignore temp file in the repo.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I9c3c315f13cb419ae4e51d962ca36c245d9dcdbd
2023-10-09 00:10:20 +01:00
Andras Timar
820930f8b2 Updated uno command translations
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9093514c9cd1fb3eb0f885b8625fac7b349f4250
2023-10-08 18:25:33 +02:00
Gökay Şatır
c3444b7a5e German keyboard shortcuts:
* Replace CTRL + SPACE with CTRL + ALT + S for search.
* CTRL + SPACE is used for resetting the character properties.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I99ed1e99cf7e1ea23344961d36cce42d72cbba5f
2023-10-08 18:35:18 +03:00
Rash419
246e0eb191 fix: docker failed to initialize when aliasgroups is passed
wsd-00001-00001 2023-09-07 06:57:38.412560 +0000 [ coolwsd ] FTL  Failed to initialize COOLWSD: Syntax error: Cannot convert to boolean: | wsd/COOLWSD.hpp:513
Syntax error: Cannot convert to boolean:
<shutdown>-00001 2023-09-07 06:57:38.413335 +0000 [ coolwsd ] SIG   Fatal signal received: SIGABRT code: 18446744073709551610 for address: 0x6400000001

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I446bc9b2c2172d820da2ea148eefd1d7f964be80
2023-10-07 16:33:54 +05:30
Caolán McNamara
1f9c1885b9 cid#323357 silence String not null terminated
it's a good catch, but inotify man page says it can't happen

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I350f8fad2aa8308563ccb4f9f3ec9b7850a72fa7
2023-10-07 08:35:04 +00:00
Caolán McNamara
01c3a71e6c remove stray libsimd.a
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I5a1f1d5c045bfc384248c2d2f6de8542bd428e0e
2023-10-06 22:10:00 +01:00
Rash419
e290d07edb indirection: use errorcode to map errormsg and translate it
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I779bfc658c54255a675e3a047ed371e7e0586327
2023-10-06 15:52:21 +05:30
Michael Meeks
71213b675e logging: allocate temporary buffer on the stack.
Change-Id: I1805db7c9c6bc6c66afbb912a16e01f6bf0f2699
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-10-06 09:11:15 +02:00
Gökay Şatır
b5af4e0c10 Add CTRL + ALT + O as open document shortcut.
* Sends "UI_OpenDocument" message to integrator.
* The post message needs to be handled by the integrator.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: If57bdd1f7db496766fbb7082ffeff855aba4e97c
2023-10-06 10:10:59 +03:00
Gökay Şatır
aa0c4dbc7a Added CTRL + ALT + N shortcut.
* This sends the UI_CreateFile postmessage to integrator along with the document type.
* Integrator should handle the message.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I75d78a2d37876af7233025233ab7f1b3515442a3
2023-10-05 20:11:49 +03:00
Pedro Pinto Silva
e2b64a71a7 CSS: Removed unused document-signing-bar
We no longer create that w2ui bar and we also have removed any element
with that id or parent from cool.html.m4 with that name. So, this can
be removed.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I26c9e66de44fe8a8f8ad785031c640d32960a350
2023-10-05 15:07:24 +02:00
Andras Timar
4aff3d8be2 remove signing-identities.html
it belonged to the removed unused document signing code

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Idf57b30a508381e02c8d62196de38c828cd77f2f
2023-10-05 15:07:24 +02:00
Pedro Pinto Silva
99b423eac2 Tabbed: Calc: Scroll indicator is 3 pixels misaligned
The scroll indicator set with an absolute position ends up being
positioned in the 0 y coordinate. Since the wrapper has a top padding
of 3 pixel it means the scroll indicator is not 3 pixel off.

Also, and since these measurements are set in the CSS (the height of
the wrapper and the padding of the other wrapper), better to just move
everything to the CSS and avoid unnecessary inline styles.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Icc1e51b2590ee27b318f9e4c3d550183b08cb49d
2023-10-05 11:36:14 +02:00
genofire
1cd9c753f2 fix(ci): do not set helm to current github-release
Signed-off-by: genofire <geno+dev@fireorbit.de>
Change-Id: I2658fdefde7e40ab46cae2b9a3c0bfcac4ce626f
2023-10-05 14:50:36 +05:30
Rash419
72da1dccaf docker: fix all aliasgroup env variable values added to blocked list
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Id7480ab88564965cc7aba34c5020daaf18259815
2023-10-05 11:17:49 +02:00
Caolán McNamara
0ba51f81e7 promote quarantine log message from debug to warn
and tidy the message wrt crash after/before change

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ie4b4b700e7b1e029d077e5726bd35ff4e769fb6d
2023-10-04 17:29:25 +01:00
Caolán McNamara
5b085dec8e quarantine document after an unexpected disconnection from kit
so we capture crashes that happen while a document loaded before
any modifications could take place.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Id8b9ae3e6921aa0be770dbe1ad8fcf9b53a85e8d
2023-10-04 17:29:25 +01:00
Caolán McNamara
14d4d18701 don't immediately delete jails where there was a crash
skip deleting those jails for a few minutes to allow
the DocumentBroker to quarantine the document

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I781eeb77d491fe82a0bfe42eb09439c88f2454b7
2023-10-04 17:29:25 +01:00
Caolán McNamara
ec10114f2f quarantine of unmodified original file doesn't succeed
Error while copying from foo.ods to /opt/cool/quarantine/1696408774_5231_blah_foo.ods: Failed to open src foo.ods| common/FileUtil.cpp:162

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I49143f4d7df0c4c1494f28f8f6fe03d8cb045ab0
2023-10-04 17:29:25 +01:00
Caolán McNamara
3e67acd361 cid#318942 Unchecked return value from library
use a more standard way to zero the _sb stat struct

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I98973affe6b96a5779cfc3eef3c349019c34d0a0
2023-10-04 09:57:39 +02:00
Caolán McNamara
cceebfed94 cid#323636 Uninitialized pointer field
and use online standard member prefix

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ia7681870128185ecba27da0e344912e393e9114b
2023-10-04 09:57:39 +02:00
Caolán McNamara
d1e00dbe1b return false early on 'null' origin
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I9cdb26c3d2787beac6e2344d5f768e0fa6993bd8
2023-10-03 18:03:43 +01:00
Caolán McNamara
9a28f5ef71 Fix JSON syntax error for some Hebrew strings
same fix as:

commit 4ab2810fa5
Author: Tor Lillqvist <tml@collabora.com>
Date:   Tue Apr 5 16:20:35 2022 +0300

    Fix JSON syntax error for some Hebrew strings

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ic25bffa209cb7875756f3474547585ae7e69e4ba
2023-10-03 16:10:28 +02:00
Caolán McNamara
672f3cee2c rework URP to use a dedicated channel
Instead of fighting the SolarMutex to get the messages
processed by the main loop. Simple and no additional
threading, mutexes etc.

messages from the external uno client are just
written to URPtoLoFD and the core reads from that

messages to the external uno client are written
to URPfromLoFD by core, that fd is in poll, and
activity there triggers a read by the DocBroker
to send it to the external uno client.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ib1f0a0d5fb5ab22eee476d5d740b290c51de59dc
2023-10-03 10:15:55 +01:00
Skyler Grey
e6d9c1f87c Add support for URP messages in COOLWSD
- Allow COOLWSD client sessions to forward messages with the prefix
  'urp' to the child, and return messages with 'urp:' to the client,
  communicating with binary
- Make COOLWSD child sessions use the FunctionBasedURPConnection from
  https://gerrit.libreoffice.org/c/core/+/155100
  (core change ID I2bda3d0b988bef7883f9b6829eeb5b7ae8075f27) to start a
  new URP session
- Make COOLWSD child sessions submit messages to this URP session,
  stripping and adding the 'urp' and 'urp:' prefixes so the Java client
  from https://gerrit.libreoffice.org/c/core/+/154680
  (core change ID I91ee52922a24688a6b94512cb7e7bc760bf25ec9) can
  use the connection (and to avoid interference with any other websocket
  messages)
- Add a COOLWSD option for enabling/disabling URP given the security
  implications around allowing anyone to write URP (e.g. URP lets you
  run shell commands so a mallicious actor can take over the child
  session)

Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: Idadfe288a78cfd72b01253dfdade150d506e3f05
2023-10-03 10:15:55 +01:00
Andras Timar
e591b1e08b Update translations from LO core
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie7f99deb55a7c1fcfffcb6fd05423b66a7eeb7a5
2023-10-03 11:07:44 +02:00
Cosmin Humeniuc
1d25188821 Adapt locorestrings.py for Python 3
Signed-off-by: Cosmin Humeniuc <cosmin.humeniuc@1and1.ro>
Change-Id: I0328dc4cb97aa143fc2911255817b7cc636b5bec
2023-10-03 10:58:39 +02:00