Commit graph

21691 commits

Author SHA1 Message Date
Fatemeh Komeily
00f4a748f3 Translated using Weblate (Persian)
Currently translated at 96.6% (490 of 507 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fa/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib0951375b5d5d71e2be6fda1f236d672a98f1219
2023-08-24 09:23:29 +02:00
Fatemeh Komeily
3325741a8e Translated using Weblate (Persian)
Currently translated at 0.6% (3 of 463 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fa/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0fd177abb207227240d76c653d8a2b20e274ac48
2023-08-24 09:23:29 +02:00
Fatemeh Komeily
9ebe27f533 Translated using Weblate (Persian)
Currently translated at 83.0% (421 of 507 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fa/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6d6f6b5a258c17ac568cbdb8318437707a0db6d7
2023-08-24 09:23:29 +02:00
Ali Elminia
212ed8118f Translated using Weblate (Persian)
Currently translated at 80.2% (407 of 507 strings)

Co-authored-by: Ali Elminia <ali.elminia@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fa/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I96b95cc39164d319b1dd175e1c4bc92f59f76a06
2023-08-24 09:23:29 +02:00
Fatemeh Komeily
1427838dfd Translated using Weblate (Persian)
Currently translated at 0.4% (2 of 463 strings)

Translated using Weblate (Persian)

Currently translated at 80.2% (407 of 507 strings)

Co-authored-by: Fatemeh Komeily <komeily.fatemeh@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fa/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fa/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib5305dee30fac650a7ae4ad0b54024dadd572f05
2023-08-24 09:23:29 +02:00
Salif Mehmed
b67a995cdd Translated using Weblate (Bulgarian)
Currently translated at 56.4% (286 of 507 strings)

Co-authored-by: Salif Mehmed <mail@salif.eu>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/bg/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I749f69aaa0ffaab746fd32b61c51a7eb8744a318
2023-08-24 09:23:29 +02:00
Влад
42e50ab165 Translated using Weblate (Russian)
Currently translated at 66.5% (308 of 463 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Влад <integration.into.society@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: I737794ab9edd43affe92ce1ed946cb4b2d7108b2
2023-08-24 09:23:29 +02:00
Reza Almanda
0855e1763a Translated using Weblate (Indonesian)
Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/id/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/id/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifb59ded2241915d631e226278457e1db84965dda
2023-08-24 09:23:28 +02:00
Joan Montané
1666970674 Translated using Weblate (Catalan)
Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Joan Montané <jmontane@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If0102cbee5b03a841a0f981f5a058e81a412bc88
2023-08-24 09:23:28 +02:00
SC
9cd6980f76 Translated using Weblate (Portuguese)
Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iecfb11300ca7b88b9d5ac1e302a18d1911eda0f7
2023-08-24 09:23:28 +02:00
Alexander Gabilondo
d2a91a640e Translated using Weblate (Basque)
Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (Basque)

Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Alexander Gabilondo <alexgabi@openmailbox.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eu/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2fd7abb99512784d6a75e3568f0fcb12c0d11b06
2023-08-24 09:23:28 +02:00
Sveinn í Felli
7ceb2c5f96 Translated using Weblate (Icelandic)
Currently translated at 100.0% (507 of 507 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: Ie447bb45fac5f16d15dd3806facc3c8289ec8148
2023-08-24 09:23:28 +02:00
Rob Pearson
d89eea5b98 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (507 of 507 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7fa179ebc9393c8b35e8057f9e3610b5d0ffb9d3
2023-08-24 09:23:28 +02:00
Ayhan Yalçınsoy
5db9812a21 Translated using Weblate (Turkish)
Currently translated at 100.0% (507 of 507 strings)

Co-authored-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
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: Ia307ca5dfa45473dbe283102c5c98257fc0f9b00
2023-08-24 09:23:28 +02:00
Martin Srebotnjak
03e08379f2 Translated using Weblate (Slovenian)
Currently translated at 100.0% (507 of 507 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: Ib8471d45e5884e7ecfdf63b1394db0d302c2a5f7
2023-08-24 09:23:28 +02:00
Milo Ivir
0ea0739fd3 Translated using Weblate (Croatian)
Currently translated at 100.0% (507 of 507 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: I9029d57117d182967f54a8a0e53de2b2208ac0bc
2023-08-24 09:23:28 +02:00
Caolán McNamara
e3cfc935ff cid#318907 silence Uncaught exception
silence various of these in tests and utilities

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I4fcc95b1b5d5c95e5ac40782550f95c08a3467bd
2023-08-24 08:30:40 +02:00
Caolán McNamara
e0b70657fa cid#318912 Result is not floating-point
we presumably want the current behaviour so silence with
an appropiate explicit cast

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ibed4cb2cc31b26195e407f25f7f0a2ea7172c67d
2023-08-24 08:30:40 +02:00
Caolán McNamara
da54b23538 cid#322632 COPY_INSTEAD_OF_MOVE
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: If53b75521fa07d89828aaff06834f741e2b64a5a
2023-08-24 08:30:40 +02:00
Pedro Pinto Silva
6d7efe9876 Add missing renamedocument button
The newly added button in 24ac74db4f was
only added to writer

Also add css class

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I630640d94884cb5e50559fbbd8298554deb0a651
2023-08-23 16:18:04 +02:00
Caolán McNamara
26934061b1 cid#318872 Improper use of negative value
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ia76b677d466c67fc47760fdcb41459446c4c8e8e
2023-08-23 12:06:31 +02:00
Caolán McNamara
7163b2f9d7 cid#318896 AUTO_CAUSES_COPY
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I1d34ae9287e3c639255541584e3daf9209387bc5
2023-08-23 12:06:31 +02:00
Caolán McNamara
492f678996 add and use 'N_ELEMENTS' in lieu of std::size
which isn't available in the current android toolchain

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I5834adb7c6211c7aad38f5977a7e425d9ca257fd
2023-08-23 12:06:31 +02:00
Pedro Pinto Silva
e7a314caa1 Notebookbar: introduce simple search button
This way we increase status bar discoverability ( fixes #7098 ) and
group both search functionality in one place in the home tab

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia1fa8fe58903088aad37a560edd033a184d35e0e
2023-08-22 21:23:07 +02:00
Skyler Grey
2e07fcb1a3 Fix 'manage changes' dialog expanding infinitely
A regression in change ID I8551242fc2b987f00c67088caa0ed07ee8526a72
caused the manage changes dialog to continue expanding when new elements
were added, no matter how big it got. This would cause you to be unable
to see all the changes when there were a lot of them because you could
not scroll through the list. This patch fixes the scrolling, without
making the list area very small again.

Change-Id: Ib29fb161522773ea9893b7bc21d06aab19b74c52
Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
2023-08-22 19:04:29 +02:00
Oli
8eae2a0adb Prevention of triggering the autocompletion list
A box would appear when accessing the accessiblity mode.
This was because of the autocomplete feature.
This patch disables it when using the accessibility mode.

Signed-off-by: Oli <oli.baker@collabora.com>
Change-Id: I461956b591271b2d3513bce7f81d136da6ca37a7
2023-08-22 19:02:22 +03:00
Oli
9399fced21 Moved the up arrow key event to tab pages
Tab pages now hold responsibility for catching the event.
Events were previously assigned to each individual element.

Responsibility is on each page and not the "toolbar-wrapper" element.
This is to allow functionality to also exist in jsdialogs.

Signed-off-by: Oli <oli.baker@collabora.com>
Change-Id: I57681c3573d9931a79856fb8ed43f119bf019535
2023-08-22 19:02:22 +03:00
Oli
7cbeb987bb Removed use of tab pointers before tab selection
This was done to avoid using accelerator keys before a tab is selected.

Signed-off-by: Oli <oli.baker@collabora.com>
Change-Id: I4bc8a8cd8d885491624e8c769bcbab123104189b
2023-08-22 19:02:22 +03:00
Oli
08757d2b3f Fix accessibility up and down keys on first load
There was an issue where on first loading a document and pushing the alt
key to bring up the accessibility mode, the up and down arrow keys would
not move focus up or down in the notebook bar. This only occured on
first loading the document.

Signed-off-by: Oli <oli.baker@collabora.com>
Change-Id: I003b74ecbaae80a6baf33709fa16d47261a1ed2e
2023-08-22 19:02:22 +03:00
Oli
a8a0ed20bb Make up and down arrows move focus in notebook bar
Previously when focus was inside the notebook bar you could not change
between having focus inside the tab pages or on the tab buttons. Now the
up and down arrow allows entering and escaping from the tab pages from
the tab buttons.

Resolves #6933

Signed-off-by: Oli <oli.baker@collabora.com>
Change-Id: I1cf696223ff5739e6a48095acbdf3fd778af1ffd
2023-08-22 19:02:22 +03:00
Rash419
ccb20f1ed3 android: enable webview localstorage
- priortize theme settings from SettingsActivity over savedState
- fix darkmode toggle button does not behave as expected

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Idb884cba3af335edc0936736f35610e91cfd64e6
2023-08-22 10:20:27 +02:00
Darshan-upadhyay1110
1626281940 Update shortcut information for calc sheet
Added information in help tab (keyboard shortcuts)
 - About moving back and forth in between calc sheets using keyboard shortcuts
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>

Change-Id: I7ccbc194fe67fb36f9d68827dfa7c5636c9bc7e8
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
2023-08-22 10:08:02 +02:00
Caolán McNamara
205f6d3119 Related: #7079 handle tile requests inside viewport first
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ie25c7711485f37ab4d038a1c1d1dc1e4d4a8dd4f
2023-08-21 20:48:31 +01:00
Caolán McNamara
6d5c78dec0 move "combined" bit inside TileCombined class
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I274c5844660acbf69e50587cce3f4ddcae414723
2023-08-21 20:48:31 +01:00
Szymon Kłos
da75488a46 jsdialog: handle vertical tabcontrol
vertical tabcontrol has "vertical: true" property

for now just handle it as normal tab control,
it doesn't use tabpages but regular grids for
tab contents

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie374f8c68cbbf1e3076ca884ab54568ee204f04c
2023-08-21 15:19:23 +02:00
Darshan-upadhyay1110
7ef605badd Switch tab using keyboard shortcut
LO is offering this using `CTRL`+`PageUp` or 'PageDown`.
- but there are some browser restriction related to security purpose some of the event we can not prevent.
- for an example CTRL + PageUp will not be prevented using JS in browser ( as per browser security rules )
- so i have tried to add this shortcut using Ctrl + Alt
- we can cycle through all sheets.

Adding this small enhancement  as part of this `HackWeek` :)
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I4e76a0cc382fbe97f16037c8f9d78174e8663491
2023-08-21 14:44:37 +02:00
Skyler Grey
de7d4335ff Fix failed starts when core is at a relative path
- Previously giving --with-lo-path as a relative path caused collabora
  online to crash with "component context fails to supply singleton"
  errors
- This patch uses readlink on the with-lo-path option, expanding it into
  its full canonical path
- I could probably have gotten away with realpath, but for consistency
  with --with-lokit-path I decided to use readlink -f

Change-Id: I16aacddbda9749451578fb7aded6c3c4e145ee26
Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
2023-08-21 13:48:21 +02:00
Maks Wolkowinski
31ae779d82 feat: Add tooltip to hide menu button (compact view)
Signed-off-by: Maks Wolkowinski <m.wolkowinski@beebuzziness.com>
Change-Id: I05011bf9ffec99af8558c7af06dce5e350511f7c
2023-08-21 10:45:13 +02:00
Rash419
8310af30f0 fix: empty mobile wizard when opened for the first time
- it was only affecting wizard with tabs

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I6172a3a1a498982927e63676c4743be8f2ff9d80
2023-08-19 10:14:40 +02:00
Pedro Silva
9ac61152e1 Fix Rename document button works only on tabbed view #7109
We forgot to dispatch it

Signed-off-by: Pedro Silva <pedro.silva@collabora.com>
Change-Id: If1ae87ee8029d469d092680437023d389efcdec7
2023-08-19 07:55:10 +02:00
Rash419
c9e7591add clusteroverview: send routeToken with auth message
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I6412d68ef0c86d7a618eaf0ad252c16dee565d77
2023-08-18 23:27:04 +05:30
Gökay Şatır
6137636083 Add other missing classes.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I5fb6148e872776a3d6c3adc9f5c1421cf57ea2e8
2023-08-18 15:08:53 +03:00
Pedro Silva
d45b307e3f Notebookbar definitions: add missing class for dark mode toggle
Signed-off-by: Pedro Silva <pedro.silva@collabora.com>
Change-Id: Ie720f4dc762623bff0682162385fda7d591ebe0c
2023-08-18 15:08:53 +03:00
Pedro Silva
1404686fde Notebookbar definitions: add missing class for show resolved comments
Signed-off-by: Pedro Silva <pedro.silva@collabora.com>
Change-Id: I1de88564a4bd588544801f66518b964afa253a18
2023-08-18 15:08:53 +03:00
Pedro Silva
a1e916812f Notebookbar definitions: add missing class for collapse tabs
Signed-off-by: Pedro Silva <pedro.silva@collabora.com>
Change-Id: Ib9ca5fb61908cd2e5d621158478ab29aaff4b1c0
2023-08-18 15:08:53 +03:00
Gökay Şatır
edafed2413 Add missing class names to notebookbar definitions.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I15fb9fdba0d019a865c1edf42f1ab7b2197b4136
2023-08-18 15:08:53 +03:00
Gökay Şatır
1fd4c05111 Add "class" property to JSDialogs items.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I130b28ff40f9adf6bf05e2aed433e8ecc92acb1d
2023-08-18 15:08:53 +03:00
Darshan-upadhyay1110
c3aaae077f Add missing dark mode toggle in mobile view
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I89100d703444e8bfe2a8960d00c62a1e1ea88a84
2023-08-17 19:08:22 +05:30
Pedro Pinto Silva
3103ab5c66 Add missing rename document icon
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I219161ffc505c5093f3f8226960f7a7d35455d7e
2023-08-17 15:13:41 +02:00
Aron Budea
a1a6817e4d unocommands.py: Treat JS/TS files as UTF-8
Otherwise eg. non-ASCII shortcuts appearing in files can cause
failures like this.

Traceback (most recent call last):
  File ".../rpmbuild/BUILD/coolwsd-23.05.2.2snapshot/scripts/unocommands.py", line 454, in <module>
    toolbarCommands = extractToolbarCommands(onlineDir)
  File ".../rpmbuild/BUILD/coolwsd-23.05.2.2snapshot/scripts/unocommands.py", line 163, in extractToolbarCommands
    for line in f:
  File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]

Encountered after 1a2500c8d3.

This is not ASCII in browser/src/control/Control.NotebookbarWriter.js:
`'accessibility': { focusBack: true,     combination: 'AI',      de: 'ÖI' }

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I72aac2809530c14b9440f73e5072db17770f438a
2023-08-17 11:55:34 +02:00