Commit graph

11249 commits

Author SHA1 Message Date
Andras Timar
b0645a647c Proof: SSH private key format matters
On openSUSE Leap 15.1 the ssh-keygen binary produced a private key
that caused Poco to throw an exception. Apparently Poco expects
the private key in PEM format. Apparently on most distros this is
the default format, but not on openSUSE Leap 15.1 where we need
to specify it explicitely.

Change-Id: Id142735b13887a1347895f121400ed6d5aecc1f4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92736
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-22 23:52:21 +02:00
Andras Timar
1b46fe47ba Revert "Update translation files"
This reverts commit 7bea44c149.

Reason for revert: it removed good translations

Change-Id: Iccc2a012d4fa6977f2a8e7fdf07ff4c9a0040399
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92542
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-22 18:55:02 +02:00
Weblate
7bea44c149 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Change-Id: I17e88df1578b17e9beae7e6195b66634cc8b424b
Translation: LibreOffice Online/loleaflet-ui
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92710
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-22 18:53:33 +02:00
Weblate
0880000007 update translations
LibreOffice Online/loleaflet-ui (Hungarian)
Currently translated at 100.0% (296 of 296 strings)

Change-Id: Iaaa5fc948c142c87f634b75afd2a26812a0f8dca

update translations

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

Change-Id: I8c1c88cf50fe031173900059f8486ac0972dd7a9

Update translation files

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

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

update translations

LibreOffice Online/loleaflet-help (Slovak)
Currently translated at 98.8% (411 of 416 strings)

Change-Id: I20f4c5ce0fa87a26f9f05e75835e3d0cc245f011

update translations

LibreOffice Online/loleaflet-ui (Slovak)
Currently translated at 100.0% (294 of 294 strings)

Change-Id: Ib2c80fa7f5ed5cc748f37d92638095224fb187f3

update translations

LibreOffice Online/loleaflet-help (Catalan)
Currently translated at 84.9% (353 of 416 strings)

Change-Id: I06008211ffceec01cbb3221eaaa1be784f5345b7

update translations

LibreOffice Online/loleaflet-help (Venetian)
Currently translated at 9.1% (38 of 416 strings)

Change-Id: I14f64e85dd3cfacb5bdd93cb61746fbfca934ae9

update translations

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

Change-Id: Ib164c7193b415e07cc5ab6a3e54236790e56e7a0

update translations

LibreOffice Online/loleaflet-ui (Amharic)
Currently translated at 72.4% (213 of 294 strings)

Change-Id: I2188bc567aa2fa6b85e98daffa16fd8f0f3ddef6

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 40.5% (119 of 294 strings)

Change-Id: I3b871c9aeda5edac643a28e1b0c7a99acc0aa1eb

update translations

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

Change-Id: Ic4268f4bccd2d68f41f3db688e28af60e6d3fe48

update translations

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

Change-Id: I1c51dc5c12f6c4e0fc6bc3c190bd612e09321f36

update translations

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

Change-Id: I6d4b2768d17ca951ca5123f97888fc1587ea2d90

update translations

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

Change-Id: I0b2e4f1ffcd00eb1514026cd76f7211cd1972b3d

update translations

LibreOffice Online/loleaflet-ui (Bulgarian)
Currently translated at 99.7% (293 of 294 strings)

Change-Id: I5eb914e253472e3645469166fa00d81a44b20558

update translations

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

Change-Id: I5f2d9a3785f94bdaf4cd41b0446ffe51d3938fd2

update translations

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

Change-Id: I45962b07b3890d49e83b47f6b10193934cb4d6b6

update translations

LibreOffice Online/ios (Dutch)
Currently translated at 100.0% (5 of 5 strings)

Change-Id: I17acebfd6380cb5c0822a97d9eb72ffb811a430c

update translations

LibreOffice Online/android-lib (Dutch)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I68896cbc8830521f22c91cf981550adee39cdcf2

update translations

LibreOffice Online/android-app (Dutch)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I13207ecfb48d4493d761ea434503cead9bd5e021

update translations

LibreOffice Online/android-lib (Dutch)
Currently translated at 91.7% (11 of 12 strings)

Change-Id: I95cf32aea3fe06052c72dda9fbc9f53d45e343f3

update translations

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

Change-Id: I1057bd39dabab7f35f539eb5145b26df9ff3db4a

update translations

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

Change-Id: I5ad5f88c4c7b845654178ab4fdf8269d5dac68fa

update translations

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

Change-Id: Iac1658f04f6ae759d19566338fd761b4842c6f2b

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 39.1% (115 of 294 strings)

Change-Id: I0b4f91e151376158dfb19ba7aa8ae3a1dfd1ee52

update translations

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

Change-Id: I893c6ea94dc954667756d076ea54953cd4e18497

update translations

LibreOffice Online/loleaflet-help (Norwegian Bokmål)
Currently translated at 52.6% (219 of 416 strings)

Change-Id: If4ed7f3626e94949ca0bac1d2861a3496aa7fcee

update translations

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

Change-Id: I135f8b0bf6591637daf8140538037c0b56e428af

update translations

LibreOffice Online/loleaflet-ui (Norwegian Bokmål)
Currently translated at 100.0% (294 of 294 strings)

Change-Id: Ib8d0e3153a719c86820043f206a3ced88d9bf1ae

Update translation files

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

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

update translations

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

Change-Id: I993555978da571097b4a3f159992ccbd82b3f634

update translations

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

Change-Id: I9016c2d1954c4c6e43d6dae83683f8aa782798b2

Update translation files

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

Change-Id: I89e25cc20f4d2e75b0b77ba7c00fb2fdda368434
Translation: LibreOffice Online/loleaflet-ui
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92369
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-22 18:46:09 +02:00
Tamás Zolnai
2a047045b2 cypress: make expectTextForClipboard() work in Writer.
Change-Id: I19d8961f64a23102f58d47a9893ddc318206c70a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92716
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 18:03:56 +02:00
Tamás Zolnai
604782e0a3 cypress: eliminate cy.wait() in clearAllText() method.
Change-Id: I572daf71b31814e2d6e0d2dc831152773e659f7b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92717
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 18:03:25 +02:00
Michael Meeks
ce54304a34 Tolerate missing WOPI parameters.
Change-Id: Ic938b835aadeb299e06682b2f384db323eca0a91
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92699
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-04-22 17:56:30 +02:00
Andras Timar
b6c354cbed loleaflet: update UI pot
Change-Id: I84e0216361e2ccc37051cdf00816caa4a48d8eae
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92706
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-04-22 16:59:34 +02:00
Pedro Pinto Silva
80848ea8e9 Mobile: mobilewizard: inputspinner: fix disabled state
Change-Id: I5e6ef1572b578c3f34e52f0e4795dc4dfc71865c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92639
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-04-22 14:34:47 +02:00
Tamás Zolnai
ba86534c43 cypress: introduce a data attribute for acceptInput
So we can use cypress calls to wait on the tested state
using cypress' retry functionality. It's also useful to
have the acceptInput state in the DOM, so we can check
it in the interactive test runner.

Change-Id: I17cd8f88b270f7a329d35e77dec4eedd7aa1c2a3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92682
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 13:35:35 +02:00
Tamás Zolnai
e580e8c7dc cypress: desktop: restructure data and test files.
Plus rename one test file: focus.odp -> slide_operations.odp.

Change-Id: I278fc22ec55bcfbd47d2ecda95b759c16b615403
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92681
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 12:56:02 +02:00
Tamás Zolnai
06160fed5e cypress: remove this example test code.
It was added initially to have some dekstop test too.
Now it fails, so no need to keep it.

Change-Id: I94aae2b5e86c46dfd5afa5decabb3333cefd1302
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92680
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 12:37:32 +02:00
Tamás Zolnai
9d9ea65529 cypress: introduce a better way to check the selected text.
We can use cypress methods on #copy-paste-container and so
we don't need to use explicit wait() method here. The added
cypress call will do the waiting more effectively.

Change-Id: Ib15ffb1d72e422ef303f9e0e17b29d740cd4e7f6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92678
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-22 12:31:22 +02:00
Tomaž Vajngerl
288d99847e loleaflet: decrease min zoom to 1 => 20%
In some cases on tablets in impress we want even smaller document
sizes as otherwise the document doesn't fit on the screen.

Change-Id: Ice00f122bae1401755c5094c23202a208468fe50
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92640
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-04-22 11:47:19 +02:00
Szymon Kłos
829a0c7fa3 Move toolbars resizing to the internal implementation
Change-Id: I7afa916f03c4d6d4dd4b863d6ff65b1936fe32f0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92671
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-22 10:20:15 +02:00
Szymon Kłos
799235eb38 Move command state updates handler to toolbar implementations
Change-Id: I3b9b4a7c05a0c6f40f86f6a69ea8873a1120180c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92670
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-22 10:06:18 +02:00
Miklos Vajna
49fa1aa1c0 Fix -Werror,-Winconsistent-missing-override
Change-Id: I734c2987b20de3dda85ce079aced3c5b90f352e1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92667
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-04-22 09:58:26 +02:00
Dennis Francis
217dd2de54 Do not broadcast view-cursor invalidation messages
in kit as these are sent by core to specific view(s) by ultimately calling either
(as seen from the usages of LOK_CALLBACK_INVALIDATE_VIEW_CURSOR in core)

1. SfxLokHelper::notifyOtherView() where it sends to particular view.

or

2. SfxLokHelper::notifyOtherViews() where it sends to all views except
the current view.

The core makes the decision to broadcast or not, and if it does, then
the kit's broadcast of broadcasted messages can only cause a blowup of messaging
complexiity w.r.t number of views. It also does not make sense to send
view-cursor messages meant for a view to be sent to others in Calc
with clients of hetrogeneous zooms.

Change-Id: Ib07c5fbba9bb05c59048561d2c26aed00f3be598
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92633
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-04-22 09:48:55 +02:00
Szymon Kłos
43f19fa57e Move DocumentNameInput to separate file
Change-Id: I20b5620269b46902a612d2b43346d3b02c3636cd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92622
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-22 09:36:03 +02:00
Henry Castro
40b0e084be android: change dependency to generate assets
According to gradle graph tasks, add a dependecy
to generate loleaflet assets

Change-Id: I5b528989c645903840eae44b7770b7d2425bb921
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92662
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-22 00:49:43 +02:00
Henry Castro
e3b0c05733 android: add gradle task copyBrandTheme
Change-Id: Ide4a58551fad9befe3e81ab727be283e438dcae3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92661
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 23:43:15 +02:00
Henry Castro
8b593d94c1 android: add gradle task copyBrandFiles
The gradle build system can do the job

Change-Id: Ife8f080726ca61540201bd00acb7fab97efbba85
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92659
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 23:01:07 +02:00
Tamás Zolnai
49edc462b7 cypress: assign selection data to clipboard container as soon as it arrives.
So we don't need to trigger a fake copying to get the
content. It will make things easier.

Change-Id: I0964fe697602d77078f10792355fbda23879c7c9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92645
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-21 20:31:42 +02:00
Tamás Zolnai
57e225bb9b mobile: fix 'enable property of undefined' error.
Caught by cypress tests.
We don't have 'presentation-toolbar' on mobile.

Change-Id: I95440dbd505202183f936fc3e4f962c6a0199257
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92646
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-21 19:35:46 +02:00
Henry Castro
d8f8e12358 android: parameterize the Dist folder
Now, It is possible to build lolealfet to assets
folder directly

Change-Id: Ie5f7de65bcd4d6e4ab5df2b2697b4c02cbbbef67
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92597
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 16:52:23 +02:00
Henry Castro
53a27a1ec4 android: set specific DEST:SOURCE config files
The *.in files in android should be generated
explicitly in source dir. With this setting it is
enabled to configure builddir != srcdir

Change-Id: I529f8021d4407b2f87ae265b93fb3d764bb1a1bf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92595
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 16:28:13 +02:00
Henry Castro
0e8942f88f android: configure build directory
Enable to change to build directory when
builddir != srcdir

Change-Id: I8e48897c44a5ea67da8ffebc3183d722a05e3a20
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92596
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 16:03:38 +02:00
Henry Castro
e33c930398 android: integrate gradle task to build loleaflet
Change-Id: I6f2d39d7986d3f9e477bad225e554c3bdb71d125
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92598
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 15:50:01 +02:00
Jan Holesovsky
e49e394ae5 android: Copying drawer_header.png is not needed any more.
Change-Id: I4bf707ac1e04a62122d3e999602e00815f8db758
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92632
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-21 14:41:46 +02:00
Tor Lillqvist
b94fb53d4d tdf#128502: Make _loKitDocument in class Document non-static again
It was made static in ea2b77ce07 for
Android's sake, so returning it to be per-instance is not a big thing.

Keep a separate static just for the Android app's use for now, while
the Android app supports just one open document at a time anyway. (It
is for the iOS app that I am moving towards supporting multiple open
documents at a time.)

Change-Id: I7fabeb21883eb7cd7155e880eb4cc0413124d1f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92625
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-04-21 13:43:43 +02:00
Pranam Lashkari
f07f29080a leaflet: resolved impress slide background color not changing
Change-Id: Ia55a9c1f9bc5a51e6599755bfaf37d9788c9f7c3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91943
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-04-21 12:17:17 +02:00
Tor Lillqvist
1525f774d9 tdf#128502: Get rid of the static file-level variable 'document' in Kit.cpp
It is not a problem in the multi-process web-based Online, where the
variable exists separately in each KIT process (which handles exactly
one document). But in a mobile app, when we want to be able to handle
multiple document in the single process, we can't have such variables.

Change-Id: I1d3da48316eb3a8c72ff4957cc3fcba8f6870f16
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92582
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-04-21 12:15:07 +02:00
Muhammet Kara
fca73e16b9 Welcome: Add the dismiss/accept button
Now that we have the value of window.enableWelcomeMessageButton
coming from the loolwsd.xml, we can optionally enable/disable
the dismiss/accept button.

Using vex.dialog.open instead of vex.open to be able to
have the 'buttons' option.

Because the vex-dialog-message class displays the message
all-bold (very ugly) on mobile, we change it to vex-content,
just after opening the dialog.

We also limit the max height of the dialog to avoid double
scroll-bars.

Change-Id: I0c4d1cba303da49d23342a74538c7f340c4bcf1b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92465
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-04-21 00:23:32 +02:00
Henry Castro
bc4885b64a android: generate only the necessary config files
Avoid generates files that are not needed to develop android

Change-Id: Ica882e3faeaa800e03e8bf811c81c328a7dff6a3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92138
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-20 23:58:50 +02:00
Henry Castro
972a5387fb android: fix drawer_header_brand not found
./gradlew assemble

Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing
com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     android/app/src/main/res/layout/navigation_header.xml:8:
AAPT: error: resource drawable/drawer_header_brand
(aka org.libreoffice.androidapp.debug:drawable/drawer_header_brand) not found.

Change-Id: I0776e495b6215129202ca583306ed32a8ac51bd4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92128
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-20 23:45:38 +02:00
Henry Castro
f09d71baca android: fix missing brand resource
configured with no brand and I get the following error:

./gradlew assemble

: error: cannot find symbol
        builder .setIcon(BuildConfig.APP_HAS_BRANDING? R.drawable.ic_launcher_brand: R.drawable.lo_icon)
  symbol:   variable ic_launcher_brand
  location: class drawable

Change-Id: Ibf3dcf581f12190ba4664b286710fc5a8ef43fe2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92120
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-20 23:24:12 +02:00
Henry Castro
15fe4b8dca android: fix "AAPT : error: resource drawable/writer not found."
Adding an empty image using the command "touch", generate a weird error
when merging resources:

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing
com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
    android/app/src/main/res/layout/activity_document_browser.xml:163:
AAPT: error: resource drawable/writer (akaorg.libreoffice.androidapp.debug:drawable/writer) not found.

android/app/src/main/res/layout/activity_document_browser.xml:229:
AAPT: error: resource drawable/calc (akaorg.libreoffice.androidapp.debug:drawable/calc) not found.

android/sid/android/app/src/main/res/layout/file_explorer_grid_item.xml:49:
AAPT: error: resource drawable/ic_more_vert_black_24dp
(aka org.libreoffice.androidapp.debug:drawable/ic_more_vert_black_24dp) not found.

android/app/src/main/res/layout/file_list_item.xml:58:
AAPT: error: resource drawable/ic_more_vert_black_24dp
(aka org.libreoffice.androidapp.debug:drawable/ic_more_vert_black_24dp) not found.

android/sid/android/app/src/main/res/layout/fragment_directory_browser.xml:13:
AAPT: error: resource drawable/ic_menu_back
(aka org.libreoffice.androidapp.debug:drawable/ic_menu_back) not found.

android/sid/android/app/src/main/res/menu/view_menu.xml:5:
AAPT: error: resource drawable/ic_folder_black_24dp
(aka org.libreoffice.androidapp.debug:drawable/ic_folder_black_24dp) not found.

Change-Id: I99b0857941687846e90ad53f30cac6a7ef83beaa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92594
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-20 22:58:34 +02:00
Henry Castro
66415e4e45 android: add missing gradle-wrapper.jar
It is required to execute the script

./gradlew tasks

The wrapper downloads the gradle version if not installed

Change-Id: I3d52f779aa6931bc4e3d57309558fdccbe98024b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92095
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-20 21:47:26 +02:00
Henry Castro
c9cc637cd5 android: fix create-l10n-all-js.pl paths
builddir != srcdir

Change-Id: I42668bec84efeefae445416eac03321ca02b5aba
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91862
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-04-20 21:17:57 +02:00
Muhammet Kara
f507302993 Welcome: Add config for enabling the dismiss button
Change-Id: Ia2fbf066493d91a2b10866e66d11332b5cfc10fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92593
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-04-20 20:35:08 +02:00
Pedro Pinto Silva
55a985dc73 Add missing latest updates icons
Change-Id: I41fa30979a121672516cea06905e071ff8486297
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92586
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-04-20 20:10:15 +02:00
Tor Lillqvist
c440dceb9e Add ios/Mobile/Resources/Settings.bundle/Root.plist
Change-Id: I578104460e59fcc2e7a2887a49f4e771fe9c3fa0
2020-04-20 21:01:06 +03:00
Pedro Pinto Silva
411ba06ea3 Mobile: Calc: Adding CSS rules for when #formulabar has inputbar_multiline as a css class
meaning adding css rules for when the inputbar is in the multiline mode (expanded)

Change-Id: Ib8557f1e502c06e50a26b0a94ccab793b44feda0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92570
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-20 16:38:57 +02:00
Tor Lillqvist
fdf5687d7c Bin some dead code, this gets rid of a use of Util::alertAllUsers(), yay
Getting rid of Util::alertAllUsers() calls in arbitrary places is good
because the semi-obscure way in which it works in the multi-process
web-based Online is potentially hard to fit together with the desire
to make the single-process mobile app able to handle several open
documents.

Change-Id: I6055a993ee31941e3592508aac5f0edf6497a836
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92571
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-04-20 16:38:40 +02:00
Muhammet Kara
1c296d5947 Welcome: Prevent a million cookies during development
By default, cookies are stored with full path of
the web app, and we have an extension made of the
hash of the build. So each new commit means a new
web app for the browser, causing many cookies stored,
and the welcome dialog being shown after each commit.

From now on, we will be storing our cookies to the
'/loleaflet' path.

Change-Id: I4cb25ab0a53c4743cb929a7f6c20ab019da29409
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92575
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-04-20 16:36:04 +02:00
Miklos Vajna
eeb4d53a1e admin_fuzzer: fix too large param to mem stats size setter
Change-Id: I30dfa5cd917769e05cfdd4fad2a0e5ee8cc79dfb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92568
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-04-20 15:44:21 +02:00
Tor Lillqvist
5fff61ef14 There doesn't seem to be any use of FileUtil::alertAllUsers()
Which is good, Util::alertAllUsers() is enough of a complicated mess.

Change-Id: Ibac302ea8a7506baa992d71e3891b5764b6ed279
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92569
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-04-20 15:35:05 +02:00
Tamás Zolnai
227b9812b8 cypress: mobile: add tests for calc cell appearance options.
Change-Id: I452c07a01f903edfffaeb63042418534ed0ae039
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92564
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-20 14:43:56 +02:00
Tor Lillqvist
0fa4553dcf Put FUZZER-specific members inside #ifdef FUZZER
Any use of them is already inside such ifdefs.

Change-Id: Ide63a58eeb1c97bb0431c3f0cfa51359476352bc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92557
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-04-20 12:57:05 +02:00
Tomaž Vajngerl
9885fc136e ruler: show ruler for all tablets, not only iOS
Change-Id: If127220052bf956c88e4b927a882a1d049e91dac
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92551
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-04-20 12:46:43 +02:00