Commit graph

22786 commits

Author SHA1 Message Date
Ashod Nakashian
78f5b70695 wsd: new PreProcessedFile class
This class will be responsible for faster
variable replacement to serve the templates.

Change-Id: Ic0d75b0a197c0db75c0988c3b6af400a5b1c35a2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 19:25:59 +00:00
Ashod Nakashian
84a0c1eec1 wsd: log cgroup memory and in GB
Change-Id: Ifda8891721228acf50e3348d43e902498e6d884d
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
3585e7ed83 wsd: rvs: copy the WS before passing it to docBroker
Change-Id: Ie1b995b551453e871da19b13888b1e80ff6643b0
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
8358fc2293 wsd: rvs: refactor send error and shutdown socket
Change-Id: I0a32dec86e3e9b9b5989da40a25af90ba9b82095
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
37efb14d35 wsd: rvs: avoid exceptions when handled gracefully already
Throwing exceptions from an async processor does
nothing good. Instead, we handle the consequences of
the error in-place, instead of throwing.

Change-Id: I85c4cee7cc8231453498e4cb9cb07a07b2b417c9
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
a3dcf28bed wsd: rvs: better logging
Change-Id: I56df3835d74502590a5e0104c5dcbee6ad26d827
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
6fe96901c9 wsd: rvs: support redirection of CheckFileInfo
CheckFileInfo requests can now redirect
to a new URL.

Change-Id: I7579ac37235b1a2ac1d7091366f0046cf889ce15
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
1f3441cc42 wsd: rvs: refactor CheckFileInfo
This breaks the CheckFileInfo fetching
code in RVS into its own function to
allow for redirection.

Change-Id: I8bfa3a71705c77af8f6e75ed1af75e710767cf19
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
1164cb90fa wsd: rvs: pass wopiFileInfo around
Change-Id: I52ef794d758a06d66cb91cc7bdb272bd2167b05c
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
2063b1ba50 wsd: rvs: handle StorageSpaceLowException
Change-Id: I036c577716cc0ba38c9585e6d1009c7ba82a87a3
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
91029b0efd wsd: rvs: refactor createDocBroker
Change-Id: Iaff50d505aa054a1f13c71a60a247feaede54172
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
5c5c4559f9 wsd: rvs: add RequestVettingStation
RequestVettingStation is designed to
vet requests before allocating further
resources. Specifically, it is to be
used to verify whether the resource
requested exists and whether or not
the request is allowed and authenticated.

All of this is designed to be done
asynchronously, for performance reasons.

Change-Id: I399fa7bc91741ffee065a6d41acca0756eedc939
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
d1ac610b50 wsd: new setupTransfer into DocBroker
Will be used for parallel loading, when we
transfer thread ownership to DocBroker.

Change-Id: I99dea58afc6c86d7937e32c8b3313676cc46d3b7
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
733883fb11 wsd: make findOrCreateDocBroker non-static
Needed to reference from ourside COOLWSD.

Change-Id: Ib8a160d912c6d3a2d972cc1fcf231e862f2fe24b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Ashod Nakashian
8afdc40aca wsd: pass WopiFileInfo optionally to addSession
This is to allow for having gotten the WopiFileInfo
before creating DocBroker at all.

Change-Id: I0f21442860e09385e504b9a98049af286cc5b404
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-18 18:59:18 +00:00
Darshan-upadhyay1110
fdf43d682a Modify freeze cloumns and row style for better user experience
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I40f716a5989ffb370eb87d34bd9ab0fee5df9dbb
2024-01-18 19:57:52 +01:00
Neil Guertin
ae918ea449 Enable Idle test
Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: I109e8c1b4e14be096741ceea5285456b77a38d04
2024-01-18 11:11:33 -05:00
Neil Guertin
b168aac5f3 Randomize user settings
Sets dark mode, zoom, spell check, sidebar, and moves around the sheet
in calc

Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: I56adcc425e3d7472f811f6e1e904186554dd432f
2024-01-18 15:45:18 +00:00
Andras Timar
1ac2492bcd Bump version to 23.05.7.3
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I21ff26ef0dfb4f782ccf517dc47239832bc2ef57
2024-01-18 13:08:35 +01:00
Henry Castro
acfe9e8f09 browser: close feedback dialog if ESC key is pressed
Change-Id: I251aec921d6f174652e3068dfa06e5dfcaf61965
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-01-18 12:31:40 +01:00
Andras Timar
f66cb26795 update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3c25f048b5f20181d9d086f79d0de9d8cb0f2780
2024-01-18 11:56:57 +01:00
Sebastiaan Veld
8033b5dee6 Translated using Weblate (Dutch)
Currently translated at 100.0% (573 of 573 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: Andras Timar <andras.timar@collabora.com>
Change-Id: I510356ac49fd60bfbecf4f8e915adf21be8c742e
2024-01-18 11:56:05 +01:00
Rob Pearson
b14a808db5 Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (573 of 573 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (573 of 573 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (573 of 573 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/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibe223724d26076520814007f2f3d4a8622cd456c
2024-01-18 11:56:05 +01:00
Rash419
1fbbae0934 admin: add about page for indirection server
- show full license

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ia51012b5277e6666733fc83441754276a79759da
2024-01-18 16:15:42 +05:30
Szymon Kłos
cad59f4b1c Increase out-of-focus idle timeout to 5 min
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4cd990a6ed9443c9627f9b27bb3d20f4c498b688
2024-01-17 21:54:27 +01:00
bittin1ddc447d824349b2
ad9fbc97a3 Translated using Weblate (Swedish)
Currently translated at 100.0% (573 of 573 strings)

Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0cbee16b6445fb8d9961b3b4a34ac26c6b067eb3
2024-01-17 21:53:05 +01:00
Matthaiks
8dc06bb989 Translated using Weblate (Polish)
Currently translated at 100.0% (573 of 573 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: I5a20e4df02607f29723e89a832a24679f880c936
2024-01-17 21:53:05 +01:00
Andras Timar
3be25718ae Translated using Weblate (German)
Currently translated at 97.3% (558 of 573 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (573 of 573 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
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: I3b6a6af0ac7f53de5dd4bea5bfd15d36d9dfc24c
2024-01-17 21:53:04 +01:00
Milo Ivir
c3ad46b192 Translated using Weblate (Croatian)
Currently translated at 100.0% (573 of 573 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6fb60199f6340aa9c267d827f9c26992765d3857
2024-01-17 21:53:04 +01:00
gallegonovato
93cb09869e Translated using Weblate (Spanish)
Currently translated at 100.0% (573 of 573 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: Icdb787f5f8fe814e0195a78d9614bcfa8813761c
2024-01-17 21:53:04 +01:00
Gökay Şatır
9e47d6a830 Do copy the hyperlink location in readonly mode.
Using internal tricks to accomplish the task.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ie969a934f17a1b57a5c7acae8aa84baadfc5b5e2
2024-01-17 19:57:58 +01:00
Gökay Şatır
25db900be2 Enable readonly click for all document types.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ibcc38ba7af9108305a2efd940060267ec08dbbdf
2024-01-17 19:57:40 +01:00
Pedro Pinto Silva
c0f530f9f8 Mobile: fix insert sheet after icon and replace insert cell icon
- Best to use a more generic insertcell icon (used also in core) instead
of re-using the insert cell right. (specially because this button
triggers another option panel)
- Insert sheet after button had the same svg as inset sheet before
  - Fix it and make those more distinguishable

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I90dde5ce35c8d765abf7db1d663ab977b44d26b7
2024-01-17 19:49:31 +01:00
Andras Timar
15fc539615 add missing icons (used by mobile UI)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I82b1fc1c59452c092f7ff250e3919496458fff46
2024-01-17 19:49:31 +01:00
Gülşah Köse
ab6f0ac18d Make drawing area image render delay solution to specific
Regression: 9b752c79b7970585c0cce3026d701b8e8b33d8a0:
	spellcheck dialog drawing area is affected.

Modalpopups are affected from image render delay.
So make the solution specific to modal popups.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I9456c347f0fa9da932e4df61f3324bb39544c06d
2024-01-17 18:50:43 +01:00
Andras Timar
c74801353d update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If13114f941b5a1b7e8b6f617fc3f8708bb9a616a
2024-01-17 14:33:41 +01:00
Andras Timar
efb34a3c5e src/map/handler/Map.SlideShow.js contains localisable strings
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id97b3f6e2f049e7a8075f3b7e8fde2894ca58de1
2024-01-17 14:32:36 +01:00
codewithvk
ca5f40a3ea Impress: Disable 'Present in Windows' Button on Mobile and Tablet
This commit hides the 'Present in Windows' button in Impress on mobile and tablet devices. This change is necessary because, on tablets, pressing this button currently results in the presentation being saved as an SVG file, which is not the intended behavior. The button should only be available on desktop environments.

Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Change-Id: I362183d899409f3c3075aeaaa3e50cde11e59925
2024-01-17 11:12:03 +01:00
MOHAMED IRFAN
41faa50420 Added translation using Weblate (Javanese)
Added translation using Weblate (Javanese)

Co-authored-by: MOHAMED IRFAN <MD.irfan@allautopartstore.com>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2045315806d4467df745ff3c16da5d9e8ad53b63
2024-01-17 11:02:08 +01:00
Milo Ivir
eca7b65c72 Translated using Weblate (Croatian)
Currently translated at 100.0% (564 of 564 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0463901441f00e63b04aa2eea178d9f5544f2b8d
2024-01-17 11:02:08 +01:00
Yaron Shahrabani
4751bbe2ee Translated using Weblate (Hebrew)
Currently translated at 99.6% (562 of 564 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If859d270e6b03ffe8fc2cb35397670eea67b0146
2024-01-17 11:02:08 +01:00
Сергій
8a549f46b7 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (564 of 564 strings)

Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Idca10bdaf19c1537c18304ca1b208a9e2c1f96a4
2024-01-17 11:02:08 +01:00
bittin1ddc447d824349b2
f74abf6354 Translated using Weblate (Swedish)
Currently translated at 100.0% (564 of 564 strings)

Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I822f16d373ae3ed5e40ac8fec31eabf2addb864d
2024-01-17 11:02:08 +01:00
Martin Srebotnjak
e5d7c2f728 Translated using Weblate (Slovenian)
Currently translated at 100.0% (564 of 564 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I15b3aec60d47023c23b9fd83813a48150761aa46
2024-01-17 11:02:08 +01:00
Matthaiks
afd470b570 Translated using Weblate (Polish)
Currently translated at 100.0% (564 of 564 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: I039f02f1fade461590fc06b3872bdae92421e28a
2024-01-17 11:02:08 +01:00
Sebastiaan Veld
689a3e6ddf Translated using Weblate (Dutch)
Currently translated at 100.0% (564 of 564 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: Andras Timar <andras.timar@collabora.com>
Change-Id: I592c343940c8bcb755b5c55dede8e2a8a2e8e8ae
2024-01-17 11:02:08 +01:00
Andras Timar
c06354ab7f Translated using Weblate (Hungarian)
Currently translated at 100.0% (564 of 564 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: I35168db29cfc39e0412ed836bd2d10b275bba733
2024-01-17 11:02:08 +01:00
gallegonovato
50b94969d0 Translated using Weblate (Spanish)
Currently translated at 100.0% (564 of 564 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: I899996182c21e85e651436074367e5c063f8754d
2024-01-17 11:02:07 +01:00
Rob Pearson
a5dc239686 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (564 of 564 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (564 of 564 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (564 of 564 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (564 of 564 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: I7cc254fb1b252e221dc42d78cc2b7cbfad8357f7
2024-01-17 11:02:07 +01:00
Stanislav Horáček
a74b320b97 Translated using Weblate (Czech)
Currently translated at 100.0% (564 of 564 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: I1da816353158fe663b5a747456ed9425b3440166
2024-01-17 11:02:07 +01:00