Commit graph

18662 commits

Author SHA1 Message Date
Aron Budea
4a2f31b80c README fixes
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I46864278e65b03e72286bda78d331e32d442705a
2022-07-07 15:04:28 +02:00
Szymon Kłos
fe62d09c28 jsdialog: formulabar: fix freeze when server sent huge paragraph id
if there is no more paragraphs: exit the loop

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7075ff5454e1ddcc11155867f835e85117bdea15
2022-07-07 15:23:20 +03:00
Michael Meeks
e404ce88bb rows: ensure we don't stray beyond the last row in error.
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I04273e6c4ed8ea5b5e4398121f3d97767d7c3a2f
2022-07-07 13:09:47 +01:00
Michael Meeks
9a32c2c27a sheet geometry: build geometry array up to the last row in the range.
Improve performance by not looking up endIdx that may be over the end
of the range. Ensure we still have valid data for the pieces we do
know about.

Playing with a complex 1m row spreadsheet and re-sizing rows by
typing multi-line text into them would provoke row header problems
otherwise.

Change-Id: I5a110137e6d26e2c4b272210cf41883abb02c3af
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-07-07 13:09:47 +01:00
Szymon Kłos
d1cb42e111 Keep custom buttons when switching the view
When we use API call InsertButton and we add custom buttons
we want to keep them when we switch between compact/tabbed view.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If03520f52422ac41aa40432f068e5bc011ed2596
2022-07-06 12:18:54 +02:00
Rash419
cb080f561e writer: fix: cannot add picture using picture contentcontrol
use sendContentControlEvent to set picture instead of InsertGraphic uno command
since InsertGraphic is not allowed for a protected content control (like picture),
only sendContentControlEvent();

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I5f70919d995c51456056a8be2aa1e596df7bedc2
2022-07-06 14:57:30 +05:30
Pedro Pinto Silva
806dacecc2 Formula bar: Fix formula and sum btns shifting when expanding
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7a235750513f8375670fa73894964b2a05acab10
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
7a6f7fd846 Formula bar: Make sure the outline doesn't bleed out
and thus avoid cropping it altogether

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If959c617c6036daa353dc8185668aeb99d515497
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
cbfe45185d Formula bar: Increase font size of the text area
Before not only it was not vertically aligned but it was difficult
to read

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3790d51f4a90dd9bdb5158cfa16ed92de1ebfca5
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
4a6c701ae2 Formula bar: improve expander img
Set it to 24px, fix stroke and make it a path
- Result same size, smaller visual indicator

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic41b7a1d8e798998ea9399cd68c9fc6b46e73725
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
12d269768a Formula bar: Set text area and expander with the same style
Decrease number of visual differences between the two while
by using similar style. Add border radius already in use
in other components such as drop-down menus.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I09b51f0817d35641cfc7d028e281ae3ba362a663
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
ddcf4797a6 Remove Toolbar-mobile.css, avoid bleeding out rules to desktop
The rules found in toolbar-mobile.css seem to no longer be needed
in any shape or form on desktop (even on FF). Remove file and
insert those changes within device-mobile (so it is loaded only
when on mobile)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I58a3d52fc6313a8e32916fa2b5dd4796dd1c1cef
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
cbf1db8d38 Formula bar buttons add hover effect
And make them less "shouting" by default

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I69306cbe6107ce1f7306291fe55d7f54f7fdfe8b
2022-07-06 08:35:13 +02:00
Pedro Pinto Silva
3d993d79c2 Formula bar: improve autosum menu button
- Make it clear that it is a menu button
  - Remove extra space between triangle and image
- Fix icon size, before it was overshadowing the function icon
- Redo icon, so it is more legible, less tall and less flimsy

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I95c635b9a39aaa4dd470372018c63c9f45385b25
2022-07-06 08:35:13 +02:00
Mert Tumer
e834d65c73 added option to disable ssl verification for LanguageTool
this patch relies on core change
https://gerrit.libreoffice.org/c/core/+/136811

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Id9fa7273631f93914afa870e2c1148a9aa01c2e7
2022-07-05 22:52:55 +02:00
Rash419
3667fbc2d8 cypress: NB: update tests to click on arrow to open color picker
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I57cd50a532c0fdb5a6f0ebebf77e97c9e8e990e3
2022-07-05 22:12:30 +05:30
Szymon Kłos
3e1c068127 Fix TypeError when using formulabar variable in Writer
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5e90fe04f83cacfbf4dd15a821f3d0b1310a9ab2
2022-07-05 20:47:46 +05:30
Gökay Şatır
5161d50896 Attempt to solve freebsd check issue.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Id3e05d54c2d5b3f1dd4a9794ef4a0c455b72c04c
2022-07-05 13:59:28 +02:00
Pedro Pinto Silva
95db795a23 Allow buttons in vex dialogs to wrap
ported from:
PR: https://github.com/CollaboraOnline/online/pull/4976

In cases when the button text is too long
or when using CO in, for example, DE language and when
the length of the parent dialog was not enough the btns
would not stack up, instead that would overlap. This would
make reading those btns impossible.

![vex-btns-overlap](https://archive.org/download/csv-overlap-btn-labels/CSV-overlap-btn-labels.png)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I801ea330db21add35d0a81466a1fba9501a61899
2022-07-05 12:01:13 +05:30
Ashod Nakashian
068907c7dd wsd: http: do not assert on net::connect returning nullptr
Apparently this is an issue for proxy.php.

Change-Id: I18090f17f22fe3145e7fa2364992a34a7e722f1b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-07-03 18:03:35 -04:00
Ashod Nakashian
84f4267caf wsd: saving timeout set to 4x loading-time
And dump the saving timeout in the state dump.

Change-Id: If203d5434ee17f646009ee241b8484ca597840ad
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-07-03 18:03:35 -04:00
Ashod Nakashian
c3b9cb6cab wsd: privatize internal JailUtil helpers
Change-Id: I86c87f162fd174d888cb167d7d89ccd0d13cadeb
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-07-03 18:03:35 -04:00
Sebastiaan Veld
bd44a879fb Translated using Weblate (Dutch)
Currently translated at 100.0% (462 of 462 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: I604d6118f1bca7242de194a84fadc16c5de51952
2022-07-02 18:39:20 +02:00
Nathan
23ad398698 Translated using Weblate (French)
Currently translated at 99.5% (460 of 462 strings)

Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
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: I38c51c48d17242e261c3e6fe849585b43609eeca
2022-07-02 18:39:19 +02:00
Yaron Shahrabani
91baaa0f7a Translated using Weblate (Hebrew)
Currently translated at 99.7% (461 of 462 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: I494dcf5c9c176a63a66242cc2290818dfe7bd964
2022-07-02 18:39:19 +02:00
Ayhan Yalçınsoy
193bce6815 Translated using Weblate (Turkish)
Currently translated at 99.7% (461 of 462 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: I80302d1a3751e44219b91d3e6d349cd041303c77
2022-07-02 18:39:19 +02:00
AbsurdUsername
339d5be236 Translated using Weblate (Italian)
Currently translated at 100.0% (462 of 462 strings)

Translated using Weblate (Italian)

Currently translated at 93.0% (430 of 462 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (22 of 22 strings)

Co-authored-by: AbsurdUsername <sgso@pm.me>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/it/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/it/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/it/
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I41053824fbb7040c79820dd95e503fe7dcf00f1b
2022-07-02 18:39:19 +02:00
Eric
0b0f483e95 Translated using Weblate (Chinese (Simplified))
Currently translated at 80.0% (370 of 462 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/zh_Hans/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If8c4f929ec7a8a0e55f81b53df9b08bcd1afd925
2022-07-02 18:39:19 +02:00
Ihor Hordiichuk
9794a6a2d4 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (462 of 462 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: I8a0dd12197259a4dadbddce25580ab9c1566c162
2022-07-02 18:39:19 +02:00
Andras Timar
6b524c1466 Translated using Weblate (Hungarian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
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: I1620d5e529c0b1e50a93e8731ef64c13cc78d043
2022-07-02 18:39:19 +02:00
Miklos Vajna
b5af14b302 TileLocation::hash(): shift when the input size_t already
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: If4b18b96f3188489f1e5a027e08523722a2d85dc
2022-06-30 15:49:17 +01:00
Szymon Kłos
0833ec6489 jsdialog: use open/close instead of toggle for dropdowns
This helps us to be in sync with core especially with
problematic dropdowns like:
Sidebar in shape context -> Line Panel -> Line Width
This will close and not reopen the popup when we click outside.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4daf90f2611f6caa922022e1cc6e248f6a62d02f
2022-06-30 13:53:55 +02:00
Rizal Muttaqin
7c45f7a468 Revise dark variant of Picture Control icon #4845
Signed-off-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Change-Id: I728152c67975fd297b2035d4bf102cc5c57695f1
2022-06-30 11:43:19 +02:00
Pedro Pinto Silva
0f97be5d05 Context menu: on hover, fix contrast
User a darker background for on mouseover items

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib6dc6d2ed434d21765ab3d6bf3988dc918261281
2022-06-30 11:12:57 +02:00
Pedro Pinto Silva
aad841a48f Fix padding in follow editor's entry (userListPopover)
Use the same padding as the user names and thus fixing the
alignment (vertical: checkbox vs avatars)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1acb8cf5e3e5dc8aad083151c9c54b38aa552d6c
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
c3c37b3b71 Add following label to userListPopover (avatar list)
Until now user was reporting not fully understanding all the
features that user userListPopover offers. Namely, not knowing
that not only is possible to follow the editor (checkbox) but
that it is also possible to follow a specific user from the list

Make it easier to understand what's the current following status
by adding "Following" under the selected user name in the list

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0beba5df06f2cc7a9a349ef8f93db6b403befb9b
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
8a5d87f679 Hide avatars list when follow editor changes status
Get rid of the popover once the user completes the action
Probably better to avoid having hanging popover (that have no
close btn) and instead close them, specially because this
one can always be re-opened at anytime from omnipresent
toolbar and without risk of triggering any additional change

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id7946512e6c54622e3ed20b28d56178c05b18b5c
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
dadffd8a76 Hide avatars list when a user entry is selected
Make sure the avatar list popover automatically gets out of the
way once the user selects an entry (follow user)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie83a587e4f9900ffb0d70cadbfb13cfe81d8b849
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
7a395f48a5 Avatars list: Add missing hover styles
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6a5b215316a988ad0649982415c2d8ce6fab1212
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
dbf88dda17 Use the same bg for #userListPopover and its pointing triangle
Before the triangle was getting a different bg when compared
to #userListPopover

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If110d9e1178bedb7e858804e169689ee97a5a385
2022-06-29 19:44:08 +02:00
Pedro Pinto Silva
556220303d Fix position of avatar list
Instead of trying to re-position #userListPopover for every case
(compact view, tabbed view and rtl), use flex to align the elements
- This also fixes the positioning discrepancy of both the popover
but also the arrow (triangle)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I32ed3e05efc51001db106f5baaf18012e87965fe
2022-06-29 19:44:08 +02:00
Szymon Kłos
081deb5090 comments: don't lose focus if is edited
When spreadsheet was opened after few seconds we received CellCursor
message.
If comment was opened end edited at that time - it dissapeared

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I15804bfa0bf9ccac03c2858184db327a978061b3
2022-06-29 11:34:47 +05:30
Andras Timar
dcae5fa613 proxy.php: Special case for the remote image
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I98da25735a3b889824a72c2134c495abd26b3a05
2022-06-28 22:03:28 +02:00
Michael Meeks
8bb158eff2 deltas: hush warning.
Change-Id: I3e658709ee7069e194b1c34b5ab117a970d8153e
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-06-28 11:49:43 +01:00
Andras Timar
4a17ceb72b Fix release notes URL for 22.05
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If98d3a8dd70a71d5d2f44ef4248ec1608382b764
2022-06-27 20:12:35 +02:00
Ihor Hordiichuk
4d8e29850b Translated using Weblate (Ukrainian)
Currently translated at 99.7% (461 of 462 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: I5d385e48f1ffdf5ec7be1a210489305bf3bf310f
2022-06-27 20:11:04 +02:00
Martin Srebotnjak
0b43c019ae Translated using Weblate (Slovenian)
Currently translated at 100.0% (462 of 462 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: I3f12ffbc3db15c6d07ff48cdc404b14ca2ad07f7
2022-06-27 20:11:04 +02:00
Matthaiks
811a34e851 Translated using Weblate (Polish)
Currently translated at 100.0% (462 of 462 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: Ia628d6b391a45059a8e860e0604beb9c35aa74b6
2022-06-27 20:11:04 +02:00
Andras Timar
6e2996fa61 Bump version to 22.05.3.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I22b777814c2d9272a29d6b1dc56291214a2df9c1
2022-06-27 20:10:23 +02:00
Henry Castro
a3b4151e50 wsd: proxy: fix length static string
Change-Id: I4508fc3e32f4d13a1a8ae88c3e4b9abc6d724ac4
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-06-27 19:28:13 +02:00