Commit graph

20169 commits

Author SHA1 Message Date
Ashod Nakashian
fa069dca50 wsd: test: support controlling the response to LOCK/UNLOCK
Change-Id: Ie0d836a475f257bded5c73783398a6c300ac9d67
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-02-23 07:58:56 -05:00
Ashod Nakashian
7d93076ff2 wsd: minor log improvement
Change-Id: I5a38e8b311be336cc42fab05a94236dc73be32fa
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-02-23 07:58:56 -05:00
Szymon Kłos
0b814c70a6 cypress: mobile hyperlink converted to jsdialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3bcc7d82f03ae5f9abfba796e482a0eefac6f3bc
2023-02-22 17:59:49 +01:00
Szymon Kłos
65349e6eae Cancel insert link on map click
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If50ffe68298f575b7e966ff21db09fab9c4a61bb
2023-02-22 17:59:49 +01:00
Szymon Kłos
7e5ef7552b jsdialog: share close method for modals
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Idc1e86998a11f8ddc5c15a3ba9aad3068545931f
2023-02-22 17:59:49 +01:00
Pedro Pinto Silva
72c9b2f60a Fix JSDialog input field on Mobile (chrome/mium), no scrolling
This  affects hyperlink text area

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0f98ce5cbd3ecf124141e680fe68d2d5b97d400e
2023-02-22 17:59:49 +01:00
Pedro Pinto Silva
7339a9d754 Fix JSDialog input field on Mobile (chrome/mium)
Otherwise they do not fully expand

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Idaee2c10be2fd13e99b8d28336ec8738df431adb
2023-02-22 17:59:49 +01:00
Pedro Pinto Silva
14a4ed6852 Style hyperlink-text-box so it looks like an inputfield
Hyperlink's text field needs to be a  multiline but that doesn't
look right on 90% of the case. So better to style it as if it was
an input field but keep it as a text area so multiline text selection
doesn't get pasted back as one super long line

Ideally: if the user selects multiple lines and the Ctrl + k it should
concatenate it only for the purpose of presenting it in the dialog but
then the text in the document should retain the multilinear aspect and
be clickable . < - this is impossible to have currently without
over engineering so probably best simply style it differently

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I640f148ffd5bd76592fb30dde5545e2c26eda016
2023-02-22 17:59:49 +01:00
Szymon Kłos
4193f79fa7 cypress: hyperlink converted to jsdialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I2b79fdb15102fe4a7631cbb8ee654f9be9c72709
2023-02-22 17:59:49 +01:00
Szymon Kłos
58bcdc36ae jsdialog: convert insert hyperlink from vex
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If09bc53ec3265fe78afec7cb9f38390aabcd537b
2023-02-22 17:59:49 +01:00
Szymon Kłos
61712b10b6 Improve hyperlink edit dialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I6a46ff07bd84d81ea6644a0b299c08abb97d0127
2023-02-22 17:59:49 +01:00
Pedro Pinto Silva
34b4ff6a4e Mobile: spreadsheet: Allow user to define and remove print area
This fixes #353

For now add only the .uno:DefinePrintArea and DeletePrintArea
- Edit triggers a tunneled dialog and thus is not ready for mobile
- Add (allows to add multiple) is should not be added to mobile until
Edit is available

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I27b5377d00080e745aab465da4dd65fffeaa3217
2023-02-22 12:54:26 +01:00
Pedro Pinto Silva
2f314e94c4 Add sheet RTL switch to Calc tabbed view
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8932c149452fba8952824e5313876645093c0074
2023-02-22 11:44:43 +01:00
Aron Budea
e2394b5725 browser: add switch between RTL/LTR to Calc main menu
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I2781b7ff4a0ba4fa93a49ae2d62ba18d35789e52
2023-02-22 11:44:43 +01:00
Bayram Çiçek
21b632d9d4 hide Formatting Marks when on read-only mode
On mobile, the Formatting marks
should not be visible in the hamburger
menu when on read-only mode.

- new menuItem.id added for Formatting Marks
as "formattingmarks"
- the id is added to the switch case so that
it can be hidded on read-only mode

Signed-off-by: Bayram Çiçek <bayram.cicek@libreoffice.org>
Change-Id: I17098e0cd0b59556ab85d93b51745ff376f6156e
2023-02-22 11:00:07 +01:00
Henry Castro
df095cafaf browser: send ".uno:JumpToMark" command
for internal links.

Change-Id: I5af0677bf9e2f9a2a7559facfe1ff04eab20c673
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-02-22 09:36:54 +01:00
Henry Castro
1347bd1c60 browser: enable URL popup internal hyperlink
The popups were enabled only for http or https.

Change-Id: I98b5ecf31faed28cfa91c13a3efb3b32ea5f8b42
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-02-22 09:36:54 +01:00
Henry Castro
4da165cfdc browser: extract internal link bookmark
See documentation:

https://wiki.documentfoundation.org/Documentation/Calc_Functions/HYPERLINK

HYPERLINK(URL[; Cell Text])

Change-Id: I9faa330bb0b632d057aa5b191e4fdd9018c8f90a
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-02-22 09:36:54 +01:00
Szymon Kłos
4ba872456c Better display of graphic selection
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia214b194a3fc58b23282c84afc95217ea75b0e4d
2023-02-22 09:36:54 +01:00
Szymon Kłos
4111ed6835 formulabar: handle ctrl+a
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9fce315a5bf91239b26b596b233d8874ec5211a1
2023-02-22 09:09:10 +01:00
Szymon Kłos
ab6bf68ce5 formulabar: allow pasting from external source
this fixes regression introduced in:
commit 164b148d6ee6e27acdc1f25aa9c06ef9c39b193a
formulabar: allow copying using keyboard

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7fa5a114daea7a748cb3033a40670b6719a63cc0
2023-02-22 09:09:10 +01:00
Tor Lillqvist
0b74d4ead1 Drop POCO_HAVE_FD_EPOLL for Emscripten
Not sure why I now suddenly needed this, too, when I recompiled Poco
for WASM (with different options than before).

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I7221947e0cd2264535b6d34e0640b95d7cfc7cf4
2023-02-22 09:00:39 +01:00
Szymon Kłos
ad8f35462e jsdialog: command is better id than text
When id is missing for uno button - command is better source
than text, because it is not translated.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I57d8442b7c826aae6ba5a12c74172871103a3670
2023-02-22 08:48:07 +01:00
Szymon Kłos
e7f77af7bd notebookbar: simplify insert symbol button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib1615525ba702527ec9b7ac7ac98954d1cc02a2c
2023-02-22 08:48:07 +01:00
Szymon Kłos
824f002808 notebookbar: simplify presentation button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia23703365a352a09ca8a8f255d9937b9fb99b433
2023-02-22 08:48:07 +01:00
Szymon Kłos
92007951bc notebookbar: simplify share as button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1b1da8dc83f7880bcd8035b071891dd40db27635
2023-02-22 08:48:07 +01:00
Szymon Kłos
94e2be3e87 notebookbar: simplify revision history button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I524e1768858ce21a7839bde90fd74ce9e69eab7a
2023-02-22 08:48:07 +01:00
Szymon Kłos
c1ef1f6a06 notebookbar: simplify insert hyperlink button
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ief7afc1d3583ae138a7e4a8aef59c6eb7dadc7d8
2023-02-22 08:48:07 +01:00
Szymon Kłos
a9a4038b40 jsdialog: keep focus on map when using custom buttons in NB
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I2d06c807c098782feb82823a11cb0176782293dd
2023-02-22 08:48:07 +01:00
Gökay Şatır
5f7e385ba2 Remove vex usage from AdminSocketBase.js
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I73192156e7a5a95bf757111db01f95bb38c6e80e
2023-02-22 09:32:04 +03:00
NickWingate
e6b26f3daf Consistent captial letters on tests
Signed-off-by: NickWingate <nick.wingate@collabora.com>
Change-Id: Id8300044ef8a9f6cf60b0cb24b2ec18d82aae15d
2023-02-21 21:15:45 +05:30
NickWingate
e63b58eeff Specify which part of comment box to click
Three elements have the `.cool-annotation-collapsed` tag
Specify the correct one

Signed-off-by: NickWingate <nick.wingate@collabora.com>
Change-Id: I1c8f16c9ef7cfedecf02fe0c46afbf5cbde90a7c
2023-02-21 21:15:45 +05:30
NickWingate
8ef1cb153b Document repair checks for jsdialog
Previous code checked for a tunneled dialog

Signed-off-by: NickWingate <nick.wingate@collabora.com>
Change-Id: I87f78bd8ef6542dc11132f5938d8c5f3838c5c5c
2023-02-21 21:15:45 +05:30
Patrick Luby
5c40ab722a Fix font name combobox style bug in issue #5838
Swap the ID names of the font name combobox elements and don't add the
"select2-selection--single" class.

Unfortunately, this change does not set the height of the font name combobox
to the font size combobox. I made a few tries at overriding the CSS that
sets the height of buttons to 36px but I was unsuccessful.

Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: Iee8b51a114f5a89627c7b83a4c937c71cad4b213
2023-02-21 16:43:29 +01:00
Patrick Luby
656f93acdf Add list of bugs fixed in the last TestFlight build and reorganize text
Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: If745359b758ed4d5db25b0811bdcf10adacf424c
2023-02-20 21:33:46 +01:00
Patrick Luby
6e36981ad0 Add App Store "Test Details" text
Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: I3ac19f5891bc9219aad267b5189f7d7b01567731
2023-02-20 21:33:46 +01:00
Patrick Luby
eba7746e6f Fix issue #5838 Use unique IDs for font name combobox elements
Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: Ie7cedf80ed50ca133282b5805ec0e1417ca6846b
2023-02-20 21:33:46 +01:00
Patrick Luby
681255152d Set log level to "trace" when running within Xcode
Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: I195817990c92e48cdeceb713ee27f0f162785d94
2023-02-20 21:33:46 +01:00
Patrick Luby
8418a033fe Fix issue #5840 by not using base64 encoding for PNG data
The new delta messsage feature expects PNG data to be unencoded or zstd
compressed only.

Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: I776fb8e79fc9617edc5178ec66d6f0bac0706c71
2023-02-20 21:33:46 +01:00
Patrick Luby
24a74c7165 Bump version to 23.05.0
Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: Ib3ae781ec258583c9312459b59ce6aeecb005f47
2023-02-20 21:33:13 +01:00
Patrick Luby
97b9498bdc Issues #5532 and #5831 Replace assert with a log message
Remove assert and allow delta messages to be handled even if
there is no keyframe. Although it might make sense to skip
delta messages if there is no keyframe, that causes some
content, at least in Impress documents, to not render.

Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: I9b1cdc0812d008a6174648b9bc4854519018ffc9
2023-02-20 21:32:10 +01:00
Patrick Luby
3bd8dd063f Modify the Info.plist to ensure that CFBundleVersion is always incremented
AppStoreConnect requires each upload, whether it is released or not, to be
higher than the previous successful upload's CFBundleVersion. So this
script sets the CFBundleVersion to the first and second components of
CFBundleShortVersionString and the UTC timestamp of when this script was
run is appended as the third component (or the second component if there
isn't a second component in CFBundleShortVersionString).

Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: I90a667ed5634dc347eaff2fc0d8e83c3ea005d54
2023-02-20 21:32:10 +01:00
Patrick Luby
8cff1597fe Simplify iOS application test builds in Xcode
Replace leading "../" in absolute paths with "$(SOURCE_ROOT)/../" to avoid
the need to manually edit paths in the Xcode project file.

Also, all group files that have their group set to "path relative to group"
so replace all absolute paths in group files with the appropriate number
of leading "../" and replace "ios-device" in paths with "lobuilddir-symlink".

Lastly, verify that every file listed in the Xcode sidebar exists. A couple
dozen files in the core group have been moved or deleted in LibreOffice so
those were removed.

Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: I09ef66273b049e75066e0a5b2589c80c93db0a77
2023-02-20 21:32:10 +01:00
Marco Cecchetti
7643a76773 handle incoming mouse pointer style msg
Problem: pointer style was set up for a <div> element wrapping the map
pane, anyway a further <div> element in the middle had the pointer
style always set up to 'text', so any incoming mouse pointer msg had
no effect.
Now the pointer style is set up on the same <div> element.

Moreover I noticed that in writer mouse pointer hovering over an
edited text box had a wrong style. This commit fix this issue, too.

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: I3f62908b00ab748d19a3651270babb926252fe21
2023-02-20 13:54:14 +01:00
Pedro Pinto Silva
d3518f7fe0 Improve connectors popup dropdown #5418
Fixes #5418

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I12efe479c77ebd4c91ebe50687799da9e695e262
2023-02-17 10:34:10 +01:00
Adolfo Jayme Barrientos
af466f9447 Translated using Weblate (Esperanto)
Currently translated at 74.4% (387 of 520 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eo/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I29d3546f6378485d5e9573d025e52557b22fd3c8
2023-02-16 15:22:06 +01:00
Sveinn í Felli
97a1f2320b Translated using Weblate (Icelandic)
Currently translated at 100.0% (520 of 520 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: I26e96be690d5cb0c77ab9e32dcdb5e64887a7495
2023-02-16 15:22:06 +01:00
Alex Gabilondo
9937b4273b Translated using Weblate (Basque)
Currently translated at 100.0% (457 of 457 strings)

Co-authored-by: Alex Gabilondo <alexgabi@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eu/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3da7fec0fe1086a8261437ec4d839dfabc121321
2023-02-16 15:22:06 +01:00
Andras Timar
e158f33e96 Bump version to 23.05.0.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iccd099258d6bb6f965b145fcdad46bcae1da994b
2023-02-16 15:17:20 +01:00
Pedro Pinto Silva
3ad0247f2c GitHub Actions to automate project: Add issues to project
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0774e7961377c6f8506c2aee528093e135aa1991
2023-02-16 14:50:55 +01:00