Otherwise we would not respond at all, leaving the socket open;
possibly related to cool#9349
Change-Id: Iba8a29da6ab0263f2545b9495f15e20f37145de0
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
e.g. download as pdf/save as pdf
move buildLocalPathToJail to FileUtil instead of JailUtil given
that the JailUtil code isn't built on mobile
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I8d727e9cdffc413c027bfb9dc6b0520a7d591b47
I missed this case in the previous commit.
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I48829591ce20bcfabb239e510041799c41ea50dc
and add some explanation for why there is use of linux namespaces in
coolwsd itself
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I5d5687cf095de1b7d5d978dcb6ad6a97f6e9c642
So it's more inline with the rest of the icons. Also fix dark mode.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0b27ecc179a139d34aa574617e0af5c3ef91ae81
create mount namespace with local uid 0 just before we need to do the
mounts and create another with the original uid when done.
The inner orig-uid probably doesn't amount to a whole lot in practice,
but its more reassuring to run as not-0.
Disconnect namespace config option from experimental, but continue to
default off.
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ia68c1c1c0bc7a91eb158f5d189453b683fea0ef0
Keep only the last created invalidation rectangle.
Set transparency for the rectangles.
Delete the others with the counter.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Iee379afb62bcde519b8cde0bd8405e511344b3fa
it can happen that we will early return from the keyboard handler
and we will not mark we want to stop following
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I28ce533b7f3c1d8c189434d0f51e727ca74cb57f
When we decide to follow someone - don't wait for the interaction.
Just jump to the followed cursor.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3b28164d90211dc15330d73d266e035ba49751ff
Right now .uno:EditHyperlink and .uno:RemoveHyperlink only work on
edit mode or inside a draw object, but LOK_CALLBACK_HYPERLINK_CLICKED
is dispatched outside of edit mode.
Since there is no text cursor, the position of the hyperlink is
needed to discriminate the correct field.
Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I8499b430d5e62b904caba5bb5c7c34e784a8b850
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
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
- 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
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
[ 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
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
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