Commit graph

10143 commits

Author SHA1 Message Date
Ashod Nakashian
2d78fcb20c leaflet: cleanup map._onEditorGotFocus
Change-Id: I16ff60f006d83212010d19dfe595c416b351cadb
2020-01-28 11:43:53 +01:00
Ashod Nakashian
18b3bfeabc leaflet: move isCursorVisible to map
Change-Id: Ie6f276f643eae38cb88fee4b2c77f992818f9ee7
2020-01-28 11:43:53 +01:00
Ashod Nakashian
b7e05a1189 leaflet: move isFocused to map
Change-Id: Ie0776b5bca8728f69eccd3b6d83b9bbe8358ab0f
2020-01-28 11:43:53 +01:00
Dennis Francis
3ce8389e82 Adjust the row/col header fontSize with zoom-level
Change-Id: I5eda8b1af1c10bc83714a63595aba8062070115a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87591
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-01-28 11:11:54 +01:00
mert
78f3db04b5 Fix quickbar colorpicker display problem
Change-Id: I274ac457e58f9f109a46583a5e174a16d8eab766
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86432
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-28 10:43:58 +01:00
Aron Budea
3c531c9adf Add translations for Page Setup & co
Translations for strings added in
53e6b0d07e

Change-Id: I319f519b897dcfc279e3c493a793b58b8b47a930
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87567
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-01-28 09:09:52 +01:00
Weblate
9d03504bb4 update translations
LibreOffice Online/android-app (Asturian)
Currently translated at 40.4% (40 of 99 strings)

Change-Id: I9fd2ae82f6ecee154a9bc763faa19c292125b22e

update translations

LibreOffice Online/android-lib (Asturian)
Currently translated at 33.3% (2 of 6 strings)

Change-Id: I1b68ea3f3d8f6ac9cb03264163a8b37a3384e800

update translations

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

Change-Id: I5ce93c62dc9a1ed9faa6ee64a3eeb343af11a12f

update translations

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

Change-Id: Ib179c425a0677bbd8a2cba730d164813a789c13f

update translations

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

Change-Id: I4d661bddc7f59531cc6a497f5b66da3fd2164deb

update translations

LibreOffice Online/loleaflet-help (Indonesian)
Currently translated at 49.8% (207 of 416 strings)

Change-Id: I79c945beb07d0fb6414a031fbe077594dd0a02ab

update translations

LibreOffice Online/loleaflet-ui (Javanese)
Currently translated at 22.6% (64 of 283 strings)

Change-Id: Ia118f54cc0bbfbbe9747c3808c16915f054f5737

update translations

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

Change-Id: I97231b76fe918389b9e8f5faec156269f9cf4868

update translations

LibreOffice Online/loleaflet-help (Indonesian)
Currently translated at 47.8% (199 of 416 strings)

Change-Id: Ibee86ecd69f3bcf88ae0ed0dea673e565f8e8840

update translations

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

Change-Id: I442aecd944e86e35d566292f97704ad7b172a9b3

update translations

LibreOffice Online/loleaflet-help (French)
Currently translated at 83.2% (346 of 416 strings)

Change-Id: Idb9845be3dc233655077e02cde04b1c165ca81c4

update translations

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

Change-Id: I45b4a345dc68c61e927dcd4e0b8311d85b85e8e7

update translations

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

Change-Id: Ia988ee2afa600a8e8cfa66f62c9045d896a080c4

update translations

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

Change-Id: I61b0c62c8c9b407cc737b767df577f6ed9efab02

update translations

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

Change-Id: I33d13be5e57c9436cf43c73cefee2d6a5d9e321d

update translations

LibreOffice Online/loleaflet-help (Basque)
Currently translated at 95.9% (399 of 416 strings)

Change-Id: I5a377ba38f4e48b8c7f6795d2efef6fd443abf4a

update translations

LibreOffice Online/loleaflet-help (Basque)
Currently translated at 94.2% (392 of 416 strings)

Change-Id: I5090d10613bf47a88640fa97d0a28ea4d6cd0cc1

update translations

LibreOffice Online/loleaflet-help (Basque)
Currently translated at 93.5% (389 of 416 strings)

Change-Id: I50a1eea79349ea0e450019873e0f6142d762ef75

update translations

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

Change-Id: Icb5475f01e13cceb4fd6236f5066628974bf44c2

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 96.5% (273 of 283 strings)

Change-Id: I9c89e8b12456ce62a4114abdd3750ffbc9c07e62

update translations

LibreOffice Online/loleaflet-help (Basque)
Currently translated at 92.8% (386 of 416 strings)

Change-Id: Ied93c05c9509a5323daf27d5f6b08f87a431d6fe

update translations

LibreOffice Online/loleaflet-ui (Lao)
Currently translated at 11.0% (31 of 283 strings)

Change-Id: I4fa0d3a2b27c31ed92b0bfd2dc9204c1591b92f1

update translations

LibreOffice Online/loleaflet-help (French)
Currently translated at 77.4% (322 of 416 strings)

Change-Id: I474de495a80a1e1d11067c27a425375dcc1d597f

update translations

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

Change-Id: I75dc905aa0c98097da6af4cd7ba345d97a6de89f

update translations

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

Change-Id: Ia8d5124dc9b2e5489700ff32849d7ae79d2f3f3f

update translations

LibreOffice Online/loleaflet-help (Basque)
Currently translated at 90.9% (378 of 416 strings)

Change-Id: Ica035cc78c210e50c9de79794c82a7bdb5345db7

update translations

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

Change-Id: I97dbc48d922732a4997cf8e7b487915eb2b599f5

update translations

LibreOffice Online/loleaflet-help (Dutch)
Currently translated at 53.8% (224 of 416 strings)

Change-Id: I48481c1b8e4f584d6b9bc3714ca2e9e4cffefe68

update translations

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

Change-Id: Ic47659bb1df7a528c7426cb08b48e54b103ef6b7

update translations

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

Change-Id: I0b4955f7b3cb0620437d1138aab75987555bda67

update translations

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

Change-Id: Ic6f915b480471ba380679fd20a2d90947c3bad30
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87059
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2020-01-28 09:06:39 +01:00
Henry Castro
d01cef322f loleaflet: mobile: allow horizontal scroll to 'spreadsheet-tabs-container' element
Change-Id: If600dfc37fc9123ffc4ce19811d792b846010350
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87549
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-27 20:39:46 +01:00
Henry Castro
5d8784b7b1 loleaflet: remove the 'spreadsheet-toolbar' toolbar
In mobile view, the 'spreadsheet-toolbar' toolbar is not needed anymore

Change-Id: Ie4dd518cbb4db62a3b3d0da812e37219d8a8bc4b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87548
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-27 20:03:53 +01:00
Tamás Zolnai
89f05278bb cypress: Make test run fail when an exception is thrown.
Change-Id: Ie96cb771c9cec737c0352a843e42b14161cf9e7f
2020-01-27 17:17:04 +01:00
Tamás Zolnai
c4f66b32b7 mobile: Fix a console error triggered by a cypress test.
Now idea whether it happens in real life.

Change-Id: I172bf265dd2b8fdbc1d2759d8669bd90f9097336
2020-01-27 17:17:04 +01:00
Pedro Pinto Silva
1d57b29632 MobileWizard: List chevron: Increase contrast by:
- Replace content (symbol character) with a darker element (SVG)
- Avoid adding new asset when we can simply apply transformations etc

Change-Id: I3c9ecdfd000723a30c28cb92ac752bd98823bcb7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87540
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-27 16:50:04 +01:00
Pedro Pinto Silva
84092428b7 Mobile: Mobilewizard: Add missing icons and hide unused spans
Change-Id: I61e2bdb24e082d095a832dec29f406869f21f986
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87538
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-27 16:21:40 +01:00
Muhammet Kara
53e6b0d07e mobile: Add orientation commands to Page Setup in hamburger menu
It checks for the state of the .uno:Orientation which
comes from core commit 7285b040ccf619210207c555981beb6df64cfc5a

Change-Id: Idc20f8b6f7c5ba10f5ce4726f4bc4408116dfe6f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86704
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
2020-01-27 14:12:25 +01:00
Tamás Zolnai
4360aba862 cypress: mobile: Update shape insertion test case.
Now, that the insertion is fixed and works.

Change-Id: I89eaf83992cb55db05953727ea973fb0e6820ae4
2020-01-27 13:53:36 +01:00
Tamás Zolnai
3ae759eec0 mobile: Fix shape insertion
Regression from:
298f4297c2

Change-Id: I4b31da57bde7f7ac6a5554f3ff7763f1b4ee76d5
2020-01-27 13:53:36 +01:00
Muhammet Kara
c0252cc281 Remove uno:ToggleOrientation from toolbars
Since the Orientation commands (Portrait and Landscape)
can now be accessed from the hamburger menu.

Change-Id: I5d07a6ac8df3e5f4e28dbd5a71d58bde5613251a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87371
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
2020-01-27 13:45:53 +01:00
Tor Lillqvist
cad472f796 Add some more core source files for breakpointing convenience
Change-Id: Ia0f08bca84d98f45484162017bd3019876ab8604
2020-01-27 10:52:29 +02:00
Miklos Vajna
2afebbeb67 configure: make lack of Chrome an error in the enable-cypress case
Change-Id: I1e2d4c884fc58334b3fdd5d43b1821eceeb08987
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87487
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-01-27 09:44:29 +01:00
Tamás Zolnai
38d2bd8768 cypress: mobile: Basic tests of insertion mobile wizard.
Change-Id: I2c2b2406ae390856c001dff1b4827586a40e05be
2020-01-26 06:42:53 +01:00
Tamás Zolnai
4bbcd50bc8 cypress: Make empty.odt test docs actually empty.
Change-Id: Ib6ab2da2b5dd2fa48b3aeedb8760a0acf5b6b5d7
2020-01-26 06:42:53 +01:00
Tamás Zolnai
517ebe5f2f cypress: Add a test case of shape insertion.
Change-Id: Ic76be157b6fb61c1fbc098ab4d2e627f9b25664e
2020-01-26 06:42:38 +01:00
Tamás Zolnai
1851110139 cypress: Add an example for copy-ing.
Unfortunatly cypress does not support clipboard events
by now.

Change-Id: Iffdaf0f15275ecb27aa3ebf2731c72cf4bdd46de
2020-01-26 02:41:06 +01:00
Tamás Zolnai
b64907e918 cypress: Extract test document loading code.
Change-Id: I77b2097bd9406ec63fbb9133678456444457ca2b
2020-01-26 02:41:06 +01:00
Dennis Francis
dd48efc7ca [MobileWizard] Do not display broken-image icon in firefox
In the mobile wizard, if there are no icons for a menu entry, firefox
will display a broken image even if we set alt='' in img tag. Lets add
an error event handler for img(icon) element to not display
anything. This seems to be the general solution that works both in Chrome
and Firefox.

TODO: We may want a css-only solution probably by having a custom transparent
icon to override the broken-image icon.

Change-Id: I879035ca847c4c52611eccfc20834866c0144e02
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87373
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-25 12:29:45 +01:00
Aron Budea
185bb77eee Add correct string and translations for Function Wizard
Change-Id: Ia9d8f2b102bc405d9eb9ef6364a00fc46c5798b7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87155
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-01-24 21:34:01 +01:00
Miklos Vajna
ea9c80b588 test: fix ODR-violation in SigUtil
==6642==ERROR: AddressSanitizer: odr-violation (0x0000024db3a0):
  [1] size=4 'SigUtil::SigHandlerTrap::SigHandling' ../common/SigUtil.cpp:113:38
  [2] size=4 'SigUtil::SigHandlerTrap::SigHandling' common/SigUtil.cpp:113:38
These globals were registered at these points:
  [1]:
    #0 0x68d7d8 in __asan_register_globals.part.13 lode/packages/llvm-472c6ef8b0f53061b049039f9775ab127beafbe4.src/compiler-rt/lib/asan/asan_globals.cc:365
    #1 0x7f4b7eeed83b in asan.module_ctor (online-san/test/../test/.libs/unit-base.so+0x6fd83b)

  [2]:
    #0 0x68d7d8 in __asan_register_globals.part.13 lode/packages/llvm-472c6ef8b0f53061b049039f9775ab127beafbe4.src/compiler-rt/lib/asan/asan_globals.cc:365
    #1 0x104590e in asan.module_ctor (online-san/loolwsd+0x104590e)

No need to include SigUtil for unit-base (invoked during 'make check'),
it's only needed for unittest_SOURCES (invoked during 'make').

Same for Log::IsShutdown(), 'vtable for Session', 'typeinfo name for
TileQueue', 'JWTAuth::_key', 'vtable for ClientSession',
'UnitBase::Global', 'SocketPoll::DefaultPollTimeoutMs' and
'SslContext::Instance'.

But don't just remove all wsd_sources from the new-style unit tests, as
that would lead to missing symbols:

[ loolwsd ] ERR  Failed to load online-san/test/../test/.libs/unit-base.so: online-san/test/../test/.libs/unit-base.so: undefined symbol: _Z20documentViewCallbackiPKcPv| common/Unit.cpp:40

(Seen during make check's unit-base.)

Change-Id: I305185f6437c5b4887d8e09a592e578a94f2659c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87323
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-01-24 10:34:00 +01:00
Tamás Zolnai
14764fd052 cypress: Add node_modules to eslintignore
Change-Id: Ifc8243b7b3a5cc6790209955249626b81f7ecdde
2020-01-24 09:30:48 +01:00
Dennis Francis
acccf779ce Show missing anchor submenu items in the context menu
This is about the context menu related to shapes.
The core is already sending data about all anchor menu items but they
were not whitelisted. After whitelisting them, they work well except
that the 'anchor' overlay image is not shown over the cell the shape
is anchored to.

Change-Id: I9c2c84e58047d92132329d09a4a2569272d804ff
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87232
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-24 07:20:31 +01:00
Miklos Vajna
6add8295bf test: remove documentation about no longer working CPPUNIT_TEST_NAME variant
This is not needed, the commandline to run the test is printed on
failure.

Change-Id: Ia4da4344ede4ad8c1627a5560f1bc1264f4203c7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87288
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-24 00:09:34 +01:00
Tamás Zolnai
aaab96fd12 cypress: make chrome check depend on enable_cypress flag.
Change-Id: I0e61ef55be68991ae6d55247d93beb0cd6913084
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87292
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-01-23 21:02:46 +01:00
Pedro Pinto Silva
1476d914e4 Desktop: id document-name-input: set input field based on its value
Change-Id: I8010b5fd435580a0637d5b9c5d23d5c109674c9c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86774
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-23 15:50:16 +01:00
Tamás Zolnai
4bb0372604 cypress: Update README
Change-Id: I98e83a77ae490890aeb515eeb4e03eb18093c694
2020-01-23 14:55:50 +01:00
Tamás Zolnai
0145c03ed6 cypress: Introduce an --enable-cypress config option.
Removing the cypress_test subdir from top level
folder made the packaging process to fail.
So better to use a flag to enable cypress tests.

Change-Id: Iead4b7cbbea5c6aaba18c0b85f23d67a4fbe920b
2020-01-23 14:55:43 +01:00
Miklos Vajna
9f91b01633 wsd: fix Android build
Don't just rename the variable, also make sure we get the FD before we
reset our local reference to it.

Change-Id: I676f148874831eaf9f37bdcde1216c58f89229e5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87244
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Miklos Vajna <vmiklos@collabora.com>
2020-01-23 11:18:46 +01:00
Andras Timar
b5290c3dc7 accept standard BCP 47 language tags
Some integrations send a BCP 47 language tag in lang parameter (by the way
this is what makes sense, the lower case codes are non-standard). This commit
fixes the bug, when for example lang=pt-BR fell back to pt with the JavaScript
UI.

Change-Id: I770f499feb605696fa589bfc326194218c3c9fb1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87222
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-01-23 09:27:47 +01:00
Miklos Vajna
abe076e56d test: restore ability to just run a single unit test
This was removed in commit 0599db3576
(copyFile: de-poco-ize and handle EINTR and short writes., 2020-01-18),
probably by accident.

Change-Id: I36bed5851fbfa0c37a007bedb6f318aaf4d8c64a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87233
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Miklos Vajna <vmiklos@collabora.com>
2020-01-23 09:19:43 +01:00
Michael Meeks
c9cfde6d72 wsd: use port number after, rather than before allocating it.
Particularly printing it on the console, and passing it to the kit.

Change-Id: I158f97b7b219c44c885939d71af2e5e8283be4c2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87227
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-23 00:39:19 +01:00
Pranam Lashkari
a019c93d90 Resolved: Server crash when link opened in new tab
When trying to open a link normally from help->Online help
nothing happens but the popup is closed.

When trying to open a like forcefully in new tab
from help->online help it crashes the server.

Change-Id: I7e0944ebe521002625a84e155e379ed7e25d2309
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85466
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-01-22 23:23:51 +01:00
Tamás Zolnai
34015a5798 cypress: Use a bigger timeout for document load.
Change-Id: I8bc142468fb301e8aa6fc12d5f271421fb68ee8c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87220
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-01-22 21:21:55 +01:00
Tamás Zolnai
dbb87bab34 cypress: Fix CHROME program detection.
For checking more binaries, we need AC_PATH_PROGS and
a blank separated list.

Change-Id: Ie1f5660b912970b70ba1aa51885989fbd0563914
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87213
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-01-22 21:21:37 +01:00
Tamás Zolnai
ce56626bea cypress: Update mobile test cases.
Mobile wizard was changed in the meantime.

Change-Id: Ic4813b10f946e58878bbc2dd926570e2e712606a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87212
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-01-22 21:12:02 +01:00
Henry Castro
576e41a682 loleaflet: show SVG background while dragging
When a user creates a graphic and immediately start
dragging it will show only a bounding rectangle,
then it will show the proper SVG background when
download is complete

Change-Id: I3b623e6a15b5af683f858171f22f47af101495c3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87200
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-01-22 19:54:47 +01:00
Henry Castro
cbdccb6d1d loleaflet: do not remove the rectangle path
The main invisible rectangle should not be removed
and the SVG is just a background it should not be
draggable

Change-Id: I828c38dbdab3cf9baad5002b5f45470c5e4fa07a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87196
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-01-22 19:54:02 +01:00
Henry Castro
d34f8eb151 loleaflet: remove the graphics filter to edit text
This was a bad idea, since 'XTEXT_PAINTSHAPE_BEGIN' is not unique
to identify graphic text, I will find another solution

Change-Id: Ic60f53254e461299b24251aa325a42a1eb8e896e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87193
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-22 19:53:32 +01:00
Henry Castro
56747ba5c6 loleaflet: cache the selected graphic background
Unfortunately, when drag and drop the selected graphic,
the SVG background does not finish downloading to client side.
In order to improve the selected graphic the SVG background is cached

Change-Id: If2a88ab3df50b7defe52a7beda074563af20415b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87166
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-22 19:52:11 +01:00
Miklos Vajna
ed586d9601 cypress: accept chromium next to chrome
Change-Id: Id2a577b1413227840e2af29abe4cc96e5a81dd82
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87191
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Miklos Vajna <vmiklos@collabora.com>
2020-01-22 18:59:46 +01:00
Pranam Lashkari
edc2b3c53e resolved: No avatar in comments/changes
Change-Id: Icbdffdfa4567364f306a5f94b5788fce2c43388e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85661
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-22 17:23:14 +01:00
Tamás Zolnai
33245f42ab cypress: Disable SSL for the test loolwsd server.
Change-Id: I613768b3a91e5f34c64495cb5ca13312210f3549
2020-01-22 12:55:13 +01:00
Tamás Zolnai
d87fab2acf cypress: Don't use hardcoded wsd hash.
Change-Id: Iff7296c6a9def8df9ddb6d78a29e0adf64436b7e
2020-01-22 12:55:13 +01:00