Commit graph

12765 commits

Author SHA1 Message Date
Tamás Zolnai
995f454c32 cypress: add tests for search bar in Calc (mobile).
Change-Id: I046b90d021d01ce0bc1c1fc65d3ee435af3ad97f
2020-10-19 18:29:53 +02:00
Tamás Zolnai
e63afd6431 cypress: extract some methods related to search bar.
Change-Id: I3ab9a37c4e34d2504f54c6e50cdadc4ee0433fd1
2020-10-19 18:29:53 +02:00
Tamás Zolnai
6ca5a0cd82 cypress: extract dblclickOnSelectedShape() method.
Change-Id: I0947fe98cb04cd78fed63fe12aafe5198ec2e653
2020-10-19 18:29:53 +02:00
Tamás Zolnai
36ddde6d77 cypress: deduplicate getCursorPos() method.
Move it to general helper file, to make it
available everywhere.

Change-Id: I6fbebfbc4abb1ba894d55fab289cb236185c0693
2020-10-19 18:29:53 +02:00
Tamás Zolnai
f8fd2a365c cypress: add tests for search bar in Impress (mobile).
Change-Id: I8fa9bcd60820fd142ff7f520cbed0bdecc902df9
2020-10-19 18:29:53 +02:00
Tamás Zolnai
7cbdf0fc9a cypress: add tests for search bar in Writer (mobile).
Change-Id: I4d62fdf1f5c79da2bcf1d8c3ceed23f13b696dc7
2020-10-19 18:29:53 +02:00
Andras Timar
f7c7b462e2 disable no-control-regex check of eslint
We do want control characters in regex in loleaflet/src/map/Clipboard.js

Change-Id: I4e393cd57afc42cbb30e8c63f2a497519942411a
2020-10-19 16:11:23 +02:00
Muhammet Kara
be048fee28 Issues: Add links to forum and customer portal
Change-Id: I15fe1eab1d3cf9b517164167ba353a80a4471261
2020-10-19 16:55:04 +03:00
Tamás Zolnai
8367d996b7 cypress: slow down test execution in interactive test runner.
Otherwise things happens very fast, so hard to follow what
happens.
Also the new changes of tile rendering broke the screenshot
feature of cypress, so the screenshots taken during the test
became useless. So an alternative is to run test slower,
so we can see what happens on the UI.

Change-Id: I09b48ca606cf45768cba04f5639a5d4b5317545d
2020-10-19 13:53:53 +02:00
Tamás Zolnai
48969f1309 cypress: remove code duplication related to comments.
Change-Id: I89736a1498323da4b404d8efadd499d21de14285
2020-10-19 13:53:53 +02:00
Tor Lillqvist
204c056ffd Fix the "Copy Hyperlink Location" functionality in the hyperlink context menu
We now treat the CopyHyperlinkLocation like Copy, but with a hack to
drop the HTML hyperlink wrapping around the URL and instead get just
the URL as such.

Change-Id: I572ee6f8724f42caca302606d2091f1f9b6b83e9
2020-10-19 14:05:45 +03:00
Ezinne Nnamani
660721533c Created the cypress test for strikethrough attribute
Change-Id: I09b48ca606cf45768cba04f5639a5d4b5317545d
2020-10-19 12:37:03 +02:00
Pranam Lashkari
65decc295f leaflet: prevent comment textbox losing focus
When clicked on the comment textbox it used to lose the focus

Change-Id: I351144c50818c48c7b6a4f88c9f5e6c68a1ab45c
2020-10-19 12:46:49 +05:30
Pranam Lashkari
854f3556dd leaflet: annotation: fixed reply in to the annotation
added missing listener and method

Change-Id: I5ae043fc593260794e6a2f4fda6d2338dc4075a6
2020-10-19 12:45:28 +05:30
Pranam Lashkari
d62f0c4704 leaflet: prevent updating parts in impress when vex is open
Change-Id: Ia4b5688e277fe3a663ffdf3cd387aa0320ed1257
2020-10-19 12:32:56 +05:30
Pranam Lashkari
66fff181df leaflet: stop changing mouse cursor when new view opened
Problem:
Open a spreadsheet in two views at the same time
In the view opened the first, mouse pointer changes to caret placement icon.

Change-Id: I33db0dbff4bd6229615d75892c7d1c23c9f39e7c
2020-10-19 12:27:01 +05:30
Muhammet Kara
27dafcb5f6 README.md: Add Gitpod badge
Change-Id: I54d99c8e9bae6c9bde42edb5a8366fda1fc47b5c
2020-10-19 09:19:01 +03:00
Ashod Nakashian
d54758b485 mount: lool-user UID check is already done in forkit
Doing this check in loolmount complicates using it
from the multiple places we do. It hardly adds
any advantage, since we already perform the lool-user
UID check in forkit, at startup.

Change-Id: I6fa1b546663a6a3a3816d4d637b4acae1d09fccb
2020-10-19 07:34:26 +02:00
Ashod Nakashian
50943eeea2 wsd: gracefully warn when /dev/random cannot be created
Change-Id: I5a9c291da48c4a1446057247f9b8400f9010b9dc
2020-10-19 07:34:26 +02:00
Ashod Nakashian
f9402ea965 mount: handle symlinks and improve updating systemplate
We should have no symlinks in the jail whatsoever, except
those we create to files known to exist in the jail.

Unfortunately, some systems have some of the /etc files
as symlinks. When we create hard-links to these files,
they can't be accessed from the jail, since the path
they point to isn't replicated in systemplate and jails.

First change here is to always link to the source file or,
when copying, to copy the source rather than a symlink.

Next, to detect modifications, we compare not just the
size and timestamp, but also the contents. This way we
can be certain that any modification will be detected.

Finally, when we copy at least one file in the
systemplate/etc directory, we flag it by creating the
'copied' file. This way we have a reliable indicator
and don't need to second guess if the files are
hard-linked or copied.

We also avoid some noisy errors when we fail to update
systemplate when it's read-only by first checking
if systemplate is writable or not and insue a friendly
log instead.

Change-Id: Ie8c3e70ea4ec19ee098309f8666c00639fa7319b
2020-10-19 07:34:26 +02:00
bugrakurt
e9252a2581 loleaflet: eslint 4.0.0 conformance
Change-Id: I54a21b60fde707c8a193e520c60e3523c1f770bb
2020-10-18 22:41:55 +03:00
bugrakurt
c6486d472e loleaflet: eslint 4.0.0 conformance
Change-Id: I6ca3eacf50bf5d28ebdfdaf13adcbeec619c97e1
2020-10-18 22:39:56 +03:00
Marc Rodrigues
48637c4408 Translated using Weblate (Portuguese)
Currently translated at 68.1% (285 of 418 strings)

Co-authored-by: Marc Rodrigues <marc.rodrigues@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt/
Translation: Collabora Online/Help
2020-10-18 10:43:01 +02:00
Adolfo Jayme Barrientos
c1c27dd434 Translated using Weblate (Spanish)
Currently translated at 100.0% (5 of 5 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/es/
Translation: Collabora Online/CODE welcome text
2020-10-18 10:42:56 +02:00
Rob Pearson
447b4ce7ae Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (17 of 17 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/en_ZA/
Translation: Collabora Online/Android lib
2020-10-18 10:42:51 +02:00
J. Lavoie
3c9f68c03b Translated using Weblate (Italian)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (French)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (German)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (French)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (German)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (French)

Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (German)

Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (418 of 418 strings)

Translated using Weblate (French)

Currently translated at 100.0% (418 of 418 strings)

Translated using Weblate (German)

Currently translated at 100.0% (418 of 418 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (348 of 348 strings)

Translated using Weblate (French)

Currently translated at 100.0% (348 of 348 strings)

Translated using Weblate (German)

Currently translated at 100.0% (348 of 348 strings)

Added translation using Weblate (Italian)

Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/it/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/it/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/it/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/it/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/it/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/Help
Translation: Collabora Online/UI
2020-10-18 10:42:45 +02:00
Anonymous
cb93f0a80b Translated using Weblate (Catalan)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (French)

Currently translated at 100.0% (5 of 5 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/hu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/id/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/tr/
Translation: Collabora Online/CODE welcome text
2020-10-18 10:42:40 +02:00
Allan Nordhøy
13e626024e Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (17 of 17 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/nb_NO/
Translation: Collabora Online/Android lib
2020-10-18 10:42:35 +02:00
Oğuz Ersen
6901ac0e4d Translated using Weblate (Turkish)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (348 of 348 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/tr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
2020-10-18 10:42:31 +02:00
Andras Timar
05e6694ccd Translated using Weblate (Slovenian)
Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Icelandic)

Currently translated at 100.0% (107 of 107 strings)

Translated using Weblate (Icelandic)

Currently translated at 59.3% (248 of 418 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (348 of 348 strings)

Translated using Weblate (Icelandic)

Currently translated at 100.0% (348 of 348 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (418 of 418 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 100.0% (348 of 348 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/Android app
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/Help
Translation: Collabora Online/UI
2020-10-18 10:42:27 +02:00
Adolfo Jayme Barrientos
8e0e40000d Translated using Weblate (Asturian)
Currently translated at 76.6% (82 of 107 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (418 of 418 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (English)

Currently translated at 100.0% (17 of 17 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/en/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/Help
2020-10-18 10:42:23 +02:00
PhD. Ayhan YALÇINSOY
62da02d714 Translated using Weblate (Turkish)
Currently translated at 70.0% (293 of 418 strings)

Translated using Weblate (Turkish)

Currently translated at 66.9% (280 of 418 strings)

Translated using Weblate (Turkish)

Currently translated at 66.5% (278 of 418 strings)

Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translation: Collabora Online/Help
2020-10-18 10:42:19 +02:00
bugrakurt
0f96c51f92 loleaflet: eslint 4.0.0 conformance
Change-Id: Ia8edd33586ab785dd4004e37034e8d9e4e622b89
2020-10-18 01:03:55 +03:00
pelinKuran
10c78cf119 Fix indentations as per eslint 4.0.0
Change-Id: Idf952d4ba52c291117050ca9f5b0f021690c5b81
2020-10-18 00:19:28 +03:00
Ezinne Nnamani
e88e656dae Created the cypress test for the underline attribute in desktop writer
Change-Id: I5d9fd7655380d6926ca1f64b03128098fbb15270
2020-10-17 15:52:03 +02:00
Andras Timar
c614216d46 remove 3 more 0% languages
Change-Id: I307c0b1506f6a540ebd46220c175dfda30b7cac1
2020-10-17 10:12:01 +02:00
Muhammet Kara
e50b0ebd2c Gitpod: Silence the unneeded port popups
Change-Id: Ib48510dfecb55bc5d021e2b26daf114fda267529
2020-10-17 08:54:23 +03:00
Andras Timar
5da7df9725 remove 0% translations
Change-Id: Ifd95899ab44fe6973e9542995c70cd8fab7a2228
2020-10-17 00:54:54 +02:00
Andras Timar
ba574f1641 remove a language with 0% translation
Change-Id: I73728d6e3afa0f1c864c2dadd1f9421f500f0b13
2020-10-16 23:31:41 +02:00
Andras Timar
bf10750cac Update translations README
Change-Id: I0e6054b7981f0a98551ca0a3f1f263b1028fdf97
2020-10-16 23:23:49 +02:00
Tamás Zolnai
1f40a0954b cypress: test applying left/right aligment via toolbar (calc, desktop).
Change-Id: I2c1dcdc304a60c72673601e0e91d18e9fd9a9d35
2020-10-16 16:12:51 +02:00
Tamás Zolnai
5365d50cd2 cypress: test applying bold via toolbar (calc, desktop).
Change-Id: Ib0503e3ee672780996bd568a1225dcb1513dfed7
2020-10-16 15:24:18 +02:00
Tamás Zolnai
bbe0b4197f cypress: move some calc helper method to a bigger scope.
Change-Id: I5c61cb1e4b23ffb10a8351e42af157a8612ac0b6
2020-10-16 15:24:18 +02:00
pelinKuran
3dc3a70a9c Fix indentations as per eslint 4.0.0
Change-Id: I87bf7683dbb0dcfd29bb1659483a5d4abc6da02e
2020-10-16 13:16:48 +03:00
Tor Lillqvist
5642e89ccf Add handling of a "DEBUG" message that is just printed to stderr
This is useful in situations where you can't get at console.log()
output from the JavaScript, like when you are using the Nextcloud iOS
app installed from the App Store and want to debug the loleaflet
offered by a Collabora Online server you are using. You can add code
like

    this._map._socket.sendMessage('DEBUG Foo bar=' + bar);

temporarily to the JavaScript and will see those then in the terminal
where you run 'make run.'

Change-Id: I04c78d86faa283e135dbcb86dac0cabd7b6a0724
2020-10-16 12:28:49 +03:00
Pranam Lashkari
8e8efc1764 leaflet: writer cursor does not appear after session idle
problem:
if shape was selected when document idle out,
on reconnecting cursor will not appear directly,
and after clicking somewhere cursor will not follow the view

the reason behind the problem:
if the shape was selected before idle out, on reconnecting
_clip._selectionType is not cleared and is still "complex"
this is what stops the view to follow cursor
cursor is not visible because _isCursorVisible never reset

Change-Id: I2c7170e9ee73a3c4c6bc36688c7ebc8b95bccb57
2020-10-16 07:32:00 +05:30
Pranam Lashkari
a992cfcd23 wsd: correction in conversion from timestamp to ISO8601
closes #168

Change-Id: Ibdb1aa72a6961d4707c2336382cc593c984d3615
2020-10-16 04:27:53 +05:30
pelinKuran
6dd2d4fc19 Fix indentations as per eslint 4.0.0
Change-Id: I82c06ef89666382d3d2cdc8857496aaefca06404
2020-10-15 21:23:26 +03:00
Tamás Zolnai
c8f5ba4b82 cypress: more tests for formula bar (mobile).
Change-Id: Ice9ab1f0114a02561243b3729cb248948f802d21
2020-10-15 17:56:23 +02:00
Tamás Zolnai
08692ad4d2 cypress: update 'Formula-bar focus' test (desktop).
Change-Id: I1596b54fb53c18496c07287941abab9f682c3bfc
2020-10-15 17:56:23 +02:00