Commit graph

6575 commits

Author SHA1 Message Date
mert
fa488e6e5e New MoveShapeHandle uuno command
Change-Id: I4b28616dd2e931cd1882d035e5846ab4a19c6cf6
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
Szymon Kłos
520fc2b9ee Fix loop index
Change-Id: Id3848a9a3be4a4617a11d778b87c115abd3504bc
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 10:41:52 +01:00
Szymon Kłos
1964776ec8 notebookbar: Show/Hide/Remove _button support
Change-Id: I81f369c6aaf98af64912923196d3d681e424a7f5
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Szymon Kłos
3bf19f0479 Move show button to UIManager
Change-Id: I1c8c45dabf4cf8611ee8a3e9c7f36611775891aa
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Szymon Kłos
f671ed12bb notebookbar: Insert_Button support
Change-Id: I7323e3fd740680338c76d0b62a1f20fe752fa3b6
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Szymon Kłos
5f69d463ea Move insert button to UIManager
Change-Id: I9873e59256f6a8986216c43f850fcdabf5a02c5d
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-01 09:13:42 +01:00
Andras Timar
44ac9ef965 document Action_ChangeUIMode
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id245350d17ff436ad231012065776a6bdddfa56a
2021-03-01 08:48:52 +01:00
Andras Timar
e2ed44b8ab Add Action_ChangeUIMode to PostMessage test harness
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I06c5e7fab8fff763e59f2a4fdf85c7f47dec51bb
2021-03-01 08:48:52 +01:00
Dennis Francis
09e956ef3a add CBounds.fromCompat() tests
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ibca9d4c3e18a027f0b3842c434143076daba436f
2021-02-26 21:48:15 +05:30
Dennis Francis
9ab15688ec make zoom-animation with overlays work correctly for freeze-panes
The implicit transformations done in tile drawing(from offscreen canvas)
must match the canvas transformation done for drawing the overlays.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If434eb87be99754a2def290b19631a1970e83488
2021-02-26 21:48:15 +05:30
Dennis Francis
28f97d76e0 draw overlay on top during zoom-animation
at the frame zoom level on the main canvas after tilesection is drawn
using off-screen canvas.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I45adafae4dc4eaaca27fb9b2d858186b04fb898e
2021-02-26 21:48:15 +05:30
Dennis Francis
f10bea6829 cancel animation frame after end frame step
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ibeac532f2d5e2d673f6a5f5f69adebdb506a5ef2
2021-02-26 21:48:15 +05:30
Dennis Francis
ec0433d372 Stop ignoring pan after dragend of cell-resize marker
Note that 'up' does not get fired after 'dragend', so the since
969f9f9860 window.IgnorePanning continues
to be true even after 'dragend' which disables panning for document
lifetime.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I76b03a0cd77cfdd36a932c2986d51e56007386ad
2021-02-26 21:48:15 +05:30
Rash419
846376c1e6 loleaflet: fix column resizing when not selected
Signed-off-by: Rash419 <rasheshpadia419@gmail.com>
Change-Id: I6074009679f279815b5fc00e38f4e8316493ce65
2021-02-26 16:20:07 +05:30
Gökay Şatır
83e94a4a92 Calc: Grid drawing is fixed.
It was broken because of one of the previous changes.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ibcc1955d35227d2ac1b429245a97f20df669bfb0
2021-02-26 11:05:50 +03:00
Gökay Şatır
590cfacc7a Calc: Fix header rendering.
When window is resized, sometimes header drawings aren't updated. This
patch solves that bug.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I1920435a49662c283e9b691bc02d32865ca401e8
2021-02-26 10:34:48 +03:00
sebastiaanveld
7623a4b7a8 Translated using Weblate (Dutch)
Currently translated at 62.6% (263 of 420 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: sebastiaanveld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibcf2003599138a93e31569122d91d5501a9a3457
2021-02-25 15:28:12 +01:00
Milo Ivir
0337990f6c Translated using Weblate (Croatian)
Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (Croatian)

Currently translated at 70.0% (294 of 420 strings)

Translated using Weblate (Croatian)

Currently translated at 99.7% (369 of 370 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6cdad8accc1578505c9d54d2fc62f97ef80654b8
2021-02-25 15:28:12 +01:00
Yaron Shahrabani
b62e66799c Translated using Weblate (Hebrew)
Currently translated at 54.0% (227 of 420 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/he/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I39a741ba53c8791b0197e9751650456092ab9e37
2021-02-25 15:28:11 +01:00
Rob Pearson
95877cc0f2 Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_ZA/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic84cedf0dcc5767bec83738af9fc6d949ad4509c
2021-02-25 15:28:11 +01:00
Ihor Hordiichuk
0ffb3842a5 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 92.6% (389 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 86.6% (364 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 76.4% (321 of 420 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I27556c55ad2c9e0cce5836f8dfa18cdc1ec41e11
2021-02-25 15:28:11 +01:00
Oğuz Ersen
3cab6f5341 Translated using Weblate (Turkish)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id1dd05d5a7713d67afd10acbd22ac88e3e8e9bd1
2021-02-25 15:28:11 +01:00
Martin Srebotnjak
e96784fe50 Translated using Weblate (Slovenian)
Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Slovenian)

Currently translated at 99.7% (369 of 370 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: I1fac7b84b2c95d1851be3aaf3e8db7678977ebd3
2021-02-25 15:28:11 +01:00
Matthaiks
af4916a4de Translated using Weblate (Polish)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3bf96644c1bc00dd304745e730e65ed2e654dbe0
2021-02-25 15:28:11 +01:00
Allan Nordhøy
b125d39d87 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.6% (365 of 370 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nb_NO/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2ddf287f4c03baf482e611adc79f302b9ea67692
2021-02-25 15:28:11 +01:00
日陰のコスモス
45f5e9d5c2 Translated using Weblate (Japanese)
Currently translated at 53.2% (57 of 107 strings)

Translated using Weblate (Japanese)

Currently translated at 52.3% (220 of 420 strings)

Translated using Weblate (Japanese)

Currently translated at 64.8% (240 of 370 strings)

Co-authored-by: 日陰のコスモス <baffclan@yahoo.co.jp>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ja/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ja/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8de8352bc14dbefbf67b918f7606524eac876f01
2021-02-25 15:28:11 +01:00
Andras Timar
42c1f456e0 Translated using Weblate (Hungarian)
Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I13c6c6f5b97fa83f5736f0cc1ffc3520b55d3526
2021-02-25 15:28:11 +01:00
Adolfo Jayme Barrientos
7c9a56e84d Translated using Weblate (Catalan)
Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifa28cb2d56cbea0ec5068c5f331e514dbdeccb9e
2021-02-25 15:28:11 +01:00
Joan Montané
6e76285fdc Translated using Weblate (Catalan)
Currently translated at 99.0% (416 of 420 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: Joan Montané <joan@montane.cat>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5feebf884d7b777893a2fdf0fa16b92c54f9c084
2021-02-25 15:28:11 +01:00
Bayram Çiçek
422723cbdf removed a duplicate of if statement in TileLayer.js
Signed-off-by: Bayram Çiçek <mail@bayramcicek.com.tr>
Change-Id: I6c49ff442b1ed11f10802a54c675eca1cbd8a1f7
2021-02-22 14:37:11 +03:00
Pedro Pinto Silva
b879f6986f loleaflet: Postmessage-api: Fix missing tr tag in documentation
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2798b137df43cc322879012a774248fa8185cdec
2021-02-19 17:49:05 +01:00
Gökay Şatır
7947759f6d CanvasSectionContainer: Event propagation.
Now, bound sections propagate events to the sections those are beneath
them. StopPropagation feature is also implemented.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I54c886fea0e254d4b97c4d06585db8ed28d40ab9
2021-02-19 12:07:10 +03:00
Pedro Pinto Silva
762a353509 Vex and jsdialog btns use the same btn font
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Idf286a6f3356b1827421540167b23931731519fd
2021-02-18 10:28:53 +01:00
Pedro Pinto Silva
7033da6dfa Vex: input fields: remove outdated width rule and add style
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie825d15a12732e6f55b370460115227e45a43589
2021-02-18 10:28:53 +01:00
Pedro Pinto Silva
5784ff8693 Vex btns: secondary re-use btn style
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib956440e4d79254c8cb5323a375046e4d4bc191e
2021-02-18 10:28:53 +01:00
Pedro Pinto Silva
a586faa5a0 Fix Vex btns: apply existent btn style
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7787588ccce5ce4042cdd553b781114cf0627fbe
2021-02-18 10:28:53 +01:00
Pranam Lashkari
49277c8b3e leaflet: fixed context menu not working on first row/col
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: If8013f0c8ea455adcb3032f1cf39b10b074e89c4
2021-02-18 13:53:20 +05:30
Andras Timar
beccab2694 update unocommands.js after change of unocommands.py
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifc7b064e9eed9752bdbd5df5439d567bcaead9e7
2021-02-18 09:18:44 +01:00
Pedro Pinto Silva
cbd4d5ff96 Macro warn jsdialog: style
- apply max-width
- fix text-transformation
- fix color

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6e40b8ab1b4fbeaee0bd6e97b3dae211c848505e
2021-02-17 14:47:45 +01:00
Pedro Pinto Silva
89442173fc NB: Improve alignment by removing extra margin..
from nav when in edit mode (keep margins when on readonly mode)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I83923bbb34e34c20daa81e80c5832778faab8e1b
2021-02-17 14:47:07 +01:00
Pedro Pinto Silva
fd62fc1aaf Partly revert cb27d2c ..
- Fix #1395
- This was also affecting iPad
- Overflow property doesn't apply to some table elements like table grouping and containers by default.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2e12c3cb1e5e2ced16748e79063774502c670946
2021-02-17 14:47:07 +01:00
Dennis Francis
2d169bf32a add cypress checks for canvas-overlay items
Currently only the cell-cursor and document selections are part of the
canvas overlay. The others are still part of svg layer.

For now only the bounds of the canvas-overlay items are asserted. The
canvas overlay items update their bounds data as JSON text on cypress
only divs inside the overlay section div every time there is any change.

Unlike cell cursors, the selections need not be always a single
rectangle. To add tests for the more general cases, the json format of
test data is helpful.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I70e6328116c44317f31deb9c8bea62e781d8c421
2021-02-17 19:13:49 +05:30
Gökay Şatır
467dc94921 CanvasSectionContainer: Improve anchor property.
Now, sections can be anchored to other sections's edges.
One does not need to set approximated initial positions for expandable sections any more.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ic012960dedbd937c19c7442cefefdfebdaffafd3
2021-02-17 10:39:23 +03:00
Gökay Şatır
a591bc677f CanvasSectionContainer: Drag distance check is updated.
It wasn't detecting negative values.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I93a633e84828ef18d1b4fc4246065421e63748b9
2021-02-16 18:08:29 +03:00
Dennis Francis
7836b48c98 add CBounds.parse() tests
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I4ebed2f756d083e1dab411a21a976399cd945a47
2021-02-15 16:38:53 +05:30
Dennis Francis
7e8975dc23 missing header selections: set proper unit converter
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib4f4fa326996ed29e044e392e58b19b342927cba
2021-02-15 16:38:53 +05:30
Dennis Francis
02c64ead85 mocha-tests: compile only the changed test files
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I99b033888006370c4511f54c8fd7312007a4c984
2021-02-15 16:38:53 +05:30
Dennis Francis
abf0b6d14f do not draw tile-section when in zoomAnimation
During zoom-animation, the map zoom is still the prezoom level hence the
painting will conflict with zoom-frame painting.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ib0fc5a3e4ab5e1b5dfc8410af0beaca5b90036ab
2021-02-15 16:38:53 +05:30
Dennis Francis
f9bc14b4ac on zoomanimation pen position should be in tilesection
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I630e628566d4c05c203a784e645d160c0176da10
2021-02-15 16:38:53 +05:30
Ashod Nakashian
6d11e400a7 wsd: userName is optional
This resolves a dependency on userName
(a.k.a. UserFriendlyName) that was a source
of issues when missing.

It turns out that when it's missing but
spellOnline is set, an edge-case caused
an exception that failed loading.

The spellOnline value, in its turn, was
incorrectly set to "null" when in fact
it was missing. This resulted in online
spell-checking being active by default.
Perhaps this was intentional, but here
we don't change this behavior at all.
Instead, we avoid sending "null" when
it's missing, and by default we always
enable online spell-checking, unless
it is explicitly set to "false".

This way, the exception is not thrown
and spellOnline doesn't have invalid
values, while preserving the current
behavior.

Change-Id: I4a09ac44ff5d6147c715afa0fb34af9650da4afd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-02-13 13:25:48 -05:00