Commit graph

24611 commits

Author SHA1 Message Date
TY Wong
d1ff3b1121 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (610 of 610 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 99.5% (607 of 610 strings)

Co-authored-by: TY Wong <wongty@peoplewarehk.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/zh_Hant/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id108f73319a7a04a899b578562aff626e380d574
2024-07-10 18:14:11 +02:00
Cyan Ling
cc3d5201c9 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (610 of 610 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 99.5% (607 of 610 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 97.0% (592 of 610 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 24.0% (115 of 478 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 96.7% (590 of 610 strings)

Co-authored-by: Cyan Ling <stepbystep.jl@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/zh_Hant/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I93dde8bdec63c721373973580ef96fcfb41d9374
2024-07-10 18:14:11 +02:00
gallegonovato
acd30d2913 Translated using Weblate (Spanish)
Currently translated at 100.0% (610 of 610 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: Andras Timar <andras.timar@collabora.com>
Change-Id: I1e62c01b7ea457234506219d45d50ab6f98e1a5f
2024-07-10 18:14:11 +02:00
Ihor Hordiichuk
70c0add507 Translated using Weblate (Ukrainian)
Currently translated at 94.4% (576 of 610 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (110 of 110 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/ios-app/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
Translation: Collabora Online/iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9201cee111136d70a486403974fbaa782f056fd2
2024-07-10 18:14:11 +02:00
Matthaiks
d4ba9c2df1 Translated using Weblate (Polish)
Currently translated at 100.0% (610 of 610 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: Id779f108a6e08768fcf4038bd27573b2e9265e62
2024-07-10 18:14:11 +02:00
Andras Timar
8aaaebac2d Translated using Weblate (Hungarian)
Currently translated at 100.0% (610 of 610 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: I1866096cdcdeb390514c88cbaa0f45db8ceb30de
2024-07-10 18:14:11 +02:00
Rashesh Padia
a125d459a7 fix: coolwsd getting killed on kit segfault
- regression from a866719

Signed-off-by: Rashesh Padia <rashesh.padia@collabora.com>
Change-Id: I21b20aabb4dffad3011b75de8d1f373d495a697d
2024-07-10 16:36:34 +01:00
Gökay Şatır
fe96a185e0 Use reference info for Calc other view cursors.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I3d6e198f7aec53826f1234854367c915b8e5df8c
2024-07-10 16:22:43 +01:00
Darshan-upadhyay1110
f99d5f91ad Add 'title' attribute to iframe for accessibility
- Add a 'title' attribute to each iframe element, providing a brief but clear description of the content and
purpose of the iframe
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: Ie2179e9d39d9f4f00be5eebf7d30509d0b31cc0b
2024-07-10 16:14:00 +01:00
Gökay Şatır
6ff578ceee Make the shape preview semi-transparent also when scaling.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I961b16e45ebe8e22b07a8a197bb6c96658715ded
2024-07-10 15:37:59 +01:00
Andras Timar
1c2684470c cool#9383: build error on FreeBSD
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I287c938bfcdbbdb76dd8f1253e52bb167b440a22
2024-07-10 15:33:30 +02:00
Michael Meeks
c9be106733 Attempted blind fix for transparent tiles / race during load.
Only seen in the wild so far on Wieland Lindenthal's browser &
server combinations; but plausibly (somehow) we could be rendering
blank tiles during a document load progress callback if we've
gone really wrong.

Also cleanup the (non functioning) _duringLoad count to improve
debugging cleanliness.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I9f32d4fa28fa4a60d8439c55b67058bd0c27ec2f
2024-07-10 12:16:53 +01:00
Michael Meeks
d65e227905 Attempt to fix curious assertion around ServerAuditUtil.
[ websrv_poll ] SIG   Fatal signal received: SIGABRT code: 18446744073709551610 for address: 0x730000696e
  Backtrace 26990 - wsd 24.04.4.4snapshot 07bc101:
    __GI_abort                                     glibc-2.27/stdlib/abort.c:81
    __GI___pthread_mutex_lock                      glibc-2.27/nptl/../nptl/pthread_mutex_lock.c:67
    ServerAuditUtil::set(std::string, std::string) /usr/include/c++/12/bits/std_mutex.h:103
    SocketDisposition::execute()                   /usr/include/c++/12/bits/std_function.h:591
    SocketPoll::poll(long)                         /usr/include/c++/12/bits/shared_ptr_base.h:1070

  Also cleanup member naming to match the COOL standard.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I4fd6f4d57c3cbfe1edf7121895e5dab7e13fa4fc
2024-07-10 08:32:07 +01:00
Pedro Pinto Silva
33bda41a32 URLPopUpSection: Right align text only if preview is available
Before this commit and when there is no preview the label was being
centered without image resulting in a less than ideal layout with the
label "hanging/floating" there without any visual grouping

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2ffa9f6f97c237ad436029512122dc4d7986a167
2024-07-09 16:16:30 +03:00
Pedro Pinto Silva
c494bbe0f5 URLPopUpSection: Decrease label size and fix link alignment
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1cdc33ebf41a7eb8545851991a39367d89aa3b58
2024-07-09 16:16:30 +03:00
Pedro Pinto Silva
2c31c143ba URLPopUpSection: Set container's width
This new component (previously was being created with leaflet) was
missing the 301px width that we used to have in the legacy code. Thus,
and without it, the container was over stretching

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie9d782497af723eb9fc3768e64ff48d3826409c0
2024-07-09 16:16:30 +03:00
Andras Timar
92aed77857 Update Helm Chart with new release 24.04.5.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If2a79dd449ef665685d64378ac75c5f90ca8f01f
2024-07-09 10:53:12 +02:00
Caolán McNamara
e036357893 ls -lR alike filesystem listing utility
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I4849dae47972be7215c50e06493f4e70d73c2eb7
2024-07-08 20:01:25 +01:00
Miklos Vajna
f543a1da9d fuzzer: initialize client context of the ssl manager
clientsession_fuzzer: ./net/Ssl.hpp:114: static ssl::CertificateVerification ssl::Manager::getClientVerification(): Assertion `isClientContextInitialized() && "client context must be initialized"' failed.
    #8 0x55885edfdc36 in ssl::Manager::getClientVerification() /home/vmiklos/git/collaboraonline/online-fuzz/./net/Ssl.hpp:114:9
    #9 0x55885eded51b in ClientSession::loadDocument(char const*, int, StringVector const&, std::shared_ptr<DocumentBroker> const&) /home/vmiklos/git/collaboraonline/online-fuzz/wsd/ClientSession.cpp:1276:13
    #10 0x55885edd3436 in ClientSession::_handleInput(char const*, int) /home/vmiklos/git/collaboraonline/online-fuzz/wsd/ClientSession.cpp:686:16
    #11 0x55885f1fd1ca in Session::handleMessage(std::vector<char, std::allocator<char>> const&) /home/vmiklos/git/collaboraonline/online-fuzz/common/Session.cpp:288:13

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: If7f346af0e6293bf042c9b211e4efe2dfedbd642
2024-07-08 15:34:51 +01:00
Miklos Vajna
7a5e8508d3 fuzzer: fix build
After commit 85eaec2311 (add
'mount_namespaces' option to use linux mount namespaces, 2024-07-02).

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I3172186559946c5a1331a20746c34212fe983d0a
2024-07-08 15:34:51 +01:00
Andras Timar
2a5ced4be9 typo fix: fowardedData -> forwardedData
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I64c56f35526f5e8a17a040d22c7eea79586b3174
2024-07-08 15:09:44 +02:00
Michael Meeks
56cd14516a wsd: CheckFileInfo - avoid over-complicating things.
We don't need a mutex & a condition - we can just spin our own
TerminatingPoll to get what we need; saves launching an
un-necessary thread, and reducing threading complexity.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Ia65398aa8a59ca297cd0a0caf0fa607681960764
2024-07-08 12:19:40 +01:00
Pedro Pinto Silva
20e834d169 Username popups (selection): Add padding
So, a user name longer than 110px doesn't get clipped

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I53722a15789099a80b41fd8e6da6bdd7f4840e5f
2024-07-08 13:17:47 +03:00
Gökay Şatır
87ef3e4e3a Update the min-width property for username popups.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I8ebff9ea79b0198cba80fe275c91cadb94c07ce7
2024-07-08 13:17:47 +03:00
Pranam Lashkari
608cd673ce broswer: sanitize productFAQ url
UI: improved infoBar apperence by adding button for action

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I51ce1fba1aa238b913d1fd44bdf54b7355edfdc5
2024-07-07 16:53:59 +02:00
Henry Castro
48bf0bffbc wsd: fix async request
It will block main thread if fails.
..

Change-Id: I420c19f315b70b04e5e73c3dc7c6a93f3d165e34
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-07-05 18:41:28 -04:00
Michael Meeks
61bf0cf952 bgsave: tolerate kernel slowness joining threads.
A blind fix for save torturing; it is hypothetically possible that
on large machines with lots of threads the kernel can take some
time to free up thread resources associated with a pthread_join'd
thread and mis-report in /proc/ for a little afterwards.

So give some time to come to the right answer.

Change-Id: If2e15b11dabbf1b87e5bf4505ffe82b47ba6d039
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-07-05 20:36:02 +01:00
Michael Meeks
0e4a64d179 bgsave: add a thread hook tracker.
This can dump a backgrace every time we spawn a new thread,
useful for trying to find the lingering save torture test
thread that makes tests fail with:

WRN  Failed to ensure we have just one, we have: 2| kit/Kit.cpp:1409

And stops background save happening for some reason.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I887d39cbda0888675f1a88d57474351495fd8330
2024-07-05 20:36:02 +01:00
Hubert Figuière
675327c1e9 coolstress: Rewrite removed commands
Rewrite .uno:Save as it crash (in debug)

Signed-off-by: Hubert Figuière <hub@collabora.com>
Change-Id: Ifae0ffb007ab13150f4e021e2c557fdf062910b5
2024-07-05 10:23:26 -04:00
Andras Timar
a8c734902b Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I42826f066d1bba08674fa447d5c88e5c5e66aa6f
2024-07-05 13:53:12 +02:00
Jeff Huang
71e865cf75 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (609 of 609 strings)

Co-authored-by: Jeff Huang <s8321414@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/zh_Hant/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie88e0419b5944620d37fdc84155637e9718e42f7
2024-07-05 13:51:53 +02:00
Matthaiks
3c59f0d5cd Translated using Weblate (Polish)
Currently translated at 100.0% (609 of 609 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: I5a5cb332b57c36672ef92050a4fe28ff1c24eb34
2024-07-05 13:51:53 +02:00
Andras Timar
7c5a159e84 Translated using Weblate (Hungarian)
Currently translated at 100.0% (609 of 609 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: I444dc7bea9273f55b9d7fa5349c24db51133c158
2024-07-05 13:51:53 +02:00
gallegonovato
244b7a95a0 Translated using Weblate (Spanish)
Currently translated at 100.0% (609 of 609 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: Andras Timar <andras.timar@collabora.com>
Change-Id: Iecac81a3b8e036eb15df63df8e381438ad615bbc
2024-07-05 13:51:53 +02:00
Ashod Nakashian
22bff144b9 wsd: clipboard: do not trust the given URL
The URL given may be invalid, empty, or for some
reason we might fail to create a session.

In all these cases, we must fail the clipboard
request gracefully.

Change-Id: I32871edf1c8926ee5d37a9b8ce7ba8a60973b733
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-07-05 08:59:37 +01:00
Ashod Nakashian
d6a2884ad5 wsd: default-initialize ssl.cipher_list
Change-Id: I1aee134aa3cb758c8bdf2fecfa2b215e6bf0bdcb
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-07-05 08:59:37 +01:00
Skyler Grey
1ecf31df40 fix(gitignore): Add dist_git_hash
dist_git_hash is used in distribution, and might also be needed if git
is unavailable or broken (for example certain bind-mounts into docker
containers or use of tools such as jj).

One thing you absolutely mustn't do, however, is commit it. It
overrides future git commit detection, which would subtly cause caching
and/or version issues for everyone.

Let's gitignore it to avoid that.

Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: I9cf5412bf6693afab7cb7b0ca2a8a377575ed929
2024-07-05 07:21:10 +02:00
Pranam Lashkari
ae20bc5ad4 browser: give clear message to user about expired token
user would not know what is token and what to do if it expires

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I227690c91faec0465165ce4b59ff2d73b79271b7
2024-07-04 14:55:19 +02:00
Andras Timar
b3ec03804f Update UNO command translation
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I39fe200446e72828093fafe2ce2a126e62f53e40
2024-07-04 13:45:41 +02:00
Andras Timar
f505b4d5c4 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0f390c5975aabf87dcf4d84e18e354a9de0a48fa
2024-07-04 13:44:47 +02:00
Darshan-upadhyay1110
be0ad963c5 feature: Add "Background Color" button to Table tab for setting table field background color
- Introduced a new button in the Table tab to set the background color of the currently selected table field(s).
- Remove the format with decimal button (since the user can always access "Number Format" for more options)

Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I4fa2cc7a1003eafdee4d54acfea9faaa1a457254
2024-07-04 13:37:54 +02:00
Andras Timar
f10a21d6a4 Bump version to 24.04.5.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1df8e3d7d684522d3bcb645bf2beab5d245c6e2b
2024-07-04 13:30:23 +02:00
Andras Timar
31813b690d Update UNO command translation
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I44e5d3ef8e48c9015ba99185ab399420a4e6b1f1
2024-07-04 13:28:20 +02:00
Antony
d59dd3127c Add aria lables to more option button in sidebar
- Add aria>label data to toolbutton struct when creating more option button for Panel
- Removed alt attribute from Tool Button since buttons don't support alt attribute
- Added condition to set alt for button image from aria>label, if present

Signed-off-by: Antony <dasantony@rocketmail.com>
Change-Id: Ic608ee29891154e0f46523a1f5b1e5c249c54c6a
2024-07-04 12:37:56 +02:00
Caolán McNamara
458882cb9d log the X-Forwarded-For header we operate on here
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ic107be34b63ec64e977ddac7957d775c9d711803
2024-07-04 11:36:03 +02:00
Caolán McNamara
1414c4485f rle data size is two bytes not one
==3858==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow
/usr/bin/coolforkit
	__asan_memcpy
		asan/asan_interceptors_memintrinsics.cpp:22
/usr/bin/coolforkit
	DeltaGenerator::copy_row(unsigned char*, unsigned char const*, unsigned int, LibreOfficeKitTileMode)
		online/./kit/Delta.hpp:522
/usr/bin/coolforkit
	DeltaGenerator::DeltaBitmapRow::packForNetwork(unsigned char*, LibreOfficeKitTileMode) const
		online/./kit/Delta.hpp:175

presumably an issue since:

commit a9d4dcb71d
Date:   Mon Jun 10 17:07:00 2024 +0100

    deltas: zstd compress already RLE compressed pixels.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Iba3288a3efc3f6df3411ff2ecc66ce5d89693ea2
2024-07-04 11:31:00 +02:00
Gökay Şatır
463d57ba8f Don't show the cursor header if the cursor is not shown.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ida19a752bf95ce9aa8b02b79831bfbe6aac8b948
2024-07-04 11:30:31 +02:00
Gökay Şatır
3c282f9b4f Add a section for cursor header, for user names.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I284c8d519362fa85aa238747b206dfb7e9bee96d
2024-07-04 11:30:31 +02:00
Gökay Şatır
c025d4c043 Add otherViewCursorSection.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ib8b1a04631dd5ba91788ffca0e6c6ff6cee8b297
2024-07-04 11:30:31 +02:00
Gökay Şatır
5243a04a57 Remove unused functions.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I74c91e3395c57549bf4a28ac509b5041f1f57978
2024-07-04 11:30:31 +02:00