Commit graph

20864 commits

Author SHA1 Message Date
Nguyễn Hoàng Minh
275a15c5bd Translated using Weblate (Vietnamese)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: Nguyễn Hoàng Minh <mingu03@yandex.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/vi/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic2b92ceaa2118d8eadd2dbc4924117dc971c48a2
2023-06-09 07:32:08 +02:00
Sebastiaan Veld
e92b3985b7 Translated using Weblate (Dutch)
Currently translated at 100.0% (499 of 499 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: Ic8b7df0901a8a3a1a94ed09d33708edfe9bfde71
2023-06-09 07:32:07 +02:00
Milo Ivir
ea3043711f Translated using Weblate (Croatian)
Currently translated at 100.0% (463 of 463 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4ed5b089ebc813e5fc4438dad32a3529b2a31366
2023-06-09 07:32:07 +02:00
Sveinn í Felli
73ef690c1a Translated using Weblate (Icelandic)
Currently translated at 100.0% (499 of 499 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: Ia42ebf22f4d01f4e7a9e9e9a7d5b8ddecb21efca
2023-06-09 07:32:07 +02:00
Andi Chandler
b3ef7abcc0 Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (463 of 463 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: Andi Chandler <andi@gowling.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4b0dde00265ca7a81febf9d633ea6f323696cfe2
2023-06-09 07:32:07 +02:00
Attila Szűcs
7414f0b1c1 navigator: explaining text in case of empty contenttree
Add a TR with the text:
"Headings and objects that you add to the document will appear here."
if the navigator is empty.

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: Iff944df90b921e6f6415d2a3bee462b86e5a5eb4
2023-06-09 07:28:35 +02:00
Rash419
4e12eb6e7b fix: mix compact and tabbed view
- happens when toggle darkmode in readonly document

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I14c8e710ff33084e7380e1738f80c9101fdc9f70
2023-06-09 07:26:55 +02:00
Miklos Vajna
a901db436c kit: fix missing init of _isDumpingTiles in ChildSession
This was forgotten in commit 21966e1a9c
(Fix copy command going out of bounds during delta creation,
2023-05-31).

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I91ce26f46cc6cb7a2dc3ab0665dc9aeea8a5c00f
2023-06-09 01:36:58 +03:00
Rash419
902fedf655 fix missing icon 'Open in local editor' in compact mode
- use encodeUri instead of encodeURIComponent because
 it preserves those characters that are part of the URI
 syntax

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ibde1b9ad40424b9bd2ce065cddfe2e83b23271c5
2023-06-08 18:51:47 +02:00
Aron Budea
b152b35a6d browser: Fix Calc tabbed button for auto spell checking
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: Ib1887e54a5cabacec90cf2989adbe596a165ba11
2023-06-08 16:46:25 +02:00
Andras Timar
e9a329ef43 when upgrading from 22.05 to 23.05, remove unsupported langpacks
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4d60997fd6347ddd8fb2667a11ef0550b161d673
2023-06-08 16:04:04 +02:00
Gülşah Köse
89ee7239ee Dark mode: make readable the links in About dialog
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I64bc99145943e98a6548d682917a120c0d8a33f4
2023-06-08 15:24:11 +02:00
Pedro Pinto Silva
45f400c7a5 Dark mode: add select state for buttons
Do not re-use light mode values.
Increase color contrast

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I514d4be5468dd3df50ab5256b64d0a22e659ad97
2023-06-08 14:44:50 +02:00
Pedro Pinto Silva
a1860a1463 Dark mode: lc_morebutton.svg: Increate container brightness
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6e371a9777215db482b89c05b07acdf06a15c44a
2023-06-08 13:53:57 +02:00
Pedro Pinto Silva
a03e0eaea9 Dark mode: Add missing icons
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8c4483144fa735d06daafef3171670b12773a4e3
2023-06-08 13:53:57 +02:00
Marco Cecchetti
961e8265e0 A11TextInput: clipboard area stolen focus from text search field
When a key was typed the focus was grabbed from the clipboard area
because of caret/text selection events received from core.

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: I60b945d7d4742faf4a946c836628bdf70b266eb7
2023-06-08 13:40:57 +02:00
Pedro Pinto Silva
468ca99820 Navigator: Fix and improve the selected item
- Categories (listview with icon) get highlight but not indicator
  - So it's understandable that they can be dragged
- Categories: change cursor so user understands that they can be grabbed
- All other treeview (even exapandable) get highlight and indicator
  - To help user's orientation

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8c275c81503787c60c4527a3cee63be8323686ef
2023-06-08 11:58:14 +02:00
Darshan-upadhyay1110
72227786a2 Add new css class for ui-treeView-entry that has icons inside
So it can be targeted in the styles

Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I167ed996f1625e44674e53e2c10daf78a4546b5d
2023-06-08 11:58:14 +02:00
Pedro Pinto Silva
09511d5116 Start navigator from the top
This is a follow up on the revert f4f95b2 since the scroll logic depends on the
absolute position

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5659701c2236dc89f764f45008e6e92c47a3f101
2023-06-08 11:58:14 +02:00
Pedro Pinto Silva
a0820fa9ca Revert "Navigator: do not resort to absolute position to set deck"
This reverts commit f4f95b27cf.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iff99928855684252cc6b48977940f8ddd827a865
2023-06-08 11:58:14 +02:00
Marco Cecchetti
d01bedc09c a11y: add config for enable/disable accessibility in general
A new section about accessibility has been appended to coolwsd.xml
config file

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: I086abdf73646639283eb655ae60f200fb64e495a
2023-06-08 00:00:51 +02:00
Jaume Pujantell
87ad301dc1 fix a bug introduced in 418ffa3
Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I938e02db8ad6adc85d6464d3260dfc8c0bb7ca9a
2023-06-07 18:44:49 +02:00
Gülşah Köse
32f0c658c9 Expand the Page style and Character dialogs #6493
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I5442d6a99bb202ad2a850ac42baf2140adc4d1a2
2023-06-07 17:47:37 +02:00
Pedro Pinto Silva
d4a4a84b13 Tunneled dialogs shouldn't have grey title bar
- Tunneled dialog was missing title bar color (was inheriting from
jquery ui library defaults)
- Also use the main background (lighter than bg-darker) for JSDialog containers

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If6db5ee2edad88b2785096eb746f291a07b46d70
2023-06-07 17:27:36 +02:00
Pedro Pinto Silva
573ed1bb0b Revert "Tabbed view: Fix save modified icon being cropped"
Better to move this elsewhere otherwise we get huge save icon

This reverts commit 247bc9192d.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
2023-06-07 17:15:19 +02:00
Caolán McNamara
71d630c607 DeltaTests::testDeltaCopyOutOfBounds fails in a build from make dist tarball
because data/delta-graphic.png and data/delta-graphic2.png are missing

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ie850d9ae76946e891d2928de80c5ded4e970f4cf
2023-06-07 14:48:39 +01:00
Darshan-upadhyay1110
ad6f2f2a65 Fix Canvas tiles color do no change when clicking the dark mode toggle
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: Ifdb5bbf06cb2ed5b8aa1e03ddb6796a0bc80b1c8
2023-06-07 14:27:13 +02:00
Szymon Kłos
f26fdd8114 jsdialog: tab cycle in tabbed dialog #6326
allow to jump to the last element in dialog by using
SHIFT + TAB in tabbed diaogs

also close button shoudn't be in the cycle

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Idfc75aa35a04add8e5673c45a9e94b670e877706
2023-06-07 13:30:56 +02:00
Szymon Kłos
e5bf100ff5 jsdialog: fix initial focus for combobox
combobox has inner < select > html element which should
be focused instead of main container

this can be tested in Insert -> Page Number in Writer

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5a336ae9e0fe86a11732b92276f4475724f2c21a
2023-06-07 13:30:56 +02:00
Caolán McNamara
bb617b90aa Related: #6514 removeCallbackDuplicate only needs up to 4 tokens
rearrange so we can use the tokens as they are generated and
can end tokenization early as we find we don't need any more

from:

|--74.39%--SvpSalInstance::CheckTimeout
|          SalTimer::CallCallback (inlined)
|          Scheduler::CallbackTaskScheduling
|          |
|          |--63.01%--desktop::CallbackFlushHandler::Invoke
|          |          |
|          |           --62.92%--Document::ViewCallback
|          |                     |
|          |                     |--62.11%--MessageQueue::put
|          |                     |          |
|          |                     |          |--61.95%--MessageQueue::put
|          |                     |          |          TileQueue::put_impl
|          |                     |          |          |
|          |                     |          |          |--61.51%--TileQueue::removeCallbackDuplicate

to:

|--44.61%--SvpSalInstance::CheckTimeout
|          SalTimer::CallCallback (inlined)
|          Scheduler::CallbackTaskScheduling
|          |
|          |--21.23%--desktop::CallbackFlushHandler::Invoke
|          |          |
|          |          |--20.75%--Document::ViewCallback
|          |          |          |
|          |          |          |--19.33%--MessageQueue::put
|          |          |          |          |
|          |          |          |          |--19.17%--MessageQueue::put
|          |          |          |          |          TileQueue::put_impl
|          |          |          |          |          |
|          |          |          |          |          |--18.69%--TileQueue::removeCallbackDuplicate

seen with 25 simultaneous joins to a local instance

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Iea4de188521f7cd8039d6ab60e9c52209fc3154d
2023-06-07 08:54:27 +01:00
Pedro Pinto Silva
9057c705f7 Dark mode toggle: fix flimsy selected state
I have noticed that sometimes the toggle doesn't get assigned with
selected css class. We could just rely on this line and avoid add and
removing css class to the DOM every time the mode changes

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7c19f626d60c761a1ebe2509e7ab7aa8031403ad
2023-06-07 07:57:28 +02:00
Gökay Şatır
2058aade1f Make the collapsed mode treshold narrower.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: If2d8ad40ba692473667a28bedfb8203d343940cc
2023-06-07 07:46:01 +03:00
Gökay Şatır
6c5f8f3a48 Add a button to color dialog for setting the color to auto.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I5a4b4b5a3c2960d21cdb894faa9e2cb488f66abf
2023-06-07 07:45:45 +03:00
Pranam Lashkari
8a330f6466 browser: impress: add copy/paste in slide preview context menu
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I9055525d672d8a45253f05ee1a1c23ebf991fa87
2023-06-07 01:52:05 +07:00
Pranam Lashkari
1e96bfcd1c browser: impress: introduce slide sorter context menu
added context menu entries which works out of the box

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ic0b598a575c4f0fb337ae79bc51cac2330d1115f
2023-06-07 01:52:05 +07:00
Pranam Lashkari
68c9b6924c browser: impress: provide unique id to slide previews
problem:
previously ids were assigned based on the position,
in many cases this id can be repeated on slide insertion which was problematic

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: If4dd5409518f91ecda58aa7de1e9bae293e83436
2023-06-07 01:52:05 +07:00
Gökay Şatır
31a74f7537 Disable navigator tests for now.
There will be a setting for them.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I75264e7de14f79642cfd33a7d798ec78188f9213
2023-06-06 14:49:30 +03:00
Szymon Kłos
369d1e0d3e jsdialog: default button inside form #6404
default button should be inside form so we execute
correct action on ENTER

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I2b9b489e6589f6b16f967a7e77c9d6389d322ff2
2023-06-06 10:04:24 +02:00
Pedro Pinto Silva
6f34bc03c1 Mobile: About dialog: remove unnecessary elements
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id929475af828f6bddf4abaadea443dd3f707af4c
2023-06-06 09:50:45 +02:00
Pedro Pinto Silva
cd5326c012 About dialog: make it wider
now that about dialog is not a vex it is inheriting width from
generic .jsdialog-window.modalpopup. Overwrite that and make it wider.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I830f57cc9fda9bea8e377d53e72af92c4804cf8d
2023-06-06 09:17:47 +02:00
Pedro Pinto Silva
bed76f1156 About dialog: don't apply duplicated border and shadow
About dialog is already inheriting those from
.jsdialog-window.modalpopup

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3f49284f3d818eccc62b1f49cc330267d1163319
2023-06-06 09:17:47 +02:00
Pedro Pinto Silva
60e7b72f48 JSDialogs: modalpopup use CSS var for border and shadow
And use the same values as .lokdialog_container.ui-dialog.ui-widget-content

This is a follow up from
- PR: https://github.com/CollaboraOnline/online/pull/6343
- Commit: a65de18694

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id2661cd4eec021305c6af6c26cfc184cc9968956
2023-06-06 09:17:47 +02:00
Rash419
81834bc466 added serverId and routeToken in about dialog
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I498dd2a9f1fb08d9af116ac27ac645b31b87ed57
2023-06-05 21:27:50 +05:30
Andreas-Kainz
ee5b5d8878 Sidebar writer Paragraph Section BackgroundColor justify-content: end
Signed-off-by: Andreas-Kainz <andreas_k@abwesend.de>
Change-Id: I23a5690b0b33dae426914ebef30fae6d97d598c7
2023-06-05 14:42:06 +02:00
Andreas-Kainz
cd5115aa8d jsdialogs radio button use same margin than checkboxes
Signed-off-by: Andreas-Kainz <andreas_k@abwesend.de>
Change-Id: I3d9611595819d505632fc58686f1ee9355228524
2023-06-05 14:21:58 +02:00
Shehr Bano
80b4e6d4ae Fix: Speed-up callbacks
Signed-off-by: Shehr Bano <shehr.bano@collabora.com>
Change-Id: I796d71e48ae7110fb8d88eda781e362faba75aa2
2023-06-05 13:56:41 +02:00
Gülşah Köse
07bbf1d38f Fit the images into the sidebar.
Without patch image sizes are 336px and seems cropped in sidebar.
We should use same width with sidebar width.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I617a4e79e15d1d49ca95aec8f5a20f95734160a2
2023-06-05 12:32:41 +02:00
Pedro Pinto Silva
f09f743636 Dark mode: Canvas, get directly the css var property value
- Get directly the particular css var that we want instead of on relying on a container
  - This makes things easier to maintain in the future
- Use a new --color-canvas instead of relying on --color-main-background
  - color-main-background is used in many other places which means
  that if we want to have some particular UI brighter or darker it
  would affect the canvas. Better to use a different/new css var for that

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3d7d3ba188e96080d9f6f814a5c46f85ea378142
2023-06-05 12:13:47 +02:00
Gülşah Köse
b3d4cb6a7b Check the integrator has smart link funcitonality #6489
Insert -> Smart Link option works if only the integrator supports the
funcitonality. If not supported not need to show to user.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: Iad6609ad6a90a57126b30288a9c089f9185d97f2
2023-06-05 12:07:46 +02:00
Paris Oplopoios
21966e1a9c Fix copy command going out of bounds during delta creation
When creating a delta, the copy command could copy from rows that are
bigger than the height of the tile. This would go unnoticed on light
mode because the js side that applied the delta would apply these out of
bounds rows with a white color, but it is noticable in dark mode. Made
it so the copy command stops copying from out of bounds.

Signed-off-by: Paris Oplopoios <paris.oplopoios@collabora.com>
Change-Id: I4d05cb411958d0945933edb5c812de2dfd9c1abd
2023-06-05 08:59:39 +01:00