Commit graph

22546 commits

Author SHA1 Message Date
Andras Timar
aedb392968 move image to right dir
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5012d7c251d9d3e19b99ca5dd22b750d422d89ab
2024-01-09 16:31:51 +01:00
Mazin Alhaddad
374ffb97e9 Fix control header entry highlighting
Currently, the header entry initialization does not correctly set the
backgroundColor or hoverColor and fails silently. Fix that by grabbing a known
CSS property.

The on onMouseMove callback also incorrectly sets the previous entry to
the resulting entry before using it within a comparison. This causes the
branch to never be taken.

Fixes #10
Change-Id: I801fd3e6b6759b0ab66a99d68cd0ef80f1f3737e
Signed-off-by: Mazin Alhaddad <mazin@getstate.dev>
2024-01-09 18:27:14 +03:00
Pedro Pinto Silva
bc9d8258bb Add missing togglewasm icon "Go offline"
This new button is located at the "File" tab and it's only visible if
the enable wasm node is set to true in the coolwsd.xml
- Add missing svg

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id9f16f50f589272848519e8a4578e965e4371035
2024-01-09 16:19:38 +01:00
Darshan-upadhyay1110
55970cdf47 Add bg color for active sheet tab in Calc
- add bg-color for active sheet tab in Calc
- this will differentiate selcted tab with the not selcted
- add hover effect on active tab
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I1e1b4dfa868c30bbf7b3abdd6dafad88777ce19a
2024-01-09 16:18:35 +01:00
Mike Kaganski
a2f989e2ef Don't select columns, when clicks are over resize area
This allows to select several columns (or individual cells) at once,
and then double-click on the respective "border" area to resize them
automatically to their content (.uno:SetOptimalColumnWidthDirect).

Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: I8b19ecb00a6285fec90d73ca09731b4393be6981
2024-01-09 16:09:45 +01:00
Szymon Kłos
add3b76eb5 IdleHandler: bring back idle timeout for view
This fixes regression introduced in
commit 86e8491707
For .eslintrc change, see: https://github.com/typescript-eslint/typescript-eslint/issues/1824

Where per_view.idle_timeout_secs and out_of_focus_timeout_secs
settings didn't have any effect.

<out_of_focus_timeout_secs desc="The maximum number of seconds before dimming and stopping updates when the browser tab is no longer in focus. Defaults to 120 seconds." type="uint" default="120">120</out_of_focus_timeout_secs>

<idle_timeout_secs desc="The maximum number of seconds before dimming and stopping updates when the user is no longer active (even if the browser is in focus). Defaults to 15 minutes." type="uint" default="900">900</idle_timeout_secs>

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iff3b1c26ec07c67fd9be0fb7264468b0be479978
2024-01-09 15:28:35 +01:00
Szymon Kłos
bfc4b1599d IdleHandler: move message strings inside
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I91da2fda73967d11673f59a4c29fb94f2e12f5a0
2024-01-09 15:28:35 +01:00
Szymon Kłos
e9cf81f29e Check for comments in isAnyDialogOpen
As described in the comment there was problem with
userinactive command. This is now solved due to:
commit fa006fc3af
Don't make view inactive when dialog is opened

Comment was from commit 6550e713c4
annotation: calc scroll vertical to make selected comment visible

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ica947cc743292ce3610f52011396ec5f9a73593c
2024-01-09 15:28:35 +01:00
Szymon Kłos
845f4a377b Reuse isDimActive function
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I6e5b4eff3006335f9ff368273c8e508ec0ade4be
2024-01-09 15:28:35 +01:00
Miklos Vajna
973d12b2a7 admin: improve error handling on bad json for updateroutetoken
terminate called after throwing an instance of 'Poco::JSON::JSONException'
...
    #11 0x7f70540e006a in Poco::JSON::ParserImpl::parseImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) (/usr/lib64/libPocoJSON.so.92+0x4206a) (BuildId: 149b3c1772e35fcbe5692d435f1b06820707bad3)
    #12 0x556a70a9511b in Poco::JSON::Parser::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) /usr/include/Poco/JSON/Parser.h:202:9
    #13 0x556a70a9511b in JsonUtil::parseJSON(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Poco::SharedPtr<Poco::JSON::Object, Poco::ReferenceCounter, Poco::ReleasePolicy<Poco::JSON::Object>>&) /home/vmiklos/git/collaboraonline/online-fuzz/./common/JsonUtil.hpp:37:50
    #14 0x556a70a7edde in AdminSocketHandler::handleMessage(std::vector<char, std::allocator<char>> const&) /home/vmiklos/git/collaboraonline/online-fuzz/wsd/Admin.cpp:325:13

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Iebe0f5d689032a8b3c1e5d38c5ee80d344d1cbed
2024-01-09 14:13:46 +00:00
Szymon Kłos
4c70df511b Fix uncaught TypeError in Comment.isAnyEdit
Steps to reproduce:
1. open empty spreadsheet
2. see error in the browser console:

Uncaught TypeError: Cannot read properties of undefined (reading 'getSectionWithName')
    at Comment.isAnyEdit (CommentSection.ts:991:42)
    at IdleHandler._activate (Control.IdleHandler.ts:57:89)
    at NewClass._onSocketOpen (Socket.js:256:19)

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3584c63ae42e6e64b730907bbd33a7b0876da01a
2024-01-09 14:17:48 +01:00
Neil Guertin
0dad48ad18 Fix failing test multiuser/writer/annotation_spec.js
Wait for animation after annotation save

Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: Id1be5607e15ac23596e527c3e27fca83c91ee380
2024-01-09 07:58:12 -05:00
Michael Meeks
ea6551ff2b spdx: improve machine and human readability of headers.
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I2432e3c437f3a68c361da55d3aaf7a53c3f37838
2024-01-09 11:49:11 +00:00
Gökay Şatır
10fc559c63 Take the socket messge change back when in readonly mode.
In readonly mode, mouse events are sent from the browser side. I had changed it.
It may cause unexpected behaviour when it is activated for Calc. So i am taking it back.

Now readonly mode is sending one more event (readonlyclick) on click.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I8af51afe0e07164d065ad0fbbc1452b364bc2dee
2024-01-09 13:06:15 +03:00
Gökay Şatır
e8277a7d30 Add condition for notebookbarUI.
In readonly mode notebookbar is not enabled.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I4fe67a1990e5a847f6c61c171979f0de2ba3ea81
2024-01-09 13:06:15 +03:00
Mike Kaganski
fa4e7ab95e Fixes: #6956 Escape payload strings sent in JSON
Not only quotes must be escaped; JSON.stringify does it correctly.

Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: Idd7deca3cb9154eaece48ef3b197eb75d975f252
2024-01-09 10:26:20 +01:00
Caolán McNamara
49361bb06f _debugGetTimeArray not found
since:

commit dbc4227fa3
Date:   Tue Jan 2 12:37:45 2024 +0000

    debug menu: initialize state on enabling debug.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I600583b670a0cd5846c95d297703c9d79f98a71a
2024-01-09 09:41:27 +01:00
Szymon Kłos
a5032aa54a Prevent from errors when palette doesn't exists
- in case we will remember in localStorage old name which is no longer
  present
- also add support dor DocumentColors when it will arrive
  from core

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9d4b5d91f424c8295da072836331e459d79c96d1
2024-01-09 09:40:46 +01:00
Szymon Kłos
7a36a8ea1a Add color palette selector to Calc and Impress
It will be possible to use "theme colors" then.
It requires core part: https://gerrit.libreoffice.org/c/core/+/161771
sc: announce theme colors with lok callback

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I74552027f57086910358e589ff3130655a236c53
2024-01-09 09:40:46 +01:00
Miklos Vajna
d6822cd4d2 test, UnitUNOCommand: also accept json payloads for statechanged
The JS code does the same at
browser/src/layer/tile/CanvasTileLayer.js:3074.

In preparation of picking core.git
51d8a2ef54751403fa707816e27ddb4e7faa8231 (cool#7492 sfx2 lok: fix bad
view id / statusbar string on async binding update, 2024-01-08) to
core.git co-23.05: this online.git commit should go in first to avoid
breakage.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I652e5c738b7e137970a820de2d71f9c03ba6df7e
2024-01-09 08:36:29 +00:00
Rash419
81fc2d296d release: sign helm chart with gpg signature
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I8cfcaf477ccd78a7bf1c9e5dac349d3d6d5b4d59
2024-01-09 07:20:21 +01:00
Miklos Vajna
28665d45d2 wsd, DocumentBroker: check for missing child process
wsd/DocumentBroker.cpp:2861:32: runtime error: member call on null pointer of type 'WSProcess'
    #0 0x55cbce63d7d9 in DocumentBroker::disconnectSessionInternal(std::shared_ptr<ClientSession> const&) /home/vmiklos/git/collaboraonline/online-fuzz/wsd/DocumentBroker.cpp:2861:32
    #1 0x55cbce66c74d in DocumentBroker::removeSession(std::shared_ptr<ClientSession> const&) /home/vmiklos/git/collaboraonline/online-fuzz/wsd/DocumentBroker.cpp:2764:13
    #2 0x55cbce944614 in ClientSession::_handleInput(char const*, int) /home/vmiklos/git/collaboraonline/online-fuzz/wsd/ClientSession.cpp:886:24
    #3 0x55cbced66255 in Session::handleMessage(std::vector<char, std::allocator<char>> const&) /home/vmiklos/git/collaboraonline/online-fuzz/common/Session.cpp:271:13

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I2a6f830de82ec8189312e57e6554a57909a0aaaa
2024-01-08 09:13:27 -05:00
Miklos Vajna
08ecc20a90 CanvasTileLayer: allow empty string as payload of the state changed callback in json, too
Once core emits JSON format for the LOK_CALLBACK_STATE_CHANGED callback
for the .uno:RowColSelCount uno command, select 2 cells in Calc ->
status bar is updated correctly, now select a single cell again in Calc
-> status bar is not updated. We want to emit JSON format for more uno
commands in the future, for example that is meant to allow testing the
fix for the statusbar part of
<https://github.com/CollaboraOnline/online/issues/7492>.

CanvasTileLayer's _onStateChangedMsg handles a mix of plain text and
json payloads, and the plain text case already allows an empty payload,
while the JSON one does not.

Fix the problem by assuming the intention in commit
403fe10c9d (jsdialog: handle graphic items
updates, 2019-11-28) was to make sure the json key is not missing, not
to block empty string values for the 'state' key.

Once this is in, core.git can emit JSON for .uno:RowColSelCount, can say
which locale was used to generate the payload and we can assert the
correct language in a test.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I145a552e88fdc869a151a0bd07e8b42474ffd6b8
2024-01-08 10:11:17 +00:00
Ashod Nakashian
61cf7b9601 wsd: clean up unused header includes
Clang-tidy recommendation driven header
include clean-up.

Change-Id: I30c32866b7798e70df0463ee6bc7a0bcc3de5049
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2024-01-08 08:38:48 +01:00
Michael Meeks
4dc2cd4e16 logging: reduce excessive logging noise re: tiles-on-fly.
Also better explain that we dump sessions twice.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Iec3ad5b9f78f0572d43cfba1191bcec3584c0092
2024-01-08 08:32:12 +01:00
Michael Meeks
29db7db278 logging: calm down dropping of on-the-fly messages.
These tend to be sent at small increments of time, so have some
hysteresis to aggregate drops. Stalled JS such as in a debugger
or a client not responding can cause this for quite some tiles.

Change-Id: Ia807d4ba0ac26a95cad435cba9ed191f22706041
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-01-08 08:32:12 +01:00
Andras Timar
890cda88a7 do not display 'Go Offline' button when WASM is not enabled
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I02bde8b9f6ca5cfadc036ae930e7f6eeb23c2587
2024-01-06 19:03:13 +01:00
Andras Timar
57f5ee5025 enable l10n of 'Go Online' and 'Go Offline' labels
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibc9cb62047c2bd7c8082ea4a222417e9c6247c54
2024-01-06 19:03:13 +01:00
Andras Timar
6c24a501cf for mobile apps 'Save As' is the correct label
Download does not mean much in mobile app context.
It's an offline tool. We can save (or export) the
document in a different file format.

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7b5cd8cd49258803c21bd21ff087008fe715c613
2024-01-06 19:03:13 +01:00
Neil Guertin
0dd5dd6f60 Rename getFrame() to cframe()
Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: I1f220687eb972d4b3d65cb26fe0201b1ccd24993
2024-01-05 07:12:17 -05:00
Andras Timar
71f8939c98 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I742bb762df3448fab70428ae575f6616f2d6d71a
2024-01-05 13:07:52 +01:00
gallegonovato
a5eb4d8224 Translated using Weblate (Spanish)
Currently translated at 78.8% (368 of 467 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (554 of 554 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I04039a166f235b4becfc0a4f263564c8d1db0abe
2024-01-05 13:06:32 +01:00
Alexander Gabilondo
ec148473a3 Translated using Weblate (Basque)
Currently translated at 78.8% (368 of 467 strings)

Co-authored-by: Alexander Gabilondo <alexgabi@openmailbox.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: Ic6a36fdd21e58f5c9d5b1be73de5ced722f73002
2024-01-05 13:05:12 +01:00
Sveinn í Felli
92747be523 Translated using Weblate (Icelandic)
Currently translated at 97.6% (541 of 554 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: I71c75b5bd1830ed7418a8e88f83c9ea48ba46637
2024-01-05 13:05:12 +01:00
Stanislav Horáček
fa1f8779a3 Translated using Weblate (Czech)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (554 of 554 strings)

Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I19dd29ea5c45d9658d9bd9775b1b64706d94f1f4
2024-01-05 13:05:12 +01:00
Ayhan Yalçınsoy
e814cdf183 Translated using Weblate (Turkish)
Currently translated at 85.8% (401 of 467 strings)

Translated using Weblate (Turkish)

Currently translated at 98.0% (543 of 554 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/help/tr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I466698cf528448833e0042a141f49bbd2668c553
2024-01-05 13:05:11 +01:00
Martin Srebotnjak
730e9a3d0b Translated using Weblate (Slovenian)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (554 of 554 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0d687f46e979aa49ebf7fc0ccf8b50f97305e5c4
2024-01-05 13:05:11 +01:00
Rob Pearson
c69d955514 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (554 of 554 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (English (Australia))

Currently translated at 78.5% (367 of 467 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (554 of 554 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_ZA/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5ba18be10ffd151f12c53a6023106e1b606b180b
2024-01-05 13:05:11 +01:00
bittin1ddc447d824349b2
6e526f0128 Translated using Weblate (Swedish)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (554 of 554 strings)

Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ica06508526c0abbf644204205ac2b71f9ec11f6b
2024-01-05 13:05:11 +01:00
Ettore Atalan
e64464412f Translated using Weblate (German)
Currently translated at 99.1% (463 of 467 strings)

Translated using Weblate (German)

Currently translated at 99.2% (550 of 554 strings)

Translated using Weblate (German)

Currently translated at 98.5% (460 of 467 strings)

Translated using Weblate (German)

Currently translated at 98.0% (458 of 467 strings)

Translated using Weblate (German)

Currently translated at 97.8% (457 of 467 strings)

Translated using Weblate (German)

Currently translated at 93.3% (436 of 467 strings)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I828e5ef8e9ac572c696970c42eec333c16a87092
2024-01-05 13:05:11 +01:00
Milo Ivir
c9eabdd464 Translated using Weblate (Croatian)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (554 of 554 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/hr/
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/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4caa22b84638934e6f8474cbdad5ecd9e5ffc51e
2024-01-05 13:05:11 +01:00
Ihor Hordiichuk
841a70940d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (554 of 554 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (467 of 467 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I373c4bce7a32783a9d405731fa8c0158278bf6f2
2024-01-05 13:05:11 +01:00
Sebastiaan Veld
63ac4c305b Translated using Weblate (Dutch)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (554 of 554 strings)

Co-authored-by: Sebastiaan Veld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7e6d0470da2758a1d98ed45ce2b3d1e8f2a6acfa
2024-01-05 13:05:11 +01:00
Matthaiks
083f0b06f3 Translated using Weblate (Polish)
Currently translated at 100.0% (467 of 467 strings)

Translated using Weblate (Polish)

Currently translated at 81.1% (379 of 467 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (554 of 554 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic5af4a7980c51e36c6b5b5af9e1eaf173f23d09d
2024-01-05 13:05:11 +01:00
Andras Timar
c9a4aa15b1 Translated using Weblate (Hungarian)
Currently translated at 100.0% (554 of 554 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: I7785f45c500aa8c2a4bb5c447bc3fa09de9b766d
2024-01-05 13:05:11 +01:00
Andras Timar
93e937fd51 Add src/control/Control.UIManager.js to list of localizable files
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifb6795647332b6f2dfb208e9b426f788759e325a
2024-01-05 13:03:55 +01:00
Rash419
fb2615c735 fix: tiles not getting updated after migration
- when migrating document from one server to another using indirection
  server tiles were not getting updated
- _resetClientVisArea should be called even if there are no changes to
  the client because the server needs new data even if the client is
  unmodified.
- changing wireId and invalidFrom values to 0, 0 to force a keyframe
  b1f0834ac4/browser/src/layer/tile/CanvasTileLayer.js (L7266)

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I9aa0b34c3b1f157f3e4494568802588e00376d7e
2024-01-05 17:26:36 +05:30
Szymon Kłos
fa006fc3af Don't make view inactive when dialog is opened
If user opened any dialog and we got blur event on
map - it was doing the view inactive by sending
userinactive message to the server and ignoring any
meesages we tried to send. Because of that it was
impossible to test in cypress dropdown dismiss by
click outside popup (due to losing focus from map).

This is regression from rework:
commit 86e8491707
For .eslintrc change, see: https://github.com/typescript-eslint/typescript-eslint/issues/1824

where we changed:
- if (!this._active || isAnyVexDialogActive()) {
+ if (!this._active || isAnyVexDialogActive() || this.map.jsdialog.hasDialogOpened()) {

Make more precise condition so we check if the dialog is a dim one.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic200bd3f0327e4c43d80fb8cf7c2fbd176485b82
2024-01-05 12:48:47 +01:00
Szymon Kłos
5ed163faa1 cypress: autofilter dismiss by click outside popup
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib5a447c9ba772fdc8441b22e98e531505424a6f1
2024-01-05 12:48:47 +01:00
Pranam Lashkari
3cb395959b annotation: fix Uncaught TypeError
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ice2ab2198640b30ca75bc5e088b0187e34dd6422
2024-01-05 15:37:15 +05:30