Commit graph

20097 commits

Author SHA1 Message Date
Ashod Nakashian
26c27bd738 wsd: initialize ClientSession::_lastStateTime
Change-Id: I6c40e1a2464a19978d32d49cfa6fdb77294a2ddd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-10 07:45:12 -05:00
Ashod Nakashian
af504e3384 wsd: make sessions readonly on disk errors
Change-Id: I0c59c4fb3c99dee0f6e18850ca795467a9421b33
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-10 07:00:31 -05:00
Gökay Şatır
a3e29e23cf Remove vex from parts.js.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I85a754f2bb6bd738bd30384c9b40f40104daacc5
2023-03-10 10:49:59 +01:00
Pranam Lashkari
61d8f49e71 jsdialog: use display grid for vertical button box
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I288b1c1b013dd0a1395f6f18890b09582f309fbc
2023-03-10 10:06:41 +01:00
Gökay Şatır
b7a0828a73 Remove vex dialogs from alertdialog.js file.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ibc437f14d36594763ddf70639d0c5d3fa2531d72
2023-03-10 09:43:15 +03:00
Michael Meeks
4ca7070ba8 Warn and clamp unreasonable values of max_concurrency.
There are costs to many threads, and diminishing returns.

Change-Id: I4d4dc0491c48af303375d09d8eb19ffebedcad83
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-03-10 00:04:11 +01:00
Pedro Pinto Silva
a2202d44ef Mobile: calc: formulabar element: align to top on expanded part 2
fixes wrong value from
Mobile: calc: formulabar element: align to top on expanded
8b378e99653064348fccffd029c66aa378aa8da5

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8b5706957dff007137e3aa1ce677b825ada3e261
2023-03-09 17:43:38 +01:00
Martin Srebotnjak
abca1ce880 Translated using Weblate (Slovenian)
Currently translated at 100.0% (525 of 525 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: Ib70db79325a6cccc8d989e37d73f7eff422a4f19
2023-03-09 16:07:46 +01:00
SC
8f39987c33 Translated using Weblate (Portuguese)
Currently translated at 100.0% (525 of 525 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: Ib7151eb453e87b8e3ee848d12d11e2e1b5f3e94d
2023-03-09 16:07:45 +01:00
Stanislav Horáček
da97ef4911 Translated using Weblate (Czech)
Currently translated at 100.0% (525 of 525 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: I8083a17c57f1b7807f5845d5c1e9fcb6c901b965
2023-03-09 16:07:45 +01:00
Joan Montané
db3e8da47b Translated using Weblate (Catalan)
Currently translated at 100.0% (525 of 525 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: I3000c8500d7e1fc54f14a83a8e53893288a60c29
2023-03-09 16:07:45 +01:00
Ihor Hordiichuk
d37b1a376f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (525 of 525 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: Idb44fbb9c4cb8857583ea63c1397cd1e10c56f6b
2023-03-09 16:07:45 +01:00
tygyh
461c132ea3 Translated using Weblate (Swedish)
Currently translated at 100.0% (525 of 525 strings)

Co-authored-by: tygyh <jonis9898@hotmail.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: I5eb214d82f35d6e885af6d93fdde0a4e3bde8f00
2023-03-09 16:07:45 +01:00
Matthaiks
9a13fc9069 Translated using Weblate (Polish)
Currently translated at 100.0% (525 of 525 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: I098012f80357358af03368acd96e8c82535aabec
2023-03-09 16:07:45 +01:00
Sebastiaan Veld
35e63a7dae Translated using Weblate (Dutch)
Currently translated at 100.0% (525 of 525 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: I38c032fd284760d33de10d81d13f41248b0121af
2023-03-09 16:07:45 +01:00
Yaron Shahrabani
fbd47e943c Translated using Weblate (Hebrew)
Currently translated at 100.0% (525 of 525 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: I0448f3dc3ece2f0e627adbadbd6929f4fb07d55d
2023-03-09 16:07:45 +01:00
gallegonovato
7f27cdaea8 Translated using Weblate (Spanish)
Currently translated at 100.0% (525 of 525 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: Ic03e6e64b152176058984eb0945643274531a38f
2023-03-09 16:07:45 +01:00
Andi Chandler
682b5b0f6a Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (525 of 525 strings)

Co-authored-by: Andi Chandler <andi@gowling.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5b80d63f82a42ebdaf9e3ae5f54beaa576da0681
2023-03-09 16:07:45 +01:00
Andras Timar
3678cccc43 Translated using Weblate (Hungarian)
Currently translated at 100.0% (525 of 525 strings)

Translated using Weblate (German)

Currently translated at 100.0% (525 of 525 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: Id6726ca8513b8da5ce177bd1db50edbce31cefd1
2023-03-09 16:07:45 +01:00
Pedro Pinto Silva
584df7116e Mobile: calc: formulabar element: align to top on expanded
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1579f526daa18c45af0e7106eff43d5491aaf89b
2023-03-09 15:57:31 +01:00
Pedro Pinto Silva
572803a3c7 Mobile: calc: Fix addressinput misalignment
In some browsers addressinput was misaligned (no initial margin)
  - Remove FF specific margin-left
  - Add non LTR specific margin to every browser
  - Use the same dimension (8px) as used in the .formulabar.toolbox's
  grid-column-gap

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6a2e86a9a56f05bbf514d12a080fbcb2408cb816
2023-03-09 15:57:31 +01:00
Pedro Pinto Silva
ebf51c77a6 Calc: fix formulabar expander being cropped on mobile
- Make sure all elements within formulabar toolbox fit even
on smaller devices
    - Do not user margins to position, use instead grid
- Remove Equal sign (startformula). Before this commit the
startformula icon was visible and then invisible once the user
enter the cell to type -> it seems this was initially intended to save
space but the truth of the matter is that it causes a flicker and
where the position of the elements shift making even harder to write
on mobile.
    - Solution: do not create that element in the first place on
mobile. Plus when the user enter the cell can always press the "="
right via the native keyboard anyhow.

note: avoid multiple instances of the same condition in FormulaBarJSDialog

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic4f3b7fddb9d862170a0e95243f4b19a89340575
2023-03-09 15:57:31 +01:00
Pedro Pinto Silva
7744d009e4 Hyperlink: Fix thumbnail overflow
Before this commit:
 - Images (coming from link preview) could brake html parent element
 - Metadata (p element) could brake html parent element

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I362afe9eadd86b88dc6afc584f635d50fac0ad03
2023-03-09 15:57:09 +01:00
Rash419
7dedd17f2e cypress: disabled flaky tests
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I066470a1284420aa8a906deeec47b2c6829916b9
2023-03-09 14:02:05 +01:00
Rash419
40abccbe31 cypress: fix spreadsheet-tab1 element getting detached from dom
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I3ad4c775d08095493dbde02d67dcd5727c07a699
2023-03-09 14:02:05 +01:00
Gökay Şatır
fe1b57c328 Remove vex from delete sheet modal.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I605104e16ab02d106717319e4a9bff537db13e3c
2023-03-09 10:38:51 +03:00
Ashod Nakashian
216572e584 Revert "wsd: break cyclic setModified call"
The setModified is on an internal, AdminModel
specific, Document object. It is not the
DocumentBroker.

This reverts commit e33d6aa2ca.

Change-Id: Ib706927051678cfc19dc1246d679ef530eb8d586
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-09 12:51:23 +05:30
Parth Raiyani
eebe0cf986 fixed missing % upon pressing the escape key
Signed-off-by: Parth Raiyani <pmr642001@gmail.com>
Change-Id: I0ac901dc0d5a53e82be70d3c89f17e03b8872989
2023-03-08 16:50:44 +05:30
Szymon Kłos
9f3b15bf07 Allow Insert Hyperlink dialog to send uno command
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I78dd8c189a3d5ec5ce6527028c9117edb2fbbf7d
2023-03-07 16:21:02 +01:00
Szymon Kłos
7eb9771601 Allow Repair Document to send message
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia75f12f155b80bfadcc164c0c8b4d3ed57ec1d44
2023-03-07 16:21:02 +01:00
Szymon Kłos
ab124ab097 Blink also when using internal Online commands
We prevent using uno commands multiple times to open the same
dialog - let's do this also for dispatch() which executes
commands used in Online, eg. for custom dialogs like Add Citation.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia022ac4c1b7223c630f3d83eb9b3ce2f1a2e2e1a
2023-03-07 16:21:02 +01:00
Szymon Kłos
e6d15a799e jsdialog: don't allow opening multiple dialogs
We had this for tunneled dialogs but also for jsdialog it
should be done. When trying to execute uno command when any
dialog is opened - blink dialog to indicate that user has to
close it to open next one. This blocks possibility to open
multiple instances of the same dialog.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1777ce23292799edc3bbb896bf63872a354d7ad7
2023-03-07 16:21:02 +01:00
Noel Grandin
6cb5570b87 no need for shared_ptr here
avoid an allocation and some pointer chasing

Signed-off-by: Noel Grandin <noel.grandin@collabora.co.uk>
Change-Id: I29711075d4bf840c2ef992341a6dadeeb87c6edd
2023-03-07 14:46:59 +01:00
Szymon Kłos
a7359becd5 jsdialog: multilineedit is not a container
this prevents from creating additional containers for
text views with multiple child nodes

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id65fbe805c58e30ffa5ff86e3fdfaab5dc3a0153
2023-03-07 13:10:47 +01:00
Szymon Kłos
a23003e3a7 Add missing icons for function wizard
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie46ac7526136d2dcb1e4074168a6ce8876bf368d
2023-03-07 13:10:47 +01:00
Szymon Kłos
e83f136194 jsdialog: avoid using undefined value
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iaf84c0a42841aa0db692f8525f63cbf598639e8a
2023-03-07 13:10:47 +01:00
Szymon Kłos
280ba62c7d Add missing icons for chart wizard
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ifb25ebfa570894657f9f057fdc096119aebd48d7
2023-03-07 13:10:47 +01:00
Szymon Kłos
4e7cf6c6ff jsdialog: style disabled treeview
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I42ece74428b860ad1d74e4dff302cfca6f743a9b
2023-03-07 13:10:47 +01:00
Szymon Kłos
ed49ce09d9 jsdialog: handle tabpage container
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I81c295ad981186c6a57c3ac69300427841c49751
2023-03-07 13:10:47 +01:00
Szymon Kłos
bc2eb20821 jsdialog: handle cancel and help button types
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1a2c7dd4474b91545692cc0e5d8eae492a3dacf4
2023-03-07 13:10:47 +01:00
Szymon Kłos
dc4b556a8c jsdialog: avoid use of undefined value
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia5bef3dc1ef714bbe52f31407ae33f0f3db478b5
2023-03-07 13:10:47 +01:00
Pedro Pinto Silva
975508fb54 Mobile: Fix no-color and auto-color alignment
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ice1e397a75a8c8225087944fed80ed74a138ac31
2023-03-07 12:32:20 +01:00
Bayram Çiçek
2b9e7a8255 Mobile: add extra space to color-control-label(s)
in labels(classes):
- .no-color-control-label
- .auto-color-control-label

the value of padding-left property is
increased from 4px to 8px.

Signed-off-by: Bayram Çiçek <bayram.cicek@libreoffice.org>
Change-Id: Ide0b810cab18d63748678e3007b8ee8c7234114e
2023-03-07 12:32:20 +01:00
Gökay Şatır
e82f58e5f6 Send close message to core side when closing all jsdialog windows.
Add an empty callback for the busypopup window.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I84ed797feed93cfad6a66f1a4981ecacce23f104
2023-03-07 09:46:22 +03:00
Julius Härtl
8a13e98dc0 fix(SaveAs): Fix format extraction on SaveAs with filenames that contain multiple dots
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: Ice038846b265438d619ab64908c6b7e931e7d905
2023-03-06 22:36:44 +01:00
Patrick Luby
650438283e Fix issue #5843 escape non-ASCII characters only for image data
Passing non-ASCII, UTF-8 text from native to JavaScript works
fine, but images become corrupted if any non-ASCII bytes are
not escaped.

The Socket._extractTextImg() JavaScript function assumes that,
in the iOS app, the first newline separates text from image data
so assume all bytes after the first new line are image data.

Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: I06f4377bb3b7002a76041a198076decfee9e3733
2023-03-06 18:01:39 +01:00
Patrick Luby
8d15281d35 Partial fix #5885 Close the font picker when a font is tapped
This is a near duplicate of pull request #5898

Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: Ib05a285f3642ec0ca745b0c74157190fda5bd3ed
2023-03-06 18:01:39 +01:00
Patrick Luby
1790073298 Remove pre-23.05 release notes
Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
2023-03-06 18:01:39 +01:00
Patrick Luby
23d449b978 Remove template list URL from application settings
Copy pull request #5890 but completely remove the old code in the master
branch

Signed-off-by: Patrick Luby <patrick.luby@collabora.com>
Change-Id: I69d03bb3f10e756823ba2e32aae0c099c54928c5
2023-03-06 18:01:07 +01:00
Ashod Nakashian
74d6739f0d wsd: time the duration of fork
Change-Id: I92f624139f274df95a47f430802a29d33d587689
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00