Commit graph

11603 commits

Author SHA1 Message Date
Andras Timar
faf9ccbd0a Add LOKit logging option to configuration file
Environment variable in sysconfig.loolwsd was not good, because:
1) it was a systemd antipattern
2) this systemd environment file was not present on all distros
3) we had to take care about this separately, when we did not start
   loolwsd from systemd

Change-Id: I5c47668ca388c2f4b0afd6da8c575a3fb3cfab3b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96291
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-15 16:06:37 +02:00
Tamás Zolnai
9102a8aaf5 cypress: test download as options (writer, mobile).
We can't test the actual download:
https://github.com/cypress-io/cypress/issues/949

What we test is that we get a proper URL, after triggered
the download as menu item. This src attribute is set after
the core exported the file and sent back the URL for it.

We avoid download for test, because we can't control the
download folder. It's better not to save files without
clean up. Downloading is not working in headless mode
anyway.

Change-Id: I93664be7f55e4df863448adc734fa9cfc7b3638f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96352
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-15 15:33:32 +02:00
Muhammet Kara
2a20ea216a Relax the cookie for the Welcome message
Change-Id: Ia58b6a0125ece8eb4c3a6ea14c03c7c33dfc655a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96351
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-06-15 15:25:33 +02:00
Tamás Zolnai
f16e27c049 cypress: add tests for Edit menu items (writer, mobile).
Change-Id: Iec7c244f34f1c7c7bbf55c22db71d72278553cef
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96329
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-15 14:44:19 +02:00
Tamás Zolnai
725fa229e4 cypress: improve error log.
Change-Id: I5b91553af3f7fee5233c779fd2abd597af10fb02
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96328
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-15 14:44:10 +02:00
Tamás Zolnai
50500974cd cypress: improve 'Show track changes.' test.
Change-Id: I1ec60bdc66f6b080478c5c9db55e504f1f856f02
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96327
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-15 14:44:02 +02:00
Tor Lillqvist
1ae28bd738 Guard against uncaught exception when tileContainer.style is undefined
Happened at least for me in the iOS app.

Change-Id: Ie6f2e30c757ed5dec92dc94da52f9a055731666b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96308
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96309
Tested-by: Tor Lillqvist <tml@collabora.com>
2020-06-15 06:33:10 +02:00
Tamás Zolnai
789083b521 cypress: add change tracking related tests (writer, mobile)
Change-Id: I0c1426ce784153b102049f9770b8fd99eeaf784c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96260
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-13 17:49:27 +02:00
Tamás Zolnai
08cb112687 cypress: tests for some options in hamburger menu (writer, mobile)
Change-Id: I73e7e6732f51298fa12e194da1f337e99e874d80
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96259
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-13 17:49:20 +02:00
Tamás Zolnai
14c889cbd1 cypress: fix wrong image file path.
Change-Id: Ifaaf8eda8f2a05740ef77a4713cfa6b1bbb37614
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96258
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-13 17:49:12 +02:00
Tamás Zolnai
71f2d7b95d cypress: test insertion of local images.
Adding a file for insertion from cypress code
is not trivial. I added cypress-file-upload package
which can be used for this.

Change-Id: Ife7da586d1d87c2c4580730af29857c1d0d91750
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96232
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-12 18:55:56 +02:00
Jan Holesovsky
9cfdba5f56 Snap needs a specific unix socket name.
Change-Id: I7fd816eb6d23df0f27e40f345181833dbe85e022
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96197
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-06-12 12:53:07 +02:00
gokaysatir
117bf1c351 loleaflet: update archived packages.
Change-Id: I34767b40474f6245cc15a525c5e665cf9c9e6142
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96121
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-12 08:11:55 +02:00
Henry Castro
38715ea2df android: create intermediate dir for build variants
It is better to separate the intermediate asset files

Change-Id: I50ff1b6e045679afa48c7024652de40db8fa2a71
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95366
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-11 22:05:02 +02:00
Henry Castro
e7c75fda31 android: clean debug and release assets
Change-Id: I3e6c53f6d82169ba5a529a63bae9256fb43d69ed
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95332
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-11 21:34:21 +02:00
Tamás Zolnai
c0e7b862da cypress: update desktop/calc/focus_spec.js
Clicking on the formulabar is not a reliable way to move
the cursor to a specific text position.

Change-Id: I9ea48f4591707531a3dfdfb02b18d6fcb08921a6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96163
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-11 21:24:36 +02:00
Henry Castro
132bef2a97 android: generate debug and release loleaflet assets
Change-Id: If3659de771b3d1f7015c1e4c26d6877f90afe306
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94996
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-11 21:00:45 +02:00
Henry Castro
9928143e05 android: fix invalid URI when running x86_64
Change-Id: If057df24de63759d3e239475ecca94f8faaa0d35
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95611
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-11 20:41:36 +02:00
Henry Castro
2eec63af29 android: add "x86_64" ABI build variant
Change-Id: I19281af5432ae5a02f26f33464ced722759a4c67
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95609
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-11 20:11:44 +02:00
Michael Meeks
d34854f688 Add support for BreadcrumbDocName.
Change-Id: I06c56e92dd3acf9269140ecefb0c8bc731191260
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95960
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-06-11 19:44:01 +02:00
Henry Castro
56fb579332 android: fix build when builddir != srcdir
Unfortunately the "liblo-native-code.so" file is located
in the LO source directory

Change-Id: I43ad3313ad2dba62d987cbdbaed5de490c52b9cc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95608
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-06-11 18:27:58 +02:00
Michael Meeks
33a5813d84 WOPI: pure re-factor, remove rampant duplication.
Dung out lots of pointless intermediate variables, and overly
verbose code. Vertical space is not a renewable resource.

Most variables had a consistent pattern, except these:

caller var          c'tor parameter         member name

Change-Id: I7910b713b8c4f6950b1e7be9c3a8e4eb4f54e249
----------------------------------------------------------
userId              userid                  _userId
userName            username                _username
canWrite            userCanWrite            _userCanWriter
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96129
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-06-11 17:38:32 +02:00
gokaysatir
489155f3a7 leaflet: update jquery package.
Change-Id: I1d637b957808ae5938cf2ee7fe5c3f20e6b9cc52
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95856
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-11 13:00:52 +02:00
Andras Timar
8ea0b6acbc jquery.mCustomScrollbar.js: whitespace changes only
Change-Id: I23eadea7e0581ab068588af444794697c1d86bb5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96113
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-11 13:00:13 +02:00
Pedro Pinto Silva
40110f2ba7 Desktop: Set max size for document name's width
Change-Id: Ic35990efd9e240ed29ae9da1e72dcd6b58a4e933
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96053
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-11 12:54:38 +02:00
Jan Holesovsky
23ebfe2007 Add compilets dependency so that make -j works again.
Change-Id: I185891fbcb340d2d2a94b9e2fe033534da9c2f08
2020-06-11 12:37:11 +02:00
Tamás Zolnai
35710df7df Restore sidebar content deduplication.
It's still useful to avoid flickering.

This reverts commit b761ab848d.

Change-Id: If7986ddcc53c4086e05e888ad93c4831bc781796
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96061
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-10 18:52:09 +02:00
Tamás Zolnai
08c20c5620 cypress: update impress/apply_paragraph_props_spec.js test.
Change-Id: I8a404f7704fbe2a010b017f48128b1135f6ff8e3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96050
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-10 17:50:15 +02:00
Tamás Zolnai
0e38bc6017 cypress: update impress/apply_font_spec.js test.
Change-Id: Ie305e3f29115ab88c019445e61a9961b7a952904
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96029
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-10 17:21:38 +02:00
Weblate
893b3b06f9 update translations
LibreOffice Online/android-app (Hebrew)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I0e443e2e85226c8a99cbaa5e5a4de59d899f3be8

update translations

LibreOffice Online/loleaflet-ui (Chinese (Simplified))
Currently translated at 99.4% (308 of 310 strings)

Change-Id: I89c9132f6ed572195c15e021e70304a0076e94ca

update translations

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

Change-Id: I94f8e21484a85e4bd69880ff54c82317088131ea

update translations

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

Change-Id: If1d226c6d935c420815ff7fd6af26cdd802a498c

update translations

LibreOffice Online/loleaflet-ui (Hebrew)
Currently translated at 99.4% (308 of 310 strings)

Change-Id: I7bb8b810f87695e796acff46af583adc900c02f1

update translations

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

Change-Id: I3c620d2265d403b2161df67d384e7bbe50d12c03

update translations

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

Change-Id: I7a3537a518e56cc59597c7a9453c7fc7cd7dc926

update translations

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

Change-Id: I3017a16f0c8d182404ae64439cefc317d1cc8a4d

Update translation files

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

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

update translations

LibreOffice Online/loleaflet-ui (German)
Currently translated at 100.0% (309 of 309 strings)

Change-Id: I6f589390677cb4a6c15c3ec43a9b6a39a397bbd9

update translations

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

Change-Id: Ifb03049340cb4c904d59e4fb5d0d0a95c4f604ec

update translations

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

Change-Id: If4b655d90c962d82966bf0d156c258d8556f9867

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 63.7% (265 of 416 strings)

Change-Id: Ifc25669369a7cdd6d91ad19700527ea1d4841523

update translations

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

Change-Id: I21b6441f3030be8a1b84b9907efeb5e3feb6c9aa

update translations

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

Change-Id: I6cf80dab2c035354e8eba72e33ec16cd41046924

update translations

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

Change-Id: I74e9ba4d98e5879c62d313c84de1cecb8c6d0d15

update translations

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

Change-Id: Ic2b0b36a1dd401ee2da51a78cc0a4f0280e95081

update translations

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

Change-Id: I43ab8f5d0ec608864d80293f043eb60fd77389c9

update translations

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

Change-Id: I9b71ff7163bcd41d5c5e16d9597a8ab3b42d97e8

update translations

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

Change-Id: Ibe2d5f3ea359be1d09dff763128567faadd72dab

update translations

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

Change-Id: I51918db392f478d2129f4ee312544953d91287dc

update translations

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

Change-Id: I06ca24cabfc2171f5bf8f800164d8231cfc3dbcd

update translations

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

Change-Id: I7efd9b6c27dea567b98d7277ae7ea358a39063f2

update translations

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

Change-Id: I7b4f91a55ce1a44de6a8280eaf89d027550f2fc6

update translations

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

Change-Id: Ie530582adec769f4060a04573ddf2d5473bd92ba

update translations

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

Change-Id: I470b1c9accb4ddc8e0d46cf2047791b0d055169a

update translations

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

Change-Id: I1fa59972c4c54884f9d6391bbc1e1674d9550e1a

update translations

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

Change-Id: I1e3435d61421834c2194fe3b402ac8760f28f4c9

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 43.4% (134 of 309 strings)

Change-Id: I4ae27920ca1ac639429f5ff787558e5061bc9bf7

Update translation files

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

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

update translations

LibreOffice Online/loleaflet-ui (Dutch)
Currently translated at 99.3% (301 of 303 strings)

Change-Id: Idd2a9a444aa18730750c091182d300e9004f7527

update translations

LibreOffice Online/loleaflet-ui (Lao)
Currently translated at 68.0% (206 of 303 strings)

Change-Id: I0a117f6f375fde26ff268e9ba80aa8305f0e36b0

update translations

LibreOffice Online/android-app (Chinese (Simplified))
Currently translated at 98.0% (100 of 102 strings)

Change-Id: I4334dcd520da13f28219b9a6b7aec0f40cedf2b8

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 60.1% (250 of 416 strings)

Change-Id: Ibd0abbef15d84a8f3a4209129c7a7b70ad026a4f

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 57.7% (240 of 416 strings)

Change-Id: I8ac9b637d93e4406bba7816d55aeaeb981450367

update translations

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

Change-Id: Ifb5af6ae54c66a104e3d36dcf70dccb97b5be572

update translations

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

Change-Id: I512049c7fdd348f9acbb6d482783bccab1accd24

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 55.3% (230 of 416 strings)

Change-Id: I51f3af7874ec34c744a76e3a078be79f5a6f7773

update translations

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

Change-Id: I4f5c6f8304fbd93ea1f48f0c9f82c9618bfb9bbd

update translations

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

Change-Id: Ib5a380b80e8fba8dca0273b1c6bce310bffac6ed
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95161
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-10 12:52:58 +02:00
Pranam Lashkari
681321133a leaflet: update values in spinners
Spinners value will be updated when field value is updated via other controlls

Change-Id: I4b561eff72f63aa235d32f25732084f69f81a59a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94549
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-10 12:36:05 +02:00
Pranam Lashkari
8db0ab5abf leaflet: Strange behavior of Paragraph Spacing controls
Change Paragraph Spacing/indent on the mobile wizard with uno buttons,
paragraph Spacing spinners aren't updated

Change-Id: I0a692790e406a078c5540fe538c15d18cae20af0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94433
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-10 12:35:55 +02:00
Pranam Lashkari
3b7c5624a7 leaflet: Calc: Sheet rename dialog loses focus when waiting a bit
Change-Id: Ic1504868565323b135d88c966d2fbde7207c1cb5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95477
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-10 12:34:55 +02:00
Pranam Lashkari
7cb031a759 leaflet: select rang of slides using shift key in slide sorter
Change-Id: I70f76d12a9229cc11594407f510e280d86dea8c3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94754
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-10 12:34:07 +02:00
Pranam Lashkari
9994a5f0e5 leaflet: make slide selected border visible
Change-Id: I5778dd2b212eeaf9789219201cb60630859749d3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94595
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-10 12:33:58 +02:00
Michael Meeks
a009c83fa2 Pre-select base filename on rename click / focus.
Change-Id: I62fb629dc6021ab8cd60b46f73e8d9e39c2da4e0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95953
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-06-09 18:08:44 +02:00
gokaysatir
a0748dda45 leaflet: Introduce typescript. Initiate a modal library with typescript.
Change-Id: I92113f7552f938f0874e8b16904e8bef0b5249a3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95624
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
2020-06-09 14:33:40 +02:00
Pedro Pinto Silva
a2fb3207bc Server README: add missing instalation instructions for openSuse Leap 15.1
Change-Id: I23997f9fee48a0ddf46ce0dd6e57ed8e01dc5a31
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95936
Tested-by: Jenkins
Tested-by: Pedro Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-06-09 14:32:51 +02:00
Pedro Pinto Silva
4ad75ca85d Desktop: Set (on LayerInit) document name's size dynamically according to its value
Change-Id: I5e15b50c4ecf51d8e713cfc0fe116b44294e1e45
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95904
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Pedro Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-06-09 13:10:48 +02:00
Michael Meeks
28517a4993 Proxy: detect un-responsive sockets & close after 30secs.
Also:
+ fix double poll timer in error
+ remove & rename incorrect interval timer names

Change-Id: Idfae44c0a388312b248c78fc9ad04fe3725990b6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95910
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-06-09 12:43:05 +02:00
Michael Meeks
19b544477e Proxy: don't implement a magic re-connecting socket.
Websockets don't magically re-connect, so we shouldn't either.
Also avoid starting our send interval timer until we've opened
to simplify.

Change-Id: Id71049da2d4b4d0ac2f38a3d7410f2446d04f0b1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95906
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-06-09 12:02:56 +02:00
Gabriel Masei
ac17984226 admin: cleanup resource consuming kits
Change-Id: Ifafbadc61b788adc90c03fb92e0231f9e599c360
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95794
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-06-09 11:25:44 +02:00
Pedro Pinto Silva
4a160255cf Mobile: Add world count icon to the hamburger menu
Change-Id: Ie637ef42b05904d4399363f86d094bcf3a5e257d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95894
Tested-by: Jenkins
Tested-by: Pedro Silva <pedro.silva@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-06-09 10:13:04 +02:00
Tamás Zolnai
b289a2d3c5 cypress: allow equality here.
Change-Id: I4c08590c9ea062467d0112e0877bf1a018623269
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95858
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-09 00:05:08 +02:00
Tamás Zolnai
7da449d23c cypress: improve error matcher.
Change-Id: I82f209bfb32660723c1a0ec686b8ba363aa612fc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95854
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-09 00:04:50 +02:00
Michael Meeks
58e5016917 Proxy: handle server startup / un-responsive DocumentBroker creation.
If our 'open' request fails - then we could get this loop:

loadDocument (proxy.php?req=/loleaflet/d2d049224/src/map/Map.js:318)
_activate (proxy.php?req=/loleaflet/d2d049224/src/map/Map.js:1233)
_onSocketClose (proxy.php?req=/loleaflet/d2d049224/src/core/Socket.js:1045)
_signalErrorClose (proxy.php?req=/loleaflet/0acb00fc2/loleaflet.html?file_path=file:///tmp/copy.odt:576)
(anonymous) (proxy.php?req=/loleaflet/0acb00fc2/loleaflet.html?file_path=file:///tmp/copy.odt:688)
load (async)
getSessionId (proxy.php?req=/loleaflet/0acb00fc2/loleaflet.html?file_path=file:///tmp/copy.odt:682)
global.ProxySocket (proxy.php?req=/loleaflet/0acb00fc2/loleaflet.html?file_path=file:///tmp/copy.odt:753)
global.createWebSocket (proxy.php?req=/loleaflet/0acb00fc2/loleaflet.html?file_path=file:///tmp/copy.odt:798)
connect (proxy.php?req=/loleaflet/d2d049224/src/core/Socket.js:52)
loadDocument (proxy.php?req=/loleaflet/d2d049224/src/map/Map.js:318)

Which would hammer the server with large numbers of requests triggering
DoS protection in some cases, so:
1. only allow one 'open' in-flight at a time
2. global time-accounting to not allow >1 new ProxySocket every 250ms
3. handle error returns from 'open' correctly.

Change-Id: I1692acd72a445ebc70a83c66a2e802a532c66e21
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95837
Tested-by: Jenkins
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-06-08 21:18:47 +02:00
Tamás Zolnai
f64dfc2999 cypress: disable failing tests with cp-6-4 branch.
Change-Id: I137a1e9dbe6121052b78b146135288205e4bde2f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95851
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-08 19:47:49 +02:00
Michael Meeks
8b58ff8b24 Proxy: remove double images/ in path.
Change-Id: I0db7953501acf397e361a0483a999735bfce7557
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95842
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-06-08 18:02:50 +02:00
Michael Meeks
ff1e14a1d0 WaE: fix 'isAutosave' shadows a member of 'this'
Change-Id: I30fec0e39085f6e4f7049bb690390606d2d1ef15
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95845
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-06-08 17:56:27 +02:00
Michael Meeks
6232ff7184 Proxy: only send close if we were connected.
Change-Id: I4b80adb1d4f44efc02b784cad10f27e458921449
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95836
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-06-08 17:14:17 +02:00