Commit graph

16067 commits

Author SHA1 Message Date
Alexandru Vlăduţu
74d2563faa loleaflet: add menubar shortcuts where applicable
closes 3177

Signed-off-by: Alexandru Vlăduţu <alexandru.vladutu@1and1.ro>
Change-Id: Ib6959852263afba0b268d73f2879ec22357716c3
2021-09-16 11:38:32 +02:00
Michael Meeks
930f8e2ca7 Export traces with offset timestamps to assist editing.
Change-Id: Ia9354826fb454e77ad6d2cf3714e43e6e3d06d26
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-09-16 09:06:16 +01:00
Andras Timar
466794a433 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie000e3289b80654b2da5d443f9433fe7fbbec94c
2021-09-15 17:48:29 +02:00
Pedro Pinto Silva
0659f1bb9f Mobile: Do not show formulabar on readonly mode
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iea14240a0c43bd80c926a71d34677ce5267b8268
2021-09-15 17:12:01 +02:00
Rash419
ab9860acba cypress: updated formulabar_spec, calc_focus tests
loleaflet: change z-index of test-divs to -1 so it doesnot interfer with cypress
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ifbc21ee14ae71d8afc90051a86ad376458111e0d

Change-Id: Ib1734245631cff46055568cbe449a8fbf096cf7f
2021-09-15 17:12:01 +02:00
Pedro Pinto Silva
02b880160c Calc, mobile: fixed formula bar size
- Remove negative margins (no need for that anymore) and instead use
the ideal height values from the get go
- Also Remove parent's height rule (better to follow children's value)
- Remove rules that are never applied (since they are always superseded
by others)
- Align addressInput to left column header
- addressInput: Use the same text alignment as used in column header
- Set the addressInput border color to the same color as in formula
input field

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: If2ed681e408fb12dadc33ed47e3c68d8237324f9
2021-09-15 17:12:01 +02:00
Szymon Kłos
7877a17c1e comments: tab 0 is a correct value
in Calc when tab was 0 we change it to null and in result comment is not shown

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ibddef0b1a5ae637364b27de15bea2e71ced0613c
2021-09-15 15:24:19 +02:00
Dennis Francis
d256dc7c68 describe why doPendingInitializationInView() is needed
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib483096f1df63662634f1e483a07d5ada4afef66
2021-09-15 15:24:19 +02:00
Dennis Francis
7988fdc77c redline comments do not have sectionProperties.data.rectangles
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I42e7da1c255de8e33b156d3d478c0a38736d48b5
2021-09-15 15:24:19 +02:00
Dennis Francis
e373a91019 restore creation of necessary dom-elements in onInitialize
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I2d35a912b1e979657023236117d770c7325c7825
2021-09-15 15:24:19 +02:00
Dennis Francis
b85f41cb42 fix slow js load of spreadsheet with many comments
CommentSection.importComment() appears are the top level function that
takes most of the time. So do lazy importing of comments just before
when we need to display them.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I6eab4d6c72c25fcc17ce6ea3651cf96f7274cd9d
2021-09-15 15:24:19 +02:00
J. Lavoie
cf4bb5379a Translated using Weblate (French)
Currently translated at 96.7% (442 of 457 strings)

Translated using Weblate (German)

Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie17dc92c97d13e406957f8b92746d36fafcd9685
2021-09-15 09:49:44 +02:00
Szymon Kłos
6cd77ea064 jsdialog: prevent from document losing focus on toolbutton click
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I350c9887d588b0e765040aead239c486ee0c7021
2021-09-15 09:34:56 +02:00
Szymon Kłos
883ca3783f android: show gridlines if background color not set
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iff449e24eae086c2156a1edd970237c693cf04af
2021-09-15 09:34:56 +02:00
Szymon Kłos
e457aa8b4e Don't try to set empty hostname for SNI
to reduce logging warnings

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9e1dcb16489f4cec692028b86d377ae776ac44e4
2021-09-15 09:34:56 +02:00
Adolfo Jayme Barrientos
2d112fac22 Translated using Weblate (German)
Currently translated at 98.2% (384 of 391 strings)

Translated using Weblate (Asturian)

Currently translated at 47.8% (187 of 391 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I334f58a00a06dff1d203e4970239ec50d45e3a23
2021-09-15 09:33:00 +02:00
Sveinn í Felli
1298fce34e Translated using Weblate (Icelandic)
Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib733afc324e534ea5e40e08f1f0f8cb69f72dd13
2021-09-15 09:33:00 +02:00
Oğuz Ersen
26a07debfd Translated using Weblate (Turkish)
Currently translated at 96.0% (439 of 457 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If38f03810bcc4c74d5eea6815f4ce730d60360fb
2021-09-15 09:33:00 +02:00
Stanislav Horáček
d81bb200fd Translated using Weblate (Czech)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic56f4fc4144d3829ab44962a040703951e34f1a5
2021-09-15 09:33:00 +02:00
ButterflyOfFire
c89e729620 Translated using Weblate (Arabic)
Currently translated at 41.9% (164 of 391 strings)

Co-authored-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ar/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I70f5fb21517ef95a7722836e5e8c8e1beab85dad
2021-09-15 09:33:00 +02:00
Martin Srebotnjak
7b2796b166 Translated using Weblate (Slovenian)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I985e0ccbd5d47da1fb4df26db8b5a6a81e730d47
2021-09-15 09:33:00 +02:00
Yaron Shahrabani
6ecd0da35f Translated using Weblate (Hebrew)
Currently translated at 100.0% (391 of 391 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I32da74f7579edb33e01c5c45b23f31441d20183c
2021-09-15 09:33:00 +02:00
Rash419
6c66b1756d cypress: calc: added row and column operation
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I5f6fefad5dfcfc41f2d5d6f40dc1aec182c75d7e
2021-09-14 12:47:44 +05:30
Pranam Lashkari
e527d157b1 canvas: avoid cursor update on window resize
though cursor update is still required for the mobile on resize
because when the virtual keyboard appears cursor should be scrolled into viewing area

for more details: 3f04cd8183

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I08b54008d232d8a8d5277cf2acb5003f4c2a551a
2021-09-14 02:22:03 +05:30
Michael Meeks
eeb4dfd77e Compiler with recent cppunit.
test/lokassert.hpp:16:22: note: 'operator<<' should be declared prior to the call site

Change-Id: I7533490e64b1181b3349d0966b42eba4dcc88f05
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-09-13 19:53:47 +01:00
Michael Meeks
b0cd66feae Enable wait for attaching a debugger in debug builds by default.
Hopefully helps to hunt segv's more effectively in development.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Ife800f9902fe8d95711b3b14867ee21bb3c3f21b
2021-09-13 14:54:00 +01:00
Michael Meeks
886a89a380 Another longer trace.
Change-Id: Id3162eeae864b645451ea2f6af8f8030a4bcdfe1
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-09-13 14:54:00 +01:00
Michael Meeks
2186a97b95 trace: re-write load url=<foo> to the requested file.
Change-Id: Ia446199ef97d2cdc6768af93a605bc8f67aef238
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-09-13 14:54:00 +01:00
Michael Meeks
61325af304 trace: finish when all traces are played.
Change-Id: Ib20169b54fcd5b8656470ed4cee89170c85ee7a0
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-09-13 14:54:00 +01:00
Michael Meeks
ac74ed5f91 trace: respond to tile: messages with tileprocessed:
Change-Id: Ie35b901e643172a05c2cf3a325d878f54cf6fff4
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-09-13 14:54:00 +01:00
Ashod Nakashian
293081a631 leaflet: centralize wopiSrc URL forming
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 5c1fb316ba87569f514794bc59a0d73e706c9fc8)

Change-Id: I5e9d2d539fbed5cd0f95fb96fb8db3480b2b0cca
2021-09-13 09:40:09 -04:00
Ashod Nakashian
0e6a8cbfae wsd: improved dehexifying of URLs
Change-Id: Ib51e2e61432a7ac634d5b8577f75b57507b0ad60
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 90516342d154434c3a7ad3d245b00a16b8bb5716)
2021-09-13 09:40:09 -04:00
Ashod Nakashian
758fd9e7d5 leaflet: move wopiSrc into window and central URL maker
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 642150dfabeb95a6ffaed2e4e703c413e5648c98)

Change-Id: I4e6cda1d4edb192af01977cd4b847ebd01ba3599
2021-09-13 09:40:09 -04:00
Ashod Nakashian
24acdaf89b wsd: throw when an invalid URL is used to create an http session
Change-Id: I2d2eb90badf4f02ec4f2e4c4071fc76b23a92928
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit c16ad4447004a72226df7761fb377014c242ea4e)
2021-09-13 09:40:09 -04:00
Ashod Nakashian
a7a204f16e wsd: configuration setting to control embedded-url hexifying
Change-Id: I7ed65af7341aa7dec3c9ad8d5cd503c34c355571
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 8f4316b45b1aad7a041e8b02d92e5ef10d63b2b3)
2021-09-13 09:40:09 -04:00
Ashod Nakashian
9854cee355 leaflet: makeWsUrl
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 29cb20031e2dfdd8be03cfc87cb684d6fd66923d)

Change-Id: Ie1a6eeb35149a2d30acb237c7719f3154de00bc5
2021-09-13 09:40:09 -04:00
Ashod Nakashian
89e1335e8a leaflet: makeURL -> makeHttpUrl
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit bf92c6d11af38249736759c60f74bd13a1235e9b)

Change-Id: Ib922279c2369b6136ba38ed76ab7eea8775dc833
2021-09-13 09:40:09 -04:00
Ashod Nakashian
731eeff718 leaflet: move map.options.serviceRoot to window.serviceRoot
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit ec40f709639e645c71949a97002b3e787859d495)

Change-Id: I95435c65023f220999e9c47ac6c4d84caf2d0185
2021-09-13 09:40:09 -04:00
Ashod Nakashian
9a54edb4ad leaflet: move map.options.webserver to window.webserver
Change-Id: I22faad16412b8624bf6d4ff8fc298dbf9520f472
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit d3d576f8f8594369c4efaccf4e1761b4986c0000)
2021-09-13 09:40:09 -04:00
Ashod Nakashian
f2861102f2 leaflet: move map.options.server to window.host
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 023deb508b636c4075d37860bed04380b133f2da)

Change-Id: I3b8f6896c96d2a7a3fe54c3c994367c8237ffcfe
2021-09-13 09:40:09 -04:00
Ashod Nakashian
3349043635 leaflet: replicate options.webserver in window.webserver
Change-Id: I205a3f072d0985121e84f87bbf86b310ced08c51
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 7ffe8db0482cc66ac0f79eb33d4ae96de9da4eca)
2021-09-13 09:40:09 -04:00
Ashod Nakashian
e363273e22 leaflet: support hexifying the body of the lool URI
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit cfa7972289e9c71b56c81722aedc14189f842475)

Change-Id: Iebf214a1bba76dd44fe2c160a0749675aa5b140a
2021-09-13 09:40:09 -04:00
Ashod Nakashian
81eb4cdbe4 leaflet: move url manipulation to helper
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 08971dc27f7db72f870af16ecb7732c1bd93debe)

Change-Id: I2a3f5fe548b4303afa21cf2cf6cf361198edb61f
2021-09-13 09:40:09 -04:00
Ashod Nakashian
6ae7864b5e wsd: hexified URL support
Change-Id: I44c46da58e0f807354aaa201ef44d3ecf50f9a07
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 6b5cbce94c41883c7f11c28f4277083798318bf7)
2021-09-13 09:40:09 -04:00
Ashod Nakashian
28687c0bbf wsd: hexifying helpers and tests
Change-Id: I2f7fa4e6ade3361db612dbb9aa68e4d28b3905d9
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 348ca073abe2c980f746324589bc58bf5550dc4b)
2021-09-13 09:40:09 -04:00
Pedro Pinto Silva
d2c016ecc8 Remove Reference buttons from CSS, they are now generated
- This also fixes in some instance icons appearing twice at
different sizes in the same button, namely in the pivot table
jsdialog
- Make sure flex parent is centering images horizontally
- Remove hard-coded margins
  - This also fixes some odd alignment due

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic391e749656a954cb6bd8f793eb4081d53b41961
2021-09-13 10:37:38 +02:00
Pedro Pinto Silva
64a2706fe2 Mobile: do not use span inside of simple buttons
Fixes issue  #2812 while keeping the same strucutre of those
buttons with image inside
(e.g.: sidebar button: impress animation sidebar: add)

Also use innerText (no need to use innerHTML when we are actually
always dealing with text)

Context:
 - Remove the unnecessary span inside of simple pushbuttons because:
  - since it can required further unnecessary styling
  - Doe not add any semantic to the existent button element
  - it can lead to different rendering depending on the
device/browser combo

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I88f1b97939c59927686bd72ea295f87abffcbe29
2021-09-13 10:37:38 +02:00
Tomaž Vajngerl
02c60302b3 Proof of concept Search WebApp to show how to implement doc. search
This adds the Proof of concept WebApp to show how to glue together
the Solr search platform with COOL server with "convert-to" and
"render-search-result" REST services and combine everything into
a document search solution.

Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: Iea3a2f6e2afee090bc7a27648390025d2a8c94d8
2021-09-13 10:36:15 +02:00
Tomaž Vajngerl
b31eb2ab92 New POST service to render a search result + unit and integ. tests
This adds a new service render-search-result, which renders an
image of the position where, the search fund a hit. The search
result contains the information in which object or paragraph,
which is just the node id and node type from the document model.

The service takes the document and the search result (xml file)
as the input and returns a PNG image as the output.

Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>

Change-Id: Iffc158c5b0a3c9a63f8d05830314c9bc1616b3b1
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
2021-09-13 10:36:15 +02:00
Michael Meeks
6f6ccbf228 trace: prettier replay.
Change-Id: I169bc51fce0229843d38caa6311aedb993c2ce2d
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-09-10 22:45:29 +01:00