Commit graph

10197 commits

Author SHA1 Message Date
Jan Holesovsky
02815066c8 android: Add the liblangtag data to the APK.
Without this, the app crashes with exotic locales.

Change-Id: Ia0e4ffe6e8ed512c2a0402819b84d9563d17b0f6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87786
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-02-01 09:31:26 +01:00
Tor Lillqvist
56d310636d tdf#129380: Don't show the "shortcut bar" if a hardware keyboard is used
Change-Id: If1138185e52b7240ff6190ddf3f7af01d2a47115
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87769
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2020-01-31 15:52:27 +01:00
Tamás Zolnai
ad0d6c5742 cypress: Update cypress version.
Change-Id: I3873ae24f30f04fa40f758f19ac77a78b63f5c26
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87770
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-01-31 15:33:05 +01:00
Pranam Lashkari
7519d0cf54 Fix: mobile wizard malfunctioning
The mobile wizard would not perform any actions
if opened when the mobile keyboard is visible

Change-Id: Id8722b551ea6c13f3fe22b78c996e2bb4b2db2f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87712
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-31 00:02:29 +01:00
Henry Castro
40e92f10dd loleaflet: simplify 'contextmenu' prevent default
The document object has already prevented default actions

Change-Id: I4d60ec0c6915ca266f3e2c24f0958127186ca970
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87752
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-30 22:01:44 +01:00
Henry Castro
d8245a5a99 loleaflet: mobile: remove unused 'long tap' and 'double tap' files
They are no longer used instead of the Hammer recognizer library

Change-Id: Ied076c5731dcaeca37e1a15b6b637cbb62250b20
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87751
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-01-30 22:01:28 +01:00
Henry Castro
ad2391ae46 loleaflet: mobile: use Hammer recognizer events instead of 'contextmenu'
Unfortunately the emulate 'context menu' conflict with the default
horizontal scroll behavior

Change-Id: I3cd45520a6f1e00460031b78e4963db59bc9ae59
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87750
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-30 22:01:08 +01:00
Pedro Pinto Silva
96cef62d43 Mobile: MobileWizard: modify bottom button on mobile wizard, set special layout for insert table panel and add icons
Change-Id: If137e015930f3918d230a86b6e2940747389ec5d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87746
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-30 16:49:45 +01:00
Tamás Zolnai
1a65e4040f cypress: Check JS errors in all test code.
Change-Id: Ifb33b98b5da61ac69cce91b9985e313863764d5c
2020-01-30 15:24:14 +01:00
Tamás Zolnai
43e09d20bb cypress: mobile: Extract after method to close document properly.
Change-Id: Id88aec59546cf1bdb51630405756a4321ecabd6c
2020-01-30 15:17:39 +01:00
Tamás Zolnai
92f93481dd cypress: mobile: Extract copy to clipboard method.
Change-Id: I1c4a74b7e50a1b8dae503c8fd8af04c9a49a07b6
2020-01-30 15:17:39 +01:00
Tamás Zolnai
8d906e4b1a cypress: mobile: Extract selection method.
Change-Id: I0fb69a9f5acf90ce76951a83b4220ac52e550fb2
2020-01-30 15:17:39 +01:00
Tamás Zolnai
d95f76438e cypress: mobile: Remove accidentally pushed it.only()
Change-Id: Ib6d747de11be654a86580993f4576d7c329423c1
2020-01-30 15:17:39 +01:00
Pranam Lashkari
5b75bed324 Menu items renamed for image linking
This renaming will allow the mobile wizard to be able to find the
svg images/icons corresponding to the uno command

affected context menu/Mobile wizard:
Row header
Column header
Sheet tabs

Change-Id: I94198096085ebe1f482a70d84c8399c34f9e0ea0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87713
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-01-30 12:26:05 +01:00
Jan Holesovsky
85574023a6 Mobile Calc: Remove one more pixel to close a gap.
Change-Id: If182d2284285d683b01d4e8ab97ddb967010c957
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87722
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-30 10:38:21 +01:00
Miklos Vajna
d142508d95 test: increase timeout of UnitLoadTorture
This now failed under sanitizers due to a timeout. Double the limit;
asan typically causes a 2x slowdown.

Change-Id: I943c6f900371ff4c05c760d3d993829d54264941
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87716
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-01-30 09:49:52 +01:00
Weblate
e7910852b6 update translations
LibreOffice Online/android-app (Galician)
Currently translated at 100.0% (99 of 99 strings)

Change-Id: Ifbc783477f9ee2dd0866e9c017fb5c4374b3d150

update translations

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

Change-Id: Ia58dbe560eec21addcb1a640b86f58d28900f282

update translations

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

Change-Id: Ie4c00e58157ba2c6fd39e20e47e8cf11b85a9fdb

update translations

LibreOffice Online/android-app (Galician)
Currently translated at 94.9% (94 of 99 strings)

Change-Id: Ibee8409c7c1897f8e72df599139a2695f971b785

update translations

LibreOffice Online/android-app (Galician)
Currently translated at 93.9% (93 of 99 strings)

Change-Id: I251ac3131f0e013e8a3506f26605ab91ae326c5e

update translations

LibreOffice Online/android-app (Galician)
Currently translated at 91.9% (91 of 99 strings)

Change-Id: If6f9c882136b6ee29c9c542a80badc9cb5e3549d

update translations

LibreOffice Online/android-app (Galician)
Currently translated at 90.9% (90 of 99 strings)

Change-Id: I0d81c91956b44d0129d13b877681ef730c248bcc

update translations

LibreOffice Online/android-app (Galician)
Currently translated at 89.9% (89 of 99 strings)

Change-Id: I623dd0e013f67ec828a8078175561654081ec54e

update translations

LibreOffice Online/android-app (Galician)
Currently translated at 87.9% (87 of 99 strings)

Change-Id: I03cc402dc8b047205cd222b694ae8634043391d5

update translations

LibreOffice Online/android-app (Galician)
Currently translated at 3.0% (3 of 99 strings)

Change-Id: Iaa460f896ba7869f626d18bf7e88d0fdc992cae9

update translations

LibreOffice Online/android-lib (Bavarian)
Currently translated at 66.7% (4 of 6 strings)

Change-Id: I20f64d2240406bb88c9ff42fde1ea2f240dbf066

update translations

LibreOffice Online/android-app (Bavarian)
Currently translated at 8.1% (8 of 99 strings)

Change-Id: I54ef58d0472bcdbd6a2ac24c97c62206e797ee4e

update translations

LibreOffice Online/loleaflet-ui (Ukrainian)
Currently translated at 82.0% (232 of 283 strings)

Change-Id: Iaf130e9cedf6a0e50e1b8425725a537de770405e

update translations

LibreOffice Online/loleaflet-ui (Bavarian)
Currently translated at 2.8% (8 of 283 strings)

Change-Id: I037ec09dfa556b505fa34f80fd593a8921105fa5

update translations

LibreOffice Online/android-app (Icelandic)
Currently translated at 13.1% (13 of 99 strings)

Change-Id: I30e2e8707a602744652f67db5048ce187a40691f

update translations

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

Change-Id: I5ef093496cabdd063eab44fc49f52d739c666d39

update translations

LibreOffice Online/loleaflet-ui (Indonesian)
Currently translated at 87.3% (247 of 283 strings)

Change-Id: Ia38dcab175579f9715c26bd23e5d17f777d9824c

update translations

LibreOffice Online/loleaflet-ui (Icelandic)
Currently translated at 82.3% (233 of 283 strings)

Change-Id: I758ad43610c7561e8b4bdabbbe47765f11fff1e4

update translations

LibreOffice Online/loleaflet-ui (Icelandic)
Currently translated at 82.0% (232 of 283 strings)

Change-Id: I5d8dd486f72292fbf9b5d0555e71f4c2bb0e49b9

update translations

LibreOffice Online/loleaflet-ui (Indonesian)
Currently translated at 86.6% (245 of 283 strings)

Change-Id: I52af05de380c47d3b1cb09253b3626969a000efe

update translations

LibreOffice Online/loleaflet-ui (Japanese)
Currently translated at 58.0% (164 of 283 strings)

Change-Id: I49f7d0cdf650eddfc8b7311d00ad418305f9daa5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87580
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-01-29 20:32:14 +01:00
Ashod Nakashian
3268a03f4f leaflet: fix inserting comments
regression from 18b3bfeabc

Change-Id: I2bf9c080ed2f1a9b4c0401ab23e75caf4affad62
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87700
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
2020-01-29 18:40:25 +01:00
Ashod Nakashian
cc9add3208 leaflet: fix input-bar now showing keyboard on mobile
Change-Id: Ib81822cae342d5e8bc394fc84e43ec681ecffb8f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87693
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
2020-01-29 18:36:38 +01:00
Tamás Zolnai
5f7239054f cypress: mobile: Add some more insertion tests.
Change-Id: Ie918fa1c386e25b767340afc9ec2fc61d8038ced
2020-01-29 15:33:44 +01:00
Tamás Zolnai
434f89b10c cypress: mobile: Test applying paragraph properties.
Change-Id: Icee81a71dcbdd7888f77e8cd53d7f0b9234ea94c
2020-01-29 15:33:31 +01:00
Tamás Zolnai
fb892794e7 cypress: mobile: Test formatting mark insertion.
Change-Id: Ib3619e6830f25d7c78e369d714e0c4de6a47244b
2020-01-29 15:33:20 +01:00
Tamás Zolnai
d679f93c03 cypress: mobile: Test field insertion.
Change-Id: Ie7618436c57a30ef4282c042ff04262f55e0b17c
2020-01-29 15:33:08 +01:00
Tamás Zolnai
9adc9e33f4 cypress: mobile: Fix cypress tests after recent focus changes.
By now, we only emulate mobile layout, but we are using
simple mouse events (click, rightclick), not touch events.
Later it might worth to investigate, how to emulate touch
events.

Change-Id: Ib7d032933c50221173bbc749f0653d7d777884b1
2020-01-29 15:29:16 +01:00
Tamás Zolnai
ab0ff320c1 cypress: mobile: Update table insertion test.
The HTML structure was changed.

Change-Id: I0b7ada0933ab6d5b13aa6b7f60fa17a07ac84951
2020-01-29 15:29:03 +01:00
Pedro Pinto Silva
fbc1eb8990 Mobile: Calc: visual cleanup after new changes introduced by 87548, 87549 and 87615
- realign plus icon
- readjust top elements' position
- avoiding changing border from #toolbar-wrapper as this would affect readonly mode

Change-Id: I010aaa7b3bd25bce1fe386854c0a7cd0b9c7331e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87675
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-29 10:27:57 +01:00
Pranam Lashkari
f41cf7c6ba fix: Row/Column header context menu operates incorrectly
select any row/column now try to open the context menu
by right-clicking row/column header and perform some action
Action will be performed on the originally selected row/column
(same goes with the mobile wizard)

Change-Id: I2d2a7f871b1562d4706e9ea1e4382968a4502583
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87658
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-28 22:53:13 +01:00
mert
0c91e66818 mobilewizard: Fix character properties
This patch fixes non-showing character properties
on calc, also a bit improved the related function
in terms of performance.

Change-Id: Iba3f32ec5322225dd0d34bb56173151c52156564
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87610
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-28 22:38:42 +01:00
mert
227b11488a mobilewizard: remove some problematic items
Under Cell Appearance properties, cellbordertype, borderlinestyle,
borderlinecolor items are removed due to not working properly.

Change-Id: I56fd71355051a0b1dc20f6dc86090e2f35520b3a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87608
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-28 22:36:48 +01:00
Pranam Lashkari
2fb7bc633c Added option in context menu/mobile wizard for "Add row below"
Change-Id: Ib650a4aa5175e73a41dbdb6f203fc36e70c860c7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87642
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-28 18:50:13 +01:00
Pranam Lashkari
c9ee98d4d3 Added option in context menu/mobile wizard for "Add column after"
Change-Id: I4325fbdb14ef7277441e616f854116b8a3a0e0d8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87651
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-28 18:49:25 +01:00
Aron Budea
db2ae7432d tdf#130223: Revert "Some menubar folding/unfolding cleanups"
This reverts commit 2f861612e9,
which caused the formula bar to be hidden, and rows to get
misaligned on tablets.

Change-Id: I14826fccb23283e3f7462eee7aeb43fb6d2eaeaa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87568
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-01-28 18:44:26 +01:00
Ashod Nakashian
7c1153d30a leaflet: double-tap to show keyboard on mobile
On mobile, we now do not show the keyboard by default
when the user taps the cell in Calc or a text-area in Impress.
Instead, the user should double-tap. This is especially useful
when the user selects the cell on first tap, then double-tap to edit.
As for Impress, editing-mode is enabled only by double-clicking,
so showing the keyboard on mobile on single tap is not helpful
as the user can't edit just yet. So it makes sense to show
the keyboard only on double-tap, when the slide is in text
editing mode.

On desktop and for other document the behavior is unchanged.

Change-Id: I4206291f60656391d061387f7bbad1b6e3caf80d
2020-01-28 18:10:14 +01:00
Ashod Nakashian
c3d2b1233e leaflet: remove delayed cursor update and simplify
Change-Id: Ifcc165562d1f7aba611bb578688d9c5203681765
2020-01-28 18:10:14 +01:00
Ashod Nakashian
aa92102100 leaflet: focus the dialog/sidebar even when the cursor is not visible
Change-Id: I96963957986ba29cc55670dd6ef79a0bf39a9132
2020-01-28 18:10:14 +01:00
Ashod Nakashian
7e8914cae9 leaflet: change focus on rendering dialogs
Change-Id: I73002acb82950fb6a207f77768956d7cbfcd8a0d
2020-01-28 18:10:14 +01:00
Ashod Nakashian
09c52fef05 leaflet: improve refocusing the browser
Change-Id: I8b0ca64bcdb04dd05c271b5a5a2b7cf927e62941
2020-01-28 18:10:14 +01:00
Ashod Nakashian
bcd7af9657 leaflet: Impress toolbar fixes for sidebar state
Impress toolbar now reflects the state of the sidebar.
All sidebars now show correctly for Impress docs,
except for the properties deck, which conflicts with
the sidebar button.

Change-Id: I8802e5e35b388df20ca21c4f756b4d95197de570
2020-01-28 18:10:14 +01:00
Ashod Nakashian
da0f3a950a wsd: per-user cookies
Cookies may be passed from the client to the storage,
in which case each user may have its own unique set
of cookies. These cookies are now preserved in the
ClientSession, which is per connection, and are then
passed to the storage to use when communicating with
the WOPI-like backend.

(cherry picked from commit 6022faf3cc9b622b490c3f8ca91efbff8e542414)

Change-Id: Ic2e13fa541a5ee01b7383939bbbf7d46ea75684b
2020-01-28 18:10:14 +01:00
Tamás Zolnai
17553b691f cypress: mobile: More font changes related tests.
Change-Id: I100b5904db47af1f1f612650f280bf2518c7fae7
2020-01-28 18:01:36 +01:00
Tamás Zolnai
2a82aa6db9 cypress: mobile: Add one use case to check font changes.
Use the clipboard code to generate the HTML of
the selected text, so we can check the font properties
in the document.

Change-Id: I43e5325b7fe0a9fda073c43335231e014374d6c2
2020-01-28 18:01:36 +01:00
Pedro Pinto Silva
5b44398bcc MobileWizard: Insert: Table:
- Add exeption
- Even if there is no image passed add it manually and adjust HTML sctructure so to be consistent with other menu-entry-with-icon elements
- Add inserttable monochrome icon
- pass optional argument data.id

Change-Id: I34536272d3ef5742895c4db5a52058fe6558f837
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87633
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-28 17:47:34 +01:00
Pranam Lashkari
6ed054ca6a Mobile wizard: added for Column header
In mobile view context menu replaced with wizard for calc column header

Change-Id: I3ea1dfc79815d9fde61d5d22e7a8b09a98a8bc63
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87287
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-01-28 16:08:54 +01:00
Pranam Lashkari
e971435be9 Mobile wizard: added for row header
In mobile view context menu replaced with wizard for calc row header

Change-Id: Id85eefacbe598a3a041dd92dbe6b3c85e8997b4a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87286
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-01-28 16:08:08 +01:00
mert
abac1fa536 mobilewizard: Changed hit area for unoToolButton
only the image button was clickable which was
confusing where to tap on mobile. This patch
changes the hit area to surrounding div instead

Change-Id: Idfa2533b5daaa9df8f288eab5f9bb4b9e861d822
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87609
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-01-28 15:21:05 +01:00
Henry Castro
62fe18a044 loleaflet: mobile: restore 'Insert sheet' toolbar item
Change-Id: Ib51341c517954519b0dea2263ac9bf16b052b3f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87615
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-28 14:09:53 +01:00
Pedro Pinto Silva
0cb32e0ea5 MobileWizard: add monochrome version of insert local image
Change-Id: I095c23c086c026995d1433e9f3efc1adfef2a8cd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87601
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-28 13:03:50 +01:00
Pranam Lashkari
be4800531d Fixed broken image linking in mobile wizard
after new callback function route for the mobile wizard,
 noneexisting images were being added to menu

Change-Id: Iec3f817cc218d7a4cb9b92370f092fdf6dc18d70
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87228
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-01-28 12:20:52 +01:00
Ashod Nakashian
84c0cd277f leaflet: new event to notify of focus change
Change-Id: I30a8a1a2d1a8d46708db5748035e14daa76f5e14
2020-01-28 11:43:53 +01:00
Ashod Nakashian
e1b96a6d61 leaflet: onEditorLostFocus -> onFocusDialog
Change-Id: Ib55da717f4f58159b0b60d31b7fd4de54e2d4f25
2020-01-28 11:43:53 +01:00