Commit graph

12850 commits

Author SHA1 Message Date
Ezinne Nnamani
8677a2c262 Created the cypress test for Highlight color
Change-Id: I5faa18791aaa3e7670ea67502f86662569fd28b5
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-10-27 07:20:59 +01:00
Ezinne Nnamani
36107dacc1 Created a cypress test for style combobox
Change-Id: Id25ff65891ce7afa06f0877299d5220886fb5a1b
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-10-27 05:54:18 +01:00
Andras Timar
da8c360f97 Update UI po/pot files
Change-Id: I02bc925e4c656b8cd4ff49c4decbfd6283f8fac5
Signed-off-by: Andras Timar <andras.timar@collabora.com>
2020-10-26 21:36:06 +01:00
日陰のコスモス
e7abfb5d3b Translated using Weblate (Japanese)
Currently translated at 45.3% (160 of 353 strings)

Co-authored-by: 日陰のコスモス <baffclan@yahoo.co.jp>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ja/
Translation: Collabora Online/UI
Change-Id: I7d728730963c26b31d846b3c3d350e0577c15d68
2020-10-26 21:32:20 +01:00
Andika Triwidada
270e0b8939 Translated using Weblate (Indonesian)
Currently translated at 59.3% (248 of 418 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (353 of 353 strings)

Co-authored-by: Andika Triwidada <andika@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/id/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/id/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Change-Id: I4329ee2b03efe29842c456b33b3b2729b24c4ed9
2020-10-26 21:32:10 +01:00
Rob Pearson
bcb17da5b0 Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (353 of 353 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (353 of 353 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (353 of 353 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (353 of 353 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/UI
Change-Id: Ib2a787e34ca9ccb809e34a6c30be4d9b23fbf58a
2020-10-26 21:32:02 +01:00
Adolfo Jayme Barrientos
26990db55b Translated using Weblate (Spanish)
Currently translated at 100.0% (353 of 353 strings)

Translated using Weblate (Esperanto)

Currently translated at 98.5% (348 of 353 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (353 of 353 strings)

Translated using Weblate (Asturian)

Currently translated at 45.3% (160 of 353 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eo/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translation: Collabora Online/UI
Change-Id: Ic22739aed668e0a0944234893dbf94554a43a43a
2020-10-26 21:31:53 +01:00
abidin toumi
5c86f63c37 Translated using Weblate (Arabic)
Currently translated at 0.9% (1 of 107 strings)

Translated using Weblate (Arabic)

Currently translated at 45.3% (160 of 353 strings)

Added translation using Weblate (Arabic)

Added translation using Weblate (Arabic)

Co-authored-by: abidin toumi <abidin24@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ar/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ar/
Translation: Collabora Online/Android app
Translation: Collabora Online/UI
Change-Id: I3980a1545d190a2242189e5cd16491c450be2677
2020-10-26 21:31:47 +01:00
PhD. Ayhan YALÇINSOY
d64918f282 Translated using Weblate (Turkish)
Currently translated at 92.3% (386 of 418 strings)

Translated using Weblate (Turkish)

Currently translated at 82.5% (345 of 418 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (353 of 353 strings)

Translated using Weblate (Turkish)

Currently translated at 73.9% (309 of 418 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (353 of 353 strings)

Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Change-Id: I184df172b966493ca207705fcccd1e107d0cd086
2020-10-26 21:31:41 +01:00
Matthaiks
d74521e471 Translated using Weblate (Polish)
Currently translated at 100.0% (353 of 353 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Change-Id: I668ac697a02e9470bb863c910db8f0a32e60eab7
2020-10-26 21:31:34 +01:00
Andras Timar
ae8e99b128 Translated using Weblate (Hungarian)
Currently translated at 100.0% (353 of 353 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/UI
Change-Id: I30cab239e921dd82b2772e7cab0932590956a9e7
2020-10-26 21:31:24 +01:00
Michael Meeks
1a16ef9cdf Remove pseudo-code pushed in error.
Change-Id: Iad9a5d8cf5527f8803fb125f9f9b190a51070ad0
2020-10-26 19:59:55 +00:00
Michael Meeks
6bf4040bcb Clarify, re: E-mail.
Change-Id: Ic42e2779bf481f6bd12077e340f45f0aaeea5e12
2020-10-26 19:03:53 +00:00
Tamás Zolnai
7886d63349 cypress: remove php-proxy simulation.
We have a way of running the tests against
the actualy php-proxy script:

CYPRESS_INTEGRATION="php-proxy" make check

So let's remove the C++ implementation, so we don't
need to maintain a duplicated code.

Change-Id: Ie095a70a8175cc8cb4894905826d13762127b148
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-10-26 19:28:31 +01:00
Tamás Zolnai
85d4428f19 Fix 'Cannot read property '_leaflet_id' of undefined' error.
Triggered by cypress test.

Change-Id: I4b92b6e1d7bb13263727ef385a54f4579b32d606
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-10-26 19:28:31 +01:00
Andras Timar
24ecf7131d enable l10n of two status bar strings
Change-Id: I9e6012bdaacbd5c82be92364e773faf0e925fa09
Signed-off-by: Andras Timar <andras.timar@collabora.com>
2020-10-26 17:27:27 +01:00
Henry Castro
61c50f9dc2 loleaflet: do not depend on tile position to calculate
the final ruler offset

Unfortunately with the introduction of the Canvas layer,
the property of tiles (style. left) are no longer set
and it will cause an infinity value to calculate the rules
offset with the result of undefined behavior.

Instead, it is used the document bounds to get the top left
coordinate.

Change-Id: Icebb5409c5627cfd6437851b3985d442b5162757
2020-10-26 07:36:03 -04:00
Miklos Vajna
3859ca3119 g review: check if 'gh' is authenticated already
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I689348489f89d74b10782302d7bea57a845e36d4
2020-10-26 11:03:32 +01:00
Miklos Vajna
eb5c86a4d3 DocumentBroker::saveToStorage: guard against nullptr _storage
This can happen on a 'savetostorage' which is after a failed load.

Change-Id: Iad26bf6415c772c8646a119b0454c202873d6860
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
2020-10-26 10:57:23 +01:00
Muhammet Kara
83df998f56 Create CONTRIBUTING.md
As recommended by the GitHub Community Guidelines.

It is recognized by file name and featured to contributors
automatically in various ways.

Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
Change-Id: Ic408627e39d565f006c6f8591e110bcc9e97c17e
2020-10-26 05:45:29 +03:00
Ayhan Yalçınsoy
c1b8a64fce Remove Poco/TimeStamp.h left-over
Change-Id: I78f76266a50f799306dcfd8ec996db54784acfd8
Signed-off-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
2020-10-26 03:30:32 +03:00
Ashod Nakashian
2785b13a13 wsd: temporarily avoid race-conditions when creating documents
As the comment describes, this is a temporary workaround.
The issue happens when nocaps is enabled, no doubt due
to the timing difference from the more common (and default)
caps-enabled case.

Change-Id: I742d7b9fd63f0babe8e1d45b968e09026d78debc
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-10-25 12:20:58 +01:00
Ashod Nakashian
45a065399e wsd: improve wopi upload logging
Change-Id: Iec6c6f2f491266bc2d0b919acc6514c2871a7b7e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-10-25 12:20:58 +01:00
Ashod Nakashian
4ce0bd9e3a wsd: fix templates with no chroot jail
Change-Id: Id47211e9e20173886af35ae92833f026354b2586
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-10-25 12:20:58 +01:00
Ashod Nakashian
d0dc93d910 wsd: better file size utility
std::ifstream's tellg() returns -1 on error.
This is handled very poorly and shows up as ULONG_MAX.

Luckily, we have Stat class that does the same
both more safely and more efficiently.

Without opening the file, we now get the necessary
information unambiguously.

Change-Id: I2448bc71e01b0f166a9dd66aa38a88ea97a50cdd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-10-25 12:20:58 +01:00
Ashod Nakashian
11c73db905 wsd: announce the log file location
And set the LOOL_LOGFILE envar only when
we have a path.

Change-Id: Ide5144c7e5aec5ddb9a5a6c32538e9e0a3a6ed0b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-10-25 12:20:58 +01:00
Ashod Nakashian
abf017ee5e test: tabs -> spaces
Change-Id: I8a9a98b84babf1100a8526e5a08c3f22e81c8d1e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-10-25 12:20:58 +01:00
Ayhan Yalçınsoy
1ef9ad4f56 Remove Poco::LocalDateTime left-overs
Change-Id: Ia847ec0f1b5602cfa0790b8702aa70e74ecec160
2020-10-24 23:52:11 +03:00
Michael Meeks
e37856fefe Add a Developer Certificate of Origin.
Change-Id: I55b33d92da8c04db3bd23746982993f56e10c935
2020-10-24 21:21:23 +01:00
Jan Dageförde
7aae0ddc4f Simplify another Util::getHttpTimeNow() in headers
Change-Id: Ib2718e1dbcff20cd3fa1e6463287ca512f39efc8
2020-10-24 21:29:28 +03:00
Gleb Popov
8aaebf9e17 Add FreeBSD case to autogen.sh
Change-Id: Ib0e1cb3f34099a46e34e17a23e38d1c4bdb7dec9
2020-10-24 17:51:15 +01:00
Ezinne Nnamani
97d657699d Created the cypress test for font-style attribute
Change-Id: I80de963384fe6c2fe50607083fefe3ea1eb46af2
2020-10-23 18:02:51 +02:00
Tamás Zolnai
5b0676bc3a cypress: protoype an interference test.
The idea it to run an existing cypress test while
the same document is opened by a second user. The second
user does some activity (e.g. moving cursor, clicking, etc)
and we check whether it makes any interference with the first
user's view. The first user is doing the actual test's steps,
so we can see if interference breaks the assertions.

Now it's just a prototype for testing it in the CI setup.

Change-Id: I3e02c037754862d628c73bbb4b2d82ea84b8a719
2020-10-23 16:09:00 +02:00
Szymon Kłos
32b1ab0f67 Don't show comments switch if we don't have many of them
Change-Id: Iec0d83d2cc4423953cde6b677bb0b59b24176e77
2020-10-23 14:56:06 +02:00
Szymon Kłos
90f2251b8e Switch comments also between pages #321
Change-Id: I59f5a9a9a44cd4d2bc5b1df9323b34890e1b673f
2020-10-23 14:56:06 +02:00
Szymon Kłos
7c7fe41f3a Autosave annotations in pdf
Change-Id: Ic4fb2da63e761b78dedf9f67e0612e90e6d4be87
2020-10-23 14:15:50 +02:00
Tamás Zolnai
d401101833 cypress update: 5.1.0 -> 5.3.0.
Fixes this issue:
https://github.com/cypress-io/cypress/issues/8621

Change-Id: Ied225391e7e72dfd9df852481ad29b6368c194cf
2020-10-23 12:58:18 +02:00
Tor Lillqvist
58dd58c67d Mention the iOS and Android app READMEs
I tried to add actual links to them, but my Markdown-Fu is too weak.

Change-Id: I7787bf9dcd661239588d2f4d1f36e8f610bf8856
2020-10-23 13:36:40 +03:00
Tor Lillqvist
0ad957a548 Even better app name suggestion
Change-Id: I3aa266342f20754cd26bedc4f0744eda7b7390cc
2020-10-23 13:15:49 +03:00
Tor Lillqvist
5de91a9707 Use correct branding
Change-Id: I3eda38c27e809dd73fa3d39b5e704a211b66fd6c
2020-10-23 13:14:12 +03:00
Ezinne Nnamani
a3b7a7c356 Created a cypress test for Clear direct formatting
Change-Id: I54ebe7fb81ca6598ba45f3cbed62474d103d055a
2020-10-23 11:52:52 +02:00
ihristova11
d6dfd80ee8 chore: bump eslint version to 5.0.0
Change-Id: I156d6a560130e232378dc3c6804a95f0ba03418d
2020-10-23 01:40:50 +03:00
Pranam Lashkari
0759ed7da3 leaflet: Shift+Enter will create a new line, not paragraph
Change-Id: I6a3f6ac133ccdccb0e208b283b09f818cfe321cd
2020-10-22 21:28:11 +01:00
Tor Lillqvist
0633b571eb Don't show jsdialog tooltips in the Android app, either
Change-Id: I4cf0434a1a1f8c6f8ab8e963f2c0881d0df2f173
2020-10-22 23:05:34 +03:00
Nicolas Christener
be98e41c2b Fix #391, Add "Actual behavior" to GitHub issue...
* add the "Actual behavior" section
* fix usage of colons

Change-Id: Ie5c11ac096d8f88e1e7985943edc58b8883b635f
2020-10-22 22:06:55 +03:00
Tor Lillqvist
1c63b4a236 In the iOS app, avoid tooltips for items created by the JS dialog builder
Change-Id: I6418a359fd5e1d263a8663ff27e82b05eff5c396
2020-10-22 15:50:30 +03:00
Ashod Nakashian
8190cf7869 wsd: allow some time between retrying saving
Change-Id: I9d923582057467141a3f4d0b260b982464b60511
2020-10-22 14:40:40 +02:00
Ashod Nakashian
c71998438d wsd: document forced storage saving and remove default args
Change-Id: Ic7fde18f07dfe848e219b4ebba30426277ae1287
2020-10-22 14:40:40 +02:00
Miklos Vajna
85e51bbb53 g review: update list of remote branches before checking for branch existence
This helps in case you deleted a remote branch using the GitHub web UI,
so the local view is outdated.

Change-Id: I98be33ea5712c66589f42b64e3462b76b84fbcc5
2020-10-22 14:32:55 +02:00
Jan Holesovsky
5999a5b7cc Action_Paste postMessage to work around the pasting mechanism.
In some cases, the integration needs to paste the data directly to the
document, outside of our mechanism that detects whether we should use
the internal paste, or not.

Change-Id: I5e5de09a990ed68451af34dd208a81391a0e9cfa
2020-10-22 09:25:22 +02:00