Commit graph

11385 commits

Author SHA1 Message Date
Tamás Zolnai
dd5ce7df94 cypress: make zooming more stable in form field tests.
Change-Id: Ie897b256f13f06e7fc66bd0fac25376b849e5429
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94421
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:42:14 +02:00
Tamás Zolnai
18325d8889 MSForms: make list items's font size relative to the button size.
Change-Id: I05149e704ca248584ba190f2e637e69082ca33fa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94420
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:41:48 +02:00
Tamás Zolnai
43d1567b9d MSForms: stop listening on zoom events after button is removed.
Change-Id: I96e484b5fa7309b7d1a6f0a3ec4269f21bb93496
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94410
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 18:41:37 +02:00
Tamás Zolnai
f1262f7b31 cypress: this is unstable.
Change-Id: Ifb492aa60594a98f7274e09682e3042797431ce8
2020-05-18 14:15:26 +02:00
Tamás Zolnai
82f96b40f8 cypress: add zooming test for form fields.
Make sure the text cursor is inside the form field
button's frame.

Change-Id: Ib8a6fe50c14d01b5d3864f04e9668b9b1844b50e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94408
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 12:45:05 +02:00
Tamás Zolnai
13f1f0182e MSForms: rerender form field button on zoom.
Hide the button on zoom start and display it again with
the new size on zoom end.

Change-Id: If507009923e85225c8594252bd76033c8b84783b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94407
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 12:41:48 +02:00
Tamás Zolnai
29b08b31d7 Revert "cypress: enable some more tests."
This reverts commit 53e887d193.

Change-Id: I184e9e44975596e3b05a7beb45a16e79ea22f282
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94280
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-18 10:36:36 +02:00
Aron Budea
df205d6360 loleaflet: Empty user list flashes up at start on mobile
Regression from 610e2dbd58

Change-Id: I35809de56d9533381f0c0d2bdfcd5587e065ce9f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94336
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-05-16 00:30:55 +02:00
Tor Lillqvist
56afddaba0 Add RequestDetails.cpp and hpp
Change-Id: I084ce2e731073ab69a806d5053c27987b2a8244c
2020-05-15 23:34:01 +03:00
Christian Lohmaier
d6b8a37eb1 set INSTDIR again in and check for dockerfile in proper location
f'up fix to 607ddbff46

Change-Id: Idbb5191afcb9baab5c58e43e1b2511493491f029
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94291
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-05-15 22:30:14 +02:00
Tamás Zolnai
53e887d193 cypress: enable some more tests.
Change-Id: I9e6e03e8fb082cfbb942b5af9a33e5b0a0037770
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94311
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-15 16:13:15 +02:00
Tamás Zolnai
262e9f9475 cypress: simplify clickFormulaBar() method.
It's always called without arguments.

Change-Id: I3f825b23c4e8b0079019dc916a8357ba94cda4f1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94289
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-15 15:27:58 +02:00
Tamás Zolnai
2598417df7 cypress: reenable checkboxes related tests.
This reverts commit e07a94abc1.

Change-Id: I9b1cd05f8ad6acc065c941cd17d886ead75f12be
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94290
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-15 15:27:47 +02:00
Tor Lillqvist
ee99423387 Add an "export options" plist for providing .ipa archives
Change-Id: If8309bf2548290ef9e4edd15eea2287253ffde17
2020-05-15 14:00:56 +03:00
Tamás Zolnai
ef2304b8e0 cypress: reenable fixed test cases.
Change-Id: I5820c8ea314b1c9292e69bab3c147fe2e9e77945
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94252
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-15 11:05:01 +02:00
Miklos Vajna
eacf089363 libfuzzer: add initial documentation
So that one does not have to search back the commit messages to get the
commandlines to run these.

Change-Id: I3acfc0fa5b38577f22f6248a8ae0705e6af68940
2020-05-15 10:06:58 +02:00
Michael Meeks
3bb8754ef1 Welcome: include the host + service-root.
Also fixes proxy usage.

Change-Id: I118101077b6294c3720af47f0188326ace9bbc09
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94212
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-14 18:12:22 +02:00
Tamás Zolnai
e07a94abc1 cypress: it seems checkboxes on mobile wizard does not work anymore.
Change-Id: I08f8ba69e37b0c396d0a995d633bcf58de7096f5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94238
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-14 18:04:55 +02:00
Michael Meeks
6063cfc226 Mend error substitution, jsstring.replace() doesn't replace in-place.
Change-Id: I9286779c6f25499aeb390f1c8346fc15574b8c8c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94217
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-14 16:51:11 +02:00
Michael Meeks
f65c8ef71f Avoid exception during racy startup.
TypeError: Cannot read property '_updateCursorAndOverlay' of undefined

Change-Id: Id6d5ed3df44bb04f9ed456974ee800ed564f1b4a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94195
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-14 16:49:48 +02:00
Pedro Pinto Silva
cd0ae0df70 Fix indentation markers:
- SVG markup: Convert polygon to path
- SVG markup: remove xml transformations
- SVG markup: optimize svg
- increase border so it's visible at 100%
- modify border color (so it's not 100% black)

Change-Id: Ie0237793ea59b6877013c8f0bca37b73053c89d3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94198
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-05-14 15:40:07 +02:00
Michael Meeks
3ed7cceeb7 Show the welcome message at maximum once, unless requested.
Change-Id: I2a8a7b53876e402102d5fce2b56da78edd709ad9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94196
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-14 15:31:14 +02:00
Marco Marinello
607ddbff46 Enhance build system: support multiple OS as host and pull the image before build
Change-Id: Ic9875dd1aa49335df83cc6a8492144450f725f31
Signed-off-by: Marco Marinello <marinello@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92665
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-05-14 10:08:56 +02:00
Michael Meeks
6ba7066627 Proxy: significantly simplify proxy socket.
This avoids needing long-term wait sockets which consume server-side
resources & can block other requests.

Change-Id: I0909f49e16c5ce2315b9980cdf34fa4e370e3abc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94150
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-13 19:48:31 +02:00
Henry Castro
42f8336757 cypress: enable skipped unit test for "writer/shape_properties_spec.js"
Enable unit test related to Spin button controls changes

Change-Id: Ib2f0098d5d0b9f8b6eae28a4cce8680c6378e623
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94124
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-13 17:44:22 +02:00
Henry Castro
580f06a21e cypress: logging the command state changes
So when unit test fails, we can inspect the response
from server some UNO command states

Change-Id: Ic652918a8e57cadfd1cd58a89d7a1c9905abcfc9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94081
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-13 17:24:38 +02:00
Henry Castro
e6f5917812 cypress: fix error running single unit test
builddir != srcdir

Change-Id: I2521c3e11f05f0c91bf0e8f5667a5466493acac0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94080
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-13 16:51:29 +02:00
Henry Castro
d77cecee81 loleaflet: assign a static singleton map object
So cypress can access the object and listen some events
when unit test fails

Change-Id: I8b05383a2655865b540306f83ebb5c5d42f1929c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94079
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-13 16:08:01 +02:00
Tomaž Vajngerl
5299ec381c make indent markers nicer, put update after _TSContainer change
Make markers look more like in LO - smaller, more slick.
Move the _updateParagraphIndentations after _TSContainer position
is recalculated as we depend on that.

Change-Id: I08034f6b5402a1532b6f74203a465164327f4593
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94095
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-13 10:05:11 +02:00
Michael Meeks
e600721abe Proxy: use much more obscure session IDs.
Change-Id: I1220216b88aaa3c9a0bc58ed5bf4b20b4214d997
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94090
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-13 02:01:59 +02:00
Michael Meeks
99d6282dde Proxy: re-arrange URL structure & document it better.
Also implement 'close' during browser unload.

Change-Id: Ie2072c14cf863876c633b3371b86016367ad4992
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94089
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-13 00:53:36 +02:00
Michael Meeks
34fc7fb6b7 Proxy: move requestDetails closer to ProxyProtocol.
Change-Id: I07c00ea1dad15fd70b658a04f722cbd516fd5c18
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94088
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-13 00:53:24 +02:00
Michael Meeks
dec683218a Proxy: move RequestDetails to its own header.
Share it with various other places requiring similar data.

Change-Id: I873f56798f5a34dcf7440456bd649b68f6d3df98
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94069
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-12 20:30:17 +02:00
Michael Meeks
dc201a81a7 Simplify and centralize document URI decoding.
Change-Id: I758ef20fa1efa79703ecefee8836cbf00176e659
2020-05-12 15:29:07 +01:00
Michael Meeks
823a2dbafe killpoco: remove last StringTokenizer.
NB. indices shrink by one.

Change-Id: Ibce8c01622a4ed27f9fe10608f929a93aef2bab4
2020-05-12 15:29:07 +01:00
Michael Meeks
82fec145eb RequestDetails - move into a single class & simplify flow.
Change-Id: Ic9148350e04fca7876ec1b5985b467524c6894e1
2020-05-12 15:29:07 +01:00
gokaysatir
221d666822 tdf#111535 Add First-line indent, paragraph indent, and tab spaces/Online part.
Change-Id: I7b0b6e205aa9af40b8331044b99c44df0bd4cced
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93250
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-12 13:28:08 +02:00
Tamás Zolnai
166c6d87f7 MSForms: add a small padding to the list items.
Change-Id: I4ba449a1c82ab046454a87d09f351879b5ac9f26
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93981
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-11 20:14:21 +02:00
Tamás Zolnai
f7bf4d5cdd MSForms: display placeholder text, when there is no items.
Change-Id: I8acd29d734820f6ddc36871c7777fefd2956c213
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93962
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-11 20:14:13 +02:00
Szymon Kłos
06864e7011 notebookbar: remove testing JSON
Change-Id: I59128eaa0e2faa9db5e15b01d0ad44bdf835c0db
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93963
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-11 15:11:33 +02:00
Szymon Kłos
9f55b8f46e Fix language menu in statusbar
Sub items from the language submenu are executed by
uno calls - added handler.

Change-Id: Ia83cd9331de6468c7d5a7b6f5cdbe45e68595a8b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93956
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-11 13:15:26 +02:00
Szymon Kłos
cdf964ba86 Fix cell address input handler
Change-Id: Ie0a7630597f442d7f7117870cd4a52ff5b476252
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93957
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-11 13:15:20 +02:00
Henry Castro
4617903be2 jsdialog: add formatted field handler
In master branch by default the legacy control like the
metric control is not created, that force to create the
replacement which is formatted field control.

Change-Id: Ib5dcaa9516057a3aed304b748f13d44098dc525b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93588
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-11 04:48:07 +02:00
Aron Budea
2691131040 loleaflet: Show navigation controls on sheets bar on tablets
regression from 1d1651795c

Change-Id: Ifc7589a2bbabb99021ad98ed85216f1d22b5e641
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93902
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-10 21:42:41 +02:00
Tamás Zolnai
84f46074f9 cypress: start Xvfb with screen argument.
It fixes an error during cypress verify:
https://github.com/cypress-io/cypress/issues/6184

Change-Id: I993bf6cda5f8018d394ee6ee506f99d07b1e6e56
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93793
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-10 12:45:28 +02:00
Tamás Zolnai
50d4451c21 cypress: catch also "Command failed:" as an error.
Change-Id: Ie5649886eabf3994ba003dc9e7b9b28790c1a58b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93925
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-10 12:15:46 +02:00
Andras Timar
daf8f68418 MSForms: white background of drop-down-field-list (not black :))
Change-Id: I633fff952f10d95ed120494dbb3f75dd4e9bbc2e
2020-05-10 08:37:07 +02:00
Andras Timar
c16218061e MSForms: white background of drop-down-field-list (it was transparent)
Change-Id: I315cdc29643d0fddb6704610cb4ed72c03ee3e8b
2020-05-10 08:29:21 +02:00
Tamás Zolnai
76c4d79ffb cypress: add tests for form field button.
Change-Id: Ie297d9f10edebd857af2e2c4f9f09acd5c1519d8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93770
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-10 01:47:26 +02:00
Tamás Zolnai
e0a82365f3 cypress: fix shape operations test.
Change-Id: Ibdca536bc8fb2a5b16d6ed085a65c25d1bc854b4
2020-05-09 09:54:09 +02:00