Commit graph

14344 commits

Author SHA1 Message Date
mert
8594118f4d Fix rotation handle position
Change-Id: I75b3c2ff343828d00d263edb236e0d90f3d51f7f
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
244aa7eacc Share scale/scaleend functions with Connectors
This will avoid code duplications.
Middle handle and flat line handles will use the same function

Change-Id: I6fc3509147e3908a39692488305f89c6f8527a1f
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
158907dd00 Implemented Line drag animations
Change-Id: Id677bb43547d6cb9da4870117272eabea67828a2
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
80ca12aeaf Implemented PolyHandle type
Change-Id: If4b50919bcaa8cce597dbaa2e80830b6601d92d0
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
6ad4e97aba Pass mousedown callback function to createHandler
This will make the function resuable.

Change-Id: Ic59f023fc87c6e962e1c52cb1e9eeff846bb89bd
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
8034f8e724 Implemented new CustomShapeHandle marker
Change-Id: I46f974bc234b053af8904ac5e07cbb7d72ef01fe
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
d3eeaac275 Adjust getPoints to new handle callback
Change-Id: Ifc65cfe01f88209ca9f0e50583c652744112fee7
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
mert
7d66977d9f Hide rectangle borders to match with core
Change-Id: Ic594dcb8eaf656ecc8f559966de06c1fe8cadfaa
Signed-off-by: mert <mert.tumer@collabora.com>
2021-03-01 13:58:14 +03:00
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
Tamás Zolnai
b14c3b3441 cypress: fix overlay tests with php-proxy.
php-proxy slows down things and make it visible, that
cellA1Bounds and cellC3Bounds can be initialized to the same
value. So let's wait fo the cell cursor to be updated before
we set the cellC3Bounds value. Changed the toString() function
to exactly match with the json in the overlay items' text attribute.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Idde0f516ff568cb14b5d53224fd75ebc6167abe9
2021-03-01 11:28:04 +01:00
Tamás Zolnai
706206948c cypress: alias -> local variable change in moveCursor helper method.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I3b52648ae9d9396d4cd3eb7dacfe9248fdbc2b52
2021-03-01 11:28:04 +01:00
Tamás Zolnai
953c21b995 cypress: alias -> local variable change in formula bar tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I2ef937b29673e8f6f4c301989b464ca0a991267a
2021-03-01 11:28:04 +01:00
Tamás Zolnai
3486923e6b cypress: alias -> local variable change in form field tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ic8460a2db6648874f5a22998394666706b31da1b
2021-03-01 11:28:04 +01: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
Ashod Nakashian
561a9ce991 wsd: storage: upload to storage using http::Request
This converts Poco to http::Request in sync mode,
thereby not changing functionality. In a follow-up,
this will be converted to async.

Change-Id: Ifbecd44ff599394799c1131470d77f803ed8cc45
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-02-27 08:57:25 -05: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
Henry Castro
266623aa2d kit: revisit log messages kit.cpp
LOG_FTL = abnormal, crash, denied service
LOG_ERR = load, save, session, connection, wrong parameters
other cases LOG_WRN, LOG_INF

Change-Id: Ieefc881876106b1afc4f34505903f1321b33411b
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-02-26 11:22:58 -04:00
Henry Castro
177fdf0330 test: run unit test with disabled capabilities
Change-Id: I78dbdcb1ec3d960b283016d86e95614a8cb0255c
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-02-26 11:13:47 -04:00
Tamás Zolnai
5554133f59 cypress: document some more helper methods.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I004bbb33167bfeee9f7f332516cb4b4a805a5885
2021-02-26 14:19:31 +01:00
Tamás Zolnai
432da7fc1e cypress: document desktop helper methods.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I4851c7c471b565968bca153635d9672d41894fe3
2021-02-26 14:19:31 +01:00
Tamás Zolnai
ad301743e2 cypress: make sure we don't do test retry in interactive test runner.
In the cypress.json we configure retries for headless mode only,
however when we run 'cypress run' with 'headed' flag we still have
retries, that we would like to avoid for consistency.
Cypress differentiate modes based on the command: e.g. 'cypress open' or
'cypress run'. We however differentiate based on headless or headed mode,
whether we run the test in an opened browser or in the background.

Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ib34ac3de105dfe410116019e3c3c2afe253636f2
2021-02-26 14:19:31 +01:00
Tamás Zolnai
fdaacc4faa cypress: add tests for statusbar (impress, desktop).
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I5615c78d146510ce1f755d77a5d618bf3476522b
2021-02-26 14:19:31 +01:00
Tamás Zolnai
1a910e137f cypress: add tests for statusbar (calc, desktop).
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I1346790c4285121d54c670f399b3fc90f3572746
2021-02-26 14:19:31 +01:00
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
Tamás Zolnai
fc574b49ef cypress: remove some old disabled tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I275d794bbb74e2fe8e1fd845061c0cb17f939c11
2021-02-26 11:19:32 +01:00
Tamás Zolnai
887b4cc5b2 cypress: use new zoom helper methods in form field tests.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Idf39561c57ba8b4ebee23623ceab9db1f3a2b134
2021-02-26 11:19:32 +01:00
Tamás Zolnai
5926cf1445 cypress: add tests for statusbar (writer, desktop).
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: Ia8e01d8d7841d4941d1a98c5e9b9b29bcbf5219d
2021-02-26 11:19:32 +01:00
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
Ashod Nakashian
418f694720 Revert "kit: enable send LOK_CALLBACK_STATUS_INDICATOR_FINISH"
The commit in question breaks two unit-tests: wopi-template
and copy-paste. Temporarily reverting until the regressions
it introduces are resolved.

This reverts commit be68f06f70.

Change-Id: I1fafd73fdea57077eea05a146b7df0b013e6e8ba
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-02-25 14:14:59 -05:00
Àngels Giménez
124a7b085b Translated using Weblate (Valencian)
Currently translated at 100.0% (107 of 107 strings)

Co-authored-by: Àngels Giménez <mmagicam@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ca@valencia/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie64f5ea054dc512b9c9bb0f4950f632e833e5310
2021-02-25 15:28:12 +01:00
Jeff Huang
abadb18828 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (107 of 107 strings)

Co-authored-by: Jeff Huang <s8321414@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/zh_Hant/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie330d28779eca8133d1768f9da5cfa41d327686c
2021-02-25 15:28:12 +01: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