Commit graph

20056 commits

Author SHA1 Message Date
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
Ashod Nakashian
ed341a61ad wsd: better logging around new child management
Change-Id: Id108ef7a635975bb4fd30ceb509fd2d39c3456f1
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
d88956ae8b wsd: minor cleanup of Storage::create logs
Change-Id: Ic0b32d9ccf67e06d5a3b8f389a7fa4e8d305edf3
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
3fda293103 wsd: name fields in logs and standardize bracketing
Change-Id: I3fe0acf47ebdb0b2551ad20299fe7d720872cbb2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
29193de7cd wsd: improved socket creation/destruction logging
Change-Id: I3f2919b646aad4c7c8b2b464155066008fbe25ae
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
903bb76c36 wsd: fix DEBUG_HTTP in HttpRequest
Change-Id: Iebc61b6632d33528ad362c943cb44cea56418b16
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
e3deb96152 wsd: log the socket FD of http::Response
Change-Id: Ibd02ee6656f4db2e7b09e0b7702a6db55ec8269e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
8fac85b5c2 wsd: log the socket FD of http::Session
Change-Id: I9c0eb3fde6577185bce63277147a6a453311f1ec
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
359017ef10 wsd: log the socket FD of PrisonerRequestDispatcher
Change-Id: I6a000e53d8baca231a2fb8f6df2251a4f57d9876
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
547c97988a wsd: log the socket FD of WebSocketHandler
Change-Id: I5c06ae44437cac32fb726861a5bc49b149ecd0c4
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
1dd2aba82d wsd: log the socket FD of ProtocolHandlerInterface
Change-Id: I362aca685f79868bdf685695d625a832eee02821
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
da29e2c45d wsd: log the socket number of http::Request
Change-Id: Ia0d52b38a1da73ae92765169d5e5064015dc7f40
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
990f8f2375 wsd: support logging without a prefix from static members
Change-Id: Id9105f1a066e290ae20f8409c8fe6bd003678192
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
3b3e936e4f wsd: better logging of DocBroker loading
Change-Id: I1138f42f954086cff5fc9c8465a02802235ca5dd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
38daf70f0a wsd: test: minor test server logging improvement
Change-Id: I509952c80be91dc6d0b97dfdb1df0a98d4051e24
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Ashod Nakashian
0b4e9e071c wsd: minor improvements to socket logs
Change-Id: I4a07124e8adada4c7dbcf0a3b7b07ffa566c57d2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-03-06 08:43:37 -05:00
Gökay Şatır
00b0fd48c9 Remove vex dialog from AdminSocketOverview.js file.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I04bab594327d9e75fe612bf84ee047e58a71ff22
2023-03-06 16:23:20 +03:00
Andras Timar
8406af5c9b Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2448c2b3643d7cc72b079c4fcdc452fe35b6fdcf
2023-03-06 13:18:59 +01:00
Alex Gabilondo
cdbd217644 Translated using Weblate (Basque)
Currently translated at 100.0% (526 of 526 strings)

Co-authored-by: Alex Gabilondo <alexgabi@disroot.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: Iaa5dd6919829519829faee85719b399ee43f6b74
2023-03-06 13:17:28 +01:00
Rob Pearson
b1b4fcbe9c Translated using Weblate (English (South Africa))
Currently translated at 100.0% (526 of 526 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (526 of 526 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (526 of 526 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4d4a886398bcdc86a454775948c06f9cdb8bb1f7
2023-03-06 13:17:28 +01:00
Weblate
6406cfc122 Added translation using Weblate (Persian)
Added translation using Weblate (Persian)

Added translation using Weblate (Persian)

Added translation using Weblate (Persian)

Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I69ea7181f2ae9c640262866d436722bf3bc27810
2023-03-06 13:17:28 +01:00
HM
ad053b7535 Translated using Weblate (Persian)
Currently translated at 4.5% (5 of 110 strings)

Translated using Weblate (Persian)

Currently translated at 1.8% (2 of 110 strings)

Translated using Weblate (Persian)

Currently translated at 0.9% (1 of 110 strings)

Added translation using Weblate (Persian)

Co-authored-by: HM <goodlinuxuser@chmail.ir>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fa/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icefa2f4b73cfe3e40e82aa7c51ddba5990c7feaa
2023-03-06 13:17:28 +01:00
Oğuz Ersen
0de4b45baa Translated using Weblate (Turkish)
Currently translated at 100.0% (526 of 526 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: I09ea8f9da5ea7941b2e3b27d80b289e6cda61ba9
2023-03-06 13:17:28 +01:00
SC
ed3f464e2f Translated using Weblate (Portuguese)
Currently translated at 100.0% (526 of 526 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: Ibe31ad4d15fa39066676674fa8c12cdc30ad4559
2023-03-06 13:17:28 +01:00
Andi Chandler
47e736a1de Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (526 of 526 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: I02f93fbb814f904c963af19953562e145258bd3d
2023-03-06 13:17:28 +01:00
Martin Srebotnjak
44b8ffae47 Translated using Weblate (Slovenian)
Currently translated at 100.0% (526 of 526 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: I69a74d53954fb451800a99401df1058f66b83028
2023-03-06 13:17:28 +01:00
Miloš Šrámek
d826092ea6 Translated using Weblate (Slovak)
Currently translated at 90.1% (474 of 526 strings)

Translated using Weblate (Slovak)

Currently translated at 88.7% (467 of 526 strings)

Co-authored-by: Miloš Šrámek <msramek22@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I489103f653d695e42206aa37d173167e7607d13c
2023-03-06 13:17:28 +01:00
Milo Ivir
bd293f8a9e Translated using Weblate (Croatian)
Currently translated at 100.0% (526 of 526 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I707d835d442bf7e84574c38652fa17f7e4c98150
2023-03-06 13:17:28 +01:00
Ihor Hordiichuk
4f8e33c1fd Translated using Weblate (Ukrainian)
Currently translated at 100.0% (526 of 526 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: I135d70667f45eb841499e479840d4c24a01395a9
2023-03-06 13:17:28 +01:00
tygyh
0377763c26 Translated using Weblate (Swedish)
Currently translated at 100.0% (526 of 526 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: I6ca81fb285319885f4bc209c9ae3a05acd1e332a
2023-03-06 13:17:28 +01:00
Matthaiks
183fb277da Translated using Weblate (Polish)
Currently translated at 100.0% (526 of 526 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: I143dc898ea4b227005440bc1b4c9a63511f9fc2b
2023-03-06 13:17:28 +01:00
Sebastiaan Veld
245974c59b Translated using Weblate (Dutch)
Currently translated at 100.0% (526 of 526 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: Iece61b5e7c39defcad3ad62f1563f492c86f1eb4
2023-03-06 13:17:28 +01:00
Yaron Shahrabani
8a8ad2427a Translated using Weblate (Hebrew)
Currently translated at 100.0% (526 of 526 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: Icdcc964f10a73564ccd39486491f0ecaca0e80ad
2023-03-06 13:17:27 +01:00
gallegonovato
ed4848fe87 Translated using Weblate (Spanish)
Currently translated at 100.0% (526 of 526 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: Ieea6f85534d727578af24b6a7be1b2ef79981a80
2023-03-06 13:17:27 +01:00
Stanislav Horáček
324e93afad Translated using Weblate (Czech)
Currently translated at 100.0% (526 of 526 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: I0ee2bf695c4b0a2f8d2eb98f037b1ecdc433bf92
2023-03-06 13:17:27 +01:00
Andras Timar
82aca4dee7 Translated using Weblate (French)
Currently translated at 98.0% (516 of 526 strings)

Translated using Weblate (German)

Currently translated at 100.0% (526 of 526 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (526 of 526 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/fr/
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: I3366752a41e14dbd68a0b7000136eaa36639531f
2023-03-06 13:17:27 +01:00
Gökay Şatır
86e8491707 For .eslintrc change, see: https://github.com/typescript-eslint/typescript-eslint/issues/1824
idle handler is moved into typescript and outside of map variable.

vex dialog of handler is replaced with JDSdialog.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I341c28e9e3f1659987b871a235a50757f42d4d2e
2023-03-06 15:10:10 +03:00
Pedro Pinto Silva
6bcc3c7032 Improving message on TTL expiry handling
when session expires some users might need to login again
in their integrator. Do not exclude those users. Otherwise
they might try to refresh and no session renewal happens.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I305d185fc8e9072e52b668e12e7ea80c55e9b93d
2023-03-06 11:39:59 +01:00
Pranam Lashkari
3694258e99 jsdialog: support toggle event for push buttons
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ibd5a2d6de35c2f7142afe0254f4133746152226d
2023-03-03 17:06:51 +01:00
Szymon Kłos
5457c51d76 jsdialog: send correct id on tab switch
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie098b2f6f2e6333765658e4d27eab6052735bc8f
2023-03-03 19:59:49 +05:30
Szymon Kłos
3dde59c9d7 jsdialog: don't show error on closing busypopup
This is regression from:
a2d666d53a
JSDialog overlay: Use CSS rules for positioning.

When auto-save or save is performed we show busypopup.
We shoudn't send any messages to the server as it is
pure JS dialog.

Parsing error was caused by sending close message:
1677832085616 OUTGOING: control: 'dialog' id:'__DIALOG__' event: 'close' state: 'null'
1677832085617 OUTGOING: dialogevent busypopup {"id":"__DIALOG__", "cmd": "close", "data": "null", "type": "dialog"}
1677832085620 INCOMING: error: cmd=dialogevent kind=syntax
1677832085621 INCOMING: jsdialog: {"id":"busypopup","jsontype":"dialog","type":"modalpopup","action":"fadeout"}
1677832094401 OUTGOING: userinactive

Let's don't send that message for fade out effect we use to close it.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ibe430c389ba90f7ec53cc167ff860b24935a2241
2023-03-03 10:32:24 +01:00
Gökay Şatır
fdd039e502 Modify cypress tests for JSDialogues.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I566ddb2c3111d2d1689b91c678ac9aa92e88ab05
2023-03-03 11:38:33 +03:00