Commit graph

9995 commits

Author SHA1 Message Date
Andras Timar
312075b951 [cp] Use the collabora_svg theme and large icons for the sidebar
Change-Id: I8b58c5e3ebe737abfac1f2c124e00bc717c862df
2020-01-10 12:08:08 +01:00
Andras Timar
3a04dfa4ba [cp] Collabora help URL
Change-Id: I7ba76cab5030d5d637e79ee6414c9963c67211f4
2020-01-10 12:08:08 +01:00
Michael Meeks
7c29eb06ea panel/wizard: adapt to new simpler 'deck' and 'panel' hierarchy.
Avoid lots of indirection and complexity based on the new,
simplified sidebar JSON hierarchy from the core.

Change-Id: I73d5c6af30d40e9a430e0f3df3b78b620f425e39
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86510
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-09 23:31:18 +01:00
Michael Meeks
f9aa0d61bc mobile: stop disabled menu items from breaking hamburger menu.
Change-Id: I0e98dbd853c0120e325f9558b7285392de615a84
2020-01-09 16:23:32 +00:00
Tor Lillqvist
8c4bff2b22 tdf#129327: Ignore all keydown events at the outermost level for iOS
Possibly a good idea for Android, too? See bug report for description
of what this fixes.

Change-Id: I6b70f431ced09044756c2edc3fcc2542428b62e1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86484
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-01-09 13:56:19 +01:00
Miklos Vajna
d10bbef749 Convert the WS error tests to a new-style one
So that they are in-process, which means it's easier to debug when they fail.

Change-Id: Icb3d7a7d0ffa7371eb3056b5de7144137c0acb8a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86463
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-01-09 08:59:09 +01:00
Jan Holesovsky
0cfd90d829 android: Fix creating new file from a template.
rm -rf of the assets was newly introduced, done after copying the
templates to their place.  So missing templates => crash; fixed.

Change-Id: I53d243b4f44c2c38843336e38e603ae0bd4b3c89
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86449
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-08 18:29:15 +01:00
Henry Castro
368f6ff70e loleaflet: prevent auto focus when the page is loaded
It has been added an attribute 'disabled' when permission is
'readonly', otherwise it is removed

Change-Id: I64a4cf9a7a754d66862e55805202358b9f83caf8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86442
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-08 18:23:12 +01:00
Henry Castro
ccd6c73a60 loleaflet: encapsulate the function related to map blur
Change-Id: I2d2dab867769e7f9b5497d4bc4834fc097c8d30f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86441
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-08 18:22:44 +01:00
Henry Castro
0064cfff56 loleaflet: simplify the function related to map focus
Change-Id: I0849ad3a5abe50aaba3b993f6851c113b1bb27cb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86440
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-08 18:22:11 +01:00
Henry Castro
e9d11f4a66 loleaflet: simplify "prevent default 'contextmenu' action"
The mobile and desktop prevents default 'contextmenu' action

Change-Id: I89171c955c153b2fceaad92970e2eaf039cb8527
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86373
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-08 18:21:14 +01:00
mert
026500b3a5 Fix insertshapes display problem
Insert Shapes dialog opens on the right
side of the screen and can be too
narrow on desktop

Change-Id: I8f9fe8f00989b504d05282fcd5332bf1a1b94ad0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85747
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2020-01-08 17:49:19 +01:00
Tor Lillqvist
152a20df3a Revert "tdf#129374: Make the overlay wider on iOS if it seems necessary"
There is a better fix coming.

This reverts commit ce7ad16087.
2020-01-08 16:29:45 +02:00
Michael Meeks
971ed41c0d admin: Kill menu uses href="#" so disable vex auto-close on popstate
Change-Id: Icc94fc0dae70718700b709b81785162254af2ed4
2020-01-08 11:51:10 +00:00
Pedro Pinto Silva
b752bb6d4a Mobile: Insert: Fields: Add icons for the respective uno commands:
- added in: 86371: mobile: add insert fields for calc & impress.

Change-Id: I5ec7424b3149eca431cf5f081397ae4e5979664f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86408
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-08 11:12:53 +01:00
Michael Meeks
28acde16e6 Mention the nodev mount flag on failed mknod.
Change-Id: Iafd034149c0c2859a6705f33557d61b0b24a927a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86372
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 21:25:56 +01:00
Michael Meeks
3cbaf15b70 android: disable FullScreen button for mobile apps.
By implementing mobileapp: false in the panel builder.

Change-Id: Id518fb4b02598511403eac4cef53e94317042fd4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86370
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 19:34:17 +01:00
Michael Meeks
8dd7bcffd6 mobile: add insert fields for calc & impress.
Also add option to enable/disable on-line spell-checking to the menus too.

Change-Id: I1ba2a68c7d410041b6710f598a7c7fc60511ffee
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86371
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 19:33:41 +01:00
Michael Meeks
873110de88 android: don't use std::vector allocation for large pixel buffers.
Amazingly more time was spent allocating, wiping and freeing these
vectors on Android than the actual rendering of pixels in a profile.

Change-Id: I49ea093816eba0f4187613ab6c8dc24d8dcba75b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86335
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 19:22:01 +01:00
Pedro Pinto Silva
a4b146ec51 Mobile: w2ui scroll elements:
- Enable and adjust elements when on mobile so they are visible but discreet (without covering icons)
- Make them not clickable when on mobile (thus avoiding unwanted scrolled due to users mistaps
- Make their parent aware of the ongoing scrolling and call w2ui resize on it (thus making the left and right indicator showing and hiding as we please)
- Test and adjust so this changes do affect affect the click listening on desktop etc

Change-Id: Ic35dadb71e7fd6ae3ff2fad3e52d5219e7520c55
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86364
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-07 17:36:21 +01:00
Michael Meeks
8522cbdb9f android: pick a good value for threads.
Change-Id: I2a550257a6a9cb176c67a888b7838855db06fe4b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86334
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 12:43:47 +01:00
Ashod Nakashian
af58a9e761 wsd: whitespace
Change-Id: Id8185dab66f95676be2db8908d0f12c5284174fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86321
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-01-07 11:47:04 +01:00
Tor Lillqvist
ce7ad16087 tdf#129374: Make the overlay wider on iOS if it seems necessary
Horrible hack, but works for the specific case described in the bug at
least.

Change-Id: I55150d84dc892ece69540fdc0d06bc277891c1fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86328
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-01-07 11:28:52 +01:00
Ashod Nakashian
ad0256259b wsd: handle rectangle=undefined gracefully
Change-Id: Ib9058956143aae8151c5e76fddff5dea313ff5e7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86323
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 10:23:22 +01:00
Ashod Nakashian
e416caa1e0 wsd: prevent sidebar from stealing focus on painting
Change-Id: I3738b95ea230faa46c122e12b7932599f0113a8f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86322
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-07 10:21:54 +01:00
Henry Castro
617d7e1318 loleaflet: move global variable 'revHistoryEnabled'
There are global variables when the early websocket connection
is in progress while the bundle JS file is being downloaded,
so in order to not confuse it is preferable to move to another location.

Change-Id: I9fe144dea6bf36abd16fcf00259acca93674eff9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86308
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-01-06 21:42:37 +01:00
Henry Castro
2f6c4acf82 loleaflet: move global variable 'closeButtonEnabled'
There are global variables when the early websocket connection
is in progress while the bundle JS file is being downloaded,
so in order to not confuse it is preferable to move to another location.

Change-Id: I36b3e52c87666c5a805c2286af45ec5b44d79619
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86296
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-01-06 21:25:12 +01:00
Henry Castro
f2017bbbc4 loleaflet: move global variable "isInternetExplorer" to L.Browser object
To identify Browser, it has a specific section in L.Browser object
that detects any type of browser, so let us be consistent and move
the global variable "isInternetExplorer"

Change-Id: I3f744ea21a2e051a0ad4255fcd280af4549b6ef7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86292
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-01-06 21:24:52 +01:00
Henry Castro
697595ee22 loleaflet: mobile: avoid blurs when graphic is editing
This fixes the annoying effect to blur and focus again
when the graphic is editing.

Change-Id: I3b26cf0a3aaa6418062121279f65df3753e179a6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86289
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-01-06 19:40:59 +01:00
Henry Castro
23ccef0ac7 loleaflet: android: hide slide sorter if it is a small window size
The android browser application changes the orientation when the
soft keyboard pop ups, it has been given a heuristic number 2/3 screen height
to hide the slide sorter, this is because there is a header size
that show the URL bar and it can be improved to the equal screen size of the
native Android app.

Change-Id: I182795fe698bf191cd5b675c1768820ab78b1602
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85333
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-06 19:40:44 +01:00
Tor Lillqvist
94fce780e3 Try to avoid "TypeError: undefined is not an object"
Change-Id: I19942728166b57e493fb04086d7588c74bdb49ef
2020-01-06 20:01:51 +02:00
Henry Castro
1dda92109f makefile: generate an index (ctag) file for the JavaScript language
Change-Id: I495c7665786a47cfb007260368084a01c4163ea7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85766
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-06 18:48:15 +01:00
Michael Meeks
640ce42b4f dialogs: render red transparent rectangles to show dialog invalidation.
Change-Id: Icff4a792dd54f9ab1c1f9abf13b8bdd869593fe2
2020-01-06 17:36:42 +00:00
Michael Meeks
7788bd9268 Avoid taking address over the end of a vector if reading 0 bytes.
Happens with some close frames eg.

[ docbroker_001 ] TRC  #21: Incoming WebSocket data of 6 bytes: 88 80 4a 2c 44 f9  | ..J,D.|

    fin = true
    OpCode is Close (= 0x8)
    hasMask = true
    payloadLen = 0
    headerLen = 2 -> 6 after hasMask is taken into account.

Change-Id: I0e212e4589c3cc63db16f7065dc90cd0bd539ada
2020-01-06 15:34:24 +00:00
Michael Meeks
9cef0f385d watermarking: create SessionMap template to canonicalize views.
Use a fully reliable uniqueness check, rather than a hash, and get
simpler ids as a bonus. Fetch view data from the session itself
rather than passing it in too.

Change-Id: Ibcd625156b5a98eb280e35d6537b5c8c026d0197
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86150
Reviewed-by: Mert Tümer <mert.tumer@collabora.com>
Tested-by: Mert Tümer <mert.tumer@collabora.com>
2020-01-06 13:52:29 +01:00
Marco Cecchetti
0f8402bd5a loleaflet: reverse insertion when entering text in formula bar
This patch fixes the following issue:

- Open a spreadsheet.
- Enter a few chars in a cell, and press enter.
- Go back to the cell, and in the formula bar, enter more text.

=> Characters are inserted backwards.

Change-Id: I6930fab44c6cacdd4710d363ca3bf15d564b64e4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86100
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-01-06 09:59:05 +01:00
Weblate
48d234be96 update translations
LibreOffice Online/loleaflet-ui (Czech)
Currently translated at 100.0% (282 of 282 strings)

Change-Id: If75f6ce6e15750327864573454c7044308ef8d07

update translations

LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 93.3% (263 of 282 strings)

Change-Id: I7c96315a438bacf0591b863b30b3d8b608e6728f

update translations

LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 92.9% (262 of 282 strings)

Change-Id: Iad2d2a143fd22a58333f6ee615ad3a3a5fc07d0a

update translations

LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 92.6% (261 of 282 strings)

Change-Id: I0e64428eecb93883dc17ab6632100169385a0e62

update translations

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

Change-Id: I62c8e5ce09eaaade3888ad9f5780a71e01e19d1c

update translations

LibreOffice Online/android-lib (Welsh)
Currently translated at 100.0% (6 of 6 strings)

Change-Id: I6b93b3565e0e7e68ddb2c1a7e7d8d4c3d39b1714

update translations

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

Change-Id: I0a97f5e1b81bb58b2d752a1494120bbd770e42d6

update translations

LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 91.8% (259 of 282 strings)

Change-Id: If4d124cedfc7d9cf86c439f00daf3ff27225a676

update translations

LibreOffice Online/android-app (Welsh)
Currently translated at 63.6% (63 of 99 strings)

Change-Id: I6ee1560ff4ea26c88e9929ea5e8167788035f770

update translations

LibreOffice Online/loleaflet-help (Czech)
Currently translated at 99.8% (415 of 416 strings)

Change-Id: I975b920b2f71ac9dfb469179faa21515f5efa975

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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

update translations

LibreOffice Online/android-app (Welsh)
Currently translated at 62.6% (62 of 99 strings)

Change-Id: I1ac7b732db8c6847ca3cf7cb20e53b8a06fc93df

update translations

LibreOffice Online/loleaflet-help (Czech)
Currently translated at 99.5% (414 of 416 strings)

Change-Id: I83a58faa7905de2a0192b85910373b7c4ba0baa6

update translations

LibreOffice Online/loleaflet-help (Czech)
Currently translated at 81.7% (340 of 416 strings)

Change-Id: I1beee6c2bb17bedf75ca66c7bc1367aa17f663d0

update translations

LibreOffice Online/android-app (Asturian)
Currently translated at 23.2% (23 of 99 strings)

Change-Id: I94e4179d1dafce9359dc2b160e5797cc75ca3fb1

update translations

LibreOffice Online/loleaflet-help (Czech)
Currently translated at 81.7% (340 of 416 strings)

Change-Id: I51c5c2ec2b816e1ef6a84bb98e031f26f27a8f79

update translations

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

Change-Id: Id65a338c7c65460fb4bcc76963c00234dcc326d7

update translations

LibreOffice Online/ios (Slovenian)
Currently translated at 100.0% (4 of 4 strings)

Change-Id: I4c8ae8bb5b9bd3d05ac5bfe67fd653b4d057f3ec

update translations

LibreOffice Online/android-lib (Slovenian)
Currently translated at 100.0% (6 of 6 strings)

Change-Id: I94e6887c1dd1a312b9d5ded089e889609a97317d

update translations

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

Change-Id: Id598ca2b7a36679f07281b0d2f5d7945765cbf22

update translations

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

Change-Id: Iac62e966ecc7fbcf4e99c1f75120fc71d060d43b

update translations

LibreOffice Online/loleaflet-help (Hungarian)
Currently translated at 48.1% (200 of 416 strings)

Change-Id: I79d18a150ff9cbe147dba0d100876fa9703e859f

update translations

LibreOffice Online/loleaflet-help (Czech)
Currently translated at 76.4% (318 of 416 strings)

Change-Id: If73cd55eda6d8966efe7dd8407fa71a50d9ea070

update translations

LibreOffice Online/loleaflet-ui (Slovenian)
Currently translated at 99.6% (282 of 283 strings)

Change-Id: I8d6d0f73d550d1407eb092876ee88c4e6e9eeb07

update translations

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

Change-Id: I4a2bb1f1270c05efa4763af6ca7e7b5059acd4ca

update translations

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

Change-Id: Iac701e1cd5ef08c2d1f2df2292a5f3b8ba4fad97

update translations

LibreOffice Online/loleaflet-ui (Esperanto)
Currently translated at 61.8% (175 of 283 strings)

Change-Id: I68804c4fe8c3b264a809114b6cba61c907fae2c7

update translations

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

Change-Id: I86e9c3285708dad45b5e87cd1a9150fe420c7283

update translations

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

Change-Id: I0eede7c487be5938669c70b4476878870280e92c

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 27.9% (79 of 283 strings)

Change-Id: Ibbb55e611b19bb0a552347410a08da0b46cc0f8e

update translations

LibreOffice Online/android-app (Asturian)
Currently translated at 22.2% (22 of 99 strings)

Change-Id: I9cc16e1f4b2da192ccea8b2cdbab68cbb66c1321

update translations

LibreOffice Online/loleaflet-help (Asturian)
Currently translated at 7.7% (32 of 416 strings)

Change-Id: I4178e8f52f67ad93f7acfbd69c3b5734767ceaca

update translations

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

Change-Id: Ib264d5788913a6e11d8a3831d38f9477c4dbeff3

update translations

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

Change-Id: I6885ac316280d16fda6e0615d16c7f69238590b3

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 96.8% (274 of 283 strings)

Change-Id: I8179f4374a14640265994d5fd67968ded756f4c9

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 27.6% (78 of 283 strings)

Change-Id: Ibfe2145c8ec9337e85eeddeb8d75a35013601243
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86140
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Guilhem Moulin <guilhem@libreoffice.org>
2020-01-06 02:40:02 +01:00
Pedro Pinto Silva
9446f02a23 Mobile: mobile-wizard
- Remove specific id rules and swap them with class rules
- Decrease row's width

Change-Id: I058c2bd80070df1d238eb978e8e616081a4b3d8c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86187
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-03 16:17:33 +01:00
Pranam Lashkari
82f857c7f4 Removed extra "Insert" strings in phone wizard's Insert menu
and removed 1 extra "Insert" string in browser's Insert menu

Change-Id: If7f27dda00d8abee662b2624a7f0edd9c9008585
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85875
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-01-03 15:56:23 +01:00
Pranam Lashkari
57257c868e resolved: HELP > Online Help clicking internal links closes the Help
Change-Id: If64f397680ed5977e025e398a8efd044566f278b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85773
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-01-03 14:18:20 +01:00
Michael Meeks
3328b9e317 android: don't continually attach & detach the TLS JNIEnv.
Change-Id: I76424e3af7b9d7fe4de486e7fa0903bb4f7dc17e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86166
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-03 13:23:08 +01:00
Jan Holesovsky
37b5d29fc1 android: Copy the online widget theme too if available.
Change-Id: If9fd23e24bd28897f1645c043678b44f86d5b2e4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86163
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-03 11:07:54 +01:00
Iván Sánchez Ortega
a458fdcc0b There must be only one cursor - either in the search or in the document.
Previously clicking into the search input field did not hide the cursor
in the document.

Change-Id: Ia524d39de0825190c51257a3c9a0a4257ca45150
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/83353
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-01-02 18:18:12 +01:00
Jan Holesovsky
5d1f50c975 android: Disable OTG also in the Provider settings.
Change-Id: Ic1fa98461f27cd849afcd7d56ecd58fc1a96fb10
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86138
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-02 18:10:31 +01:00
Jan Holesovsky
1da821c72a android: Show the External SD item when the user has set something explicitly.
Change-Id: I628ba55f1a7fc7115784695c065d23672cefc4a2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86139
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-02 18:09:48 +01:00
Jan Holesovsky
b0f763a883 android: Enable and fix the access to the external SD card (if present).
It is necessary to trigger the system dialog to get the user's consent
to access the SD card, so let's show it right away instead of forcing
the user into the general provider settings activity.

Remove various sub-Android-5 code.

Various other details here and there to make it work.

Change-Id: Ic06ce39d17778c97e8e5c8f38b8ecf34338c3c28
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86137
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-02 18:09:20 +01:00
Jan Holesovsky
7aae12a0cc android: Remove some sub-Android-5-specific code.
We don't target anything below Android 5 any more.

Change-Id: Ic6bb8b0fbd64af6a061dba1422cafc144509c67a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86136
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-02 18:08:58 +01:00
Jan Holesovsky
5733c3cf78 android: Avoid crash with unknown file types, and add .txt.
Change-Id: If5c04d5c3c6cd11c7231e59a91ac1649dbb11b88
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86135
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-02 18:08:36 +01:00
Weblate
3b98f92804 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Change-Id: If78ce8cb5c9ebd00b1d15b7da964602455d2d835
Translation: LibreOffice Online/loleaflet-ui
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86130
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-01-02 15:59:37 +01:00
Weblate
30e35fd7ef update translations
LibreOffice Online/android-app (Asturian)
Currently translated at 20.2% (20 of 99 strings)

Change-Id: Ibaa42bad435e5f5732b3110b0a57b32a7e30f724

update translations

LibreOffice Online/loleaflet-help (Czech)
Currently translated at 70.4% (293 of 416 strings)

Change-Id: I5751485880e2c2bd6f8ef51728e911003cd8a135

update translations

LibreOffice Online/loleaflet-ui (Lao)
Currently translated at 9.9% (28 of 282 strings)

Change-Id: I71fcedffbde7c6121a5a2a272a31a38e8b42a746
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86105
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-01-02 15:58:13 +01:00