Commit graph

21691 commits

Author SHA1 Message Date
Andras Timar
938b8e318b Bump iOS version to 23.05.4
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic77f62cd723dc3d03d7f95e8a7d6f9676646d980
2023-09-12 08:46:25 +02:00
Miklos Vajna
91f26ff453 Contriburing instructions: add a section on commit messages
It happens in many cases that it's not clear what are the steps to
reproduce the problem to be fixed, let's have some explicit instructions
on how to document these + the reasons for having these rules.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I725f78dabd388fa85db0286e354527fd96e6d6be
2023-09-12 08:45:14 +02:00
Paris Oplopoios
e5b7464bbf Invalidate canonical id unconditionally
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: I061e34af1a1676e5bba5d476ea9e7ff5758744a1
2023-09-12 00:49:18 +02:00
Patrick Luby
0898e05e3a Invalidate canonical ID for Draw and PDF files so that the slides
in the slide pane will render

Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: I43f93c0c02d801391eaea9916ab1bd8e827249a9
2023-09-12 00:49:18 +02:00
Patrick Luby
805d0cec13 Handle special "direct-" formats
Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: I73c2de73d60a444b6cdf3817d3e90e245f239075
2023-09-12 00:49:18 +02:00
Patrick Luby
e7bd50c967 Fix minor iOS build and runtime problems
This patch contains changes to iOS and/or Android code only.

Signed-off-by: Patrick Luby <plubius@neooffice.org>
Change-Id: Ia1461b0b3ca374b682494a7e2e900b832c85ea9d
2023-09-12 00:49:18 +02:00
Andras Timar
baec3ff60d Bump version to 23.05.4.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I73457e8b34bca25a243788622554ecf0d3b83edd
2023-09-11 22:45:27 +02:00
Alexander Gabilondo
5729f06e10 Translated using Weblate (Basque)
Currently translated at 100.0% (467 of 467 strings)

Co-authored-by: Alexander Gabilondo <alexgabi@openmailbox.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eu/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0fca1a9f7e426a318ab72a17e465b53a0bf972ae
2023-09-11 19:06:42 +02:00
Leif-Jöran Olsson
b3de7e9908 Translated using Weblate (Swedish)
Currently translated at 100.0% (519 of 519 strings)

Co-authored-by: Leif-Jöran Olsson <info@friprogramvarusyndikatet.se>
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: I2498a8ccaa6857dd6b87f5c398289e2f6eb509f0
2023-09-11 19:06:42 +02:00
Sebastiaan Veld
db3eb22a88 Translated using Weblate (Dutch)
Currently translated at 100.0% (519 of 519 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: Ib989952fd44e28fe8e2a97685bbb419c09834deb
2023-09-11 19:06:42 +02:00
Martin Srebotnjak
85b541f301 Translated using Weblate (Slovenian)
Currently translated at 100.0% (519 of 519 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: I2dd2609be93976dce1d112e35a5a699cedccc3e5
2023-09-11 19:06:42 +02:00
Stanislav Horáček
5fc8cbb445 Translated using Weblate (Czech)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (519 of 519 strings)

Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I94cf0007eafa9edc7fbc0bdb298a141035bd894b
2023-09-11 19:06:42 +02:00
Szymon Kłos
74059a040e jsdialog: create also combobox without entries
this fixes missing font name and font size comboboxes
when opened spreadsheet protected from editing

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I364fe345756549270cabafbe76d9a6b040a48ac3
2023-09-11 18:59:26 +02:00
Gökay Şatır
8ab9dd7e07 Fix the mobile comment issues of writer.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ia089ae8348c718f82fb39e80234a29a17e602a61
2023-09-11 19:47:44 +03:00
Andras Timar
0dee93c62d Updated UNO command translations
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2617d5d413f3aa0f235950824eb024add5c239c7
2023-09-11 18:39:03 +02:00
Marco Cecchetti
39132e23ec a11y: improved screen reader caret tracking on text navigation
In order to allow screen reader to track caret navigation properly
even if there is some connection delay default behaviour for
Left/Right arrow key press is no more prevented in
Map.Keyboard._handleKeyEvent. In TextInput._onKeyDown, it has been
needed to handle some special caret position, such as when cursor is
at begin or end of a list item prefix.
When left/right arrow is pressed and text is selected, selection is
cleared and caret needs to be moved by one char left/right.
However, for an editable div the behaviour is different:
- when left arrow is pressed caret moves at start of previously
selected text
- when right arrow is pressed caret moves at end of previously
selected text
So we needed to prevent default behaviour and simulate the same
behaviour that occurs in LibreOffice.

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: Ifa5e9847bbbf77b934a3bcbd04545f4a55afd19d
2023-09-11 16:42:14 +02:00
Gökay Şatır
eff4b6760a Add shorcutstoolbar to the integrator containers list.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ic101061ed8d39178c1dc0777350126c3fa545258
2023-09-11 17:27:30 +03:00
Gökay Şatır
b370ba6e4a Change the insert > insert table command access key.
So it doesn't conflict with others.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I3f114aa007572cb40acff58f9d3b4a45f3d57988
2023-09-11 17:27:18 +03:00
Gökay Şatır
f4ea5fc065 Re-position the accessibility info boxes.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ia812d8a8dd89e12b8c6f0d3d7f3586700b1e6ce3
2023-09-11 17:03:32 +03:00
Gökay Şatır
d6d64b38d7 Resolve id conflicts between contents and the buttons.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Id55c56e65cf27dd67bf6c88488b5f29b6e5dade8
2023-09-11 17:00:35 +03:00
Gökay Şatır
6ad69a7699 writer: add missing accelerator keys for file tab.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I10d821080a06b8bd93993e2ab6bf0fe212449b2d
2023-09-11 16:59:44 +03:00
Darshan-upadhyay1110
5f2ad3e5e6 Add option for print sheet
Added 2 options to print
    - Active sheet
    - All sheets
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: Ic4514648bd998575990bce877eda5d45884a8514
2023-09-11 14:24:33 +02:00
Darshan-upadhyay1110
6406aeac83 Enable autocorrect option to add bulltes
Will add bullets after pressing enter
 Example: press * then some sentence and enter
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I63676eb3f725dba0d9fdb0a12cb31847fef8e663
2023-09-11 11:48:47 +02:00
Caolán McNamara
084e715dc6 TileDesc broadcast field is always false
apparently since:

commit b0a7532b08
Date:   Sat Nov 14 19:43:02 2020 +0300

    Turn off broadcast on presentation preview tiles

so drop this field from TileDesc and protocol.txt

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ib4b1eca0d30911e13c245551cb3e3261afc99dd2
2023-09-11 09:38:49 +01:00
Caolán McNamara
3b7ef07997 getTokenString is another loop over the tokens that we already loop over
getTokenString(const StringVector& tokens...) loops over each
token and calls
getTokenString(const std::string&...) with token.getParam() on each
token. We already have a loop over each token, so we can merge those
loops here.

perf reports TileDesc::parse taking 3.68% of the time in a hour
of an interactive writer session with multiple participants

Though looking further, broadcast seems unused by anything now.

To be followed up on that topic.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I244637043c58d90562001ec58fac494da54e55a8
2023-09-11 09:38:49 +01:00
Rash419
68f147679a indirection: fix ui flicker when migrating
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib435a08399179e33ee71736c1f36987e14fcaace
2023-09-11 13:38:11 +05:30
Miklos Vajna
790a19ab25 kit: improve date format of UNO commands in crashreports
Old format:

	kit-27634-02839 2023-08-30 11:08:43.590564 +0000 [ kitbroker_17a ] SIG   Fatal signal received: SIGSEGV code: 1 for address: 0x4f00000007
	      unoCommand(2552f) : ToolbarMode?Mode:string=notebookbar_online.ui - Wed, 30 Aug 2023 11:08:31

New format:

	kit-30199-30197 2023-09-06 14:30:21.417817 +0200 [ kitbroker_001 ] SIG   Fatal signal received: SIGABRT code: 18446744073709551610 for address: 0x3e8000075f7
	Recent activity:
		unoCommand(064) : ToolbarMode?Mode:string=notebookbar_online.ui - 2023-09-06 12:29:56

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Idf62ea18c75c453d188d8c25723a43824d5fc147
2023-09-11 10:07:19 +02:00
Szymon Kłos
fb79675c0f jsdialog: simplify intert hyperlink dialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I44bae5fd01a6d4c099af46742eb2069b5b6db7ab
2023-09-11 09:48:25 +02:00
Szymon Kłos
03cd99d6d2 cypress: adjust mobile insert hyperlink to new dialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iab68d99e9f35a7a93152466103b23e5344eea72b
2023-09-11 09:48:25 +02:00
Szymon Kłos
a6a08f4a21 mobile-wizard: unify combobox to listbox replacement
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I20d5014e1d0e96857d01ce29b2734b27e07efa3f
2023-09-11 09:48:25 +02:00
Szymon Kłos
4e91213b52 mobile-wizard: unify combobox to edit replacement
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ief95b914812e6598e101e2bd64646b1bcf3e5e9e
2023-09-11 09:48:25 +02:00
Szymon Kłos
84fadfe9d1 mobile-wizard: replace combobox with edit in hyperlink dialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib87fbef220212ffeb14fa189122c3016085997b9
2023-09-11 09:48:25 +02:00
Szymon Kłos
5f4ceb1032 mobile-wizard: handle vertical tab control
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iba97075ce663fa6d95eaf00716204da8be34e192
2023-09-11 09:48:25 +02:00
Szymon Kłos
8ba7d80025 mobile-wizard: avoid errors when content doesn't exist
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I82dac967ee490376c18934996089c9c4a83bbef5
2023-09-11 09:48:25 +02:00
Szymon Kłos
a0fb57f22f jsdialog: replace combobox with edit in hyperlink dialog
calc -> insert -> hyperlink dialog has combobox which is
useless, let's replace it with edit field

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ifc5c10028fa55459a8433ae0b932c857aa883de8
2023-09-11 09:48:25 +02:00
Szymon Kłos
46763f6d05 jsdialog: fix tabs switching
we expected number in the id, but it has been changed in
commit f8e53bd851

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5c8793facca03a586918f411d7e88066ac30dc16
2023-09-11 09:48:25 +02:00
Szymon Kłos
da174cbb97 Use dialog from core in Calc Insert Hyperlink
introduce it in Calc only as it has better knowledge about
cell content and what should be edited

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Idc66e3380e83975b44ca88d47586de3bd0e7dee9
2023-09-11 09:48:25 +02:00
Szymon Kłos
9cb37bc439 cypress: make slide page format test more reliable
it seems we generate previews later now
it might be related to commit 04ac02b033
    Do not request tiles until we are sure a canonical id is set

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I250c37049ba62c4cdc06b16413767edafc362dc0
2023-09-10 18:46:39 +02:00
Szymon Kłos
e47f959a0c cypress: skip failing mobile annotation test
regression introduced in commit d4dcc9e748
Correct the naming of highlightComment function.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ifdb4e821e7102d8efc480231aaa52aefea394b62
2023-09-10 18:46:39 +02:00
Szymon Kłos
08194fa06d cypress: skip failing switching sheet test
this is only desktop test that fails, let's skip
it until we fix the regression and not block others
from testing their patches

regression was introduces in:
commit 04ac02b033
Do not request tiles until we are sure a canonical id is set

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1de44a94121648b381df67d926bbc33dd1044b76
2023-09-10 18:46:39 +02:00
Gökay Şatır
d4dcc9e748 Correct the naming of highlightComment function.
Add new property to commentSection (children).

Update commentListSection for Writer comments.
Now the comments at the same position are separated.

The parent / child relations are set by "parent" attribute.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I0a8ab060c133a51f4d09e71777cc6233b78a6efa
2023-09-08 23:10:02 +03:00
Darshan-upadhyay1110
bec384c572 Add QR and Bar code generation option
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I3fafb97e99df87f813562063192e6ae39b34c2d1
2023-09-08 20:40:13 +02:00
Paris Oplopoios
1b9a186c01 Turn canonical id assertion into warning for now
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: I7e332b5e5a0c6a8ce5a428caf4c23274b9be8d82
2023-09-08 14:46:21 +02:00
Gökay Şatır
0af836d4ad Add accessKey properties for save buttons of shortcuts toolbox.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I24d892e0618d7105062e794c032fb8f96f76ccf3
2023-09-08 12:17:25 +03:00
Caolán McNamara
8ba14ab5e2 if we can't call _onMessage yet, delay all messages until we can
and not just some of them discarding the others, so we
always apply all messages received in order the arrived
without omissions.

TODO: apply them when the conditions application requires become
true rather than depending on a timer poll.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I265b6ccb45e211c15c5f4daf9d6572fa051b68eb
2023-09-07 14:15:24 +01:00
Rash419
855429dad5 admin: send serverId with migrate msg
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I484620df234a1dcbedeba5b5102dacee7451015a
2023-09-07 18:35:32 +05:30
codewithvk
e0ce56d2b2 Add Scrollbar onmouseover effect
Signed-off-by: codewithvk <vivekpatel7202@gmail.com>
Change-Id: I6d34151cc897f9cb97fbe8404694959c5ff4ca49
2023-09-07 11:10:01 +02:00
Paris Oplopoios
0621aa4825 Fix canonical id related unit tests
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: Ie4b965c3bac8cddd48a47343d2d1c5f387d8bd41
2023-09-06 10:28:26 +02:00
Paris Oplopoios
04ac02b033 Do not request tiles until we are sure a canonical id is set
Change-Id: Iee15388407ac644e498d3798e545de06038e4b5a
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
2023-09-06 10:28:26 +02:00
Paris Oplopoios
5409175a2a Add assertions for bad canonicalviewid
Change-Id: I2621e08123ca9cac30e027b0c018c0e9cc40750d
Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
2023-09-06 10:28:26 +02:00