Commit graph

23949 commits

Author SHA1 Message Date
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
Rob Pearson
a633b7f627 Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (585 of 585 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8bbd9a7e9f757a66a8f81557235443d37939297c
2024-05-15 14:12:50 +02:00
Rob Pearson
55c8c0d058 Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (585 of 585 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0a8912f34f96cd6a70d5d41f171cce41f5a6168c
2024-05-15 14:12:49 +02:00
Rob Pearson
9db198849a Translated using Weblate (English (Australia))
Currently translated at 100.0% (585 of 585 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I15218d4f1e8a6334d70c1d96b58b338bfef94fce
2024-05-15 14:12:49 +02:00
Poe Mon
35c14d6fb0 Translated using Weblate (Japanese)
Currently translated at 65.6% (314 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: Ie689e357df29b9e0a02e34ce708d2ebc523ec5ed
2024-05-15 14:12:49 +02:00
Poe Mon
2a37ef7862 Translated using Weblate (Japanese)
Currently translated at 63.3% (303 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: I238a6f1ae68686c8ff3e5a0886e3ae3877ca4c5e
2024-05-15 14:12:49 +02:00
Shavazo
f0a7f87a27 Translated using Weblate (Japanese)
Currently translated at 63.3% (303 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: I238a6f1ae68686c8ff3e5a0886e3ae3877ca4c5e
2024-05-15 14:12:49 +02:00
Poe Mon
0c58cf5512 Translated using Weblate (Japanese)
Currently translated at 62.1% (297 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: If4c7da24e2bcbc03f1b0ec26dd2a59d6c98ec76d
2024-05-15 14:12:49 +02:00
Shavazo
11f82d7894 Translated using Weblate (Japanese)
Currently translated at 62.1% (297 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: If4c7da24e2bcbc03f1b0ec26dd2a59d6c98ec76d
2024-05-15 14:12:49 +02:00
Alexander Gabilondo
c4e8380c04 Translated using Weblate (Basque)
Currently translated at 98.8% (578 of 585 strings)

Co-authored-by: Alexander Gabilondo <alexgabi@openmailbox.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: I12cb7e29d9be8c39523f3d93973d96b55868e423
2024-05-15 14:12:49 +02:00
Poe Mon
43cd2cf467 Translated using Weblate (Japanese)
Currently translated at 60.2% (288 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 55.4% (265 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 55.2% (264 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 55.0% (263 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 53.7% (257 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (585 of 585 strings)

Translated using Weblate (Japanese)

Currently translated at 88.0% (515 of 585 strings)

Translated using Weblate (Japanese)

Currently translated at 88.0% (515 of 585 strings)

Translated using Weblate (Japanese)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Japanese)

Currently translated at 68.1% (75 of 110 strings)

Translated using Weblate (Japanese)

Currently translated at 86.3% (19 of 22 strings)

Co-authored-by: Poe Mon <p.poemon.awitd@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ja/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6155250baf0d3f7ff2e54330cc9622a163ed177b
2024-05-15 14:12:49 +02:00
Sebastiaan Veld
cfb61a3d30 Translated using Weblate (Dutch)
Currently translated at 100.0% (585 of 585 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (585 of 585 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: I26404dbeefe0d28b080eb4dd9c480ef1a60ab9ff
2024-05-15 14:12:49 +02:00
Shavazo
376cf3086f Translated using Weblate (Japanese)
Currently translated at 60.2% (288 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 55.2% (264 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 55.0% (263 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 53.7% (257 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 82.7% (484 of 585 strings)

Translated using Weblate (Japanese)

Currently translated at 38.0% (182 of 478 strings)

Translated using Weblate (Japanese)

Currently translated at 82.0% (480 of 585 strings)

Translated using Weblate (Japanese)

Currently translated at 78.9% (462 of 585 strings)

Co-authored-by: Shavazo <pleasure.7010@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ja/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I652016630fe632cb4815ce045596aabc4126b343
2024-05-15 14:12:49 +02:00
Milo Ivir
275a3e7445 Translated using Weblate (Croatian)
Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (Croatian)

Currently translated at 99.1% (580 of 585 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I91353f8cc83de2410f757ce2365e87471e14173b
2024-05-15 14:12:49 +02:00
SC
00e7d6c095 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (478 of 478 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (585 of 585 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (22 of 22 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic6d8df7646c9854d5f7ba7bfffc6d691889b920c
2024-05-15 14:12:49 +02:00
Henry Castro
a4d316f2ff browser: preview: fix invalidate all parts
It is called when changes dark/light mode,
reset the fetch property to false.

Change-Id: Id8de5245d56405624ebe72b5655d37b52892f654
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-05-15 10:13:30 +01:00
Henry Castro
aa9ee925f8 browser: preview: fire 'beforerequestpreview' on request preview
Change visual indicator before request a preview.

Change-Id: I3a050ebc2aa2216af9508e01f56a5bf46756f5e1
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-05-15 10:13:30 +01:00
Henry Castro
3efbfaeccd browser: preview: add initial preview smile
Change-Id: Iad438677637850f8e410e7ba652a30673bea234a
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-05-15 10:13:30 +01:00
Henry Castro
43f56b89f6 browser: preview: remove remaining unused code
Change-Id: I36efb34ea813fc110fdad3b1165c37f7f2b9d683
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-05-15 10:13:30 +01:00
Skyler Grey
a8af953b9f Make headers move on pinch-zoom
While zooming, things like the cursor move along with the zoom. The
headers instead stayed fixed until the zoom is complete. This is
inconsistent with panning, and worsens your experience when zooming

Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: I100de8f1fd62b831c285c9acab456260dbb77ead
2024-05-15 09:08:30 +00:00
Miklos Vajna
39e4644822 net: fix clang-15 build in resolveDNS()
net/NetUtil.cpp:65:23: error: no matching constructor for initialization of 'net::DNSCacheEntry'
    queries.push_back(DNSCacheEntry(addressToCheck, hostEntry, now));
                      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Went wrong in commit 5be3ccc871 (cache DNS
results for 20 seconds, 2024-05-14), the rest of the code builds with
this toolchain.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Idc8ed4d88a7f955cf2cdc1e10ac9931823950126
2024-05-15 10:36:53 +02:00
Skyler Grey
d9168d447f fix(pan): Make screen edge offset document
Similarly to I1a2060d44d3b75935bf138056330a52d56a028ae, I have made
panning past the document edge create an offset too. This provides
similar benefits to the fluidity of scrolling at document edges.

Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: I2eedf2449620c5c8fec9ebf71dbe23d5a643ad5c
2024-05-15 10:07:05 +02:00