Commit graph

24070 commits

Author SHA1 Message Date
Michael Meeks
00237a3552 bgsave: restore modified status overlay in classic toolbar mode.
Apparently a transient victim of the transition to JSDialog.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I93c55db28d8ab2cc6b43dbce558d60dfa523fa76
2024-05-18 17:45:02 +02:00
Michael Meeks
08af75d52d bgsave: add a 'finalWrite' parameter, to keep various saves sync.
Avoid complexity and wasteful creation of new processes in many cases.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: If7713f80b390a8e0e53b7253244b838b325b745c
2024-05-18 17:45:02 +02:00
Rashesh Padia
35bcf56791 wsd: added config option for background manualsave
Signed-off-by: Rashesh Padia <rashesh.padia@collabora.com>
Change-Id: I76de35fe9b4135b74a96436f0c9a3245f4e00bd9
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-05-18 17:45:02 +02:00
SC
e0bb38bbc6 Translated using Weblate (Portuguese)
Currently translated at 100.0% (587 of 587 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: Iee6d0ae39b15b029aef7b653c5f73eedb3590af6
2024-05-18 15:09:32 +02:00
lsy223622
43855e1fdc Translated using Weblate (Chinese (Simplified))
Currently translated at 97.6% (573 of 587 strings)

Co-authored-by: lsy223622 <lsy223622@outlook.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: Icd388f62c64b09e8e567a211b15986637b1b6495
2024-05-18 15:09:32 +02:00
Oğuz Ersen
e4a62cf83b Translated using Weblate (Turkish)
Currently translated at 100.0% (587 of 587 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
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: I3d8a97ab687d39d45786c86cb1f44977e73efae6
2024-05-18 15:09:32 +02:00
Ali
a44d193712 Translated using Weblate (Arabic)
Currently translated at 74.8% (358 of 478 strings)

Translated using Weblate (Arabic)

Currently translated at 95.7% (562 of 587 strings)

Translated using Weblate (Arabic)

Currently translated at 61.8% (68 of 110 strings)

Co-authored-by: Ali <alimahwer@yahoo.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ar/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ar/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ar/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I11c192cf79e807554edcfdd03f7a45240569528b
2024-05-18 15:09:32 +02:00
Francisco Gabriel Chardin
c7442b7a7b Translated using Weblate (Spanish)
Currently translated at 100.0% (587 of 587 strings)

Co-authored-by: Francisco Gabriel Chardin <fran@camba.coop>
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: I46f645bb20e021e4237b0153c4da2e321be9431d
2024-05-18 15:09:32 +02:00
Matthaiks
f6799c32c6 Translated using Weblate (Polish)
Currently translated at 100.0% (587 of 587 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: I04718dff5b2d798b00306fe9f43cfff0059ad86f
2024-05-18 15:09:32 +02:00
Andras Timar
66ccc3722b Translated using Weblate (Hungarian)
Currently translated at 100.0% (587 of 587 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: I5cd3bb159b5e90864bc3d1e31441db1044a87b77
2024-05-18 15:09:32 +02:00
Gökay Şatır
85812ddd9b Don't hide cell cursor when clearing the selections.
Scroll to cell cursor after a part change. Relax the conditions.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I8c1aad11a00145b67e11afc2d11f9ebca0aa6feb
2024-05-18 13:55:18 +02:00
Gökay Şatır
8848ad8385 Remove unused variables.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I9c8e12a876c203ea9adc0605bcf4ffe92930ec92
2024-05-18 13:55:18 +02:00
Neil Guertin
36a58aa7ef Reenable screenshots on cypress failure
Also remove SCREENSHOT_FOLDER environment variable, this
information is available from Cypress.config(), and if it needs
to change it should be set there.

Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: Idbfb627fa818a6864da355a990dbac2589f8df37
2024-05-18 12:30:31 +02:00
Michael Meeks
a4e84db5b7 WaE: make older C++ compilers happy.
Change-Id: Ibf28f91ae735ab05e8f641d0d06602c1abe4be56
2024-05-18 11:23:01 +01:00
Hubert Figuière
ae7c579910 Remove cool-api.html
It is obsolete

Signed-off-by: Hubert Figuière <hub@collabora.com>
Change-Id: I788e62d13dc009031bf77932149555c1078d2e71
2024-05-18 11:02:50 +02:00
Caolán McNamara
41dc5a6cb4 add dumping start of current and queued async dns lookups
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ib40a6d1e3d6e983da674c5a7051ac5e7a565d0d1
2024-05-17 19:47:09 +01:00
Caolán McNamara
3699a0109e unlock mutex to allow entries to queue up while resolving
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: If8ee89ef0e7436675c596461243d82a2e0412358
2024-05-17 19:47:09 +01:00
Caolán McNamara
c98b1c4c2b don't need to copy queue
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I1e2d818c0f5b678f3de179b6fb7ce747f9e76ac3
2024-05-17 19:47:09 +01:00
Caolán McNamara
694f0488ad allow capabilities to be sent when addresses resolved async
queue addresses that need resolution, use async dns to resolve them
and when final result known dispatch the capabilities to be sent

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I13b6d0c4d47e6e8ecd06f7a449c8f808a41e5e7a
2024-05-17 19:47:09 +01:00
Caolán McNamara
fc41cf7694 rearrange capabilities response to depend on allowConvertTo result
as a separate stage

getCapabilitiesJson turns out to not be called in the MOBILEAPP case
so put inside !MOBILEAPP ifdef and remove unused branch

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ie144e4612aa36be88169e44d7eda7825b49a03c8
2024-05-17 19:47:09 +01:00
Caolán McNamara
594b2308f7 split out the parts that depend on dns resolution to a separate step
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I2d8ab8f3c7e42d6b2f80d68861e54dca9fc4adf2
2024-05-17 19:47:09 +01:00
Caolán McNamara
ff02af21d3 add Async DNS implementation
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I577af4280ac5a0a4389bb11ac6c531d846a196d1
2024-05-17 19:47:09 +01:00
Caolán McNamara
4318b0d619 wrap Poco DNS lookup and cache as a DNSResolver class
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ie211fe596629af50eec01dd8512d2a12929545ea
2024-05-17 19:47:09 +01:00
Michael Meeks
aefd4606f5 Fix excessive logging when a session hard quits very early on.
Enable Caolan's unit test, pass the proper 'disconnect' message
to the Kit so it can close the underlying window / resource for
the view.

Potentially this also removes 'phantom' users in the user-list
which might be another symptom of this issue.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Ib0d0c5cefa7033fff5827d0a825a932cc12f8323
2024-05-17 17:36:17 +01:00
Ashod Nakashian
e14b84c542 browser: display unauthorized error message
It seems there are two handler for this message.
Since we moved the authentication logic ahead
of the web-socket upgrade, the handler for
the unauthorized error doesn't display the
message. This fixes the it so now we correctly
display the unauthorized message.

Change-Id: Ic62476c74ce1583a2d7f33e1233e6fafd43d3bc4
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-05-17 08:47:46 -04:00
Rashesh Padia
f7892edd86 js: show progress bar during background save
Signed-off-by: Rashesh Padia <rashesh.padia@collabora.com>
Change-Id: I3608bf597ab8d2c7660a1f884cf2c763c7652415
2024-05-17 13:18:37 +02:00
Pedro Pinto Silva
ab04084cd9 Status bar: Fix MenuButtons being generated always with image
Before this commit menu buttons were always generated with img even if
it's not applicable. Example, the StateTableCellMenu (located in Calc
status bar that allows setting a state according to the function
chosen in the submenu): This text-only menu was generated with img
and thus throwing a 404 error in the console.

- Allow any unoToolButton to be set without image via option
- Add image: false option when setting StateTableCellMenu in the
statusbar

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3fc3b5954f80229835526819b9b80d2a650bd922
2024-05-17 12:06:16 +01:00
Michael Meeks
e5cee19919 callback logging fix mis-placed brace.
Causing excessive logging in error; we would find the right session
next time around the loop; from:

    commit 6f49f9398e
    Author: Michael Meeks <michael.meeks@collabora.com>
    Date:   Thu May 9 09:19:44 2024 +0100

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I33f696e4fae899a896d94cbeb70d5d9306f3b414
2024-05-17 12:05:45 +01:00
Michael Meeks
2414408576 logging: truncate long payloads before logging them.
Change-Id: I0caa3300961cd3d9d919691eab77663b5c663bfc
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-05-16 20:45:20 +02:00
Hubert Figuière
b027c099cc postmessage: Fix show hide / button / command in Notebookbar
This is a regression from commit 9923e69595
This is because jQuery .child() is only for the direct descendants.
Use .find() instead which will search down the DOM tree.

This restore postmessage Hide_Command / Hide_Button and Show.

Signed-off-by: Hubert Figuière <hub@collabora.com>
Change-Id: Ibe84c520c9786c6c0026d3507a27a8d3580b38a0
2024-05-16 13:05:09 -04:00
Neil Guertin
873485f479 Lock cypress-tags to 1.1.2
cypress-tags published an update today with some missing files.
This keeps us on the old version until they can fix their release.

Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: Ie7b2ec506cae4bc244a70b4502a85d3a7530954b
2024-05-16 17:06:26 +01:00
Jaume Pujantell
3853d9b7bc browser: fix print menu for Calc
Changed the menu entries to conform to the new format used by
JSDialog menu since 07da50a.

Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: I69109675ec69d66eb25ae128a6bb102e4628c705
2024-05-16 16:05:41 +03:00
Neil Guertin
1ea58908be Fix failing tests [desktop|mobile]/impress/apply_paragraph_props_text_spec.js
Another test failing because of shape selection.
Select text directly and remove calls to shape selection helpers.
Unskip a testpoint.
Merge horizontal alignment testpoints (also vertical alignment testpoints).

Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: I729870d6cd43457d2297005f4c815fe29de39f42
2024-05-16 12:23:37 +01:00
Gökay Şatır
cd9875ec4f Fix to my silly mistake :)
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I3d368e683747f249a5f44171023bd7f5293aca63
2024-05-15 20:14:03 +03:00
Andras Timar
acb7e90c13 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1d482ad2c1077b15d8086c02da275963555882c0
2024-05-15 14:14:18 +02:00
Poe Mon
2e54c2a424 Translated using Weblate (Japanese)
Currently translated at 100.0% (478 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I12cd6d8095160f8e14555292db40b4b965f06b74
2024-05-15 14:12:50 +02:00
Poe Mon
23851dc7c9 Translated using Weblate (Japanese)
Currently translated at 100.0% (22 of 22 strings)

Translation: Collabora Online/Android lib
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I624ff39244f77ee639640f5656b592c3bb35fcf7
2024-05-15 14:12:50 +02:00
Poe Mon
da54f08b6e Translated using Weblate (Japanese)
Currently translated at 91.4% (437 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6101112d3010febd8b304016a32d40276b8f39da
2024-05-15 14:12:50 +02:00
Poe Mon
e4312f9396 Translated using Weblate (Japanese)
Currently translated at 79.4% (380 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5db98d53a864ac7f35df8060e7c72c1ba23155c2
2024-05-15 14:12:50 +02:00
Poe Mon
1a0b4e2300 Translated using Weblate (Japanese)
Currently translated at 79.2% (379 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia2e1fc79d5d94824c2c2920d1b1f09810750ad8d
2024-05-15 14:12:50 +02:00
Poe Mon
7026255f4f Translated using Weblate (Japanese)
Currently translated at 79.0% (378 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I281056ba9d5876f1c4160e6576ee56bc264169e7
2024-05-15 14:12:50 +02:00
Poe Mon
2b720cdb60 Translated using Weblate (Japanese)
Currently translated at 78.8% (377 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6e12e744cecba35c57adfd34efbd28da20593f51
2024-05-15 14:12:50 +02:00
Poe Mon
cc22892700 Translated using Weblate (Japanese)
Currently translated at 77.8% (372 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I71d4f6907890c8cc81ecb0fdf7a4d09ad0ef5047
2024-05-15 14:12:50 +02:00
Poe Mon
34a05e0db7 Translated using Weblate (Japanese)
Currently translated at 77.6% (371 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5024e9590c9c16f5fc24e13b1ee894e8a174d64f
2024-05-15 14:12:50 +02:00
Poe Mon
57204c1229 Translated using Weblate (Japanese)
Currently translated at 77.4% (370 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9fb4602e25228f38407b11169acefe47116b6e4c
2024-05-15 14:12:50 +02:00
Poe Mon
80ed6d9309 Translated using Weblate (Japanese)
Currently translated at 77.1% (369 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib5971b94aa46eb9e1d74a486332f14a9c6627e83
2024-05-15 14:12:50 +02:00
bittin1ddc447d824349b2
9ec4366a45 Translated using Weblate (Swedish)
Currently translated at 100.0% (585 of 585 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iceaa2eef77542854ca2fb9f770c25108462ae1c5
2024-05-15 14:12:50 +02:00
Poe Mon
00dde7a2ae Translated using Weblate (Japanese)
Currently translated at 70.2% (336 of 478 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If15d4f76a60b547d674691e8b00513f06ad8a850
2024-05-15 14:12:50 +02:00
Poe Mon
be902bd736 Translated using Weblate (Japanese)
Currently translated at 100.0% (110 of 110 strings)

Translation: Collabora Online/Android app
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ja/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I122793c57793c98f4d21f030c4784ac2ff7e8bd0
2024-05-15 14:12:50 +02:00
Rob Pearson
08c9b9a2f9 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (585 of 585 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id4654296efb61c47131a538f8ead82ed3f647f94
2024-05-15 14:12:50 +02:00