Commit graph

3297 commits

Author SHA1 Message Date
Szymon Kłos
5acab9c966 autofilter: don't show hidden popup
Autofilter dropdown has submenus which are created at the same
time as main menu. These submenus are hidden but send jsdialog
message with "popup" type. We ignored that message on desktop
so do the same for mobile to not show them instead of main dropdown.

Added also warning about unhandled messages.

Removed old style "autofilter" type handling which is not used anymore.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I18d0c9078b88d6d24290e44179594a8eebd1c2e4
2023-09-25 16:41:11 +02:00
Darshan-upadhyay1110
507c272c80 Mobile: buttons with text color discrepancies
Will not create `<u>` element for mobile wizard
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>

Change-Id: Iaca88ac4be2c95dc4781180019ba8fede9cdc81a
2023-09-25 20:08:17 +05:30
Rash419
9b5b8c85c5 don't reload the tab if reconnected by indirect socket
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ia75d085d17c49a64e56f0dc5c9494fd88d846bfa
2023-09-25 07:07:33 -04:00
Darshan-upadhyay1110
1f094a7b9d View tab for all other apps in mobile
- Added view option to all other apps on mobile view.
 - previously only text contains the view option in mobile view. ( click on hamburger menu)
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I04e06e346d398d947e637bd71e4134bc3e901c4d
2023-09-25 08:54:36 +02:00
Cosmin Humeniuc
2b53099b2d Translated using Weblate (Romanian)
Currently translated at 30.4% (158 of 519 strings)

Co-authored-by: Cosmin Humeniuc <cosmin.humeniuc@1and1.ro>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ro/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie7f9626344564b0cbbc84f71d81ab8a7f993d389
2023-09-24 16:38:05 +02:00
Jérôme Herbinet
c724225429 Translated using Weblate (French)
Currently translated at 98.2% (510 of 519 strings)

Co-authored-by: Jérôme Herbinet <j.herbinet@protonmail.ch>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2e3d710bc7da514885c0168eb73ab2dc3c90ccf4
2023-09-24 16:38:05 +02:00
Ettore Atalan
d889e75b33 Translated using Weblate (German)
Currently translated at 99.5% (465 of 467 strings)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/de/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I00fa8b82f1d10a2633fe13bf04b08b2901094530
2023-09-24 16:38:05 +02:00
Pedro Pinto Silva
ffe501a114 Tabbed view: File tab: Save icon doesn't change on modified status
- Add or remove additional css class to the Tabbed view > File Tab >
Save button whenever the document is modified or saved.
- NotebookbarBuilder: onCommandStateChanged: Re-use existing state var
There seems to be no need to call again the object and its state when
we already have a variable for that.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3d0bee8903f4e7309d5d5e7389a824bf39e72651
2023-09-20 19:54:56 +02:00
Gökay Şatır
5039aa4797 Fix "modified state notifier" visibility.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: If4feb0806ce92fadeb90f6676809bcbefc51eb24
2023-09-20 19:54:56 +02:00
Gökay Şatır
2a32970c9b Update packages.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I554d2d272b5fb869027088d4a0b2d8284edc4c7c
2023-09-20 19:23:30 +02:00
Andras Timar
5d98af34f5 Update UNO command translations
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia87bc96cca29edd8a362b4856f3eebb588a04a06
2023-09-19 22:06:55 +02:00
Theo
673dcffb7e Translated using Weblate (Greek)
Currently translated at 77.6% (403 of 519 strings)

Co-authored-by: Theo <tbousiou@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9bdd6b5cdf12b373f49d5dd794ea5b43a3dc7bdd
2023-09-19 21:57:02 +02:00
Pedro Pinto Silva
12149fdbd2 Translated using Weblate (German)
Currently translated at 99.2% (515 of 519 strings)

Co-authored-by: Pedro Silva <pedro.silva@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7bff182aa7146b87bc3c71776b95655ba0518d2e
2023-09-19 21:57:02 +02:00
Pedro Pinto Silva
c23d93357a Featurelock dialog (upsell): Fix layout and styles
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I18fc9d9b97a64be426d03744a5b707729447a1db
2023-09-19 21:56:52 +02:00
Pedro Pinto Silva
4802992cbe Featurelock dialog (upsell): Remove dialog header
This is **not** nonmodal dialog but it looks like. This is a modal:
user can’t interact with background content.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9e68afadca3d6ab04311f18d38a9dd43b9679522
2023-09-19 21:56:52 +02:00
Marco Cecchetti
97aec60766 Firefox 117 no copy event is emitted by hitting CTRL+C with no selection
The problem affects no-a11y case since the editable area is empty.
Since no copy/cut event is emitted, Clipboard.copy/cut is never
invoked. So we need to emit it manually.
To be honest it seems a Firefox bug. We need to check if they fix it
in later version.

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: I036414b5ffb5b35ff1ef1d7de1044e890832c673
2023-09-19 19:16:43 +02:00
Gökay Şatır
e309e0ffee Update packages.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I4d90323dade99f325a9c3b6d46fd3b595030d1ce
2023-09-19 14:21:06 +02:00
Milo Ivir
d53331d1e6 Translated using Weblate (Croatian)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (519 of 519 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I905b20a488324ac9bc462314e47f8883b6ba4284
2023-09-18 23:17:19 +02:00
Andras Timar
16928e2523 Translated using Weblate (French)
Currently translated at 98.2% (510 of 519 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I681dba08adcda53144ba3d0d9380615e830392ff
2023-09-18 23:17:19 +02:00
Darshan-upadhyay1110
a116d92758 Calc: Sheet tab context menu: Rename Sheet has extra padding
Fix extra adding for sheets tab on mobile view

Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I5139e0072caabd7db7c4d1255b497cf24e1359e6
2023-09-18 13:31:31 +02:00
Henry Castro
414c3af734 browser: fire 'readonly' if status change
Change-Id: Id31dc8028b8308e11fb8dc8112769ba426db70e5
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-09-15 10:21:53 -04:00
Henry Castro
a125259787 kit: add 'readonly' property to status message
Change-Id: I8068da5a28f3176023013c84eb6599a6cedbb3f5
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-09-15 10:21:53 -04:00
Szymon Kłos
b4efb460a1 Updated shrinkpack
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0b9305e14581a2c75d0a3835e3532b9498a589b2
2023-09-14 12:26:53 +02:00
Szymon Kłos
dc93ac9d2c Decrease code-duplication limit to 18 lines
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I98b398a9468ddc9e3087b7cf8d09c1015f325964
2023-09-14 12:26:53 +02:00
Szymon Kłos
e3bcd092cd Ignore code duplication in ImpressTileLayer
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I98d37be139e6a9107fd958427205ef086af9cd41
2023-09-14 12:26:53 +02:00
Szymon Kłos
5162f198be Ignore duplication for MobileWizardPopup
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0130a0e2a7bb55d0eb4766a43261ff3330073e69
2023-09-14 12:26:53 +02:00
Szymon Kłos
46511e59d9 Share code for toolbar uno action
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I24e3a46f7d14459bdb0446313d75429615dcf9d9
2023-09-14 12:26:53 +02:00
Szymon Kłos
93bc44d1bf Share code for keyboard popup prevention on click in toolbar
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4955de2f1e3b60b7671317447d8f769e4f07f82a
2023-09-14 12:26:53 +02:00
Szymon Kłos
f5c6255321 Share code for cancelSearch
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I61a0ba9b3da8ec7f7122580d850a6ee82c02ba2d
2023-09-14 12:26:53 +02:00
Szymon Kłos
76f0b11551 Detect code duplicates in make-check run
It uses jscpd project by invoking it using npm script
"duplication". For now set minimum lines to report
as 26, because we have some 25 line duplicates.
Later we can reduce that number.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I20e0ba9a07528e15a65f01d2247420da33339749
2023-09-14 12:26:53 +02:00
Andras Timar
b3abc03d27 Translated using Weblate (French)
Currently translated at 98.2% (510 of 519 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I24e7417819ba5dd2dd1684f06e3b70ad20745bea
2023-09-13 22:15:36 +02:00
Aron Budea
dbf170af8d Translated using Weblate (French)
Currently translated at 94.4% (490 of 519 strings)

Co-authored-by: Aron Budea <aron.budea@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I851fcfc19aef54d0e112e68de30ef403e7e2dadc
2023-09-13 22:15:36 +02:00
Darshan-upadhyay1110
ad7c0eeeca Missing icon for show menubar
added fold svg icon which was missing for dark mode
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I650a9adcdbbd768017d4ba0e17277de562e7d184
2023-09-13 08:32:39 +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
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
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