If we have already a feature unlock dialog open, don't let open the
second one.
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I7c7235bc1a64c48ba69f11d0599bbb9839b7fe71
- unified menus in notebookbar
- unified 10 favourite languages and More... button
in statusbar, menubar and notebookbar
- dialog for "more..." languages
This helps with LanguageTool where we have available
lots of languages and list cannot appear fully on the
screen.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I90c59ee4e7abdafc5b81e8ca8aaa89745effb467
Currently translated at 100.0% (520 of 520 strings)
Translated using Weblate (Croatian)
Currently translated at 99.8% (519 of 520 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: Iee1a37f505b89db8a5962f3393b6dd1dd6345130
Currently translated at 100.0% (457 of 457 strings)
Translated using Weblate (Catalan)
Currently translated at 99.8% (519 of 520 strings)
Translated using Weblate (Catalan)
Currently translated at 97.6% (508 of 520 strings)
Co-authored-by: Joan Montané <jmontane@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If803a571e5453daf90f3be7cb98dbe3fbff7c4ee
Without this change focus is on sheet and ESC does not close the dialog
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: Ib60e681726393c67b38101d6eb48e3693ba156e3
we need to use containerHandler to get response bindings
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8d38020ac3fcf889932c1cbd16005dd06f609e27
Before this commit, if the user would choose to insert a link
without text value (maybe plans to add the title later)
or when the user forgets completely to insert the text value
the hyperlink dialog would disappear and no hyperlink would be inserted.
If the text is inexistent -> take the hyperlink itself as the text value
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4487d3f3c6084e1da11d042d5e6930d4f772d652
Plus always good to inform the user of what is happening
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia9a85062f525139f716669e9cdacf444d6055274
adding 'uno' field to menu items broke some custom feature handling
removed '.uno:' from the command and if uno field is missing add lockUno field
it is a revert of a6cc06a with some additional changes
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I1cce37c0d943be5f2cd1ec53f363fbbd73464ac8
Currently translated at 99.0% (109 of 110 strings)
Translated using Weblate (Albanian)
Currently translated at 0.0% (0 of 110 strings)
Translated using Weblate (Albanian)
Currently translated at 100.0% (22 of 22 strings)
Translated using Weblate (Albanian)
Currently translated at 50.1% (229 of 457 strings)
Translated using Weblate (Albanian)
Currently translated at 15.0% (69 of 457 strings)
Translated using Weblate (Albanian)
Currently translated at 96.8% (493 of 509 strings)
Translated using Weblate (Albanian)
Currently translated at 14.6% (67 of 457 strings)
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sq/
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: I7c421af6ce5301b420b3422984e0aba7f544133c
Currently translated at 100.0% (457 of 457 strings)
Translated using Weblate (German)
Currently translated at 100.0% (509 of 509 strings)
Co-authored-by: Marc Rodrigues <marc.rodrigues@collabora.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: Ie2748b3550aae618c0033cbc8decddb74592cfc8
click and drag mouse pointer on row/column headers to
select them in calc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3d62269692ffe47269bd6b7db04175c0cdcfb4bc
- once client get notification it will update the routetoken
by refetching it from indirection url endpoint
- added support to configure indirectionurl enpoint using
remote config
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Iead22af56c655bdece6b70cc4e97a1fa401b1bae
fetch route_token from indirectionurl and add them in wopisrc
parameter
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I6e724d0c59e12d4f7f6c125ec076e90d20b9b3c8
In cases where zotero item is added by a user and another user opens the doc,
if the new user does not have that item in the database, he may fail to do activity related to that item,
so we warn the user when we are setting up the zotero
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I9056f38334cb8d9b127ddb594adb083d25bd4472
Left and Right arrow keys are also allowed.
If user presses one of the other keys, focus will be set to map again.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I3786ed4b9ef04deb7e3e05f157843fc30f3dc76e
to browser\dist, otherwise it has to be done by hand after every
wasm build.
Signed-off-by: Balázs Varga (allotropia) <balazs.varga.extern@allotropia.de>
Change-Id: I46c432116d0d42016dfc1573009d284f82c52114
if document contains existing zotero citation,
restrict user from changing the field storage type.
currently online does not have any ways to change the field type
maybe in future we can add some core APIs to support this
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I58caf403744431d34344f5a1cb635781409d7e68
You now must pass --with-wasm-additional-files=<path> where path
contains a file called sample.docx.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I21e62feb6282833a5d60b31db26328eda63cdaea
Now I hope things are initialised in the right order and the plumbing
gets set up so that messages are passed as expected. It seems to work
most of the time.
Main changes are:
- The online WASM executable is built using the -s MODULARIZE -s
EXPORT_NAME=createOnlineModule options. This means that the WASM
runtime is not automatically initialized and the main() function
is not automatically started. Only when the createOnlineModule()
function is called is that done. Calling exported C/C++ functions
is a little bit more complicated.
- Code to actually Base64-encode strings to be executed as
JavaScript when expected is now present in wasmapp.cpp. (After
being passed through the Base64ToArrayBuffer function on the JS
side.) Whether this is actually necessary is not fully clear, but
to keep the code similar to that in the GTK, iOS, and Android
apps, this is kept as such for now. It would probably work fine to
just directly create the ArrayBuffer in the C++ (using the EM_ASM
magic).
- The COOLWSD::run() function is now run in a separate thread so
that main() can return.
- The FakeWebSocket's onopen() function is now called from
innerMain(), where the HULLO message is sent. It remains a bit
unclear if this really is the ideal place.
In the mobile apps the HULLO message is sent and the onopen()
function is called in the window.socket.onopen() function in
global.js.
But note that despite that the WASM app and the mobile apps are
largely quite similarly constructed and the FakeSocket and
FakeWebSocket plumbing is the same, there is an important
difference. In a mobile app the C++ code is what runs first, and
that then loads the HTML page into WebKit, in which the JS
runs. In the WASM app it is the other way around. The web page is
naturaly the one that is loaded and the JS code then starts
running the C++ code as WASM.
Finally, note that the whole concept that there is a separate "WASM
app" is temporary.
What we eventually want to achieve is that the COOL webpage upon
loading will connect a COOL server. As it does currently. The COOL
server runs the online and core C++ code to load a document, and
renders document tiles and sends those to the client JS code to
dispay.
The new thing will be that, if enabled, in addition to the HTML and JS
resources, the client will also download the WASM code and data
resources. Also, the document and updates to it will be downloaded
while being edited so that a copy can be kept in client memory. But
the WASM code and the downloaded document will remain unused most of
the time. Only if the connection to the COOL server breaks will the JS
start running the WASM code and the JS will talk to online code
running locally as WASM instead of to a COOL server. Obviously there
are still lots of things hanging in the air here regarding how exactly
this will work.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ib1786a0b485d51797b0f2302d4296aa1ff9df5c1
(Note that the existence of a window.ThisIsTheEmscriptenApp property
is also a temporary hack; the eventual goal is for a one same Online
webpage to be able to switch automatically from server-based to
WASM-based and back based on connectivity to the server.)
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ia5e3f4008eaaf1543c08482418635dca0d3983e5
Signed-off-by: Tor Lillqvist <tml@collabora.com>
When we click empty part of navbar or notebookbar bar, focus
should be on sheet. There are some wide containers
(eg document title) and they looking like empty area. Clicking
there makes lost the focus. Here we add aditional conditions
to check if user cliked that empty looking areas.
Without this patch, focus is on browser itself and CTRL+S
saves the HTML instead of current document.
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I3a94c2d66dc093475e6674543b36b2c6905df2c0
There is an element displayed as a column before ratio
and we then hide it which is fine but, when ratio label
becomes to lengthly (Seitenverhältnis beibehalten) it then
gets cropped due to lack of space.
- Make it span across columns
- Do not align to the end
- Remove left margin from checkbox
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I02ec7a608c0b330a52fa70db3b453fe04fefa805
After rework to grouped download as and also export
entry fro PDF and EPUB - these formats were not included.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I91e5b25823017a3164fef2b63b2552e9893cf0b0
In some languages (de) some labels were being shifted and ultimately
cropped due to their length. Example: Using German; selecting an image
-> the 'Seitenverhältnis beibehalten' was being cropped
Remove padding for those labels when on the sidebar
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4097268682a1890543c9d2a8107e621ea15335c9
sections are used to represent bibliography when citations are used as refmark
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I4094cf053cb3fe1c86eb7f7f0a95816fb51fa8c7
fixed regression: user was note able to insert any citations as bookmark
This also reduces number of queries to find the citations under the cursor
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I40148e61a0109e5a807b50ea0121ab623bc41e4d
Before this commit, on chrome/mium, menus such as
image or save as in the tabbed view (and with the browser zoom
set to bellow 80%) were being displayed with scrollbars.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id32e86229fe5d7aad293d24a20c9bfa555fbe78b