Commit graph

21981 commits

Author SHA1 Message Date
Matthaiks
6754c74991 Translated using Weblate (Polish)
Currently translated at 100.0% (525 of 525 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: Id708a7b627d80f9783ed36e0f2f98a07d0dfb11a
2023-10-11 18:24:02 +02:00
Sebastiaan Veld
f1b703bf10 Translated using Weblate (Dutch)
Currently translated at 100.0% (525 of 525 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: Iccba3f92080bb0c0a626491636ce214441e22684
2023-10-11 18:24:02 +02:00
Andras Timar
0608b3e808 Translated using Weblate (Hungarian)
Currently translated at 100.0% (525 of 525 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: Icdaa800456e29f7f923b65d4a39346f6d8e3ab0b
2023-10-11 18:24:02 +02:00
Milo Ivir
01922e6c55 Translated using Weblate (Croatian)
Currently translated at 99.8% (524 of 525 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: I6ce5be9af96f7298f48a88c6e22ed46cc22e87df
2023-10-11 18:24:02 +02:00
gallegonovato
0626607d9e Translated using Weblate (Spanish)
Currently translated at 100.0% (525 of 525 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: If739719ada0d1ef7ca67c75c2b54ace9b07a91f0
2023-10-11 18:24:02 +02:00
Pedro Pinto Silva
54348fb2ca Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (525 of 525 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (525 of 525 strings)

Translated using Weblate (French)

Currently translated at 100.0% (525 of 525 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (525 of 525 strings)

Co-authored-by: Pedro Silva <pedro.silva@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
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: I7834a95d77c55037d72b4afee337eb831df6c09e
2023-10-11 18:24:02 +02:00
Skyler Grey
2666063040 Allow http Range header for media files
The range header allows a client to specify that they would like only
part of a file, e.g. only the first 1000 bytes of a video. When playing
video on Apple devices (Macs, iPads, iPhones etc.) this is required to
avoid Safari rejecting the video as broken. This is the first part of a
fix to embedded videos on Safari.

This commit does not implement specifying multiple ranges at once (e.g.
bytes=0-9,-100 to get the first 10 and last 100 bytes).

This feature is necessary to play video on Apple devices, but it is not
sufficient. In particular, I believe some further client-side fixes will
be needed to make the video play properly.

Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: Id89a06d374b7d0efbf2b3184d8618df61684dcb6
2023-10-11 15:09:15 +00:00
Andras Timar
0cfdb87362 exclude debug/dev files from production packages
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic9b49a401b63af65f4e53e3eb2584b8258575c2a
2023-10-11 16:45:26 +02:00
Rash419
762ce28e22 browser: make reconnnect experience smoother
- don't invalidate the tiles
- don't reload the document if serverId changes
- writer: fix cursor jumps to top the document

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ie42850e77f9011cd1c820115919f10283407f216
2023-10-11 16:54:06 +05:30
Andras Timar
6eb60acffd Change the local storage setting name 'CompactMode' to 'compactMode'
We want to re-force the choice, i.e. people who mistakenly set
their UI to compact mode, now will get tabbed mode and can
decide, if they like it better or not.

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic5810321abf2cbc3996478816fe153d848c66c71
2023-10-11 11:54:06 +01:00
Marco Cecchetti
022e32e5d2 a11y: impress: screen reader support for text shape editing
Now accessibility support can be enabled in Impress.
Created cypress tests for editable area in Impress

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: Ia2fd4e55bce3785320ec0cc9f31a6d7550ca3a82
2023-10-11 10:18:46 +02:00
Pranam Lashkari
dda49b0af6 annotation: fixed autosaved comment cannot be closed
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I504df4738054076b35e36b878d8f8651af4543eb
2023-10-11 08:44:57 +02:00
Pedro Pinto Silva
9a6b877190 Snackbar hasProgress: Set to double column grid
Use new id for snackbar with progress and style it

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I24a1647f0f629b7b079aa65601f4309c339a06e8
2023-10-11 08:29:43 +02:00
Pedro Pinto Silva
37bc01a730 Snackbar: fix pushbutton padding
Before this, the padding-right was being set to 0 (probably to save up
space) but this is not the way to do it. It looks weird when the focus
is set to that button.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib60b32cd9d0f5f42444cadef121be32c15941483
2023-10-11 08:29:43 +02:00
Szymon Kłos
8f188a543a clipboard: show 100% progressbbar on completed download
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I55762e03a31ceca379514f422c8100b5ac1edd9d
2023-10-11 08:29:43 +02:00
Szymon Kłos
a3c841236b clipboard: update messages
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I247e5e802265aef6d423e5049a3b4a43ac03618c
2023-10-11 08:29:43 +02:00
Szymon Kłos
5aac0203c5 clipboard: don't show full warning on paste
if complex selection was copied in one window
then we try to paste in other document, then
the same dialog appeared. this commit shows
only progressbar step for "paste" operation
as we don't need to do anything else.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id9c33261dbdfb282d142cdfdf2217b30111263b1
2023-10-11 08:29:43 +02:00
Szymon Kłos
c247b20509 snackbar: make progress visible
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3f1022c4680d749f80116b7480e58e14e2bce5b1
2023-10-11 08:29:43 +02:00
Szymon Kłos
27c72ca4d0 clipboard: set equal width for progress dialogs
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib0dde8d856c0358d9c5ec7ecb128b458221bb70f
2023-10-11 08:29:43 +02:00
Szymon Kłos
9d65a03e5b clipboard: complete dialog shows 100% progressbar
Reusing progressbar dialog allows us to show it's the
same process for the user. So even if it is instant he
will see 100% progressbar and that button become enabled.

Create new file for functions which manipulate existing
modal dialogs.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I765483b940f47bdfbcf8a488ea7d0ab9569ccda9
2023-10-11 08:29:43 +02:00
Szymon Kłos
a451cc4de8 clipboard: make dialogs more unified
- use the same id so we can apply common styling

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0fb567fd5b77e3ca57b5ba5cd8d6e1fa29e46fc1
2023-10-11 08:29:43 +02:00
Szymon Kłos
c1d0ec909c snackbar: use ESC to dismiss sidebar
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8f198ec3fd1ce459f9f9cce02755548224e5c721
2023-10-11 08:29:43 +02:00
Szymon Kłos
19bf03ab5c clipboard: use ctrl+c to confirm copy
This will provide easy to use flow for the user:
ctrl+c has to be clicked 3 times to copy, download and confirm

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I745963744cdff552c37f7a5ffee5c0f737fb67ba
2023-10-11 08:29:43 +02:00
Szymon Kłos
9cbbeb98ae clipboard: hide download dialog when changed selection
user changed selection - it means we no longer want to download
content but we do something else

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5df0a63baa1bf1ae85567430d531dd7800ad6cd0
2023-10-11 08:29:43 +02:00
Szymon Kłos
4ab1f7f165 clipboard: keyboard shortcuts for snackbar messages
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I65f83901ebb7d25a2fb7d9203952601d44c7a4b6
2023-10-11 08:29:43 +02:00
Szymon Kłos
c605b7a3d2 snackbar: a11y improvements
- add relation label - button
- make action button focusable and possible to click using
  keyboard
- allows to use keyboard shortcuts on snackbar when event is
  handled

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iaea53f7d74d547a42e6c7096fde3b9136a3bb968
2023-10-11 08:29:43 +02:00
Szymon Kłos
b412adaeb9 snackbar: limit to 80% of screen or wrap
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie25794f55d9ccaf502d9189c096c8029a3698226
2023-10-11 08:29:43 +02:00
Szymon Kłos
451a9bc7cb clipboard: add dialogs for download progress and complete
used for the first time user copy-pastes

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie01c32ed394d4231c9eb0c64e661ffa2cdee1a74
2023-10-11 08:29:43 +02:00
Szymon Kłos
f1a962c89a clipboard: move all dialogs to Control.DownloadProgress
- this will allow to share common strings
- use shorter messages

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie21dfaf17b76c79e6ced83b439e67feae4dac009
2023-10-11 08:29:43 +02:00
Szymon Kłos
eb093b21e6 snackbar: don't close with timeout from previous instance
when we create new snackbar it has the same id and sometimes
it happens that timeout from previous instance closes the
new one, because timeout wasn't cleared

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I52dbb2c1a297012fc686fc044c5b3b7263c83543
2023-10-11 08:29:43 +02:00
Szymon Kłos
689c6fa063 clipboard: use snackbar for interaction with user
Instead of leaflet popup we use now snackbar.
- control is not removed and added again for next copy-paste
  but we keep single instance for all the time
- added download error message
- simplified close snackbar code

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I804a82c4f589b029a42fc2800958ff2b46b7df50
2023-10-11 08:29:43 +02:00
Szymon Kłos
585e00a1ee snackbar: vertical alignment of items
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia1fb616170497ad32e2db85111a7dc5b07e90f5d
2023-10-11 08:29:43 +02:00
Szymon Kłos
d0c3d09fb2 snackbar: with progressbar
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8a3231a0f61eb97c9daeff3e92afb7d3b640a957
2023-10-11 08:29:43 +02:00
Szymon Kłos
91d5a23d76 jsdialog: snackbar without timeout support
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7f44192b4ff3b2314a621fb735e4f4192fc93fd7
2023-10-11 08:29:43 +02:00
Szymon Kłos
8c7b638bb8 jsdialog: move progressbar widget to separate file
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3a489340df101d7a672762a7a259cd92514f5f53
2023-10-11 08:29:43 +02:00
Gökay Şatır
2e94d4a998 Add simple progress bar control and a showProgressbar function.
Can be modified again for more specific purposes. First version is simple.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I8ad929ffa841c3c2c282f72058ab07882d6a4465
2023-10-11 08:29:43 +02:00
Gökay Şatır
5204f81110 Add shortcuts to copy paste warning dialog.
Also change the description to a shorter version.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I81e4b6b58de9b81071b48634ccb282c30590dacf
2023-10-11 08:29:43 +02:00
Caolán McNamara
71e43ebe35 delayed messages can be applied when _map._docLayer becomes available
without a need for an additional timer to poll when that is possible.

this._map._docLayer is set in _onStatusMsg only when _isReady() is
true so if this._map._docLayer is non-null _isReady() is true

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ia019d8d8516f8c9156f3e96be262138a16343983
2023-10-10 19:57:13 +01:00
Caolán McNamara
4ec1a37715 cid#318830 help coverity see assert
and

cid#318839 Explicit null dereferenced
cid#318838 Explicit null dereferenced

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I34685ea04722aeccc21910283fa4819dbf45c012
2023-10-10 12:08:51 +02:00
Gökay Şatır
679241b4f9 Enable drawing even if the first cell cursor message is empty.
Reason:
Sometimes cell address is at the end of a merged cells block.
That kind of cell address is invalid. Example:
Merged cells: A1-A5.
When example merged block is selected, cell address should be A1.
If it is A5, cell cursor is not drawn.
If cell cursor is not drawn "EMPTY" message is sent from core side.
And we cannot enable drawing in this case.
So we enable drawing even if the cell cursor message is "EMPTY".

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I456bc757725c9bfaede20068cf165310712488e7
2023-10-10 12:43:17 +03:00
Pedro Pinto Silva
87ac1f7e9a Update l10n files for Weblate
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9c94dace88f1211491d4b8285df9d0f3653ff8f0
2023-10-10 11:31:28 +02:00
Nguyễn Hoàng Minh
0cfbdff642 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (467 of 467 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iaa8bd53765570700596eacf7c6d7c530456329ad
2023-10-10 11:27:37 +02:00
Nguyễn Hoàng Minh
9f9a520485 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (526 of 526 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/vi/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I706542c7e0f5b10d552ade642f8971cb88e25c0c
2023-10-10 11:27:28 +02:00
Martin Srebotnjak
e38fe16951 Translated using Weblate (Slovenian)
Currently translated at 100.0% (526 of 526 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I22264a42e81b4824c2e6368fb9d7d412217b816a
2023-10-10 11:27:20 +02:00
Rizal Muttaqin
addea61908 Translated using Weblate (Indonesian)
Currently translated at 100.0% (526 of 526 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/id/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iae1d21d0f2d85e6ad39958bbe1d1b445c8be3494
2023-10-10 11:27:10 +02:00
Yaron Shahrabani
99825d901c Translated using Weblate (Hebrew)
Currently translated at 100.0% (526 of 526 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I52b71fb60a9dfaa9fc05addcbfe91c58cf6bf22e
2023-10-10 11:26:58 +02:00
Adolfo Jayme Barrientos
140bb00917 Translated using Weblate (Spanish)
Currently translated at 100.0% (526 of 526 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I63719b2b2a3118d8adb3f72e3ee1823d1ed20254
2023-10-10 11:26:42 +02:00
Eloy Crespo
4529c2291d Translated using Weblate (Spanish)
Currently translated at 100.0% (526 of 526 strings)

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

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

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ice7c509eab6e892d9c979b7e5c30f5a5bc818313
2023-10-10 11:26:17 +02:00