Commit graph

15644 commits

Author SHA1 Message Date
Gökay Şatır
78919c95f5 CanvasTileLayer: Enable extra width for comments in PDF.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I062f235ddf15ecce83f746879c09169763209629
2021-07-09 21:05:40 +03:00
Gökay Şatır
138fafa6cc TilesSection: Improve debugging code.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I759a09e323abb4a949e81bbb0887aaea910f5586
2021-07-09 21:05:40 +03:00
Gökay Şatır
16101e2320 Rename docsize event to scrolllimits.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I957d50718ec2c4478876e9680780b95d8ebc9442
2021-07-09 21:05:40 +03:00
Gökay Şatır
411781b234 Adjust Slide sorter for file based view.
PartsPreview:
* Disable selected part rectangle.
* Modify part selection for file based view.
* Scroll document when a part is clicked on slide sorter.

CanvasSectionContainer:
* Add getViewSize function to CanvasSectionContainer.

CanvasTileLayer:
* Scroll slide sorter when top viewed part is different from the previous one.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I4674e9e1662471509084b87993921a16f7f523e6
2021-07-09 21:05:40 +03:00
Gökay Şatır
17c022a8ac Disable drag & drop features for app.file.fileBasedView.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I60b806f0e915f120be925d48953b70dd4ecd987d
2021-07-09 21:05:40 +03:00
Gökay Şatır
84cfb013f8 Draw: Enable PDF scrolling for tile section.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I306fe4e4b5ed90f18df5537ce8ee7d90d4614092
2021-07-09 21:05:40 +03:00
Gökay Şatır
a39372f53e CanvasTileLayer: Add extra size for Impress when doc is read only.
ImpressTileLayer: Set document height differently when the file is read only.

Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I97123e8aec4ed73a6616e2772533a6e156bbeb2d
2021-07-09 21:05:40 +03:00
Gökay Şatır
326c5d6011 ImpressTileLayer: Get part count before updating max bounds.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I43430f494d36e996d85b88736ad756ee19a45eae
2021-07-09 21:05:40 +03:00
Gökay Şatır
cf1dd60f51 Socket.js: Handle filemode message.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I425d30c97793108eca1308a5380db1e9b46d7eab
2021-07-09 21:05:40 +03:00
Gökay Şatır
580d6ba1d3 Session: Send file mode to the client. We need to know if comments are editable or not.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I607e165b373ca6605ae5d72bf45821e3a3870f76
2021-07-09 21:05:40 +03:00
Gökay Şatır
124adf0b62 CanvasTileLayer: Remove unhandled event.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I704d6b9e63f4058fa1945e9262461aee4e1d69e9
2021-07-09 21:05:40 +03:00
Gökay Şatır
7d0cc25180 CanvasTileLayer: Remove unusued event.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I92517290d3fbe17bdf5bb5bb62352e4e0989a3f7
2021-07-09 21:05:40 +03:00
Gökay Şatır
9fdc4ce014 CanvasTileLayer: Cosmetic changes.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I25cfd30e762d5fd5fde454458365d5d7732f5341
2021-07-09 21:05:40 +03:00
Gökay Şatır
ee84a243e8 CanvasTileLayer: Remove duplicate code.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I86bae832bebc1a5b24ff714cde2cfb4ec8bd51c4
2021-07-09 21:05:40 +03:00
Gökay Şatır
8b28380f32 CanvasTileLayer: Remove unusued functions.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: I4ca111145e9cfe3b386da2e4395fdf0c1404db25
2021-07-09 21:05:40 +03:00
Mert Tumer
c809190050 Dont use select2 for populating the font list
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ie1a820260720bd59756f9a52104091c490093780
2021-07-09 20:07:18 +03:00
Mert Tumer
c5ba5c7f16 Make font select2 search by id instead of class
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ifaf0d7246dc66776427dfb6063eb8dcc2919cf48
2021-07-09 20:07:18 +03:00
Hannah Meeks
d21fade7c9 Copy documentation into source code as comments #2160
Signed-off-by: Hannah Meeks <hmeeks4153@gmail.com>
Change-Id: I3cf728818fbe3f267d34607911075040a117ead5
2021-07-09 14:34:02 +03:00
Martin Srebotnjak
3488c9c2c4 Translated using Weblate (Slovenian)
Currently translated at 100.0% (393 of 393 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5f91a6de0d503faeb150235ffb2a4c76b269292c
2021-07-09 11:28:17 +02:00
bruh
472b1c5bf6 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (393 of 393 strings)

Co-authored-by: bruh <quangtrung02hn16@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/vi/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8f3f01835a8b467ef18d54e85d0a52f27ff327d6
2021-07-09 11:28:17 +02:00
Joan Montané
dc7c06e2e4 Translated using Weblate (Catalan)
Currently translated at 100.0% (393 of 393 strings)

Translated using Weblate (Catalan)

Currently translated at 99.4% (391 of 393 strings)

Co-authored-by: Joan Montané <joan@montane.cat>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I88f53d007e6a32bfe215a8ac846680b5e883d1eb
2021-07-09 11:28:17 +02:00
K. Herbert
b5d94e35c4 Translated using Weblate (French)
Currently translated at 100.0% (110 of 110 strings)

Translated using Weblate (French)

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (French)

Currently translated at 100.0% (393 of 393 strings)

Translated using Weblate (French)

Currently translated at 99.0% (109 of 110 strings)

Co-authored-by: K. Herbert <herbert.ka@mailo.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7bbb26235a70cd183d5d6e7dd7e0ab97caa7640b
2021-07-09 11:28:17 +02:00
Elisa de Castro Guerra
0d49bb1581 Translated using Weblate (French)
Currently translated at 100.0% (110 of 110 strings)

Translated using Weblate (French)

Currently translated at 99.0% (109 of 110 strings)

Translated using Weblate (French)

Currently translated at 98.1% (108 of 110 strings)

Co-authored-by: Elisa de Castro Guerra <elisa.dcg@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fr/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iecd63c8feb7c3465a66684c732baa4c00b018952
2021-07-09 11:28:17 +02:00
Marc Rodrigues
7c233008f7 Translated using Weblate (German)
Currently translated at 100.0% (393 of 393 strings)

Co-authored-by: Marc Rodrigues <marc.rodrigues@collabora.com>
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: I368c5877a5006b130d018b78061b169c5d39da78
2021-07-09 11:28:17 +02:00
Rob Pearson
23ed199ba0 Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (393 of 393 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (393 of 393 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (393 of 393 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (393 of 393 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
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/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If907c25fd4add4b7bf54d1848f2fccf0ab18439a
2021-07-09 11:28:17 +02:00
Stanislav Horáček
09f53bc18e Translated using Weblate (Czech)
Currently translated at 100.0% (393 of 393 strings)

Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iff885ec18b8db11172e00538d7725a101b0fded3
2021-07-09 11:28:17 +02:00
Mert Tumer
a911c31c44 perf-test: Automatize tests
We have to start loolwsd manually in order to
start the testing. This patch covers starting the
loolwsd with custom port seperately and spawning the views in nodejs
instead of in Makefile.

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I0af99c2be1d886e11ce4dfaefe9bb07de9be00e8
2021-07-09 11:20:34 +03:00
Andras Timar
98e4e271ed change link to Collabora Office 6.4 mobile release in Welcome text
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I72675597c0f2cdc8fbc690835f37909fa7afbbba
2021-07-09 07:13:08 +02:00
Miklos Vajna
57d3d0f391 http response: check if result would fit into chunkLen
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I6e3b73461653d2ab3cedaa3f6ca7fbfd2a826edb
2021-07-08 14:51:11 +02:00
Mike Kaganski
858aaab5a7 Drop unused Upload/CrossProgress controls
Only DownloadProgress is used..

Signed-off-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: I61bf8ebc707b2303863954456576d42b0ddbfe55
2021-07-08 11:57:51 +00:00
Tor Lillqvist
5998980c8d Add some comments for developers
Many of the settings in loolwsd.xml that you might want to tweak this
or that way during development are set on the loolwsd command-line for
a "make run". Don't waste time on trying to set them in loolwsd.xml
and wondering why it has no effect. I just did that. Hopefully these
comments will avoid such in the future.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I896e9cb2830bf36c165842bff53f0e4e471599ae
2021-07-08 12:07:52 +03:00
Szymon Kłos
424852660c mobile-wizard: be sure elements are hidden
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ifa238bc24b6ae0c8e196f9c2f0d4ab48ba99264b
2021-07-08 10:48:07 +02:00
Szymon Kłos
b827f3a7d2 mobile-wizard: keep hidden state after level change
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4b952a218aeebe162cc960bce2f3d07c8eb6da4d
2021-07-08 09:24:19 +02:00
Szymon Kłos
86c71ce633 mobile-wizard: add menubutton/toolbar popups
popup is injected into container prepared by toolitem/menubutton

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic75474c4da757f6401f6d347ab8942048b2db5c4
2021-07-08 09:24:19 +02:00
Rash419
dd5e6ce7c1 fix: sheetoperation spec failing
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I548ad9aa56883c7a0ec70d2a51fced420d0c2d1d
2021-07-07 22:31:39 +05:30
Mert Tumer
e7890e93e3 perf-test: avoid retriggering docloaded
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I1998d56b5d8128f6550906166dcaf0d4a2aa4eb6
2021-07-07 17:59:24 +03:00
Mert Tumer
0a3814be3b perf-test: set mixed zoom levels for each view
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ibc7cb133a8dec22aceafdc16a6d5b2c9c9597a79
2021-07-07 17:59:24 +03:00
Mert Tumer
415bffe55b perf-test: Fast key input send
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I31bdd26af8c71fd1758a99f9dc47f8d550fdb3e0
2021-07-07 17:59:24 +03:00
Henry Castro
e9745e33c4 wsd: log javascript handled exceptions
Change-Id: I09de6d3f1e406e53692eb4ce16644c337c9e3793
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-07-07 09:45:39 -04:00
Tor Lillqvist
4810469352 Guard against "Cannot read property 'style' of undefined"
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Icc015ce415d4fec32f0ad1a278ff4a5fcec3570a
2021-07-07 16:38:36 +03:00
Tor Lillqvist
95415a5fa8 Guard against "Cannot read property '1' of null"
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Icb80c1f6142279646311679be65d933653b169a1
2021-07-07 16:38:36 +03:00
Szymon Kłos
1b2539a5c4 jsdialog: sidebar: don't show empty
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I12341a3f472d93aded899dac3049bfe46140b35f
2021-07-07 12:06:15 +02:00
Tor Lillqvist
bd0c225c9f Revert "Make it possible to generate Trace Events already when loading the document"
Makes unit-rendering-options fail reliably.

This reverts commit 175c9c5b2a.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Id05c911991baaae0dbc52678a192fc01639352e0
2021-07-07 12:38:11 +03:00
Tor Lillqvist
f6fe59340b Make a fresh perf-test-edit.odt copy only when needed
Hopefully will reduce the amount of "Document has changed in storage"
irritation if following the progress of the script in a normal
browser. Make a fresh copy manually before running `make run` and
opening the document in your browser.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Icba6dd80fb202fce3f2ff288af0d1759bc7789be
2021-07-07 12:30:06 +03:00
Rash419
fe6c622d23 cypress:sheetoperation tests for calc
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Idb2dfdce34cdff5901281637bf05882935344fdb
2021-07-07 14:36:20 +05:30
Tor Lillqvist
175c9c5b2a Make it possible to generate Trace Events already when loading the document
By passing a traceevent=yes query parameter in the URL. Note that if
Trace Event generation is not enabled in loolwsd.xml this will have no
effect.

It is a bit silly to notice this query parameter only in loleaflet and
then send the information back to the server. Would be better if the
server noticed it itself before sending the URL to loleaflet.

While at it, let's not bother ever enabling Trace Event generation in
the WSD process. That is not what we are interested in.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I985bfd1e2dbd14aa5a55b386b4762fb64bcb4008
2021-07-07 09:28:02 +03:00
Szymon Kłos
2d6bf89806 cypress: Fix Delete Table desktop/impress/delete_objects_spec.js
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I18875e762581ab3b7cb23c4d52fe44e699d7243b
2021-07-07 07:44:43 +02:00
Szymon Kłos
0d508cb643 cypress: fix Delete Image desktop/impress/image_operation_spec.js
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ibe6bae5655230c22bad83b85c414980132e1a0f8
2021-07-07 07:44:43 +02:00
Szymon Kłos
d92af9763c mobile-wizard: update shape > line panel
- hidden arrow style
- moved line width control to MobileWizardBuilder
- removed duplicated label

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I17cae71b98daeb3383629cda194279b9eabc2010
2021-07-07 07:44:43 +02:00
Szymon Kłos
1e8c081283 jsdialog: prefer svg icons
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If58cfe7135acbeaac11df294a47db7712114db81
2021-07-07 07:44:43 +02:00