Commit graph

20034 commits

Author SHA1 Message Date
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
Gökay Şatır
e1f1399ace Hide also the wrapper of pushbutton when the button is hidden.
Make the modal helper's ids unique.

Turn vex dialogs in clipboard.js into JSDialogs.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I99b06dafb95a2cf82004141b18012972fde7f836
2023-03-03 11:38:33 +03:00
Gökay Şatır
e116a4d3e8 Use a JSDialog for pasteSpecial dialog.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I70d1c7788afc0c16c679000e78210a255f46461d
2023-03-03 11:38:33 +03:00
Henry Castro
aed7a68ec0 browser: add author data to calc comment
The recent changes in LO Core, when edit a comment
in Calc the author data is not preserved.

Change-Id: I4f26ef2044d28bf55ff6a00a2e585ece79c6eb9b
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-03-02 14:56:41 +01:00
Pranam Lashkari
92a7495b4f zotero: fetch citation style when zotero is initialized
when document is loaded zotero may not be initialized,
this caused problem and citation style was never fetched

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I827bf4edf03dc81bbf8e246280ed14370e438494
2023-03-02 13:50:04 +01:00
Pranam Lashkari
428213386a zotero: avoid updating bibliography if no citations
sending requests without citation keys returns bibliography for all the items in library
this causes problem is the document already has some kind of bibliography which is updated unintentionally

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I34976f94bf3cbb6d07fe06e8b1ca974b2ee59ebb
2023-03-02 13:49:39 +01:00
Rash419
0edefdf994 fix: writer: zooming into document with multiple view doesnot work
- msgData is undefined when we get graphicselection: EMPTY message
- "Cannot read properties of undefined" error was stopping the further execution
  therefore the view was not getting updated

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I4fefd9205ae46fee24c91d070e3f3f16c4912aa2
2023-03-02 13:33:49 +01:00
Szymon Kłos
d21155f778 Update jsdialog widgets headers
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I07be0d9e917db3f0e2f924d04ed19cfdcdb23e56
2023-03-02 11:53:44 +00:00
Szymon Kłos
9bdb0692f0 Verify if preview matches currently displayed link
Download time can be longer and user can already switch to
other link. Verify if received and displayed link matches.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I502133d71a0a9032947c6233a0ac2750625b8650
2023-03-02 12:27:45 +01:00
Szymon Kłos
331f510cac Use selected text for link text
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5fe42036bb48a066af4b7f43e36cc1f3b14bc562
2023-03-02 12:27:45 +01:00
Szymon Kłos
29b983ea1c Limit preview height and width
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia6227c7f605bc7c34ae47749ea6896dc55de9038
2023-03-02 12:27:45 +01:00
Szymon Kłos
662979deda Get link preview functionality
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I80c4a15731cc05cc6deb36b5aac7f73c94e94432
2023-03-02 12:27:45 +01:00
Szymon Kłos
07cf933a8c Add Pick Link button
Button is shown when CheckFileInfo contains 'EnableRemoteLinkPicker'.
After press UI_PickLink is send via postMessage.
Action should be finished with sending Action_InsertLink to editor.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I53c61a25d1fab655771742ec6d97dc056192642a
2023-03-02 12:27:45 +01:00
Szymon Kłos
6e2f023664 jsdialog: handle multiple tab controls inside dialog
It was possible to use only one tab control.
Now useSetTabs parameter for builder is introduced
which defines if we want to use custom placement
of tabs handled by the parent container or put
tabs in the place where they are defined in JSON.

Custom placement is needed in mobile-wizard and notebookbar
as for them tabs needs to be placed at the top bar.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I6420e303de248058a7a94ead47b6672b717360df
2023-03-02 09:44:23 +01:00
Gökay Şatır
e665b58772 Update vex based tests for about dialogue.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I8d572a1256b51bdce9b5ad4605ab0c0105d75b07
2023-03-02 11:29:58 +03:00
Gökay Şatır
b34d0fe4a6 Turn about dialog into a JSDialog.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I95620ef2dc50af054be4c7a1774516ac4fe8c3ff
2023-03-02 11:29:58 +03:00
Gökay Şatır
a2d666d53a JSDialog overlay: Use CSS rules for positioning.
Set position rule and some others of the overlay to absolute. So we can use it both for popups and documentareapopups.
Set max-height of the pop-up so it doesn't look ugly when the height of the popup is bigger than the window height.
Modify JSDialog for the new behaviour.
I also split the code into functions for easier maintaining while updating.

Add special rule for comments. They are not contained in the container.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ia7d12de23bc64d811156f565b076463cb22ee38e

Turn help popup into JSDialogue.

Change-Id: I81b198863f959de1047589fc028ac6c2ce3b1ff1
2023-03-02 11:29:58 +03:00
Rash419
507d0f1a4a js: added localization for jquery-ui datepicker
replaced jquery-ui-dist node_module with jquery-ui
for localization

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I6dd95cb8859cd2e0626195a0b87b496fe44afc49
2023-02-28 15:51:36 +01:00
Gökay Şatır
9d09dccecc Hide sidebar button on readonly mode.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I29a899a1113c6188558e8b85bf9adde5bc9049fe
2023-02-28 11:57:11 +01:00
Miklos Vajna
e4298ccf31 fuuzer, httpresponse: clear state before each run
The max input size is 16384, so in case the input is saved after each
run, then this can allocate ~300MB of memory. This is considerable
amount, given that the upper limit of the fuzzer process is 2GB.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ieedb6a537d5b539255ed8bacd79ff23db3c15e9f
2023-02-28 10:18:41 +01:00
Andras Timar
c05c2692ab Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id54db427bce6a7be1e2aea3d82c550b11867ca8b
2023-02-27 15:10:14 +01:00
Pedro Pinto Silva
a60f38e48f Improve You are leaving editor message (open hyperlink)
- Improves modal title instead of generic 'Open Link'(which is
already used in the button) use instead a more informative
tile: 'External Link'
- Indicate to the user that the web page will open in a new tab
as per request:
  - Fixes: https://github.com/CollaboraOnline/online/issues/5893

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia4770d13ed0e5ef4f33aaa85054b0d21bea9e449
2023-02-27 15:05:41 +01:00
Nathan
6bccfb14d1 Translated using Weblate (French)
Currently translated at 99.2% (516 of 520 strings)

Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I71a9a45bc5be1ccc4add82aed45a4474d89d7c45
2023-02-27 14:55:50 +01:00