Commit graph

19245 commits

Author SHA1 Message Date
Ashod Nakashian
19b6633625 wsd: more flexible 'save' command parsing
We expected the arguments passed to the save
command to be in a specific order, which is
restritive.

Here we allow for any argument(s) in any order
and omitting any/all of them is acceptable.

Change-Id: Ia582f0ac113b3d987c085d3a7975d1b3054ff889
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-11-28 06:41:04 -05:00
Pedro Pinto Silva
134d223a3b Fix contentControl dropdown rendering on mobile
- List should be full width
- List should be full height to avoid
double scrollbars
- Options should have dividers in between

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2a05f1ee5ddf3989a6bf64e81aa3c4a12a4f70dc
2022-11-25 17:30:39 +01:00
Pedro Pinto Silva
f57518ce41 ContentControl: do not use generic ids
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I027a4e95a3f018f40b74b0ca2f4d2e91d5fe5662
2022-11-25 17:30:39 +01:00
Szymon Kłos
863476ba9e cypress: add content controls mobile test
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I80963a7877d73be7075cdfab1a73eaad742e8d8a
2022-11-25 17:30:39 +01:00
Szymon Kłos
6c73ce064d mobile-wizard: restore title on windows switching
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia1869d903c46a18b34d88e19bbda7828799873cf
2022-11-25 17:30:39 +01:00
Szymon Kłos
a2363d71f7 mobile-wizard: restore classes when switching windows
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iee44f2427a7dff5dd116f19018410ea432926118
2022-11-25 17:30:39 +01:00
Szymon Kłos
80cb63ad91 mobile-wizard: restore tabs when switching windows
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie28a1d06e54475623cf1d20510336b2267cdf338
2022-11-25 17:30:39 +01:00
Szymon Kłos
433f4043e9 mobile-wizard: scroll indicators owned by windows
Every window has it's own scroll indicator.
Simplified code, based on calculation not hardcoded values.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I48020ca8916139bf168c6a8e3d25e2f9eb684b40
2022-11-25 17:30:39 +01:00
Szymon Kłos
b835a68a44 mobile-wizard: don't use close events from tunneled dialogs
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If788339373ff37283baf035f7f5e14332e8ac201
2022-11-25 17:30:39 +01:00
Szymon Kłos
07c3538589 mobile-wizard: create separate window container
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8317cb7ec9ae31de07c3f2dd4a691afafce9073d
2022-11-25 17:30:39 +01:00
Tor Lillqvist
da0e05a7a1 Make the gtk app work again
Apparently using a debug=true query parameter breaks tile
rendering. So let's not use that then. Now tiles show up.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ia458a6bdf35b956bf2570801d132211f600513f6
2022-11-24 16:09:03 +02:00
Tor Lillqvist
a2d8957000 Log socket messages through the C++ code in the gtk app
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Icab9cc94eabf63512a1517c2bb935bf8590fc69d
2022-11-24 16:09:03 +02:00
Tor Lillqvist
81c7d3aa1b Seems that the lang and userinterfacemode query parameters are needed
Now some UI stuff shows up on the cool page. No document tiles yet,
though.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I5cc33cc8df3a700ee752a3ad437cdb3aabfbca86
2022-11-24 16:09:03 +02:00
Tor Lillqvist
8aab57ef0f It seems that the gtk app takes a pathname, not a file: URI
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Id0764d3097f2b9f0a4ba1b699b63e026749f802b
2022-11-24 16:09:03 +02:00
Tor Lillqvist
a0fabb543c Probably must check for arbitrary binary data here, too, like in the iOS app
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ic6834f5f5b57035831778305ece9228d14bed930
2022-11-24 16:09:03 +02:00
Tor Lillqvist
459bba8dc2 Make the gtk app build again
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I000fdcc059c39cf3c0c4a9ec066f4039c653cb70
2022-11-24 15:02:10 +02:00
Pedro Pinto Silva
98b0fd4a7f Fix jsdialog spinfield jumping on hover
Visible when using the following core change:
https://gerrit.libreoffice.org/c/core/+/142974

Note: no need to have generic CSS rules for spinfields
only for the sidebar

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id2c9df00d1067537adb9ec5e3db0eab8bd1b2290
2022-11-24 11:33:23 +01:00
Mike Kaganski
16064f295c Add "Formula Object" button to Insert tab of notebookbar in Writer
Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: Icd06d49fe18b37fd664219a951ba9ae822659150
2022-11-24 09:44:19 +03:00
Rash419
7e2360bc2a remoteconfig: enabling the locked_hosts supported from both remote json and coolwsd.xml
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I17da8e0486124bf161c5f97781d69edab37efde6
2022-11-24 00:33:25 +05:30
Rash419
e20ace9f34 wsd:fix: memory leak properly
introduced in e0752419575f09fef3d770f8cccf78c92a2d8612 commit, update AppConfigMap instead of creating
new one on each of remote_config poll

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: If11bd6e4b3a0a9f4ee32ae9bb43b076479e9bd84
2022-11-24 00:33:25 +05:30
Gökay Şatır
75958ec5b2 _userCanWrite variable is set to false when the host is read-only.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I485c5254a534365cd9defb726ed0eb705977361e
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
2022-11-23 16:29:10 +03:00
Pedro Pinto Silva
44ae9dca81 Hyperlink popup: add tooltip to the hyperlink
This allows for any hyperlink, no matter how long, to be viewed
before clicking it

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If63d13879758371e96f02b691367952700e0fd87
2022-11-23 13:17:30 +01:00
Pedro Pinto Silva
b523f1ed92 Hyperlink popup: Remove extra space and fix ellipsis
Increase the max-width from 188 to 150 for the anchor element so,
we don't have the extra space (when the url is short) at the end
of the popup (after the icons)

Fix the overflow and consequent ellipsis: it shouldn't limit/affect
the icons but the anchor (hyperlink)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2d0f8d2918827bef142f05a483da510d573481d3
2022-11-23 13:17:30 +01:00
Pedro Pinto Silva
5c3098bda5 Fix PDF detection when deciding if edit button should be visible
Before this commit both mobile and is_lock_readonly (upsell)
were being affected. Namely, the edit buttons was not being
shown for presentations and drawings

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I903ea43ca5ea1c94eec6b8f63b8b5626b8ee2203
2022-11-23 09:18:34 +01:00
Andras Timar
0b90a137f7 Bump version to 22.05.9.0
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I007ce044d5ab049d17cf15410ef78f5760adaeb0
2022-11-22 15:06:50 +01:00
Pedro Pinto Silva
0999dd05d1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (466 of 466 strings)

Co-authored-by: Pedro Silva <pedro.silva@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie55d2cddf3df83786e838652aa14c75ee1197fde
2022-11-22 14:51:19 +01:00
Ihor Hordiichuk
50f6e4ead7 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (466 of 466 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: Ia7b1ff4d9995c67db6f69ad982a8e0be708c86d2
2022-11-22 14:51:19 +01:00
Martin Srebotnjak
0d211a9f6c Translated using Weblate (Slovenian)
Currently translated at 100.0% (466 of 466 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: I595eb2a5b75ebfe4645755e8540c419dc7ea7279
2022-11-22 14:51:19 +01:00
SC
d04e2c286d Translated using Weblate (Portuguese)
Currently translated at 100.0% (466 of 466 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I96e16202183b5b9bbd5d7a2635284207b841ac70
2022-11-22 14:51:19 +01:00
Sebastiaan Veld
75c3584e2b Translated using Weblate (Dutch)
Currently translated at 100.0% (466 of 466 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: I83d1260efc2cef6a4a9ec3bfe888be98f0c58894
2022-11-22 14:51:19 +01:00
Rizal Muttaqin
8a28c457a8 Translated using Weblate (Indonesian)
Currently translated at 100.0% (466 of 466 strings)

Co-authored-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/id/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icb437212c5f27018a7c48d4305ee24669770550e
2022-11-22 14:51:19 +01:00
Milo Ivir
e45d17bfe9 Translated using Weblate (Croatian)
Currently translated at 100.0% (466 of 466 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: I50d3ff4fc67dc29b33aef4a7c3a2273716f42824
2022-11-22 14:51:19 +01:00
Alex Gabilondo
0dcceaeb12 Translated using Weblate (Basque)
Currently translated at 100.0% (466 of 466 strings)

Co-authored-by: Alex Gabilondo <alexgabi@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5ca0e7bb853414051dfa946a644481226f307f90
2022-11-22 14:51:19 +01:00
Stanislav Horáček
1f6015d6eb Translated using Weblate (Czech)
Currently translated at 100.0% (466 of 466 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: Iec6201e2473f474001cb5e7e57e7ed3f690c7bc8
2022-11-22 14:51:19 +01:00
Joan Montané
cac1f8bc82 Translated using Weblate (Catalan)
Currently translated at 100.0% (466 of 466 strings)

Co-authored-by: Joan Montané <jmontane@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8a1ac434de9e46cd4af19e344e374336175674ee
2022-11-22 14:51:19 +01:00
이정희
2d72e7ceb5 Translated using Weblate (Korean)
Currently translated at 90.9% (20 of 22 strings)

Translated using Weblate (Korean)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: 이정희 <daemul72@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ko/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ko/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I09fbb93400a43168b84e66b08f11f5b5d65639f8
2022-11-22 14:51:19 +01:00
Ayhan Yalçınsoy
0eded18f11 Translated using Weblate (Turkish)
Currently translated at 100.0% (466 of 466 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: I85b8ea063ad845e94ca9c8af4aff8b86a19e492b
2022-11-22 14:51:19 +01:00
Luna Jernberg
d8badb0de3 Translated using Weblate (Swedish)
Currently translated at 100.0% (466 of 466 strings)

Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
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: I545593f5df3730363f84a38a61c57917bfee7646
2022-11-22 14:51:18 +01:00
Mike Kaganski
7bbd48283d Translated using Weblate (Russian)
Currently translated at 100.0% (466 of 466 strings)

Co-authored-by: Mike Kaganski <mikekaganski@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I32540cb2c7957a5e905c5ce877f6e4001a2d22e1
2022-11-22 14:51:18 +01:00
Matthaiks
9974299403 Translated using Weblate (Polish)
Currently translated at 100.0% (466 of 466 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: Ic9b11b23187cc1a69d6208352dc90f9e10c502e3
2022-11-22 14:51:18 +01:00
Translator-3000
11ebf50f64 Translated using Weblate (Italian)
Currently translated at 100.0% (466 of 466 strings)

Co-authored-by: Translator-3000 <weblate.m1d0h@8shield.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/it/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id83389fbe1e7eefe07240c19a950dff2652a41cc
2022-11-22 14:51:18 +01:00
Andras Timar
23945c9997 Translated using Weblate (German)
Currently translated at 100.0% (466 of 466 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (466 of 466 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib524ed8a4aad7ddedbc6d64cff31d086110c5504
2022-11-22 14:51:18 +01:00
Yaron Shahrabani
30cfb16167 Translated using Weblate (Hebrew)
Currently translated at 100.0% (466 of 466 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: Ib67ab6f203e9f95ce5526980608dcb5d0c61c00d
2022-11-22 14:51:18 +01:00
Jérôme Herbinet
2cd2f7cdc7 Translated using Weblate (French)
Currently translated at 100.0% (466 of 466 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: I0802a551d0ec92fbe23070960d867e6a0fab0b95
2022-11-22 14:51:18 +01:00
Eloy Crespo
082c9d07f7 Translated using Weblate (Spanish)
Currently translated at 100.0% (466 of 466 strings)

Co-authored-by: Eloy Crespo <eloy.crespo@collabora.com>
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: I299189877097ab93355a3b46a115e0249ef5ee4d
2022-11-22 14:51:18 +01:00
Szymon Kłos
35f38a1eaa Log warning about deprecated config option reuse_cookies
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I93f42623be2edba3cb3877e17f6d39c2827e931e
2022-11-22 08:48:49 -05:00
Szymon Kłos
423aa0fed6 calc: refresh cursor on reconnect
When doing save as we reconnect the app to different spreadsheet.
We need to invalidate cursor position and geometry to avoid
showing incorrect selection.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If2b4e7351b10f2f0c09292301b3ad7565b76630f
2022-11-22 12:49:21 +01:00
user
b94652030a cypress: fix run-* on remote desktop
This takes coorect DISPLAY for remote desktop

Signed-off-by: user <szymon.klos@collabora.com>
Change-Id: I2abe7dc463c6b381ec54ad98d8bbffde5b38d892
2022-11-22 12:43:09 +01:00
user
371e4b41de cypress: fix check-* on remote desktop
Signed-off-by: user <szymon.klos@collabora.com>
Change-Id: I3207aa000610d2b560dd36c096c8743b2746ebb6
2022-11-22 12:43:09 +01:00
Michael Meeks
ac1c386c37 Tag polls correctly as running synchronously in the client thread.
This avoids wakeup warning us that the thread is not started to wakeup.

Change-Id: Ifd5c483717024cb1c30521433d0d10acead01e2f
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-11-21 18:54:35 -05:00