Commit graph

20753 commits

Author SHA1 Message Date
Ashod Nakashian
31bd6f6308 wsd: test: improved UnitLoad
And re-enable a number of previously
disabled tests. They seem stable.

Change-Id: I6d263708edbf1ca0411500a6876e110be8acb326
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-31 07:40:11 -04:00
Ashod Nakashian
cec4cf087a wsd: test: initialize logs before unit-tests
Make sure that the logging subsystem is
already initialized before starting
unit-tests.

Change-Id: I2ce3ffdb2d3b0094ae7ed496d7cacfc02af89c21
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-31 07:40:11 -04:00
Ashod Nakashian
c0908ecc8c wsd: test: fix uninitialized member
Change-Id: I4c103e1e11ee022e25c2097fb29dc798dfc8b466
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-31 07:40:11 -04:00
Pedro Pinto Silva
cfd9fb6a20 Do not assume who the user needs to contact (storage error messages)
Better to make all error messages related to storage consistent and
avoid mentioning admin or administrator and respective %storageserver
link
- In some situations %storageserver domain is not the right place
to redirect users (integrator might have another support system in
place, etc)

This is a follow up from
- PR: Do not assume who the user needs to contact for storage space
- Commit: 2ace217813

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id49e4b7f775c1ded10fb02648c7525c6e9becf20
2023-05-31 09:21:14 +02:00
Caolán McNamara
e2e1a7473c Related: #6423 _removeTile nearly never populates the tileCache
if the tile has a Canvas as tile element then it never gets cached.

All was apparently well at:

commit c812edc7d3
Date:   Mon Jun 7 12:31:26 2021 +0530

fix avoid putting empty tiles to cache

where the change to cache only if tile.el.src is non-null was added.

But by now tile.el can be (usually is) a canvas and generally doesn't
get cached here.

It seems to work fine to just cache the Canvas directly.

note: This cache guard itself flip-flopped a bit in:

commit 6db9771896
Date:   Wed Jun 9 15:45:07 2021 +0300

CanvasTileLayer: Use el instead of el.src.

where changed as:

- if (!(this._tiles[key]._invalidCount > 0) && tile.el.src) {
+ if (!(this._tiles[key]._invalidCount > 0) && tile.el) {

but reverted in:

commit 115d20082d
Date:   Tue Jul 6 15:59:08 2021 +0300

CanvasTileLayer: Correct the check for the tile source.

back to:

+ if (!(this._tiles[key]._invalidCount > 0) && tile.el.src) {

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I1760f94c0aebd10b75f936f23460f96159c736af
2023-05-30 21:12:22 +01:00
Darshan-upadhyay1110
f7655fe928 fix Draw - Page Layout cannot be open from top tool sidebar icon
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: If9a57484a8335034e3007f47513cd4827c8decbc
2023-05-30 19:04:36 +02:00
Julius Härtl
24446e274c fix(darkmode): Fix toggling darkmode in notebookbar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: Ia8b490de6144df771e5ee115c068b87e997e3ccb
2023-05-30 19:03:44 +02:00
Attila Szűcs
46a44c743a Navigator: cypress test for draw
Added Desktop tests for draw

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: I94a5048c8bf6082059375c5742fb781263c643f4
2023-05-30 14:19:01 +02:00
Attila Szűcs
86dd559d29 Navigator: fix view->sidebar button in compact view
Changed to open PropertyDeck as it does in tabbed mode.

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: I39c0efe7428d2ff3240f16578c154be820374517
2023-05-30 14:19:01 +02:00
Attila Szűcs
fd957a2c7d Navigator: added to Draw
Added navigator button to draw, just like in writer, calc, impress.

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: Iab06ff192357d9cfb47d373f0cf0dfd181f3e052
2023-05-30 14:19:01 +02:00
Attila Szűcs
f2d89c93a7 Navigator: more cypress tests
Added Desktop tests for calc and impress.

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: I80616cc9e8a9dd7160e9b33fa50047db83911590
2023-05-30 14:19:01 +02:00
Attila Szűcs
74181fed7a Navigator: cypress tests
Added Desktop, and Multiuser tests for writer.

Signed-off-by: Attila Szűcs <attila.szucs@collabora.com>
Change-Id: I1bbb32303c66eb499cb837289a51caafdf2055a8
2023-05-30 14:19:01 +02:00
Michael Meeks
f76c8daf0c restore tile debug popover content.
Somehow escaping was disabled for this safe text we generate.

Change-Id: I47fbf72b9d47a80975ca1b926ff2d27c248fac12
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-05-30 09:16:38 +01:00
codewithvk
496c8073eb Draw - Change tool tip text to Page Layout
Signed-off-by: codewithvk <vivekpatel7202@gmail.com>
Change-Id: I855902ac8a00947cd753d9ca7e21ea51cce6ee9e
2023-05-30 09:36:51 +02:00
Gökay Şatır
dacb9c595e Wait for the annotation animation before editing.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I76c665b2a83084955949929ecf3daf3fdd393aa4
2023-05-30 10:30:38 +03:00
Gökay Şatır
a9d2f81640 Make annotation menu accessible.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: If5c64d65b103cad578a11e2244ec6e3f093fe3ae
2023-05-30 10:30:38 +03:00
Rizal Muttaqin
baeabbb1b5 Update the light icons
Signed-off-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Change-Id: I4578af696b6601d851894069a7041b8ac4604409
2023-05-30 07:02:13 +02:00
Rizal Muttaqin
aecd4ce950 Add missing Colibre Dark Icons
* Resolves: #6447
* Resolves: #4880

Signed-off-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Change-Id: Ib7d35d28a6381029e4229c9c433ba4bd5d269062
2023-05-29 18:41:31 +02:00
Julius Härtl
1471ea6d9b fix: Avoid important property on all classic toolbar w2ui icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I2a2ace9ffc2a31d500b6819f790a07e5762a5f6a
2023-05-29 18:34:58 +02:00
Aron Budea
c6c24e3d8a browser: Improve menu & tabbed view items in Impress
- rename Master Slide to Master View so it matches sidebar text
- rearrange sidebar menu items
- rearrange sidebar tabbed view items

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I333c5aba8c75d1c2814ed1902ae1754f032d8752
2023-05-29 14:21:17 +02:00
Szymon Kłos
20f982b135 zotero: initialize only one time
we didn't check if zotero was already initialized what caused
reload of the notebookbar when any new user joined to
collaborative editing

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5a518d579ccb9e73007131ba64fb8c7972360155
2023-05-29 08:41:42 +02:00
Gökay Şatır
04d93b5665 Fix this/that binding problem.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ibd88b588d2aa26c1b1e3380f3f336521b200fe2a
2023-05-27 19:27:56 +03:00
Gökay Şatır
82b6ef97c1 Add pointer for map variable.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Id9ff2ba9954c513b86e183c5f013048c3856f2fe
2023-05-27 19:27:43 +03:00
andreas kainz
35a48c8c34 Sidebar.ParaPropertyPanel css class merged
identfieldbox and box3 use the same css class see #6392

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I7a95fdd8ae3a9bfffbe676917cb412a99cb40818
2023-05-26 11:06:22 +02:00
Pedro Pinto Silva
6b7cb803b2 Fixes: Sidebar icons are cut off
This hard coded width is not needed and was imposing that width value
to #indentfieldbox even if there is other elements present resulting
in the whole container being bigger than the sidebar itself

This issue became more evident with
27fddae9c6 (even
though it's not related to the bug but rather exposed it even more)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I90e684b395b950e4cc25a96a9875d4702016411d
2023-05-25 16:04:27 +02:00
Szymon Kłos
8fe7cf5fec navigator: fix switching in compact mode
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia5582f36df528235e6ca3f8df583412becd47203
2023-05-25 13:16:29 +02:00
Darshan-upadhyay1110
5548d062c8 Added image path for icons when toggle to dark theme
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I14a99df7cf10bf73f898f15d3aaa5a32c9cd51af
2023-05-25 11:13:18 +02:00
Rob Pearson
a2ef7dbf96 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (499 of 499 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (499 of 499 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (499 of 499 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
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: I3a8048b05d463e21474ff42303fc956bba46bbda
2023-05-25 09:22:48 +02:00
Stanislav Horáček
d01e9626da Translated using Weblate (Czech)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifa7f827e5dab692ef20fd5e086da4f45cb448319
2023-05-25 09:22:47 +02:00
Nguyễn Hoàng Minh
ab0bed4e1c Translated using Weblate (Vietnamese)
Currently translated at 99.5% (455 of 457 strings)

Co-authored-by: Nguyễn Hoàng Minh <mingu03@yandex.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7f0c7ce9649ebcb43cae8c3d37dac81d38cc04a1
2023-05-25 09:22:47 +02:00
Ihor Hordiichuk
bcaf3e4504 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I54ea778b1a09c1c309f8117d2175dad549224cc8
2023-05-25 09:22:47 +02:00
Martin Srebotnjak
540aa45309 Translated using Weblate (Slovenian)
Currently translated at 100.0% (499 of 499 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: I21ac216193bed030542162fa9a76c7b15ca70933
2023-05-25 09:22:47 +02:00
Matthaiks
43a6f2088d Translated using Weblate (Polish)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib27b82bb82d3a73f0deea6fa88bef189f88bf782
2023-05-25 09:22:47 +02:00
Milo Ivir
66eaa8fd27 Translated using Weblate (Croatian)
Currently translated at 100.0% (499 of 499 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: Ibd2cb3536327a28b9ada78fd1b74d4d61532cc50
2023-05-25 09:22:47 +02:00
Yaron Shahrabani
3988999129 Translated using Weblate (Hebrew)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icbc7fbcabe2022047f4787f951d347ac533c28fe
2023-05-25 09:22:47 +02:00
gallegonovato
9ab1033aee Translated using Weblate (Spanish)
Currently translated at 100.0% (499 of 499 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6788f56f34197d1c7f75d22042ef7aca4d159f65
2023-05-25 09:22:47 +02:00
Andras Timar
60ac4b0356 Bump version to 23.05.0.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I59b02ca562f0fb3618a18c308e34903da5a7b8fd
2023-05-25 09:22:03 +02:00
Szymon Kłos
fad3441650 linking-api: always response for thumbnail render requests #6416
followup for:
commit 012b00d
linking-api: always response for thumbnail render requests #6229

in calc and impress we don't get cursor message when switching to
target (slide, range), so don't check if target was reached,
statechanged messages are good enough signal we are loaded already

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I63aa5aefeef153d4d6e2b483e1cdb7bf2c6268ac
2023-05-25 09:14:58 +02:00
Andras Timar
bd119af2bb iOS: build fix
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Idc47510f5b6c28f27b3cfac476e7a648dad03fb5
2023-05-25 09:13:32 +02:00
Pedro Pinto Silva
0408fd62c3 Sidebar: Align everything to start and remove unnecessary css
Better to align everything to start so if the components differ in
width they will still be aligned (as opposed to be laid out in a staircase)

This is a follow up from 1bfbdf8072 coming with
the following PR https://github.com/CollaboraOnline/online/pull/6389

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic607567d30656cc122f9cbfd71bd3d910ebfe9bf
2023-05-25 09:09:47 +02:00
Gökay Şatır
1c28a4a5f3 Fix: Can't focus to map after a popup is closed.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I2a0c59001761489f34cdc9ab9be8c1d6255c4eff
2023-05-25 02:48:05 +02:00
Szymon Kłos
82628571d8 jsdialog: position autofilter popup correctly in RTL mode
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0e06dac7a7bed611b0117eada7b23bfa33f2dfb0
2023-05-24 20:57:26 +02:00
Darshan-upadhyay1110
fcfacd5081 removed An unknown button appears on top right of a document in android
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I6c0f1d62a19ecb55228012bef48373b97991461a
2023-05-24 14:00:20 +02:00
Szymon Kłos
476db83791 jsdialog: add class to treview icons #6417
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie3a965164445a2163db3378e374b5496b8de00cd
2023-05-24 13:46:30 +02:00
Pedro Pinto Silva
262669a237 Dark mode: fix shadow color
Use dark shadow

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0f8bc58470d3c0e5842a4bd293920775da187399
2023-05-24 10:29:29 +02:00
Pedro Pinto Silva
fffa61337a Fix menubutton tooltip, pos and style
- Do not appear above color
- Re-use tooltip styles

This fixes https://github.com/CollaboraOnline/online/issues/6293

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Idf67c23b2263e5eeabc70a7128087333856aa465
2023-05-24 10:29:29 +02:00
Pedro Pinto Silva
e0c752b4f8 Tooltip: increase text color contrast
Follow up from 1ffb35d18d

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I203b4af8818f282bf18c405790e016fd4a6369fe
2023-05-24 10:29:29 +02:00
Pedro Pinto Silva
71c4bb392d Fix borderless buttons on desktop
It seems the following commit
be04111173
had a typo 0px should have been 1px

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ibf3b92964efd8a1a147abc853042fd70a406abaf
2023-05-24 10:29:29 +02:00
Pranam Lashkari
1f2367f563 wsd: const parameters
follow up for 25efeea0d8
missing const in modified function caused build error

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ic0f4ae39476e16a9a49904e06b44f26d2a5d4fe7
2023-05-24 15:20:17 +07:00
andreas kainz
1bfbdf8072 Sidebar calc Alignment fix button size of align icons
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I954c7885946dfd4e13261622673d1b97ef59001c
2023-05-24 09:41:47 +02:00