summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-04-02Bump package version to 4.2.1-3cp-4.2.1-3CODE-4.2.1-3distro/collabora/co-4-2-1Andras Timar2-1/+7
Change-Id: I81e2d889362012f0827951a589cbe185af1075e2
2020-04-02leaflet: maintain focus when searchingAshod Nakashian1-1/+2
When the focus is in the search box, we shouldn't lose it, or hide the keyboard. Change-Id: I05c4c3e384d840b2919106af1063978b6fe7fbfe Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91580 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 04b0a7b651bc2d7f98b843b08c402411641513a3) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91515 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-02leaflet: support pasting in the search boxAshod Nakashian1-0/+4
When pasting into the document a special handler is used to manage the transfer of data. For the search box we need to let the default handler do the right thing and so we check that we aren't searching before we override the paste handler logic, which explicitly pastes into the doc. Change-Id: I570168d1aaf70c2a78403644e006ba9625ec68db Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91581 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit f96126fb69ff8feb3b5de6c55310f9926b89bf44) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91514 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-02loleaflet: check if "parts" variable is a number of the preview thumbnailHenry Castro1-1/+1
While I was debugging Impress, I received unexpected "undefined" value of the variable "parts" Change-Id: Id8b6737155516fd0d8cfaa350170e9c631c55dcf Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90756 Tested-by: Henry Castro <hcastro@collabora.com> Reviewed-by: Henry Castro <hcastro@collabora.com> (cherry picked from commit af338541a88d4f90d1859ba60d8de6e3e90f1423)
2020-04-02Avoid de-referencing non-existing marker.Michael Meeks1-1/+2
This screws up cursors across views in some circumstances, when there is no marker in one of the views. Regression from 3b0478baab1e58a45fc723e9265942bf5d4c10fa Change-Id: Ia1294d83801d656a919f97206b7b573a1b74b77f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91508 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-27Fix url popups can't be clicked on browserscp-4.2.1-2CODE-4.2.1-2mert2-3/+3
Change-Id: I3c2008e06370b4b48a93b68e58ad1e45a4f75d27 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91230 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 272715a96d5f9b040a9f2e87414dfcef2c4972d6) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91180 Tested-by: Andras Timar <andras.timar@collabora.com>
2020-03-26Bump package version to 4.2.1-2Andras Timar2-1/+7
Change-Id: Id860616dc28f5d40860ae948186acfb08053f65d
2020-03-26leaflet: don't steal focus from the Formula-BarAshod Nakashian3-6/+22
This fixes an odd focus-stealing bug that resulted in the text being typed backward (characters were added towards the left). To reproduce, select a cell with text, click into the Formula-Bar. Immediately the focus is stolen by the document (the cell), which is annoying. Next, if the cursor is actually inserted in the middle of the text, new characters are added to the left of the cursor! After fixing the above issues, it turned out that simply moving the mouse into the document stole the focus from the Formula-Bar (actually, the Formula-Bar lost the focus but the document doesn't get it). A related change is that the mouse-leave logic for the sidebar should not be applied to other dialogs, so now we only handle that event for the sidebar. Change-Id: I8ed3f6b08e99e9379e1bfe51f34f5d2f6ed22483 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91085 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91138 Tested-by: Andras Timar <andras.timar@collabora.com>
2020-03-26leaflet: _isCalcInputBar -> isCalcInputBarAshod Nakashian1-10/+10
Prepare for accessing isCalcInputBar from outside. Change-Id: I2cbeb1791ff263d830dd6a273d63108063bc2a57 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91084 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91137 Tested-by: Andras Timar <andras.timar@collabora.com>
2020-03-26leaflet: add margin between sidebar and formula-barAshod Nakashian2-5/+2
And remove extra lastActiveTime reset. Change-Id: If7821e07fc61a54dc8caee5983198b475f43098c Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91083 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91136 Tested-by: Andras Timar <andras.timar@collabora.com>
2020-03-26leaflet: refactor dialog isCursorVisible into memberAshod Nakashian1-6/+11
Safer and more readable. Change-Id: I37b551c0b8f7f445ed09a1ab24e00e06c64e8dad Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91082 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91135 Tested-by: Andras Timar <andras.timar@collabora.com>
2020-03-26leaflet: hide the cursor when a dialog has the focusAshod Nakashian1-0/+1
Change-Id: I3482a227d508b0a24adc875833de91091ee66a2f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91054 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91134 Tested-by: Andras Timar <andras.timar@collabora.com>
2020-03-26Revert "Desktop: Calc: formular bar: Decrease size of selection..."Ashod Nakashian1-12/+2
The commit in question breaks clicking into the Formula-Bar. With that commit, the Formula-Bar doesn't take focus upon clicking most of the time, and only rarely does so (possibly depending on the precise location of the click). This reverts commit b906c6985ab0c9478699a409eb4974cfb1e30d2e. Change-Id: I2ff6b531b479c265935cbc44af4d2cbbaa7c418b Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91050 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91133 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-26leaflet: allow keyboard with Calc MobileWizardAshod Nakashian1-1/+6
This is to facilitate searching for a formula, which is shown as a list via the Mobile Wizard. Change-Id: If4ae2dfbce1c9cf153354d1c3a2ff7a8f4af3ea2 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91020 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91132 Tested-by: Andras Timar <andras.timar@collabora.com>
2020-03-26leaflet: don't allow focus stealingAshod Nakashian4-16/+51
This improves typing in the formula-bar. Change-Id: I14359b5b4e842b68b1807d286e1831b3805bb4ea Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91019 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91131 Tested-by: Andras Timar <andras.timar@collabora.com>
2020-03-26leaflet: reuse member functionsAshod Nakashian1-4/+5
Change-Id: I8c0c58d2ab175b271df200de2b100e61c655db5f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91018 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91130
2020-03-26leaflet: give editor focus when closing sidebarAshod Nakashian1-2/+1
And remove ineffective focus on closing sidebar. Change-Id: Iac6d46c91ca70949c73cd8cdb29416ecb80be409 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91017 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91129
2020-03-26leaflet: shouldAcceptInput -> canAcceptKeyboardInputAshod Nakashian5-8/+10
Clearer name to differentiate intent from expectation. Change-Id: I74cc4c3bca11782bdd9cf72d6af4534357cefa64 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91016 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91128 Tested-by: Andras Timar <andras.timar@collabora.com>
2020-03-26cypress: check keyboard visibility when editing shapes in writerAshod Nakashian1-1/+5
Change-Id: I1580f4620459797b95eecb88edbcd12406531618 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90992 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91127 Tested-by: Andras Timar <andras.timar@collabora.com>
2020-03-26leaflet: do not expose map to cypress testsAshod Nakashian2-11/+24
We only need to expose a couple of helpers to test the keyboard and clipboard, which are not possible to test via the UI. This patch reduces the surface area of exposed code to testing, to avoid misuse. The only needed helpers should be made available, and they are read-only functions, so there is no risk of changing the internal state from test code. Change-Id: Id4a1800e3d3b9364754a18fb11f61df612e56490 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90991 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91126
2020-03-26update translationsWeblate23-354/+517
LibreOffice Online/loleaflet-help (Catalan) Currently translated at 81.2% (338 of 416 strings) Change-Id: I8b49030c370d554db036a0e186d6332a9263d0d0 update translations LibreOffice Online/android-lib (Slovenian) Currently translated at 100.0% (12 of 12 strings) Change-Id: I70effac3f9908b12815c430931a2292bf5dbed5b update translations LibreOffice Online/android-app (Slovenian) Currently translated at 100.0% (100 of 100 strings) Change-Id: Ie1fd88e1eae85134679f9f7285ab3c1420bf15ad update translations LibreOffice Online/loleaflet-help (Slovenian) Currently translated at 83.9% (349 of 416 strings) Change-Id: I53b08543ba97e157fc0e505bd98d69e1c70237a7 update translations LibreOffice Online/loleaflet-help (Catalan) Currently translated at 80.0% (333 of 416 strings) Change-Id: Ib6cedbdedcbf1c14204aae5c6a26964b99a09867 update translations LibreOffice Online/loleaflet-ui (Slovenian) Currently translated at 100.0% (290 of 290 strings) Change-Id: I41024ff5c600da3f26471c00a5c06c0380b6c1ec update translations LibreOffice Online/android-lib (Turkish) Currently translated at 83.3% (10 of 12 strings) Change-Id: Ibc0f532df8170198be67b2699a8b3c265bffde23 update translations LibreOffice Online/android-app (Turkish) Currently translated at 100.0% (100 of 100 strings) Change-Id: I3ea29557fe41bc46faa7313875c095e5e45185fe update translations LibreOffice Online/loleaflet-ui (Turkish) Currently translated at 99.7% (289 of 290 strings) Change-Id: Idbe17cd7b879bd1333a6fa5554309a5a437d82a8 update translations LibreOffice Online/android-app (Italian) Currently translated at 100.0% (100 of 100 strings) Change-Id: I39c6d1dca5c9acfb51ad46dea4fa549b38b9a220 update translations LibreOffice Online/android-lib (Italian) Currently translated at 100.0% (12 of 12 strings) Change-Id: I715122ed869741ae66f65efc8425b76fb024e0a8 update translations LibreOffice Online/loleaflet-help (Italian) Currently translated at 100.0% (416 of 416 strings) Change-Id: Ide96c3d2ff684e67d1121c2d9bd3268353366f54 update translations LibreOffice Online/loleaflet-ui (Italian) Currently translated at 100.0% (290 of 290 strings) Change-Id: Iab76b9dfc1a8835fe8fb226e4003d73b5057782c update translations LibreOffice Online/loleaflet-help (German) Currently translated at 64.7% (269 of 416 strings) Change-Id: I121156a5f5e9832237aa4eb7ed3bd88af3d2b14c update translations LibreOffice Online/loleaflet-ui (Hebrew) Currently translated at 99.3% (288 of 290 strings) Change-Id: I39c7a2d9bbc0dc4f3fa95e406561f9b313ec9e03 update translations LibreOffice Online/android-app (Hebrew) Currently translated at 100.0% (100 of 100 strings) Change-Id: Ib11902d876161296d1694b0e456c302355523424 update translations LibreOffice Online/android-lib (Bulgarian) Currently translated at 100.0% (12 of 12 strings) Change-Id: I9229d448dc8832226981faba1ccbc7a821edc396 update translations LibreOffice Online/android-app (German) Currently translated at 100.0% (100 of 100 strings) Change-Id: I9596247c4d194c758759f2e9183626e4e569f548 update translations LibreOffice Online/android-lib (German) Currently translated at 100.0% (12 of 12 strings) Change-Id: I76299ef7b35754ae2ca9e7975950ad5b4ecf0424 update translations LibreOffice Online/loleaflet-ui (Hebrew) Currently translated at 99.3% (288 of 290 strings) Change-Id: I7500a2968f0b2d5a108058df434632a4543e476c update translations LibreOffice Online/loleaflet-ui (German) Currently translated at 100.0% (290 of 290 strings) Change-Id: I80d34bc21e0b40f4e01d4458be57064cd7ae0013 update translations LibreOffice Online/android-app (Swedish) Currently translated at 14.0% (14 of 100 strings) Change-Id: I4705a3cd09a3de1b7ee4d183980b6f1fe85f4d3f update translations LibreOffice Online/android-lib (English (United Kingdom)) Currently translated at 100.0% (12 of 12 strings) Change-Id: Ice3d527ec2672769988ba26f55d20e29d5ace51f update translations LibreOffice Online/android-lib (Hebrew) Currently translated at 100.0% (12 of 12 strings) Change-Id: Id9f4b645ce296ec177d5653397b8135f532b44e2 update translations LibreOffice Online/loleaflet-help (Spanish) Currently translated at 100.0% (416 of 416 strings) Change-Id: I954a911766bc78bd2501bcdf1dde405ed5ea20c7 update translations LibreOffice Online/loleaflet-help (Catalan) Currently translated at 76.7% (319 of 416 strings) Change-Id: I71e722ad3cd5d6602b069ef71329860c4cd8d6b9 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90866 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 9c2f6382d28b0adc8563bd2a5bcc7236390b9fa3) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91111
2020-03-26loleaflet: Wrong previews after reordering slidesAron Budea1-1/+1
While the original this.options was undefined, replacing it causes a regression. This commit partially reverts e82878d45b96d478ecdf6547fae42fe3a6dd7f26. Change-Id: I92a4338ca3bb04ed1e36664b2eaed4b7a23c7183 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91097 Tested-by: Aron Budea <aron.budea@collabora.com> Reviewed-by: Aron Budea <aron.budea@collabora.com> (cherry picked from commit 5bb2840854bce28f07925d6bc2ee618897600048) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91112 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-26loleaflet: Reordering slide always moved it to the beginningAron Budea1-3/+3
Get partsPreview._partsPreviewCont correctly. Regression since 74adf2f61a52f9c13aa1f76ae816143c5038c514. Also get partsPreview.options correctly. Change-Id: I04488663d69a8677414d8b5250bff771114f58ed Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91110 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-25jail removal - don't use flaky/experimental new C++ filesystem.Michael Meeks1-2/+4
Simply not removing jails on some systems. Change-Id: Idb1306fec83acebc61dec2e7a240ad89e7c91437 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91067 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit b30757417b73180bb02c0e3f20b194ece1516ea1) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90961 Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-24Mobile: MobileWizard: Checkbox row: fixPedro Pinto Silva1-1/+3
bug appearing on some browsers' computed css rules, namely webview via apk Change-Id: I09d4c9525e4d2994ad81606cf837b3e381ceb3d2 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90993 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-24Mobile: add missing icons for share as and rev-historyPedro Pinto Silva2-0/+27
Change-Id: I37b2ca41824e8d0aed7ff03cddb32b1c4ce2949f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90981 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com> Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-24Mobile: Calc: chart context menus: add missing iconsPedro Pinto Silva8-0/+126
Change-Id: I6f295d6c71d225b20a0e696b46d2765ca344db0b Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90904 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com> Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-24Add new SetObjectToBackground and SetObjectToForeground buttons to mobile ↵Andras Timar1-2/+2
wizard css rules Change-Id: I1b75cbfbeaefebb26cc922306f958e2b8cce4a79
2020-03-24loleaflet: handle all transparency fill typesDennis Francis1-0/+6
Also handle 'NONE' and 'SOLID' style types now emitted as part of .uno:FillFloatTransparence statechange message. Without this the mobile wizard does not show the transparency fill types correctly for these cases. Change-Id: Iffecc6dbfbac097310c9c5f53ba3b4dfe39e4756 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90879 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-23Fix the menu height.CP-Android-4.2.1-fix1Jan Holesovsky1-1/+1
Change-Id: I258ac19e05bf7925f450a45b7ca5ebc813fc0384 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90821 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-23android: Fix jumping of the toolbar up and down when the keyboard shows.Jan Holesovsky1-13/+0
Apparently this will cause a regression on iOS; OTOH we have disabled the landscape mode there for now, so hopefully we'll be able to come up with the real solution there. Change-Id: Ie39de95a68e34694e53b4034e8db389546515ba8 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90822 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-03-20Fix --with-support-public-key=... buildMiklos Vajna1-1/+1
Change-Id: I4a1ecc16d7b862dae61c80d98d07c0e105c13819 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90829 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit d26aa30cab3335df110110d86fa42750529e9b98) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90816
2020-03-20Force portrait for the moment also for iPhone in the iOS appcp-4.2.1-1CP-Android-iOS-4.2.1Tor Lillqvist1-2/+0
Change-Id: I1def28e7969cea753e7fc36094fe6514c17d61af
2020-03-20Restore cypress test framework's mobile tests.Tamás Zolnai2-2/+2
Broken since: b62dcc025555076a7522809b9f12f873c278205d The issue here cypress sets the window size and not the device size when tries to emulate mobile view. https://github.com/cypress-io/cypress/issues/970 For now, let's keep window size media rules too. [tml: Window size changes depending on orientation. Device size does not. We need to change each rule that used only max-device-width into one using two subrules using max-width combined with comma (i.e. the OR operator), one for portrait using 767px as the limit, one for landscape using 1023px as the limit.] We do this in other places of the css code anyway. In a long term, it would be good to find a better way to emulate mobile view by cypress or to detect mobile from JS code, so we can enable mobile mode easily for cypress tests. Change-Id: Ic7974f44fcbf6ed2883e93acd28153709514c216
2020-03-20Hacks to improve user experience when changing orientation on phonesTor Lillqvist6-28/+35
I now think that much of our media queries with (max-device-height: 767px) actually should use (max-device-width: 767px) if the intent is that they detect the case of mobile phones, as opposed to tablets. Many mobile phones have a screen.height (which is what max-device-height in CSS refers to) that is clearly larger than 767. But a screen.width of 768 is what at least my 9.7 iPad has. Change-Id: I3b44e32ec583837897b4aa390fc0ab92be59d163 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90752 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-20update translationsWeblate9-18/+19
LibreOffice Online/android-app (Bulgarian) Currently translated at 100.0% (100 of 100 strings) Change-Id: Ia0adbe259646f2fda33a25b30f8811dc147cc5a3 update translations LibreOffice Online/android-lib (Bulgarian) Currently translated at 75.0% (9 of 12 strings) Change-Id: I9206580869c83825c95c9079cc8fe052d860e2a9 update translations LibreOffice Online/loleaflet-help (Catalan) Currently translated at 74.3% (309 of 416 strings) Change-Id: If5c7bb3dab8e0d84010d7c4c3c149d5eed99183e update translations LibreOffice Online/android-lib (Asturian) Currently translated at 58.3% (7 of 12 strings) Change-Id: Ic5b84d1302c52727c27c7acc3d8f23ae39c286d5 update translations LibreOffice Online/android-lib (Catalan) Currently translated at 100.0% (12 of 12 strings) Change-Id: Id176e6b42a7571fbfbacbbf00f6f9293f255f815 update translations LibreOffice Online/android-lib (Spanish) Currently translated at 100.0% (12 of 12 strings) Change-Id: Ia75341ad1c6408648600e9f01702ac0408865d50 update translations LibreOffice Online/loleaflet-help (Catalan) Currently translated at 74.3% (309 of 416 strings) Change-Id: I09fda62f77693d651390db378eb9f2fa62f3c6e0 update translations LibreOffice Online/loleaflet-help (Spanish) Currently translated at 100.0% (416 of 416 strings) Change-Id: I9b2cb58ac67e3136408b5493d4ab3d4c6e64e9a2 update translations LibreOffice Online/android-lib (Welsh) Currently translated at 100.0% (12 of 12 strings) Change-Id: I0c4e7d1bfadcd652dc4450abfe65134b055e0060 update translations LibreOffice Online/android-lib (Welsh) Currently translated at 83.3% (10 of 12 strings) Change-Id: Icda607bf7238045a1ade6f237fb18c61fb0bcff5 update translations LibreOffice Online/android-lib (Basque) Currently translated at 100.0% (12 of 12 strings) Change-Id: Iebbc610027b26b1202d6e1c78978ed35213e8bcd Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90736 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-20Revert "[cp] add 1 missing Spanish string, because Weblate was late"Andras Timar1-8/+7
This reverts commit 5a19ae03d7e7c493e43209d23859be819b65e1f0. Release was delayed, translations have arrived. Change-Id: Ic140722ddcc290af1bc94458ad07bc6793899205
2020-03-20android: Force portrait for the moment.Jan Holesovsky1-0/+1
Change-Id: Ibd3964fb7e99264104ad46c26e6ff2e4e62b6559 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90809 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-20mobile: better way for identifying submenus.Tamás Zolnai8-69/+59
We actually have commands for submenus too, so we can use them to generate IDs. Adjust the icon names, which are now generated from commands. Change-Id: I76bb69fb8f83cddfb3d36c3ee74739091bc08f2d Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90763 Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 7285fad0f9b076b9667b9c254dd2f54a88ea67f9) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90645 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-20Mobile: Context menus: add missing icons (hyperlink and table)Pedro Pinto Silva5-0/+51
Change-Id: I85fb6e54d16b7982874fa4ab885c7f2d379b96fd Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90781 Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit ec65b86390d0ebc1c9f470220862dad0cff5bb77) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90806 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19cypress: better core version detection.Tamás Zolnai4-4/+5
To make it work both with release and debug core build. Also disable some tests failing with core/cp-6-2. Change-Id: I5617712e19dc8aaba0c5f9fbdf9c17d9a19fb18b Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90725 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit ff92eb07952d07f000d7738c5990d0ac5718ea45) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90638 Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19Mobile: mobile wizard: improve aditional ids by making them dependent ...Pedro Pinto Silva5-2/+71
of their respective children uno commands and add icons Change-Id: Iae1fb597272a684539700ed0732cfd19d43724f6 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90755 Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-19mobile: better way to generate ID for submenus.Tamás Zolnai1-3/+7
We don't have any other information for the submenu only it's text and it's children, so let's use the children's command to find out what submenu we have here. Change-Id: I188186142fc1dbe483fcce5b5456e0cb1524382e Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90750 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-19mobile: add a method to generate ID for submenus.Tamás Zolnai1-0/+6
Change-Id: I45c2865573eb6b9d070fc6c36f4f1369e2ac3172 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90739 Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-19Bump package version to 4.2.1-1 and update deb/rpm package filesAndras Timar5-68/+125
Change-Id: I935425f644f373acdd4bf8d073ec8be3f29313b8
2020-03-19loleaflet: check the cell cursor width to scrollHenry Castro1-2/+3
This is an improvement of the commit 569b342c2029876b1c9ef8b54f235138bff9c792, It is better to check the cell cursor width instead of spacing to scroll the view when very large merge cell occurs Change-Id: I049cda34f886738ce9fbd3776113a219c5bd038f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90640 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19MobileWizard: fix table design options and chart options byPedro Pinto Silva1-3/+13
updating css rules according to the latest html structure Change-Id: I373e185a444e8f5db3096cd05c9f47f470ef73c3 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90639 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19Mobile: Hamburger and mobileWizard: Add missing iconsPedro Pinto Silva12-0/+105
Change-Id: Id479cb6f1623630b84583c6d2ddd89c9779db7dd Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90737 Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com> Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com> (cherry picked from commit 08e18799f0a194f30e1a99641c4277a4ab4bcd73) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90637 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19[cp] Update the .gitreview for this branch.Andras Timar1-1/+1
Change-Id: I9e50cfe2605dfc7b9fbca2d018fdeebb3bb58bb1 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90742 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-19[cp] Use the collabora_svg theme and large icons for the sidebarAndras Timar1-2/+5
Change-Id: I8b58c5e3ebe737abfac1f2c124e00bc717c862df Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90741 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>