Commit graph

19062 commits

Author SHA1 Message Date
Andras Timar
203e953796 FreeBSD CI: require zstd
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2cc37caa5b32f637bc15175b730e57a978fe0d7d
2022-11-02 12:09:53 +01:00
Andras Timar
1d4c04e22d add libzstd dependency to rpm and deb
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id55c488d02aa187b3eaff978c3a84e2e12cd8e5a
2022-11-02 12:09:53 +01:00
Michael Meeks
e7b57b2fad delta: optimize away re-fetching of pixel data as we apply.
Avoid fetching and putting pixel data back to the canvas when we
apply a series of deltas to a single keyframe.

Also split high-level from low-level delta debugging.

Change-Id: If4c308b695fb236e0753490d0d20a0fef0a9a470
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-11-02 12:09:53 +01:00
Michael Meeks
2def6dc3d5 Switch to zstd image compression.
zstd provides for much faster compression server-side, as well
as better decompression.

zstd allows us to de-compress a keyframe and several deltas in a
single call in JS, so it is necessar to add a terminator to the
delta stream so that we can detect when to flush the buffer we
are working on - so the next delta applies to the correct data.

Change-Id: I0e292e3a697b4902d6488b7c04deaba2d1485e94
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-11-02 12:09:53 +01:00
Henry Castro
38764966dc browser: add fzstd lib
usage

	var decompressed = fzstd.decompress(compressed);
	// Second argument is optional: custom output buffer
	var outBuf = new Uint8Array(100000);

	// IMPORTANT: fzstd will assume the buffer is sufficiently sized, so it
	// will yield corrupt data if the buffer is too small. It is highly
	// recommended to only specify this if you know the maximum output size.
	window.fzstd.decompress(compressed, outBuf);

Change-Id: I0b378f9395b2442bac9f0790f7633e6a6cb0402e
Signed-off-by: Henry Castro <hcastro@collabora.com>
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-11-02 12:09:53 +01:00
Szymon Kłos
0b86e55339 Dont set readonly on non-critical error
When we insert empty/not esiting image - we can continue...

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib52f530d06dc8c5cd2780a08623435c440f9eb0a
2022-11-02 12:47:07 +05:30
Gülşah Köse
6302568c1c Limit the automatic addition of percentage sign.
In mobile view there is no way to select a cell and type something into.
We had to switch edit mode or use formula bar. So automatic percentage
sign addition is useless on mobile view.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: Ie0fca8121534a53304414d98e6fbdef82a349d89
2022-11-02 07:48:24 +01:00
Gökay Şatır
cf1074b640 Hide "Translate" menu button if deepL is not configured
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I52a02ab8380468b5dc56cb90a4d8edf2fab56c06
2022-11-02 08:56:25 +03:00
Ashod Nakashian
b43544da0f wsd: test: faster UnitInsertDelete::testPasteBlank
Change-Id: I4d58cc4c800a6fdd6b3096fe0f35e3c7c00c9c63
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-10-31 17:32:34 -04:00
Szymon Kłos
1822ee1121 Dont show error for wrong shape content
This happens when second time embedded video was selected.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ide47c4927b5717a1f631356dd0f183b086f6a77a
2022-10-31 08:29:34 -04:00
Pedro Pinto Silva
8e933d2cab Add read-only mode tooltip when hovering disabled menu items
So user can have yet another visual cue that the current mode
is read-only

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie7862e963603541c04d1b6662fbc7350f6e675a0
2022-10-31 10:48:56 +03:00
Gülşah Köse
847c05adc9 Increase the timeout in case copy-paste whole column.
To copy paste whole column into another document needs more
time to get a reply from server.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I5321b42e321179d541464f8cbdc49fe01502c353
2022-10-31 10:19:11 +03:00
Miklos Vajna
034b37a4a9 wsd: limit memToFreeKb in Admin::triggerMemoryCleanup()
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Idfe4ee00be9f805f5e12c7ece4f890aa2b9d08ed
2022-10-28 11:20:51 +01:00
Szymon Kłos
e1ab6ec1b0 Fix typo
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5c87f9da2f2fb33a78db784e64143b9d5b4df6d1
2022-10-28 07:28:06 +02:00
Andras Timar
bdf0c90761 Bump version to 22.05.8.0
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8e1936ca73e7e299ae042fdc20c969056df97893
2022-10-27 22:09:52 +02:00
Gökay Şatır
fea960c50c Writer: Use page twip coordiantes for switching the pages on read-only mode.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ie7ed6eb6d4f0178ff2f1f514e6e9f9321caf965d
2022-10-27 16:28:47 +02:00
Ashod Nakashian
10aa79f220 wsd: handle embedded video without extension
Change-Id: I4e05dfdbb78744c8d28404b5000fbc701d71ecbd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-10-27 16:23:27 +02:00
Szymon Kłos
90f5a08d9f masterpage: don't open sidebar on master page switch
it should stay in current state

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I446ffaa7183cdb70e0a924c4ea042e280a72bb70
2022-10-27 13:58:26 +03:00
Szymon Kłos
c441669d20 masterpage: correctly parse invalidatetiles message with mode
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I80b89629c3930d91a940438c82739c8a145e0024
2022-10-27 13:58:26 +03:00
Henry Castro
16f591c5f7 browser: set the document view only if it is offline
The cursor will hide and the permission will be updated
after the document is re-connected.

Change-Id: Ib0a584371317adabe9898dad8bb0cd96717cefff
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-10-27 11:40:45 +03:00
Szymon Kłos
562a1094d9 Fix alignment panel width in calc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I119d10f58fdb3159dcd780799042c37f99dd112f
2022-10-27 10:32:50 +03:00
Pedro Pinto Silva
e124c5278b Enable Show Status Bar menu entry in readonly mode
Without this commit if the status bar is hidden, it's impossible
to bring it back and so the user is unable to:
- Search within readonly mode
- View the number of pages
- Zoom in our out via selecting the specific values

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If30a0729862788f7475ce800b643db2b386722f3
2022-10-27 10:27:31 +03:00
Szymon Kłos
f2e841b01f jsdialog: apply edit field type
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7f247333acde5319ef032c11db403b350dc07b44
2022-10-27 08:58:04 +02:00
Szymon Kłos
7f27d29b12 wsd: support embedded video - dont use 2 video tags in edit
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia83923f5af357d0a022db881daa7cd57d3a7c4f7
2022-10-26 19:37:45 +02:00
Ashod Nakashian
fc0b163732 wsd: move svg processing to ClientSession
This helps generate the public URL
easily and unifies the processing
of embedded video.

Change-Id: I07ef7f7722f368957a85e41493fe175de38464f7
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-10-26 16:26:15 +02:00
Ashod Nakashian
7f5d77f1ff wsd: move mediashape handling to ClientSession
And reuse the public URI helper.

Change-Id: I9d56e91c2df571609c575b401c6a4eea958d710a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-10-26 16:26:15 +02:00
Ashod Nakashian
0124b42077 wsd: reuse getClipboardURI generically
This extracts the sub-path and the tag
as parameters, leaving the rest of the
logic intact.

Change-Id: I4e08537658e14412a1e56b55508ccb9529b00053
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-10-26 16:26:15 +02:00
Ashod Nakashian
06d7fd1753 wsd: extract URI encoding in a helper
This is compatible with the JavaScript
encodeURIComponent(), which supports
XML embedding.

Change-Id: I38bb64af67789bd5eea3f8f8bdb7f80e313599fb
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-10-26 16:26:15 +02:00
Tor Lillqvist
c6bd7f6818 Bump IPHONEOS_DEPLOYMENT_TARGET to match core:co-22.05
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I15ba4ac4ccf56a1dbdfd0e7434d883625154c46c
2022-10-26 13:55:40 +02:00
Miklos Vajna
4278b601f6 wsd: fix missing tile cache check in ClientSession::getCommandValues()
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I59d0c4863493a02df7a05b98648eb235840f8060
2022-10-25 16:55:19 +01:00
Adolfo Jayme Barrientos
bcb6dcd9a7 Translated using Weblate (Catalan)
Currently translated at 99.7% (461 of 462 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Catalan)

Currently translated at 99.5% (460 of 462 strings)

Translated using Weblate (Galician)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Galician)

Currently translated at 100.0% (110 of 110 strings)

Translated using Weblate (Asturian)

Currently translated at 82.7% (91 of 110 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/gl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/gl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7fae503ce1a504e65d3cc962d214bf0ea5f64b87
2022-10-25 16:17:58 +02:00
Szymon Kłos
353e269c55 wsd: support embedded video - relative link
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4351bc801914583ab589b424059748858d7937d4
2022-10-25 13:20:47 +01:00
Tushar
b4ee1a49f0 resolved the Debian 11 dockerfile dependecies issues
This fixes the issue #4695

Signed-off-by: Tushar <tusharbarman123@gmail.com>
Change-Id: Id8a6769ffab18b1d5094799e63d851685c5b1a4f

resolved the intendation issues and duplication issue

Signed-off-by: Tushar <tusharbarman123@gmail.com>
Change-Id: I650e1417f14d156e4a39ba8e6261460d048dfa85

removed lines

Signed-off-by: Tushar <tusharbarman123@gmail.com>
Change-Id: I4ce387a20bee21c9269db6486c8261db96b76ac8

Removed further lines

Signed-off-by: Tushar <tusharbarman123@gmail.com>
Change-Id: If6d7904719cc0fb4800a9f3da1d6043903ee9fec
2022-10-25 14:16:34 +02:00
Miklos Vajna
5f54484fc6 browser: fix indent in package.json
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Icdba3a955783d34dc851876ee47cf15c949269ab
2022-10-25 11:59:01 +02:00
Ashod Nakashian
f81a1d1c01 wsd: support embedded video in slideshow
Change-Id: I2f7621fceb6c9f267bcf86da358b6eb07d55c9f3
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-10-25 09:16:36 +02:00
Ashod Nakashian
76ac5d09c2 wsd: support embedded media
Change-Id: I28c1a813bad22c49ae759b89ad90e377890acddb
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-10-25 09:16:36 +02:00
Szymon Kłos
c50b2682a4 embedded video: show inside selection marker
Draft showing example video preview when activating any shape...

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I37ab8335a3448283abd3c978eb8c62722fd8c7bb
2022-10-25 09:16:36 +02:00
genofire
3e131a9e0f improve HelmChart
Change-Id: 2995f983d09241299ccb7947a2df281aec8977a1

Signed-off-by: Klaus Erber <k.erber@erber-freelance.de>
Signed-off-by: Martin Müller <martin.mueller@dataport.de>
Signed-off-by: genofire <geno+dev@fireorbit.de>
2022-10-24 17:29:21 +02:00
genofire
686edeac1a update README
Change-Id: 4e9f7b85dfa0097d6794e0f0004d145e705db928

Signed-off-by: Martin Müller <martin.mueller@dataport.de>
Signed-off-by: genofire <geno+dev@fireorbit.de>
2022-10-24 17:29:21 +02:00
Szymon Kłos
8591d323c6 Call initializedUI on mode switch
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I19b0df193574e36be3532d0ae39f359ea706579e
2022-10-20 15:03:39 +02:00
Gabriel Masei
cd106b9976 wsd: add lang param to conversion
This is needed, for example, for date type cells
for which the format language is set to default.
In this case the load language is used and it
determines the display/output format.

Signed-off-by: Gabriel Masei <gabriel.masei@1and1.ro>
Change-Id: I49ec4940377b261971224d37ea5fbe8ed7006157
2022-10-20 11:08:42 +01:00
Andras Timar
b639546287 Bump package version to 22.05.7.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib82128cc4c6751a62e424907751a1d02450ac848
2022-10-20 11:26:33 +02:00
Ihor Hordiichuk
43d14921b5 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.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: I83e857a3b0c3cd7f226539e4bc72634ecdd4b603
2022-10-20 11:25:24 +02:00
Oğuz Ersen
bb767c16cc Translated using Weblate (Turkish)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
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: Idd8c5905fc80cdb5a610708221dfec0c5f682ef6
2022-10-20 11:25:24 +02:00
Martin Srebotnjak
91ea004b28 Translated using Weblate (Slovenian)
Currently translated at 100.0% (462 of 462 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: Ib86254274ce16cc3b2fc5aedf25bdc5abcff6dc2
2022-10-20 11:25:24 +02:00
Mike Kaganski
eb42c720cd Translated using Weblate (Russian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Mike Kaganski <mikekaganski@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4373ad3923e895b8fe679a0a040f767d60d57ef3
2022-10-20 11:25:24 +02:00
Pedro Pinto Silva
dbc25f6d86 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (462 of 462 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/
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: Ia4204d4fac0773d59942c2601845b7efc551cf71
2022-10-20 11:25:24 +02:00
Matthaiks
a96e6b4e09 Translated using Weblate (Polish)
Currently translated at 100.0% (462 of 462 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: Iffb089e4b9994d4cca0290b75fcb9ce8ec4ca66e
2022-10-20 11:25:24 +02:00
Sebastiaan Veld
eb787ee954 Translated using Weblate (Dutch)
Currently translated at 100.0% (462 of 462 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: I7607eb52090254262165138406cb258c56bf09a1
2022-10-20 11:25:24 +02:00
Sveinn í Felli
031fc0651b Translated using Weblate (Icelandic)
Currently translated at 100.0% (462 of 462 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: I9045afa672f535b6a009804998c3bf66d024c57e
2022-10-20 11:25:24 +02:00