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
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
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
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
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>
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
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
- 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
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
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
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
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
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
- 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
All modals shown with uiManager.showInfoModal should
have overlay which helps to focus on modal dialog.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id6f159bba6c6be289dadf666b25bd610f2df0cc1
Since the helptab is shared between different doctypes we need to
make sure that writer's accessibility check doesn't bleed out to
other doctypes
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic4d35fe080cbefc2564db1a250dbf6d62274de69
The function-local static prevents tests
from changing the value of a config.
Change-Id: I5febdbf029293fab39f18afa6d905fd571d59545
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>