Commit graph

5418 commits

Author SHA1 Message Date
Weblate
94923a244d update translations
LibreOffice Online/loleaflet-help (Esperanto)
Currently translated at 86.5% (360 of 416 strings)

Change-Id: I56d0230add8f8e93905dde4b958a4e9707747971

update translations

LibreOffice Online/loleaflet-ui (French)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I81a950df9d51a5820c0ad220cde7f0f85097e546

update translations

LibreOffice Online/loleaflet-help (Esperanto)
Currently translated at 80.7% (336 of 416 strings)

Change-Id: I66b141fb61f8badcf829fd6b5074d59b172b08e1

update translations

LibreOffice Online/loleaflet-ui (Galician)
Currently translated at 99.6% (321 of 322 strings)

Change-Id: If22224d8b00ea80cbfe13c856336aa2bdf0d9d95

update translations

LibreOffice Online/loleaflet-ui (English (United Kingdom))
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I2c844a1e4dbcb167321f281139c8a821da752c21

update translations

LibreOffice Online/android-lib (Japanese)
Currently translated at 33.3% (4 of 12 strings)

Change-Id: Id6cbfb9db94b839c2b2a43ef4f58483b4261de5f

update translations

LibreOffice Online/loleaflet-help (Esperanto)
Currently translated at 77.4% (322 of 416 strings)

Change-Id: I2813c634ba83f16d4dcdaebab249aa2f9e0d814f

update translations

LibreOffice Online/loleaflet-help (Esperanto)
Currently translated at 71.3% (297 of 416 strings)

Change-Id: Ibf18ba501b7fc92fbf75360e054b7775beea3e17

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 62.5% (260 of 416 strings)

Change-Id: I214808407c2e32cab8268cdd4d32a980ce652d06

update translations

LibreOffice Online/loleaflet-help (Esperanto)
Currently translated at 64.4% (268 of 416 strings)

Change-Id: I65026aa394bb29075e4230e16269ca32a7690cde

update translations

LibreOffice Online/android-lib (Esperanto)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: Iea02beaab3688f4356ce9d3f5e0c6667c017f5f4

update translations

LibreOffice Online/ios (Esperanto)
Currently translated at 100.0% (5 of 5 strings)

Change-Id: I01ea8721c4b7fc0ad1b3c1fe7974c28ef6d5cd6c

update translations

LibreOffice Online/loleaflet-help (Esperanto)
Currently translated at 55.5% (231 of 416 strings)

Change-Id: I1386d42ed78446b6090d46527b4c8124f187fd8d

update translations

LibreOffice Online/loleaflet-ui (Esperanto)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I7f1bc4c0ccd996fb29eef23e9fbee45753649f5a

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 70.4% (293 of 416 strings)

Change-Id: I2b8282d3311d0bb6200fc74b1d26a2937086f5f5

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 62.0% (258 of 416 strings)

Change-Id: Ieff6b116164158baf2d66340f85923a5c08b960f

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 62.0% (258 of 416 strings)

Change-Id: I45f59ea6402f681bb408564c997be4646db571b5

update translations

LibreOffice Online/loleaflet-ui (Chinese (Simplified))
Currently translated at 99.6% (321 of 322 strings)

Change-Id: Ib4c273101799fe0039c7b5810e8fbf0ad6f50685

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: Ic877245a7891bb299a585d4bd597a4fbe14774d5

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 69.7% (290 of 416 strings)

Change-Id: I5999a8a4d2788ef84643a67905b36f52030afe81

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 69.7% (290 of 416 strings)

Change-Id: Ica27c7ea84ccd7a778d4fb5c3cd2ab5e86209b34

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 69.4% (289 of 416 strings)

Change-Id: I48fb3125bceedb79c644d27d6bcac40f34d055c9

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 69.4% (289 of 416 strings)

Change-Id: Ie5b169fbfc72b5611466dbf630ee3168615562a8

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 69.2% (288 of 416 strings)

Change-Id: I05d20e4ca50566a0c3d5bb8ff56058f465fe7961

update translations

LibreOffice Online/loleaflet-help (Chinese (Simplified))
Currently translated at 69.2% (288 of 416 strings)

Change-Id: I6c9f9a21c7086fb70a5e225830f5c9aca222831b

update translations

LibreOffice Online/loleaflet-help (Turkish)
Currently translated at 60.8% (253 of 416 strings)

Change-Id: I1268459e093f58df8f95f47d2c9cfad9cffb8846

update translations

LibreOffice Online/android-app (Esperanto)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I1725fff86a2ca0aae73005e1026571db491e1ba9

update translations

LibreOffice Online/loleaflet-ui (Chinese (Traditional))
Currently translated at 97.5% (314 of 322 strings)

Change-Id: I36f93a4bc595f7ce1d41b4c19a451d3c56ae23e4

update translations

LibreOffice Online/loleaflet-ui (Chinese (Simplified))
Currently translated at 96.2% (310 of 322 strings)

Change-Id: I87fe346a7db57bc79b7c781b83e8a41e0ccc8c74

update translations

LibreOffice Online/loleaflet-ui (Chinese (Simplified))
Currently translated at 96.2% (310 of 322 strings)

Change-Id: I7acc9c4583391144414fed1ca91e9ac35a4c7074

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 96.8% (312 of 322 strings)

Change-Id: I08e477f78062116042f9ef326eeb56aef37e10a8

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 96.8% (312 of 322 strings)

Change-Id: I5c7d356d4d56c815c42e39edeca0ca016377e943

update translations

LibreOffice Online/loleaflet-ui (Slovak)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I09a00c871f71d29401e5f61ec8082742a225a44d

update translations

LibreOffice Online/loleaflet-ui (Italian)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I3c2e634aec9f9d21788532a87d4cd70b19624957

update translations

LibreOffice Online/loleaflet-ui (Basque)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I498defcad98311b2cbe86a97f475aad797ca23ab

update translations

LibreOffice Online/loleaflet-ui (Chinese (Simplified))
Currently translated at 95.9% (309 of 322 strings)

Change-Id: I2a6fe0df0497e02881ba4e80550960ea58d28137

update translations

LibreOffice Online/loleaflet-ui (Slovenian)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I4c942a5f4bef50d0270df6c996d63d0abb1e3bc4

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 92.8% (299 of 322 strings)

Change-Id: Ib10b0348b486f0b15e5b526a797afba38100679e

update translations

LibreOffice Online/loleaflet-ui (Slovenian)
Currently translated at 99.6% (321 of 322 strings)

Change-Id: I723dc21aa74dbee24216a36503f444d59d5c002a

update translations

LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I0831f58b29a2f38d5930c1151822cd46228cc401

update translations

LibreOffice Online/android-app (Esperanto)
Currently translated at 24.5% (25 of 102 strings)

Change-Id: I617ddf6110fb298ce1748c0f625f549bba720ef0

update translations

LibreOffice Online/loleaflet-ui (Portuguese)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I453bcf9ed586f02947a0fcff6a0b32b278a8e27c

update translations

LibreOffice Online/loleaflet-ui (Polish)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I50ed9754d43f53981f569612daefea5060e420bc

update translations

LibreOffice Online/loleaflet-ui (Norwegian Bokmål)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I291186bf2449502b70807e74ec5de18a47edde2c

update translations

LibreOffice Online/loleaflet-ui (German)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: Id2e5807b8256b6955a3d5264c5c46f85a3cf7076

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I530b95c303d0732abf521f34cbdad3bc0e1342b7

update translations

LibreOffice Online/android-app (Dutch)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I11b0bbb1c9d555abbda75388cc4c4b57e37009c7

update translations

LibreOffice Online/loleaflet-help (Dutch)
Currently translated at 62.7% (261 of 416 strings)

Change-Id: I023dac41e040fc0ff8d0ba2a9e668e647003964a

update translations

LibreOffice Online/loleaflet-ui (Dutch)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I0c52e2a8ae753222a6f2ab94d44bf20e87e8f45c

update translations

LibreOffice Online/loleaflet-ui (Spanish)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: Id64266b21b81478bc656de6afa5f469d631881d2

update translations

LibreOffice Online/loleaflet-ui (Czech)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: Ib16320c130dd9d5121a25166afd53bbe3cf9a34a

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 98.1% (316 of 322 strings)

Change-Id: Ia59bd51ebb14374365b0e5a63190f247953ab3eb

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 44.7% (144 of 322 strings)

Change-Id: I4ffb03883e3b280a7a8ed09698e007e5e0816cc2

update translations

LibreOffice Online/loleaflet-ui (Turkish)
Currently translated at 92.2% (297 of 322 strings)

Change-Id: I8cd95951d1374aa14f2f52315658d42ee5e17d1e

update translations

LibreOffice Online/loleaflet-ui (Portuguese (Brazil))
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I0b00b2f86cfd7781aed0a50da4952585e47c48f2

update translations

LibreOffice Online/loleaflet-ui (Bulgarian)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I79f0ba16edc4148c476f284e3f39f9df65283b2b

update translations

LibreOffice Online/android-app (Slovenian)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I43d97c7bdf717c1c2b8212461498d4348ea95dc5

update translations

LibreOffice Online/loleaflet-ui (Slovenian)
Currently translated at 97.8% (315 of 322 strings)

Change-Id: I99920ccb45ce23d130ba7771c4442124438aa47e

update translations

LibreOffice Online/loleaflet-ui (Polish)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I1ae60e074497c69b34b03a2b7427f6f51ecf5156

update translations

LibreOffice Online/loleaflet-ui (Hungarian)
Currently translated at 97.5% (314 of 322 strings)

Change-Id: I745de31cd69a83bce820ac61845e331196c9c399

update translations

LibreOffice Online/loleaflet-ui (Upper Sorbian)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: I22e457737aaf6c9f6f6f17b9fe1ac290534c2b64

update translations

LibreOffice Online/loleaflet-ui (Lower Sorbian)
Currently translated at 100.0% (322 of 322 strings)

Change-Id: Ief15cc27aa4b751dc42970b540684058e32ce88a

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Change-Id: I05ecc42fe7a49869b8865c502ad716f57554e029
Translation: LibreOffice Online/loleaflet-ui
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/

update translations

LibreOffice Online/loleaflet-ui (Dutch)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: Ie8bd9e8ebd6d1d511e83a02e13a0b433c4e58236

update translations

LibreOffice Online/loleaflet-ui (Italian)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: If3405ae6814e6d339174f1b6bd0fb6228ec9959c

update translations

LibreOffice Online/loleaflet-ui (Bulgarian)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: I4a86f7d0c1ee8132c1a1246d433d75fed0326124

update translations

LibreOffice Online/loleaflet-ui (Slovenian)
Currently translated at 95.1% (296 of 311 strings)

Change-Id: Idd97e0241eab71ae4507943c78e7c5dd0cfde6b8

update translations

LibreOffice Online/loleaflet-ui (Norwegian Nynorsk)
Currently translated at 78.1% (243 of 311 strings)

Change-Id: Ib38821773823e15eeb5d0b088eb3c3f5532159b8

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Change-Id: I97138a367211ca306243e04f7e894876c9551091
Translation: LibreOffice Online/loleaflet-help
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-help/

update translations

LibreOffice Online/android-lib (Afrikaans)
Currently translated at 100.0% (12 of 12 strings)

Change-Id: I064b9621e82ace5bb77c5228a06d8f7ad4c9c008

update translations

LibreOffice Online/loleaflet-ui (Slovak)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: I1432b78958facf4f3a27839a863dd404f128540f

update translations

LibreOffice Online/loleaflet-ui (German)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: If1be390f305b9f68dbadc50cdc0e4441c32544b8

update translations

LibreOffice Online/loleaflet-ui (Afrikaans)
Currently translated at 43.0% (134 of 311 strings)

Change-Id: I81fa513e9a783a582b67cb449395528a855621c6

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 44.7% (139 of 311 strings)

Change-Id: Ib2293d0074960d9d28b29a0295937870cea7bfe1

update translations

LibreOffice Online/loleaflet-ui (Aragonese)
Currently translated at 1.9% (6 of 311 strings)

Change-Id: Ifd437408ce3ac388a3e0b558ca5dd1409e9cc9b5

update translations

LibreOffice Online/loleaflet-ui (French)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: I59af48d270c9b8483502d6755e2993fa5189ece7

update translations

LibreOffice Online/loleaflet-ui (Spanish)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: I241199ef18c9d1131b994372096605901c83096b

update translations

LibreOffice Online/loleaflet-ui (Czech)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: I6d233f3490882f37408f089d139d8e22332bd3a5

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: If1eab5168f8494ce0a310d9d77c6d7ff58c91051

update translations

LibreOffice Online/loleaflet-ui (Asturian)
Currently translated at 44.1% (137 of 311 strings)

Change-Id: I86d7be3d6f8e0c2ec8ad39841c3f5a5e1d8e42d5

update translations

LibreOffice Online/loleaflet-ui (Portuguese (Brazil))
Currently translated at 100.0% (311 of 311 strings)

Change-Id: Ic9c3a343a32cd63cd11bdd9261a29fd437810f74

update translations

LibreOffice Online/loleaflet-ui (Basque)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: Icf1fb226cd6d0ef55129370b014804f29cc39dc2

update translations

LibreOffice Online/loleaflet-ui (Welsh)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: Iddfe9de524a5f3ec9fb102d299bce88dea0d437a

update translations

LibreOffice Online/loleaflet-ui (English (United Kingdom))
Currently translated at 100.0% (311 of 311 strings)

Change-Id: I9935200a16bb50bcc3b4b61c93fbb4c412ff3723

update translations

LibreOffice Online/loleaflet-ui (Greek)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: I5f2c47a133b1e0cf70ad7fc2dd19d4417377b203

update translations

LibreOffice Online/loleaflet-ui (Polish)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: I6ba4eed8864c8c61d5f3d74011a47106785f9174

update translations

LibreOffice Online/loleaflet-ui (Hungarian)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: I5356eb178fdca761afd8e6860a9d0d4e9b8adfc7

update translations

LibreOffice Online/loleaflet-ui (Upper Sorbian)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: I02e6fd4be08d6e2b970be2e61caba30322fd9fef

update translations

LibreOffice Online/loleaflet-ui (Lower Sorbian)
Currently translated at 100.0% (311 of 311 strings)

Change-Id: If1a10d5ce6487844f853a230d21e688ff8ccfc77

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Change-Id: I792cfd0edc9ed992d175fe7f93b8288f71e1cc0e
Translation: LibreOffice Online/loleaflet-ui
Translate-URL: https://weblate.documentfoundation.org/projects/libo_online/loleaflet-ui/

update translations

LibreOffice Online/loleaflet-ui (Czech)
Currently translated at 100.0% (310 of 310 strings)

Change-Id: Icdd8e95a3bcad9dc90808b704d48160e6f12cf44

update translations

LibreOffice Online/loleaflet-ui (Chinese (Traditional))
Currently translated at 100.0% (310 of 310 strings)

Change-Id: If9a117838ac4d93ada913b0a3b7c87d4416c3143
2020-07-22 17:13:41 +02:00
Marco Cecchetti
5f110789a1 leaflet: setup document name input field width
Change-Id: I654bdea578c8768c62db08bd488613f983336d43
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99140
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-07-22 16:02:40 +02:00
Szymon Kłos
c28c6b2c3c notebookbar: hide Paste button
Button wasn't functional, after click there was
a popup created saying that keyboard shortcut has to be used.

Change-Id: I1d9a7c430094afa3fc3459bbe7e478967d7d5a2e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99189
Tested-by: Jenkins
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-22 15:05:51 +02:00
Tomaž Vajngerl
701ee977ed remove annotations properly not leaving lines or markers behind
Change-Id: I2de8620176724746e8fde0c190edba10109f057e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99120
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-21 18:35:10 +02:00
Tomaž Vajngerl
0e0d3b1012 show connector to annotation when hitting the annotation marker
This shows a connector from annotation to the annotation marker in
the document, so it is possible to identify which marker is being
used for which annotation.
Also adds the alternative implementation to show the annotation
next to the annotation marker.

Change-Id: I8af191fcc8a5e8af827dee0b1ac8ae3d7a50a552
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99021
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-21 18:34:57 +02:00
Tomaž Vajngerl
3ebb0b9058 add functions for triggering layout and unselect annotations
Instead of checking if specific functions exist for layouting and
unselecting of annotation, add functions that always exist on the
TileLayer with the ability to override in the specific subclass.

Change-Id: I3be24bf58fef0e09dfee10f80b1b888ce0e0f1f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99020
Tested-by: Jenkins
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-21 18:34:48 +02:00
Pedro Pinto Silva
1fb8e24754 Notebookbar: make tabs collapsing and extending
- by clicking again in the selected tab title

Change-Id: Idbb0892f341865cd9696f9037b87146f7a3cc3a8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99146
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-21 17:10:36 +02:00
Pedro Pinto Silva
46c8673475 Add missing icon for dowloadas-odg
Change-Id: I2ca9493d1dae4b8c24e1b312074f210d9ed04d16
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99144
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-21 15:51:40 +02:00
Tomaž Vajngerl
3141ba2403 AnnotationManagerImpress to manage annotations for Impress
and move thefunctionallity from ImpressTileLayer.js

Change-Id: I646432b677652983384ba53197b5a7af6dd035e0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99019
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-21 14:46:34 +02:00
Pedro Pinto Silva
b56d6a5423 Notebookbar: reposition sidebar icon
Since it's a trigger that it's not dependent on a specific tab content but rather a top control that activates the sidebar I repositioned it up top. This will also avoid problems in the future in the case we add a "collapse tab content"

- Also optative close button got some improvements in position and size
Change-Id: I541a3683529e5744714394b64a57105a3407b13f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99126
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-21 14:45:05 +02:00
Tamás Zolnai
e86007a4c8 Simplify code.
Change-Id: I74340aba3e82810599c2da60001e87aaf58cae7d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99133
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-21 14:08:31 +02:00
Pranam Lashkari
82121cb783 leaflet: fixed selection handler lagging behind
Change-Id: Ic89a6827bac4511a8f9cd9afbcc2594cdc2046f3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97897
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-21 13:25:04 +02:00
Pedro Pinto Silva
d69682284b Notebookbar: Home: make Paragraph style and its navigation arrows one visual element
- decrease size of those arrows so they are not  mistaken by main actions that affect the document

Change-Id: Ief0b633187df84e8862501cf928c327fa2e44f5f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99125
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-21 11:29:00 +02:00
Szymon Kłos
0d57bb2872 notebookbar: add sidebar switch
Change-Id: Ib64f0d99d428896680eae8ce5ae9109563ec5b76
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99121
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-21 10:23:55 +02:00
Pranam Lashkari
91dc506966 leaflet: resolved Formula bar disappears after session timeout
calcinputbar used to disappear because of no proper initialization after
sassion timeout and that set the wrong width which caused this problem

this makes sure that when reconnecting after session timeout,
first inputbar is unloaded and reloaded properly like first time
(when doc was opened)

Change-Id: Ifbf856d0e565e14b2ef697f342ef6d8e63a5fbd2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96953
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-07-21 09:26:48 +02:00
Tomaž Vajngerl
2b313af4f3 add AnnotationManagerBase to share code with other modules
Currently AnnotationManager is meant for Writer only, but it makes
sense to share the code with other modules too. This adds a new
base class AnnotationManagerBase which will contain the common
code for the annotation management. Other modules currently have
the annotations implemented in TileLayer, but this is the first
step to move them into its own annotation managers too.

Change-Id: I5131337aa95e43ce0844d57e2cc020239af5f100
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99018
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-20 22:49:11 +02:00
Tomaž Vajngerl
241f134473 Enable comments inserting and deleting when in read-only mode
Change-Id: I5aa3be061a6ef65bbf5d4cb879c4dde97ed31dd5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99017
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-07-20 22:47:00 +02:00
Mike Kaganski
a1fafe27f4 Allow user to try to lock the document for edit
Use mobile-edit-button for that is permitted.

Change-Id: I4d4c3f21d574abae033bacc69def96aaf6b51567
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98786
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-20 15:49:09 +02:00
Mike Kaganski
0c99f6830b Warn user when the document could not be locked
Change-Id: I66b584f5e95fd82dc5cb27d10d9629cf19cb61bd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98782
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-20 15:47:53 +02:00
Pedro Pinto Silva
515fee128b Notebookbar: styling
- Overall styling
- Fix tab’ alignment and paddings
- Fix tabs’ states
- Make use of text-shadow to emphasize instead of changing font-weight in order to avoid changes in size
- Add document-type class in notebookbar (similar to what I did for menubar)
- Style jquery-ui tooltips
- Style .unolabel
- Start to use css --var for font and colors (still no changes in the code per sea [like reducing the values etc] just start using it)
-- add comments
-- Use it depending on doc-type for notebookbar tab unolabel
- Add missing icons
- Fix extra border (toolbar-wrapper)
- Add document-header

Change-Id: I24552b118657d8ead47a74a6d189bd2448aac808
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98721
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-20 09:35:25 +02:00
Henry Castro
7946e46257 mCustomScrollbar: IFrame access is not allowed
Due to security reasons, the access object from IFrame
is restricted and throw exceptions. So always return false
by default when using this component.

Change-Id: Ib297ee49c563c2d4c6eb63a794284d3d3cfe79e8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98978
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-17 17:57:29 +02:00
Henry Castro
5723333797 mCustomScrollbar: fix "Uncaught TypeError: Cannot read property"
Running a local nextcloud instance, it throws an uncaught type error.

Change-Id: I48f553f4e4a4704fa4f2753e9af5207c4d95e5f9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98977
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-17 17:56:46 +02:00
Henry Castro
f6667cfea1 loleaflet: no scroll if editing a cell formula
Change-Id: I2b1bca30c795043c7172dd080e51cfe37c0dc008
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98931
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-17 16:01:41 +02:00
Szymon Kłos
1ba397ac95 Keep slide sorter in line on mobile devices
This prevents us from multi line slide sorter
on mobile devices after new slide was added.

Change-Id: Ibf0e7784e1f58f2706e1595f1cb0d66eb2373410
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98972
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-17 15:22:32 +02:00
Szymon Kłos
a1345dbebd notebookbar: use native hyperlink dialog
Change-Id: If8abe43fba4c46b8273214f54a30b425cf48aeff
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98945
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-17 14:29:18 +02:00
Szymon Kłos
0133a73e0a clipboard: paste in dialog if open
This fixes the issue where 'complex' content was copied
and then when dialog was opened and user used Ctrl+V,
internal paste into document was performed instead
od pasting into dialog.

Change-Id: I540a98484610916ff7c246f08a9772fbff40b3ec
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98877
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-17 10:54:07 +02:00
Szymon Kłos
b233aa2ad3 clipboard: when disabled use only internal commands
When external copy/paste is disabled:
- always use internal copy/paste
- don't ask user to use keyboard shortcut
  (it's possible to paste from menu)
- content of a system clipboard is not modified at all

Change-Id: I5645ad68bbf9364124ae721ea0e889d877a4ed23
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98876
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-17 10:53:54 +02:00
gokaysatir
bd28756cde loleaflet: Status bar quick views don't work.
Change-Id: I68253955a97a79f7ccfecff9d3e26cb5e4a2032b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98888
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-16 16:56:06 +02:00
gokaysatir
ebc46c8ecc loleaflet: Hide tooltips on tablet.
Change-Id: I4c4381919b41cbe3b276a15d3070f56e3ce78359
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98894
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-16 15:24:07 +02:00
Jan Holesovsky
8d4f800b69 android: Hide sidebar on Chromebooks early.
This is a hack - but I fear the best we can do just now.  The problem is
that the sidebar is always initialized at the startup, just for mobile
phones and tablets, we don't show it thanks to an early exit in
_launchSidebar() when the app starts in read-only mode (which it does
for phones and tablets).

Now when we have switched the Chromebook UI to the desktop one, we need
to explicitly turn the sidebar off on start, because otherwise it
occupies too much screen.

Of course - much better would be not to initialize the sidebar at all
when it is not necessary - but there's no easy way to do that :-(

Change-Id: I0340d125181285dcebda4ff78971182a7072dddb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98866
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-07-16 11:53:33 +02:00
Jan Holesovsky
f29c1cc3ea android: Actually use the Desktop browser UI for Chromebooks.
Chromebooks are not touch devices, the desktop browser-like UI makes
much more sense there.

Change-Id: Id963929e781f2baff32a65e0437afb4dfd8460a3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98865
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-07-16 11:53:17 +02:00
Jan Holesovsky
1b3732b941 android: Call the SAVE directly from the native code.
Until now, for the "local save has completed, upload it back to the
content: URI" messages we were relying on the "local save" -> JavaScript
-> Java -> "upload to content:/ URI" chain.

It turns out though, that the WebView can be dead by the time we need
the notification that the save has completed.  This was particularly
seen on ChromeOS when the document was closed using the [x] in the
window decoration.

As a solution, we need to pass the info that the "local save" has
completed directly to Java.  So far this uses the same semantics as the
postMobileMessage() and reuse its code; but maybe in the future we'll
need to split this.

Change-Id: If1b93e4f76cee3abc6aebfc3e9072810ab73bb42
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98773
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2020-07-16 11:52:58 +02:00
Pedro Pinto Silva
cb68187c5e Don't remove html of last modification indicator but instead hide it when data is unavailable
Change-Id: If86d66a616ccc09a3eed8d083f8a81a5c0b233e2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98433
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-16 09:46:20 +02:00
gokaysatir
e0a27002f0 loleaflet: sidebar overlap issue.
Change-Id: Iff2184725c49c24900865d9865237e9747a050cb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98555
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-16 00:19:50 +02:00
gokaysatir
7ac677244b loleaflet: Writer, mobile: Selection handles are slightly off.
Change-Id: If81bb33f80f4f52733c3465567c4dc27abf5b8b5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98559
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-15 22:50:14 +02:00
gokaysatir
babc178eb1 loleaflet: lokDialog children are mispositioned bug.
Change-Id: Ib2d530d3e4d7f10abe8c34455cf632f509df62a7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98829
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-15 16:47:46 +02:00
gokaysatir
9aae80518d loleaflet: Hide w2ui tooltips on mobile.
Change-Id: Iaf57e6f53fbc363e22ac1c11de0eb657d492edd3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98558
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-15 14:51:04 +02:00
gokaysatir
962838ca82 loleaflet: Selected cell status alignment.
Change-Id: Ibdf5c7ae7d95a97682bac1574b6abb0d00471445
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98528
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-15 14:49:59 +02:00
gokaysatir
e5dfd6a2f2 loleaflet: Remove carret marker when text selected.
Change-Id: Ifc055f852857188e4d35b9db1db62638ad5a27a5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98546
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-07-15 14:45:44 +02:00
Dennis Francis
63c4e730e4 factor out "tile-area for zoom" calculation code...
to coordsToPixBounds() and coordsToTwipsBoundsAtZoom() in GridLayer and
specialize coordsToPixBounds() for CanvasTileLayer because it stores
tile position in css pixels instead of grid indices.

Change-Id: I9875a29fe0244717a6f324348ff144c434809ed2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98781
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-15 14:15:12 +02:00
Samuel Mehrbrodt
ce91fa4201 Report back load result to integrator
Integrator currently gets no message when loading the document
from WOPI host fails.

Similiar to Action_Save_Resp, introduce Action_Load_Resp with
the result of the load action.

Change-Id: I3b0f9ee691a1c5d58e9f833d511435a0b25a465f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98299
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-07-15 09:48:43 +02:00
Tor Lillqvist
e64bbeb819 Pass rendered tiles as uncompressed BMP files in the iOS app
Avoids the need for PNG encoding (takes significant amount of CPU
time) and Base64 encoding in the app process, transfer to JavaScript
(running in a WebKit process of its own), and corresponding decoding
(in the WebKit process). Instead simply pass the URL of each tile file
to the JavaScript. Remove each BMP file once it has been loaded.

Change-Id: I6e7b9450691679c64813979976c59f1763ec104c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98710
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-07-14 17:00:35 +02:00
Szymon Kłos
c0b4eec80b notebookbar: add class for .main-nav
Change-Id: Ie55ce155cb31a2ebc54d82025d33a06ee08cab7f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98722
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-14 15:02:05 +02:00
Pedro Pinto Silva
c1730cf7c1 Desktop: Document name input and pencil: remove unused styles
and make sure that no default browser properties gets in the way

Change-Id: I2f536c47f4e7db73e4cf77bec03d42b8ad73bd07
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98715
Tested-by: Jenkins
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-14 12:21:04 +02:00
Pedro Pinto Silva
6455178954 Desktop: document-name-input: add ellipsis together with gradient to show that the text overflows
Change-Id: Iec964d99a3582c78c83e9b6cb238ccb7cdc39b3c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98669
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-07-14 10:37:33 +02:00
Dennis Francis
ea6cba1c55 redraw splitter lines on sheet-switch
Change-Id: I94f08c6bc3cf6784c374282112463b3c00ba8607
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98622
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-13 12:13:58 +02:00
Dennis Francis
e6814552df request sheet-geometry data just after sending setclientpart to core...
instead of doing it on getting a 'setpart' back from core.

This is helpful in the following respects:

1. On new sheet insert, setpart is not sent by the core.
2. On sheet-switch, new sheet's messages (cursor) can arrive before we
get sheet-geometry-data because it is requested only after setpart
which is too late.
3. save almost all of the round-trip time for sheet-geometry data.

Change-Id: Id6464be72c2ff6e8dce006d8e7ba3141b8d6cf1b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98621
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-13 12:10:43 +02:00
Szymon Kłos
a7eab309a6 Don't show cell selection resize handles for desktop
Change-Id: I6ac7518bd46308fffd692be576d368b5e5067fd6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98619
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-13 11:22:40 +02:00
Szymon Kłos
073efadc16 When copy disabled use empty content in clipboard
Don't use 'Stub HTML Message' title...

Change-Id: I24953f1513fb5432e614958787b9d127ffa531a7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98620
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-13 11:22:31 +02:00
Szymon Kłos
1aed5ddaa4 mobile wizard: hide unsupported items in table panel
Change-Id: Ie8486a496cd30f48f600d7acc7960674f3864b7d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98527
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-07-13 10:00:07 +02:00