Commit graph

16648 commits

Author SHA1 Message Date
Henry Castro
b40ba9c8a8 nginx: update loolwsd.conf file
rename loleaflet -> browser

Change-Id: I93041076734d0a92cdaff1c197fdc2ed6f26b90f
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
8c8e9da4c3 apache2: update loolwsd.conf file
rename loleaflet -> browser

Change-Id: Ib8d1ce6483b4e886fbc883ca2a97b8b83f7bcd9c
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
5e023c745e cypress: rename loleaflet -> browser
Change-Id: I2a68f397e2ef8e392ccea421020a2d3cfaf9d3b5
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
025e7bc97b docker: update comment
rename loleaflet -> cool

Change-Id: Ia33130e2f57e071379e388601267f7c6598bc948
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
0310a29826 test: rename loleaflet -> cool
Change-Id: I7becbab62266ac42af8217ff9c04cac466ec6905
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
d9870bdff0 test: rename loleaflet -> browser
Change-Id: I1c361fdf76b3e610b9377758af7ae666437759f8
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
ec4772be6f cypress: update Makefile.am
rename loleaflet -> browser

Change-Id: I2d3c309a75147fc6442f0781c7821a39891e3faa
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
a3a567f5b0 cypress: update README file
rename loleaflet -> browser

Change-Id: If8b43f77d21d7f475257f3013642c79737c94fe3
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
b8b1c1a7c4 cypress: update .eslintrc
rename loleaflet -> browser

Change-Id: I56f0d506c65dbb095a4259b0d262e2de45e286dd
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
99ac2038bb cypress: update CSS class name
rename loleaflet -> cool

Change-Id: I2eef3661e210e04b89e51ba52e707f16617ec87b
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
512daa4034 browser: update README
rename loleaflet -> browser

Change-Id: If77d8bd8010381339fa82db81929b12c703fe5cc
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e38f8a923d browser: po: update loleaflet -> cool
Change-Id: I5ec68dc7594e19d418cb4177cc45f58ec72456be
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
8f0eb5e366 browser: src: replace CSS class names
loleaflet -> cool

Change-Id: Ic45aa26add360d54b5681d967bd0bdf7dcc61400
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
10f329deaa browser: rename trace events file name
loleaflet -> cool

Change-Id: I42dc547affde35fa0c344106d71de68ffa02430f
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
775f8ceaf6 browser: update npm-shrinkwrap.json
rename loleaflet -> browser

Change-Id: Ie98417df5fb6f130407ed8b2b2953c6a6b67c307
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
85009cde46 browser: update CSS class names
rename loleaflet -> cool

Change-Id: Ia9c14ccef395c0a2290b083396e35c2058342dbf
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
5ee0517eab browser: update cool-api.html
rename loleaflet -> cool

Change-Id: Ib7cc269703528f235cd53cb2ebf7741d4872bc67
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
befe663c4d browser: rename loleaflet-api -> cool-api
Change-Id: Iba3e235395074cd1c698dd2b6917a1bffadd498d
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
5bd2549480 update .gitpod-files, rename loleaflet -> browser
Change-Id: Iaf8cb782afb4b93f45b76f8bd3f252f65e15d424
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
262d467335 wsd: update README, rename loleaflet -> browser
Change-Id: I5aaab71848add13c98ceef2946a6ca6a22ee1862
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
2e8ce9421a wsd: update protocol.txt, rename loleaflet -> browser
Change-Id: Ie3c350eb619fee5aec0c4e00a1373bb19c3f935e
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
0004227294 update .gitignore, rename loleaflet -> browser
Change-Id: I9291fdd5a9116f130efed05fc11798a3657914f0
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
74966e9064 l10n: rename loleaflet -> browser
Change-Id: I7cc349c72ffdbd231354b9a9b2b2d41ed01e4665
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e5c1d0e637 initial rename loleaflet -> browser
Change-Id: Ief7edfe7e3ff3a0a1ec24b4dc106bdeee5d0f8ff
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
23740661e3 loleaflet: makefile: change vars LOLEAFLET -> COOL
Change-Id: Ia65ca110659746d77404720022f56cae2cef5c6f
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
9b3bdff3be rename loleaflet-help.html -> cool-help.html
Change-Id: I65933218dfa293caa6c83672c1fa484d9cce0638
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e0fe47be5f rename loleaflet.html -> cool.html
Change-Id: Iaa28f1269f8192755ec323396ae4ff054529f412
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Rash419
6b4dc708ad cypress: disable all writer undo-redo and repair document specs temporarily
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I1870ba3d9111694e2df756bd9a5b06c54aa8aab3
2021-11-09 17:12:58 +01:00
Gabriel Masei
e45358ab8f admin: add resource consuming docs cleanup metrics
Signed-off-by: Gabriel Masei <gabriel.masei@1and1.ro>
Change-Id: Ia65f0eeca8a9eccca17359bcb784b82ab6740317
2021-11-09 11:02:12 +01:00
Sam Litvin
433c01982c Update start-collabora-online.sh
There is no reason why the UI mode should be set here where it over-rides the setting in loolwsd.xml.

Change-Id: I5f4ecd61dba96831dec28e7d3175718c8d63287c
Signed-off-by: litvin-Millogic <sam-linux@litvinhome.net>
2021-11-09 10:12:30 +01:00
Miklos Vajna
b148f15f40 test: fix sanitizers detection
The old code worked for "gcc -fsanitize=address", but the sanitizers
tinderbox builds with "clang -fsanitize=address".

Follow-up to commit f67b8901dd (test:
double the timeout in isDocumentLoaded() for sanitizers, 2021-11-03).

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I4b802ec0d3d20516e3d58cc1c65d7e1422632b2b
2021-11-09 08:23:45 +01:00
Tor Lillqvist
199b608225 Improve error handling when link() fails
Use the normal convention of saving errno in a local variable right
after a system call has failed. (To be safe in case some other
irrelevant system call fails before we get to output the message for
errno.)

Use both Util::symbolicErrno() (so that a developer sees the actual
symbolic error name as in manpages and code) and strerror() (for
nominally helpful plaintext explanation of what that errno value
means) in the output.

Use explicit std:: prefix for strerror() (because that is cleaner and
it is our convention).

Use << operators in the LOG_FOO calls instead of concatenating strings
with the + operator.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I75f42051f81661eea62235019ef9a0925239ce00
2021-11-08 14:35:46 +02:00
Tor Lillqvist
07f2921c9c Fix obviously wrong strerror() usage
The parameter to strerror() should be an errno value, not the return
value from a failed system call (which is always -1 in this case).

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I61baf348988f3e6577aab30bf985e0fe646291fd
2021-11-08 14:35:46 +02:00
Szymon Kłos
63eeca0335 Don't show disconnected message when DisableInactiveMessages
Snackbar message for 'disconnected' or 'connected again'
shouldn't be shown if DisableInactiveMessages is set.
Send 'Reloading' postmessage when reconnected with the server
and starting reload in 5s.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie285f3e1a00ff83cfc8954401aeb061aa49b0691
2021-11-08 13:07:01 +01:00
Rash419
f764ef97d2 debug.html: fix: cannot open files when ssl is disabled
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Icc948a7ba39be1d4deb5178dd5a58a7708e7dbea
2021-11-08 14:41:19 +05:30
Gökay ŞATIR
e7ad60ea42 Map.Keyboard.js: Remove duplicate definiton.
Signed-off-by: Gökay ŞATIR <gokaysatir@gmail.com>
Change-Id: I1f1ce57faa7e9afef621cc5550174e11988d5554
2021-11-08 11:45:38 +03:00
Andras Timar
66ca91d0ae Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ibf6ee555414c21702e51fb871a688d2d557747c5
2021-11-08 09:40:12 +01:00
Oğuz Ersen
f080ab92c4 Translated using Weblate (Turkish)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I96b106ec385f849b7999f9ede5587c7fc3a6a779
2021-11-08 09:38:45 +01:00
Matthaiks
e44fb7fd8c Translated using Weblate (Polish)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6e2e0e8becefd0a085012d5bf0277aacca0c1c2f
2021-11-08 09:38:45 +01:00
Andras Timar
709a31d956 Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Icelandic)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (French)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (German)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
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/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/id/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I509f120945d9b7e95b5117a7b7d0ec2f24b0992a
2021-11-08 09:38:45 +01:00
Andras Timar
48838d0073 l10n of button text 'Dismiss'
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1910b46a68abb13bc0fc24f84c9fce480cdd9e66
2021-11-08 09:35:51 +01:00
Rash419
c9f8f32e64 cypress: added scrolling tests for desktop calc,impress and writer
loleaflet: added test-div for horizontal and vertical scrollbar to get position

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I61f5823c26e1dc0a1ec96257bc58cb51bb29024f
2021-11-08 12:49:56 +05:30
Rash419
e6a2a43e72 cypress: added delay in annotation_spec.js
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ibfc46e24054cb042c27611397295d80e31c25eb3
2021-11-08 11:56:20 +05:30
Rash419
1836bbd5e6 debug.html: fix: opening a file using the full test URL in a make run build often gets stuck at Initializing
here full test URL mean, first you take the URL from the console, open it in the browser, then take the URL from the URL bar, close the existing session, and open a new one with that URL

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I4b4e59721fb1deec709bc778a8e59a52fb466a3a
2021-11-08 11:56:20 +05:30
Rash419
09fd9e6b1d cypress: added clone formatting test in calc/top_toolbar_spec
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I7e7b0376ab4dfa27e5e8fb7035717e9958272e2c
2021-11-08 11:35:18 +05:30
Dennis Francis
39c189c189 Fix slow loading/editing of sheet with ~800 comments
Profiling points to updateReplyCount() as the bottleneck where it does
O(N^3) work where N is the number of comments. The innermost loop is
used to find the index of a comment-section in an array using its 'id'.
Turns out that flattening this loop to a < log(N) lookup via a js map
from id -> index pretty much cures the perceived 'slowness'. But we need
to ensure the correctness of the map by updating it whenever
'commentList' is mutated.

Time to load the document with 800 comments (arranged in 50 rows x 16
cols table):

Before the patch: 1min 31 sec
After the patch:  3.5 sec

After-load performance (comment popup/hide/scroll) with this patch is
similar to how it feels in co-6-4 which does not have this issue.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I4c47f14767cac4c7e9744344d24f646dd27302a6
2021-11-08 09:16:22 +05:30
Andras Timar
5506e7d9f0 po/Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifdaf741a232e6d5e055fa952b66f8894d0b200ae
2021-11-06 21:50:21 +01:00
Martin Srebotnjak
c7d3767c19 Translated using Weblate (Slovenian)
Currently translated at 100.0% (410 of 410 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: Id95ff12ade57a46b179b35ad199b0be055ebfcbc
2021-11-06 21:46:10 +01:00
Stanislav Horáček
37c29c1615 Translated using Weblate (Czech)
Currently translated at 100.0% (410 of 410 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: Icc954d41c68f05bb30783c4bdb9a1dbb3455d37f
2021-11-06 21:46:10 +01:00
Ihor Hordiichuk
21ce9b6065 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia7accb6a567eb183e39291cd8f75b8b5c6ea93bc
2021-11-06 21:46:10 +01:00