Commit graph

4624 commits

Author SHA1 Message Date
Henry Castro
c58b8dfdfc loleaflet: makefile: prefix m4_ builtin functions
Change-Id: I3605da8b44cec9855be39846de7f10feaf075f7d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89890
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-03-04 13:30:41 +01:00
Henry Castro
175cbdb3f4 loleaflet: makefile: use m4 to bundle all js files
It is a flexible bundling of all javascript libraries and
each platform (ANDROID, IOS, Desktop) can remove or add
from node_modules or imported according to its requirements.

Maybe in a near future some external libraries could be loaded
on demand or lazy loading that are not necessary when the page
is loading.

Change-Id: Ief5d4973ab29a4fb3c4848c3e1653a24fff0da69
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89860
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-03-03 18:21:10 +01:00
mert
41d065af2a Fix hyperlinkclicked message is not properly parsed
$.inArray does not work because the parsed msg
is not an array
Change-Id: I68a8312da17b0832b09a88afeaf05ad75a2c6e2d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89833
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-02 20:50:59 +01:00
Pedro Pinto Silva
a47db54ea5 Mobile: mobileWizard: Impress: add iconpath according to its id from unocomands coming from core for this case specific
Change-Id: I5f91790528a71e8bff5de58b0d3988aa305c02c5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89635
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-03-02 20:02:39 +01:00
Pranam Lashkari
e30b035136 leaflet: removed legacy inertia scrolling implementation
Change-Id: I6be07f1d16ea6bcebfa9c8c2712b713c3f0b1950
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89772
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-03-02 16:53:19 +01:00
Henry Castro
3697315349 loleaflet: makefile: use m4 to bundle src js files
It is a flexible bundling of the loleafet source files
and each platform (ANDROID, IOS, DESKTOP) can prevent to
bundle some files that is not necessary.

(i.e Mouse handling in native mobile devices)

Change-Id: If018bcc8682df5ae4bf5dd9943aa977e18c0de36
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89734
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-03-02 16:51:32 +01:00
Jan Holesovsky
0acb00fc24 android: Handle the loading progress directly in the app.
This way we can easily extend the "preparing for the 1st start" to the
follow-up "loading..."

It should also look better while the webview is being initialized etc.

Change-Id: I8de2dd96a726fa8302df558f691b1db82c9c8e71
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89733
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-29 11:03:42 +01:00
Henry Castro
133dee2980 loleaflet: makefile: avoid to execute javascript to get a list file
We are in state to bundle Javacript files for different platforms:
Android, IOS, desktop. And each platform could add specific chunk
Javascript code according its specific requirements.

Change-Id: Ib52ae816cb9443c8605fdf70aaa4c5e4c81b962d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89557
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-28 13:46:18 +01:00
Dennis Francis
c22b29f864 Fix js crash when jsdialog invoked on piecharts
For some reason, the parsed jsdialog message for piecharts
in calc has element(s) with children that evaluates to undefined.
Although we need to fix why there is such an child for any ui object,
this is a quick fix that skips such entries, so that the chart dialog
is shown without a crash in the console. Else the dialog wont appear.

Change-Id: Iff11051bf775ece63ac9f0ca180b3c76d7d14e84
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89563
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-27 18:12:00 +01:00
Pedro Pinto Silva
ade9bcb454 mobileWizard: context actions were not aligned in some browsers
Change-Id: Ibea92fcce449eea9651e6d84e44e47924b116f2e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89544
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-27 16:04:51 +01:00
Pedro Pinto Silva
c8b355bf1b Mobile: Toolbar-up: make sure that there is no background being applied to any icon on checked status
Change-Id: I1f419d485cefa387c35a9c42c9ac6671df909434
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89639
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-27 15:55:32 +01:00
Aron Budea
1173d8df30 Replace 'includes' with '$.inArray' for IE11
Regression from 864749bb16.

Change-Id: Ie4fdc673f9e08fbfce24220656380cc3e183da37
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89593
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-02-26 22:13:13 +01:00
Aron Budea
ecafb84258 Use '$.inArray' correctly
Follow-up to 6fdad3ba94.

Change-Id: I0829ab27fa6b095f5e5bfa6587b221fc0169407e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89594
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-02-26 22:12:44 +01:00
Aron Budea
6fdad3ba94 Replace 'includes' with '$.inArray' for IE11
Regression from b36d56bf5b.

Change-Id: I270afb92366fa8992c08a79bd1c561117a18bb9c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89560
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-02-26 17:39:16 +01:00
Pranam Lashkari
7bbd1dbffd leaflet-CSS: Increased the sheet tab height
Change-Id: Idf1d732700853d237339c16d991b32ec86ce90de
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89535
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-26 17:10:01 +01:00
Michael Meeks
e6c880b1af remove less-useful / non-functioning impress fields.
Change-Id: Ie3e4a118c3069abf928c93b03a9e3a1c60b1d251
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89555
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-26 17:06:32 +01:00
Pedro Pinto Silva
5bdf841a8f Spreadsheet mobile: add missing ( originated from 364623c87f
Change-Id: I2b6a96865f770315d5a0b990ecc24b839271f763
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89547
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-26 14:48:22 +01:00
Pedro Pinto Silva
f401f1f714 Hamburger menu: adding ids (so it uses the respective icon) and adjusting cypress file
Change-Id: I33ad1671cc859ea1af1350f3e3d3a83b33c355c5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89532
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-26 12:41:57 +01:00
Pedro Pinto Silva
367c6f9588 mobileWizard: ui-header-left: remove hard width and replace it with min-width
Change-Id: Ib10f93b66ab2f3f5f50e8ae520ec8755361ae0cf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89534
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-26 12:34:59 +01:00
nienzu
51c840249e tdf#130798 admin: Use original data to create network traffic graph
Instead of using the data of rolling average, using original data would
reflect the real network traffic.

Change-Id: I3f5a277b6ee8e7d760f5623eb4aae9f6c999e10f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89494
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-26 10:53:25 +01:00
Ashod Nakashian
23f4848131 leaflet: don't hide the keyboard when changing selection
We now don't change the keyboard state when the user
drags the selection markers.

Change-Id: Ic3dec8011808df8d1028e1925190854a50588e1c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89492
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-26 02:57:33 +01:00
Ashod Nakashian
16f1c624ea leaflet: don't lose focus when the dialog cursor is hiden
The cursor visibility can change rapidly, and the formula-bar
seems to do this when typing into it. The result is that
because of losing the input focus we lose some of the input.

Instead, we only use the dialog cursor update to show the keyboard
rather than to hide it. For hiding, other messages will do it.

Change-Id: I0e8674170aa9d05b6ddc15de8d35792377b6725b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89490
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-26 01:35:30 +01:00
Ashod Nakashian
8ad7c4790c leaflet: fix searching in document functionality
This makes searching work again, but typing 'r'
still triggers F3, which simply matches the next
hit (on desktop, on mobile it works fine).

So (on desktop) typing 'your' will match the first 'you'
and the 'r' will move the search results to the
second 'you' (assuming there are at least two 'you'
entries in the document and one 'your').

Change-Id: Iab425afdfb3848ecff97f5599ceb7cae160b097d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89357
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-26 01:33:30 +01:00
Ashod Nakashian
af58e19750 leaflet: remove redundant check
Map.editorHasFocus() implies map.getWinId === 0.

Change-Id: I522a377df095683453d2499a87485465437f9abb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89356
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-26 01:32:38 +01:00
Jan Holesovsky
6f3f52304f Don't bind the slideshow downloading to the richdocuments...
... decide based on the DownloadAsPostMessage wopi value instead.

The idea is that the Nextcloud app actually sets the DownloadAsPostMessage
wopi value to true, which means that all the downloading (including
slideshow) is passed as Download_As postMessage anyway.

So deciding here based on the existence of the Nextcloud app is
not necessary, because there might be others who set the
DownloadAsPostMessage and rely on the Download_As postMessage,
but would get a non-functional iframe over the top of the editing
window.

Change-Id: I4a5c1d9ef6276908a1b3910a4269091955cdc490
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89382
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-25 21:03:37 +01:00
Tamás Zolnai
4ca5089d56 mobile: fix-up non-breaking space insertion.
Make it to have the icon, but also trigger the right
uno command.

Change-Id: Ic762fee0eee0f1a6bc793edc98ed2217075364f7
2020-02-25 12:15:23 +01:00
Pedro Pinto Silva
f3b8455aaa Mobile: Insert: Add missing icons, add missing ids, create missing icons, also add sub level icns for footerandheader and formattingmark (fixing cypress)
Change-Id: Id3ca33095b5eae7d13129f4b9629e2c0faf302fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89371
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-25 12:06:31 +01:00
Weblate
6f72298026 update translations
LibreOffice Online/android-app (Czech)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: Ic104628d67d59f73041eb106ac50d50848cbde6e

update translations

LibreOffice Online/android-app (Lower Sorbian)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I143fa07f1cbfeb73d3b1833f16dc26550db7e43e

update translations

LibreOffice Online/android-app (Basque)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I1887ef80e1f1cd243ab870e44adb174b15a88368

update translations

LibreOffice Online/android-app (Upper Sorbian)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: Idaeda0a44b3143cf10459b80225bd2d49b888f40

update translations

LibreOffice Online/android-app (Portuguese)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I1468acbb78f393081eba42fc385732f4c31712f6

update translations

LibreOffice Online/android-app (Hungarian)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: Ida536ad1b0a194eb37bddaae056f335f3d7e8a65

update translations

LibreOffice Online/android-lib (Hungarian)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I2bc806914e12e3fce7cfb5840448b544bc70c315

update translations

LibreOffice Online/loleaflet-ui (Chinese (Traditional))
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I2c396e85bfbac4ebc48d75738082f9522a40b487

update translations

LibreOffice Online/loleaflet-ui (Ukrainian)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I705356ab54afae9aaee238e078ea432c3410bbcd

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 97.2% (280 of 288 strings)

Change-Id: Ida18a8145a8e2bb718f7ca87e35427b21a74f11c

update translations

LibreOffice Online/loleaflet-ui (Slovenian)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: Ib583b1efe8aefe154eb286e5cfda350c0438654e

update translations

LibreOffice Online/loleaflet-ui (Russian)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I9f1b78c644f3f15a25e218b84eefb0f0e3ce4548

update translations

LibreOffice Online/loleaflet-ui (Portuguese (Brazil))
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I7e8026c4fb0c0a24186681f5ea3ebf19a7edcebe

update translations

LibreOffice Online/loleaflet-ui (Portuguese)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I7034f98bddbd0d6839907d68d2852feb7cd6852f

update translations

LibreOffice Online/loleaflet-ui (Polish)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: Ic6b8e91bc6857b2135fa8fee7e6b5a576f39a5f9

update translations

LibreOffice Online/loleaflet-ui (Dutch)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: Ie74c18a72f44c778be4e02ca4b9a42f76efc7e38

update translations

LibreOffice Online/loleaflet-ui (Italian)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: Ibc5496109cccb4c004de4f2590edb85faeef2318

update translations

LibreOffice Online/loleaflet-ui (Icelandic)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: Ieb4fe8939e8289540d085c6e2ebabde79ca20b04

update translations

LibreOffice Online/loleaflet-ui (Hungarian)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: If0bdc8119f683ea4141048dc51c33cdf314a8cb7

update translations

LibreOffice Online/loleaflet-ui (Upper Sorbian)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I48723bfd30552592327a352c1f3e8ceb12a9d54f

update translations

LibreOffice Online/loleaflet-ui (Galician)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I613b95666c292573016ad03b0d1c83681cb2fa63

update translations

LibreOffice Online/loleaflet-ui (French)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I6cff25e2bc5518ad1f0db7443a3d8b7a55658947

update translations

LibreOffice Online/loleaflet-ui (Basque)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I797ed20d4bf8c8171db1c513a3b89614248eb26a

update translations

LibreOffice Online/loleaflet-ui (Spanish)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: Iff004d986a01a23a5cc697f6ccfa8a4c76920d64

update translations

LibreOffice Online/loleaflet-ui (English (United Kingdom))
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I9db41be6c2bb1f6199c10f97c9ddf06cc1f08a03

update translations

LibreOffice Online/loleaflet-ui (Greek)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I9268cfde7471fbcce2cbfbb537002d8510946c9e

update translations

LibreOffice Online/loleaflet-ui (Lower Sorbian)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I1344fee7081904e557e8d0c0ad74f02f4d31f351

update translations

LibreOffice Online/loleaflet-ui (German)
Currently translated at 92.4% (266 of 288 strings)

Change-Id: I86358814a0cfe996770c26f9a38f0c99cc77045e

update translations

LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I09fbc1a9426da78b16cc12eea4dddc67d29dc4a7

update translations

LibreOffice Online/loleaflet-ui (Czech)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: Ia7a0a3e3f33db47a41b40e1113caaf8870ed28ba

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: Iff5450e53315781614b73545cc6f6386b98f8b08

update translations

LibreOffice Online/loleaflet-ui (Bulgarian)
Currently translated at 100.0% (288 of 288 strings)

Change-Id: I4196eb780fa8be4ac9ce23c8210074897bd18b6c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89306
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-25 11:21:10 +01:00
Pranam Lashkari
11b7270acd Zoom to cursor when entering edit mode in Writer
Change-Id: Ic814117ae47b63d16475edc9c3f26aea9626980e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89242
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-24 12:22:37 +01:00
Tor Lillqvist
dd70a89a60 Revert the changes that removed the menu bar on iPad in the iOS app
Change-Id: Ic374514bfdde4682f88b507eca82cf88df36bc9a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89329
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-24 12:19:27 +01:00
Tamás Zolnai
75c58a6014 Revert "Mobile: Insert: Add missing icons, add missing ids, create missing icons, also add sub level icns for footerandheader and formattingmark"
This reverts commit 9364ccfe88.
2020-02-24 11:37:54 +01:00
Tamás Zolnai
08fc4c51cc Revert "Mobile: Top menu (hamburger): add missing icons, add missing ids, add new view more icon"
This reverts commit 40418c0cbf.
2020-02-24 11:37:40 +01:00
Pedro Pinto Silva
9364ccfe88 Mobile: Insert: Add missing icons, add missing ids, create missing icons, also add sub level icns for footerandheader and formattingmark
Change-Id: I914b64d07e6f249914e3aad1d000589bd3e9f779
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89330
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-24 11:12:09 +01:00
Pedro Pinto Silva
40418c0cbf Mobile: Top menu (hamburger): add missing icons, add missing ids, add new view more icon
Change-Id: I116b680bf203bd836f42e2dfe14507a9833589d5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89325
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-24 10:07:57 +01:00
Ashod Nakashian
ac961d7b67 leaflet: don't process multi-taps as single-tap
Change-Id: Ifaad116c5c6fb34ac40a12113a1d3b7532a8d7ac
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89311
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-23 22:04:48 +01:00
Ashod Nakashian
ecab3d9598 leaflet: tolerate larger multi-tap threshold
When double-tapping (or tripple) the user is almost
always going to place their finger at different
coordinates for each of the taps. There is a default
threshold of 10 units between the taps in Hammer
to tolerate for this error when detecting multiple
taps, rather than individual taps.

This threshold of 10 is really small and unrealistic
for our needs, as in most cases double-tapping (which
we use very often to select words and begin editing
in Impress) is not detected (single-taps are issued
instead). This makes interaction/usability very hard.

Here we increase the threshold to a comfortable 100.
If this causes any other usability issues, we can
lower it acccordingly, but so far it only improved
the experience for me.

Change-Id: I3fee43c3efaa4507cae09b7c564cb4c0c1b5384e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89310
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-23 22:04:30 +01:00
Ashod Nakashian
c17fd41dbc leaflet: reuse Socket._doSend to send and log
Change-Id: Ie7fb45972b4f1c132b57012d1e4f01681352dc8b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89197
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2020-02-23 21:47:41 +01:00
Weblate
ab726bf4a7 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Change-Id: I1ddef70d8fdf32d7f94a761488ded9aaffcd3599
Translation: LibreOffice Online/loleaflet-ui
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/

update translations

LibreOffice Online/android-app (Greek)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: I7e8d714083031eb88b1ca2cd9efe1a06e449cfee

update translations

LibreOffice Online/android-lib (Greek)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: Ia2f618bc350f9a66adcaa45ea1f188b6190e5d37

update translations

LibreOffice Online/android-lib (Norwegian Bokmål)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I7475fe7c8c996646335861491ebade1185bef1d6

update translations

LibreOffice Online/loleaflet-ui (Norwegian Bokmål)
Currently translated at 81.9% (235 of 287 strings)

Change-Id: I5cbcb66f943f9c70073e85eec51ff5d13bcaf9ec

update translations

LibreOffice Online/loleaflet-ui (Greek)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I9c8e9365bc22741062c3c4386085bd7b9c50697a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89248
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-22 19:01:59 +01:00
Jan Holesovsky
e6d420b906 mobilewizard: Allow icons even for the toplevel menubar entries.
Change-Id: Ic16e9a3b6a54dc06a6c443d9b102cf2a87170ac7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89227
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-02-21 18:40:28 +01:00
mert
864749bb16 mobile: implemented popup for hyperlinks on calc
Change-Id: I6d22cc1d6b7da8afbb9cce70c3445634455b34d8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89122
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-02-21 18:07:02 +01:00
Andras Timar
094a388e70 add : after label, other labels have it
Change-Id: If47468680dde43c8f8f119756eb3af1c2839b0b4
2020-02-21 15:35:03 +01:00
Pedro Pinto Silva
4ace1a2842 Mobile: mobileWizard: fix font color alignment (remove deprecated old style)
Change-Id: I27be9917d5f0df77bfdde9a8aeac129c934d58de
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89212
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-21 15:34:44 +01:00
Pedro Pinto Silva
5807b81f8c Mobile: add missing icons, fix SVG errors and update styles
Change-Id: I542aca8c98312bf32209625cc9acce68abc5280c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89210
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-21 15:11:48 +01:00
Weblate
24a9d126e3 update translations
LibreOffice Online/android-lib (French)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I944044742e6d882422112bf4954488845e1c2df4

update translations

LibreOffice Online/android-lib (Portuguese)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: I8a76b5b2d22dac54805ce12efcd0f716b3745d01

update translations

LibreOffice Online/android-lib (Ukrainian)
Currently translated at 100.0% (8 of 8 strings)

Change-Id: Ib113c3f6f5237c1a13d0ac3a85d1b455bb80469c

update translations

LibreOffice Online/loleaflet-help (Galician)
Currently translated at 100.0% (416 of 416 strings)

Change-Id: I690dd05dde32ba6ed460a2ac0f3c1c265a31357f

update translations

LibreOffice Online/loleaflet-help (French)
Currently translated at 100.0% (416 of 416 strings)

Change-Id: I60b36b3187abb224d45a0c72075bfbbeeafb35ad

update translations

LibreOffice Online/loleaflet-ui (Ukrainian)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I82d185fed1d964ad08b969ec450bd21f40912fdb

update translations

LibreOffice Online/loleaflet-ui (Portuguese)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: I28f82bfac6cbe432b344ef51e4be7ee2f127a9bc

update translations

LibreOffice Online/loleaflet-ui (French)
Currently translated at 100.0% (287 of 287 strings)

Change-Id: Id3af2a12e433d0818d8c98caec2a071869c74ecd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89062
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-21 14:57:04 +01:00
Andras Timar
1339e90e84 loleaflet: update ui pot
Change-Id: I81966c2d222487d25eb7eb1512c4f239944e77b3
2020-02-21 14:51:22 +01:00
Dennis Francis
075142ece0 Add Label for the line-style listbox in jsdialog
The Line-style listbox selector(shape properties) in mobile online
is missing a label, so to make it clear lets add a label for it.
Adding an invisible label for line-style listbox in core.git does
not work as invisible widgets are not dumped by core to generate
jsdialog messages. So the next option is to splice in a label
entry to the parsed jsdialog message at the appropriate place.

This also makes it easier for adding any missing labels, by just
needing to add the id of the control and the label text.

Change-Id: I45913ec25278e8566092a738c08cfdd8bc46e39f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88994
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-21 14:49:17 +01:00
Jan Holesovsky
94d4a27d65 android shell: Move ~all the functionality from menu to navigation drawer.
And so far disable the various sorting possibilities, they are not
working for the recent files (yet).

Change-Id: I233f6cd05d15cf0c3f9f2bf940a8233ee5300cb7
2020-02-21 13:51:40 +01:00
mert
e1338035ce mobilewizard: iconPath for panelHandler
Change-Id: I8ddcb18570cdd5b92a09dced2a219abf110ecbcf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89201
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-21 13:19:30 +01:00
Tamás Zolnai
542b4b69d6 css-media: Remove 'screen' condition with invalid syntax.
It should be 'screen and ...', but since the other rules don't have
this additional screen condition, I just remove it.

Change-Id: Idabf28fbee303e19f1a5f5c75f3eb5e7387ac3fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89170
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-21 11:27:32 +01:00
Henry Castro
5bc28a9d30 loleafet: ignore the paste event when a vex dialog...
has the focus

Change-Id: Ib6eece050c7b962087d229cf484c8873a214d359
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89159
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-21 00:49:29 +01:00