Commit graph

14344 commits

Author SHA1 Message Date
Ashod Nakashian
f8c1857447 wsd: reduce jail size
Change-Id: I9fd1c76aff9c97b800c6b7b6154beb9c596170fb
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-03-06 08:52:50 +00:00
Michael Meeks
ea4d208636 calc: double click on sheet tab to rename.
Change-Id: I13833ac5c6292dbf1b7589ae390125ae02be4e05
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-03-06 08:51:22 +00:00
Michael Meeks
6307f1ee3d Allow jwt token expiry to be configurable.
Change-Id: Ifd2b078adfa3106765f5b54c0397e04ab66fc804
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-03-05 18:33:09 +00:00
Szymon Kłos
4d8c4451bb Don't allow to switch ui mode on mobile
Changing ui mode on mobile causes problems eg. after save as
or reloading the document.
We don't support notebookbar on mobile also

Change-Id: Iaa8d80dbdd139833c0505354be870f33b4f95413
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-05 15:19:43 +01:00
Tamás Zolnai
cfc0f73f91 cypress: php-proxy: make sure that the preferred port is available.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I62c707c1b36e026f0f90a7109b040437acd34d26
2021-03-05 13:11:24 +01:00
Andras Timar
dc12fc8c11 add Vietnamese l10n
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie8958f58422f6553ba15230c2fbc80ea25962d4b
2021-03-05 12:39:05 +01:00
doanmanhduy75
d382fbeab8 Translated using Weblate (Vietnamese)
Currently translated at 10.9% (46 of 420 strings)

Co-authored-by: doanmanhduy75 <duydm3@viettel.com.vn>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iafeb4d834693ede480af59f64c0b1aef6606da7f
2021-03-05 12:36:39 +01:00
Nguyen Trung Kien
2d6553e0c2 Translated using Weblate (Vietnamese)
Currently translated at 10.9% (46 of 420 strings)

Co-authored-by: Nguyen Trung Kien <ntk2111997@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I871d931e8de3d4ea2178289236ab934d81fa0259
2021-03-05 12:36:39 +01:00
doanmanhduy75
c8daf683d4 Translated using Weblate (Vietnamese)
Currently translated at 18.3% (77 of 420 strings)

Co-authored-by: doanmanhduy75 <duydm3@viettel.com.vn>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4097b7582a3322a47d878be78522830fc4f3c7c6
2021-03-05 12:36:39 +01:00
Nguyen Trung Kien
ed9fe45163 Translated using Weblate (Vietnamese)
Currently translated at 18.3% (77 of 420 strings)

Co-authored-by: Nguyen Trung Kien <ntk2111997@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iacd6665cd1df7f10341435826c71f9d8419d2122
2021-03-05 12:36:39 +01:00
doanmanhduy75
e6c10c8e04 Translated using Weblate (Vietnamese)
Currently translated at 18.3% (77 of 420 strings)

Co-authored-by: doanmanhduy75 <duydm3@viettel.com.vn>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic60a17d0dd121e4f294eb5bc16c2834f47f15c58
2021-03-05 12:36:39 +01:00
Nguyen Trung Kien
d58168dc50 Translated using Weblate (Vietnamese)
Currently translated at 18.3% (77 of 420 strings)

Co-authored-by: Nguyen Trung Kien <ntk2111997@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I27fbee1f367b28af463e9f33300555e1575282f2
2021-03-05 12:36:39 +01:00
Adolfo Jayme Barrientos
4bada4810b Translated using Weblate (Spanish)
Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Asturian)

Currently translated at 70.5% (12 of 17 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ast/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie7470f5b0a2dfc092d03fdb9651dea801036dace
2021-03-05 12:36:39 +01:00
J. Lavoie
571be0aa07 Translated using Weblate (French)
Currently translated at 99.5% (418 of 420 strings)

Translated using Weblate (French)

Currently translated at 100.0% (370 of 370 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/fr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8f7e2d396ba6a62dbb4cf781f5e18994e8c22f9e
2021-03-05 12:36:39 +01:00
phlostically
1c8a985a2e Translated using Weblate (Esperanto)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Esperanto)

Currently translated at 100.0% (420 of 420 strings)

Translated using Weblate (Esperanto)

Currently translated at 100.0% (370 of 370 strings)

Co-authored-by: phlostically <phlostically@mailinator.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/eo/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eo/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eo/
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iadc8027f5da2da9dd49467490b723e5da4254639
2021-03-05 12:36:39 +01:00
doanmanhduy75
5b3a82d6a7 Translated using Weblate (Vietnamese)
Currently translated at 18.0% (76 of 420 strings)

Co-authored-by: doanmanhduy75 <duydm3@viettel.com.vn>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia3b9af938c6c7067f1dee73832f277cdae920d3d
2021-03-05 12:36:39 +01:00
Nguyen Trung Kien
d857c2da08 Translated using Weblate (Vietnamese)
Currently translated at 18.0% (76 of 420 strings)

Co-authored-by: Nguyen Trung Kien <ntk2111997@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I8de400f1bcd24ec10a9f023fa67b1aabf886a670
2021-03-05 12:36:39 +01:00
Nguyen Tuan Anh
ed53872d91 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (370 of 370 strings)

Translated using Weblate (Vietnamese)

Currently translated at 65.4% (242 of 370 strings)

Translated using Weblate (Vietnamese)

Currently translated at 64.0% (237 of 370 strings)

Co-authored-by: Nguyen Tuan Anh <anhnt633@viettel.com.vn>
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: I5197ea7f79ea2be3964b8660cabe1064a972e712
2021-03-05 12:36:38 +01:00
doanmanhduy75
b8b89b934d Translated using Weblate (Vietnamese)
Currently translated at 64.0% (237 of 370 strings)

Translated using Weblate (Vietnamese)

Currently translated at 0.9% (4 of 420 strings)

Co-authored-by: doanmanhduy75 <duydm3@viettel.com.vn>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/vi/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic345a57a46103332b4ad94f11caf6adca6db8bfb
2021-03-05 12:36:38 +01:00
Nguyen Trung Kien
d11aed62ec Translated using Weblate (Vietnamese)
Currently translated at 64.0% (237 of 370 strings)

Translated using Weblate (Vietnamese)

Currently translated at 0.9% (4 of 420 strings)

Translated using Weblate (Vietnamese)

Currently translated at 49.1% (182 of 370 strings)

Translated using Weblate (Vietnamese)

Currently translated at 58.6% (217 of 370 strings)

Translated using Weblate (Vietnamese)

Currently translated at 58.3% (216 of 370 strings)

Translated using Weblate (Vietnamese)

Currently translated at 58.3% (216 of 370 strings)

Co-authored-by: Nguyen Trung Kien <ntk2111997@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/vi/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/vi/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I708741d175f908fa9dc716066edf063caca77901
2021-03-05 12:36:38 +01:00
Nguyen Tuan Anh
484c7ab8b3 Translated using Weblate (Vietnamese)
Currently translated at 58.3% (216 of 370 strings)

Co-authored-by: Nguyen Tuan Anh <anhnt633@viettel.com.vn>
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: I73ca74a3790e4fc098b869c07ffd49d959b2b2e3
2021-03-05 12:36:38 +01:00
doanmanhduy75
f0ec851608 Translated using Weblate (Vietnamese)
Currently translated at 58.3% (216 of 370 strings)

Co-authored-by: doanmanhduy75 <duydm3@viettel.com.vn>
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: I82296d3464ac46fcf571e86322efb45b4f66f75b
2021-03-05 12:36:38 +01:00
Nguyen Tuan Anh
3cb30540ba Translated using Weblate (Vietnamese)
Currently translated at 31.8% (118 of 370 strings)

Co-authored-by: Nguyen Tuan Anh <anhnt633@viettel.com.vn>
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: I3e9a3ce205c0af1c8828673e5d9151ef2b24135a
2021-03-05 12:36:38 +01:00
doanmanhduy75
48a4212a93 Translated using Weblate (Vietnamese)
Currently translated at 31.8% (118 of 370 strings)

Co-authored-by: doanmanhduy75 <duydm3@viettel.com.vn>
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: Id1b04ddacfd158c1eb8bd84aaa5c3bd734062bdc
2021-03-05 12:36:38 +01:00
Nguyen Trung Kien
94387f9f55 Translated using Weblate (Vietnamese)
Currently translated at 31.8% (118 of 370 strings)

Co-authored-by: Nguyen Trung Kien <ntk2111997@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: I543e54c2e3a9985d415d389265a2d510a2553d52
2021-03-05 12:36:38 +01:00
Nguyen Tuan Anh
af7f32e2ed Added translation using Weblate (Vietnamese)
Translated using Weblate (Vietnamese)

Currently translated at 0.2% (1 of 370 strings)

Co-authored-by: Nguyen Tuan Anh <anh93.nguyentuan@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: I976f58decabcf142e06711c9a45139bdecf202b4
2021-03-05 12:36:38 +01:00
Weblate
64f07955f8 Added translation using Weblate (Upper Sorbian)
Added translation using Weblate (Albanian)

Added translation using Weblate (Albanian)

Added translation using Weblate (Albanian)

Added translation using Weblate (Vietnamese)

Added translation using Weblate (Vietnamese)

Added translation using Weblate (Vietnamese)

Added translation using Weblate (Vietnamese)

Added translation using Weblate (Finnish)

Added translation using Weblate (Vietnamese)

Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4d4a66c36898afae113141d3d7ec23de0081c0e2
2021-03-05 12:36:38 +01:00
Gökay Şatır
9c7ea22626 CanvasSectionContainer: Improve bound sections list calculation.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com>
Change-Id: Ie7c75172eb8e418c1047c0af5de0750962e5937d
2021-03-05 12:52:07 +03:00
Tor Lillqvist
9a57143c73 Avoid tooltips for the colour control in the mobile apps
(Some of our tooltip() calls are conditional on
window.mode.isDesktop(), others on !window.ThisIsAMobileApp. Which is
more correct?)

Fixes https://github.com/CollaboraOnline/online/issues/1461

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I98cd4c5f0cd05b78236c6722104cd1fe03f3e70f
2021-03-04 18:06:54 +02:00
Tamás Zolnai
b358cb3477 cypress: php-proxy: port was changed: 9982 -> 9983.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I6e5135cdc89c5790f11e1cf7fb4ee497e7a43078
2021-03-04 15:39:34 +01:00
Andras Timar
b86dd952ce Attempted fix of build failure on CentOS7 with old python
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I631f25f8cfe961957967b696c62481dc723427e8
2021-03-04 14:50:58 +01:00
Szymon Kłos
9c491ba4ea notebookbar: style previews style update
Change-Id: I8fd59115b4d2df91fa709d8606238c74384780f7
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-04 11:04:39 +01:00
Szymon Kłos
809067efa0 jsdialog: execute select action without rebuild
handle additional actions which doesn't retrigger building widgets
select action was implemented for icon view

Change-Id: I54f9d8553656e7ba85381482a53b4cbd39d70458
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-04 11:04:39 +01:00
Szymon Kłos
8446eb48e7 styles preview: converted to icon view
Change-Id: I51265fdfb4090af14f3081d1dee361d17aced7fd
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
2021-03-04 11:04:39 +01:00
Dennis Francis
3e4a322c36 make the splitlines symmetric w.r.t headers/grid
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I45a5ab7e1283ef59c2aa14911190687d0a40a0e1
2021-03-04 15:06:02 +05:30
Dennis Francis
39622c282c cypress: calc: pick the correct svg to test
For calc we have 5 svg nodes inside the overlay pane (fixed, top-left,
top-right, bottom-left, bottom-right). The shape selections will be in
all panes except the 'fixed' pane. The 'fixed' was used to contain the
split/freeze lines but that got moved to canvas. Before this patch the
'fixed' svg was getting selected by the selector...

'.leaflet-pane.leaflet-overlay-pane svg'

...which is empty in this case. Lets always select the bottom-right one
which is covers the whole view area when there aren't any active freezes.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iea2bbeff3c492a82e75ecdeb1aa70fa3c33f3426
2021-03-04 15:06:02 +05:30
Dennis Francis
33ba87a10e in-document cursors should be visible only when in view
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id1602cf726b99069f6da7c8102e0c3c9d15388ac
2021-03-04 15:06:02 +05:30
Dennis Francis
e7129398e1 cypress: now cursor is not in overlay pane div
but in a dedicated div inside the canvas container div, covering the
canvas.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ie43a4cb98c9cdb7e3ca81faa78bcc2419fa90a32
2021-03-04 15:06:02 +05:30
Dennis Francis
13c6f68438 migrate cursor and view-cursor to TS Cursor implementation
and remove L.Cursor class.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I96fa158cbbe90ddc0f0b3cdd98cfc6615c2dfd4f
2021-03-04 15:06:02 +05:30
Dennis Francis
11bddcb3d1 Introduce TS Cursor class based on L.Cursor
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I1c9c0c9ed50956e9151b8028b5c5fe38f73a8097
2021-03-04 15:06:02 +05:30
Dennis Francis
89eacec4ec migrate reference marks from svg to canvas
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If435f8cc6fb4d2e99ab4f6d63eea84dbd28b2156
2021-03-04 15:06:02 +05:30
Dennis Francis
5863a22d19 add purpose comments to CEventsHandler
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I1cc66cd78d91d4efabc68459de7935081f107089
2021-03-04 15:06:02 +05:30
Dennis Francis
f10bce9d9c move message replay logic to TileLayer
In canvas section based overlay objects the coordinates are stored in
core pixels and they need to get updated and redrawn every time zoom is
changed. Both Writer and Impress are also using canvas based overlays
for selections and will soon be using it for the rest.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Iecd5bf8c875d4c4a6f8d055f2abccfeedd2cae8a
2021-03-04 15:06:02 +05:30
Dennis Francis
d83f895d20 migrate view selections from svg to canvas
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I04f9ddce35f4a734efcbf445aae813ae7226fe12
2021-03-04 15:06:02 +05:30
Dennis Francis
03f413a25b CPath: when empty close any popups
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ic44ff6d432b8f5e05e439de9c60b41763493e900
2021-03-04 15:06:02 +05:30
Dennis Francis
cb1b5d4e64 CEventsHandler: pass an 'event-data' object to handlers
This can optionally contain corepixel position for now.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I3b9e369ee9c3b58070f2c16b0c6cf0dd8f0df87f
2021-03-04 15:06:02 +05:30
Dennis Francis
b7785f3a90 overlay layer must be interactable for getting events
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I56363fff695c2eaa47ddd62e987ad19da92a9d36
2021-03-04 15:06:02 +05:30
Dennis Francis
258262203e convert viewcursors from svg to canvas overlay section
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I5f703a0ed47b33e491ef2eed8a9dbe2d637dd6b0
2021-03-04 15:06:02 +05:30
Dennis Francis
0760c969c0 allow popups binding to CPath
For this CPath needs capability to add handler(s) for arbitrary event
types. This achieved by introducing a base class CEventsHandler which
supports leaflet like functionality.

"""
this.on('swipe', this.onSwip)
this.off('popupclosed', this.popupClosed)
"""

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ia5d017096b98383491a25eec7353625a51703611
2021-03-04 15:06:02 +05:30
Dennis Francis
b72020d480 replay printtwips msgs on zoom after refreshing view data
This fixes incorrect header selections after zoom.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Id68768baaddf93e48a7ed767da0f6be98f43f84f
2021-03-04 15:06:02 +05:30