Commit graph

21675 commits

Author SHA1 Message Date
Rash419
c0273e8574 android: use tasks.register in build.gradle
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I1ab6908f333115247018a53f6e954751bb13fc8c
2023-08-31 13:12:22 +02:00
Rash419
2e29d67888 android: update dependencies
- update gradle plugin and version
- use mavenCentral instead of jcenter

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Iffe41bd7d5ff3e6a6d1acbe70c25e21e5a856548
2023-08-31 13:12:22 +02:00
Szymon Kłos
2593713fe6 jsdialog: when we enter readonly mode close dialogs
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I01aaf1b4bf0e0071db439e6ebf65eae49e3b29bb
2023-08-31 12:56:10 +02:00
Szymon Kłos
049f8b16cc jsdialog: don't type into document on combobox entry click
There was a bug that when we selected entry and pressed enter
then removetextcontent event was trigerred.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie0aae2fd24c69043d3133d6d257622a967d34cc1
2023-08-31 12:56:10 +02:00
Szymon Kłos
0ffb57a72c jsdialog: make combobox work with notebookbar shortcuts
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8388ecb5db9ffa54eac2d4cc4f8eb9b81adf881d
2023-08-31 12:56:10 +02:00
Szymon Kłos
f5cbf9236c jsdialog: focus map if last dialog closed
when we close last jsdialog then move focus into
map to avoid focusing document.body what causes
that user cannot type or move focus to the next button in
the UI

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0f9d38ecbac476c769dd66b820deb373e3cc224e
2023-08-31 12:56:10 +02:00
Szymon Kłos
faa0477332 jsdialog: combobox entries hidpi
we request entries with dpi scale factor to
generate bigger (higher resolution) previews

then entries are scaled down in CSS to keep
relative size to other components constant
but text become smooth thanks to bigger resolution

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I00c59be45a92667768385f7f70c1ccd8248095af
2023-08-31 12:56:10 +02:00
Szymon Kłos
5b221745cf jsdialog: mark selected entry in combobox
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iefd57b37d6afa4480b8c3a7c36be7ab4a7f1e84c
2023-08-31 12:56:10 +02:00
Szymon Kłos
0741728a2f jsdialog: render combobox entires when visible
also make font previews persistent as they don't change

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib68667e4b4f612a51932f24179e0ff197dde3c09
2023-08-31 12:56:10 +02:00
Szymon Kłos
2be200845d jsdialog: combobox dark theme fix
- invert colors of images in dark mode
- don't invert in style previews to show real effect

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I2005cd068b3f9a636e24307a3035728f4e139379
2023-08-31 12:56:10 +02:00
Szymon Kłos
cb1c62eda6 cypress: adjust tests to new combobox
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ieb6982abbea68f5d2e8a8215d2a69f10f4123fac
2023-08-31 12:56:10 +02:00
Szymon Kłos
4ef2d4de39 jsdialog: dropdown should match combobox size or be bigger
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I42a95396b59d1428d88d67a29ccba1370ec297ba
2023-08-31 12:56:10 +02:00
Szymon Kłos
f33d7e6dd3 jsdialog: don't leave gap between dropdown and button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iaadc953b5ecb66d45b55482f6d7a4ccead85db0d
2023-08-31 12:56:10 +02:00
Szymon Kłos
c49edd2215 jsdialog: avoid ui-widget in tabs to not apply jquery styling everywhere
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I082079eba700f700d37f666d751522292e3d90b5
2023-08-31 12:56:10 +02:00
Szymon Kłos
de2fef01a3 jsdialog: make combobox dropdown accessible using keyboard
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib5ab0075b1ef8dfcc67b5850af4945ab4859d6d3
2023-08-31 12:56:10 +02:00
Szymon Kłos
e90ab292b6 jsdialog: add edit field for combobox
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5a1ab436c34a8406c6de4b08b3e55ee11a106d43
2023-08-31 12:56:10 +02:00
Szymon Kłos
9a6964ce7e jsdialog: crop popup when is bigger than screen
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1a9484cddb69ab9fd3143c20e0dba840fc72bdd4
2023-08-31 12:56:10 +02:00
Szymon Kłos
0b0e21f576 jsdialogs: add dropdown with custom rendered entries in combobox
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I2c4b258fe37d1aef6c7de88443fc702bea60cbda
2023-08-31 12:56:10 +02:00
Szymon Kłos
4082e1e570 jsdialogs: custom combobox
Combobox will be real combobox (edit field + dropdown).
Adjust styling from old .select2 rules to our combobox.
Remove old code for select2 comboboxes in notebookbar.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id3ea16bcb004675cb7d5743f394ac432e74918cf
2023-08-31 12:56:10 +02:00
Darshan-upadhyay1110
7db8d225ff Add access-key functionality to open userlist.
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I7787aaa11e673f8701b9b94f85ce225c254e2ac6
2023-08-31 12:03:15 +03:00
Darshan-upadhyay1110
1a91e010c0 Open user list box using keyboard ( CTRL + ALT + P)
Added keyboard shortcut to see userlist in document
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I8ac5043382ffe49fe2644c76c6b77af85e1e5937
2023-08-31 12:03:15 +03:00
Darshan-upadhyay1110
48007ccfe2 Fix: Mobile => insert list is misaligned #7137
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I6b82e30dc1a6a77c347963ec9d6e7cb81a86ee37
2023-08-31 14:26:06 +05:30
Darshan-upadhyay1110
c1071943c1 Mobile : Add dark mode option to Calc,Impress & Draw
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I83470c2b0f3ad6737ebd0648f4b89ffa24dd381a
2023-08-31 14:23:37 +05:30
Rash419
f87230761d mobile-wizard: fix textarea remains white in darkmode
- also fixes the misalignment in cool-annotation-table

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I58db4c6918c3a36a230c6f9317ddf39c3361bb24
2023-08-31 14:20:53 +05:30
Szymon Kłos
ae2220cf4e a11y: don't focus map if focusBack is false
This fixes regression introduced in commit 2ac7183e44
Add Left or right arrow on a tab label should switch tabs

When we are in writer: Alt + H, K - opens spacing dropdown
Before this patch focus was stolen by the map even if the
spacing item has focusBack property set to false

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I2c510dc2aecbb1db846e0574c1b5f52b24d9114b
2023-08-31 10:12:04 +02:00
Attila Szűcs
7cebe0f041 ios: fix doubleclick in navi, with single clicks
dblclick seems not to work on ios, but click does.
We can simulate dblclick with single clicks.

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: Ic9ae58a39122025c9947294ebfd2292ffe04ae5c
2023-08-30 14:29:02 +02:00
Miklos Vajna
9b3139d65a wsd: fix -Werror,-Wimplicit-const-int-float-conversion
wsd/ClientSession.cpp:520:32: error: implicit conversion from 'uint64_t' (aka 'unsigned long') to 'double' changes value from 18446744073709551 to 18446744073709552 [-Werror,-Wimplicit-const-int-float-conversion]
                    (counter < (uint64_t)(std::numeric_limits<uint64_t>::max() / 1000)))
                             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Which is a problem since commit e0b70657fa
(cid#318912 Result is not floating-point, 2023-08-23).

Let's make the conversion explicit, hoping that makes both Coverity and
clang happy at the same time. No change in actual behavior intended.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ib9727f0df4df65a9504d421654d519bee0733b80
2023-08-30 09:25:27 +01:00
Michael Meeks
f34efeecd3 Add trimming to activity log in case of crash.
Also rename trimIfExcessive to trimAfterInactivity.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I62166a3ed5d70d1e6fd9804e91e07452978523fd
2023-08-29 20:18:23 +01:00
Gökay Şatır
c582d75f57 Add forgetten classes.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Id76723360ee1d2cd71cfa410fee9795de10e9981
2023-08-28 23:45:51 +03:00
Gökay Şatır
71e375a551 Fix typo.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I66062157325b44e37dcff0c18752894fb24b4ce0
2023-08-28 23:45:51 +03:00
Gökay Şatır
c6fa5283e5 Add missing classes to notebookbar impress definitions.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Id52d5bafc95245bbeb3160dbdcd43034f1b5b083
2023-08-28 23:45:51 +03:00
Gökay Şatır
d03b2cb0bb Update Cypress tests.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ia0a89b93762a7cd589755408b9dd22ba6652bd73
2023-08-28 23:45:51 +03:00
Gökay Şatır
5f6960a396 Impress: Add remaining accessibility definitions.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I6efd18c834e1d3aa4d3ade7a94b84fc86c5e9e02
2023-08-28 23:45:51 +03:00
Gökay Şatır
28e594c0c4 Don't add info boxes for hidden items.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ie28dea5a406b1f1b5dbdc1fd7b0d89216d235807
2023-08-28 23:45:51 +03:00
Gökay Şatır
e0604e18d7 Add definitions for tabs and 2 tabs.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Id7641cccf696e81cfcd49907f4043b8887d8f115
2023-08-28 23:45:51 +03:00
Gökay Şatır
46bb8cce73 Correct the focusback check.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ia632e35a7dd1deb3634d291072cd40454de6663e
2023-08-28 23:45:51 +03:00
Gökay Şatır
89ac822b59 Simplify definitions.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ieb131caec471b832dae16a44487d64599c85d1d8
2023-08-28 23:45:51 +03:00
Gökay Şatır
68e283a9f4 Assign ids.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ia3879804811ffa607571d6fd0827143a32cc72e0
2023-08-28 23:45:51 +03:00
Andras Timar
a719c0fd02 Bump version to 23.05.3.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8ef60145a559efdc62971370ae867c14b225a50b
2023-08-28 21:59:15 +02:00
Pedro Pinto Silva
6ed9065bb5 Navigator: fix active element style on dark mode
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7f7e2d48eedf0f204acefadccb36764f553d65f5
2023-08-28 21:52:51 +02:00
Luna Jernberg
d40c8d2b4c Translated using Weblate (Swedish)
Currently translated at 100.0% (467 of 467 strings)

Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sv/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6cde37550096969631cd6305f9ed9ebc9336fda5
2023-08-28 21:36:33 +02:00
Ettore Atalan
e41f1b02a5 Translated using Weblate (German)
Currently translated at 98.9% (462 of 467 strings)

Translated using Weblate (German)

Currently translated at 99.2% (515 of 519 strings)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I51f974988cdc1995b14205447a67d3cc8fac53e4
2023-08-28 21:36:33 +02:00
Sabri Ünal
8de2e21869 Translated using Weblate (Turkish)
Currently translated at 100.0% (467 of 467 strings)

Co-authored-by: Sabri Ünal <libreajans@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1e734f15e2400699b15fc62b10cc878d7882504e
2023-08-28 21:36:32 +02:00
Ihor Hordiichuk
878091ad25 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (519 of 519 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icde645fb1c038faf867e3f1ba4f4b1024fa2948b
2023-08-28 21:36:32 +02:00
Gökay Şatır
c1d477c051 Translated using Weblate (Turkish)
Currently translated at 100.0% (519 of 519 strings)

Co-authored-by: Gokay Satir <gokaysatir@gmail.com>
Co-authored-by: Gökay Şatır <gokaysatir@gmail.com>
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: I297fd2d94fcf4ca287e4460fe508cfe7a7459a47
2023-08-28 21:36:32 +02:00
Leif-Jöran Olsson
7f25814f1c Translated using Weblate (Swedish)
Currently translated at 99.1% (463 of 467 strings)

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/help/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I517e8df4ca270315ff976a556b6ac92e6bfa2961
2023-08-28 21:36:32 +02:00
Martin Srebotnjak
f4e952e8a8 Translated using Weblate (Slovenian)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Slovenian)

Currently translated at 99.4% (516 of 519 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ieb7b43042ee5a4ceeb708c1d96ccc38c7c5fb278
2023-08-28 21:36:32 +02:00
Mike Kaganski
0d08538bcc Translated using Weblate (Russian)
Currently translated at 65.9% (308 of 467 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (519 of 519 strings)

Co-authored-by: Mike Kaganski <mikekaganski@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic7337bb2d6197e6f7fe87673a88504349f8241ab
2023-08-28 21:36:32 +02:00
Matthaiks
df2147f7d7 Translated using Weblate (Polish)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (519 of 519 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Idb8f8b514a6a2fa0ea49be8e1632c0366e8756a5
2023-08-28 21:36:32 +02:00
Sebastiaan Veld
5c3a83d2dd Translated using Weblate (Dutch)
Currently translated at 100.0% (467 of 467 strings)

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/help/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9127207a95ee3354cde04488e888dd004f074614
2023-08-28 21:36:32 +02:00