Commit graph

12627 commits

Author SHA1 Message Date
Andras Timar
b41bb14f1e
Update README.md
Transifex->Weblate
2020-10-08 21:11:12 +02:00
Tamás Zolnai
57f8ffa384 cypress: test for shape's filling settings.
Change-Id: Id1693e566ba7ee69c356cd5b73c1ce9e4ef8f1c1
2020-10-08 20:19:46 +02:00
Tamás Zolnai
0d26f0e250 Reenable some shape related tests.
Change-Id: Ie62d61edd02672f00646dcb072319ccebcc9240b
2020-10-08 20:19:46 +02:00
Tamás Zolnai
1114858a86 cypress: update chart related test.
Change-Id: I1fd3af1e4d21e31340f9d8ad97a2cf597e9374c7
2020-10-08 20:19:46 +02:00
Tor Lillqvist
4eea5bd4e8 tdf#129371: Handle Cmd-A, Cmd-C, etc in _COWVKMKeyInputControl
We can't let the normal UIResponder and UITextView mechanism try to
handle the clipboard (well, "pasteboard" is what it is called on iOS
and macOS) commands as the UITextView has no idea about the *real*
document being edited. The paste command in theory might work, but
best to let LibreOffice core handle that, too.

Change-Id: Id130708ceb5718660af26367538a17a14238843b
2020-10-08 20:33:57 +03:00
Tor Lillqvist
bbb737951a Unconditionally print any debug messages posted from the JS
We don't have any such messages permanently in the code anyway, so we
don't win anything by doing it through the LOOL loggin mechanism at
level "trace".

Change-Id: I2c18e1cd561f797d2c4c20b403d5faedce695062
2020-10-08 20:33:57 +03:00
Tor Lillqvist
91f6352fe7 tdf#129371: Add a 'unoCommand' command to COKbdMgrCallback
In an upcoming change, CollaboraOnlineWebViewKeyboardManager will
start producing that. That seems to be one (the only?) way to get
Cmd-C, Cmd-X, etc working again.

Change-Id: I79d6d89426048d7539769c5eb85914cfddbe8807
2020-10-08 20:33:57 +03:00
Yunusemre Şentürk
e27c4d65dd Enable port 9980 on gitpod container
Change-Id: I717c0e69cee9ecea61e82c1bb3755e4abf15655b
2020-10-08 19:03:07 +03:00
Pedro Pinto Silva
1d26aa3724 Notebookbar: avoid duplicated unused ids
Change-Id: I2aa8f868d2e70f0386fc680d29fd505279ec4687
2020-10-08 17:07:52 +02:00
Pedro Pinto Silva
4ff72fde7b Add alt text to generated buttons
Change-Id: Ieea2501eb4bc343173cd3a8fd2f0ee823d57a9fc
2020-10-08 16:17:37 +02:00
Allan Nordhøy
c59fce896d Added translation using Weblate (Norwegian Bokmål)
Added translation using Weblate (Norwegian Bokmål)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 98.8% (344 of 348 strings)

Translation: Collabora Online/UI
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nb_NO/
2020-10-08 14:53:08 +02:00
Miklos Vajna
3ce20bae68 DocumentBroker::sendRequestedTiles: avoid nullptr _tileCache
Change-Id: I467c7ca451b4f72f4f1205e965be2dd602d6d69d
2020-10-08 11:59:08 +02:00
Szymon Kłos
915a98108a Use image if present in the clipboard
When image is copied in the browser we have two mimetypes
in the clipboard: text/html and file with image.
If html contains only img then use image file because
in Calc and Impress html pasting will result in pasting
as a text without images (Writer uses better HTML reader).

Change-Id: If2962476cdc6c8d75d23bacbf31bfaf519394aed
2020-10-08 10:37:18 +02:00
Miklos Vajna
11897f2db7 Introduce Util::make_unique()
In the old code, if the evaluation first allocates the memory for the
raw pointer, then calls firstLine() and an exception is thrown before
the std::unique_ptr construction, then the memory is leaked. Using
make_unique() has the benefit of avoiding this problem.

Convert only a single usage, so the remaining places can be done as easy
hacks.

Change-Id: Iaf3d8051a8a0627a57fdf1196bde7d5f8612fcff
2020-10-08 09:53:37 +02:00
Muhammet Kara
4885a074af GitPodify COOL - Initial support
Web based, containrized, ready-to-use dev environment & IDE.
https://gitpod.io

Open in GitPod: https://gitpod.io/#https://github.com/CollaboraOnline/online
* You will have the environment, but you might need to
  run the build commands yourselves

Force to prebuild: https://gitpod.io/#prebuild/https://github.com/CollaboraOnline/online
* This should come at the point make command stage is completed

We will also enable auto-prebuilds on each push,
and add a button to get a prebuilt/ready env

TODO:
* Open port(s) to be able to connect to COOL while running
* Add missing VSCode extensions if any
* Enable prebuilds for push events
* Add button on README

Change-Id: I726a7fb0693cd39109c88b86b3d6941e0210c249
2020-10-08 00:30:29 +03:00
Jan Holesovsky
91870004d4 android: No need for the LibreOfficeApplication any more.
Better to set the MissingSplitsDetectingApplication directly in the
AndroidManifest.xml...

Change-Id: Ic6d3af3e81ade56d228aaf06ec6bb89e43121fcf
2020-10-07 18:43:51 +02:00
Andras Timar
f4e52a81d8 The non-implemented WebDAV host was cleaned up, so let's kill these references, too.
Change-Id: Ib677fd35c9a2a1d72f2d8b4de0d37f92c691dded
2020-10-07 18:41:43 +02:00
Miklos Vajna
08f80fe7f6 notifyirc: rename this to "IRC Notification" to be more clear
To make it clear this is only for IRC, nothing else.

Change-Id: I559d5471cb5d1cc97d4e302d1e7dab203289d09f
2020-10-07 17:01:56 +02:00
Miklos Vajna
8ce855525a notifyirc: stop listening on pull_request and create events
PRs are no longer announced, neither the creation of tags.

Change-Id: Ia15f4f87e23e00172ff92085b2b394463ecce18e
2020-10-07 17:00:53 +02:00
Jan Holesovsky
d26248b666 Fix build with ./configure --disable-setcap.
Change-Id: I1bb1b898f990b2353ff5956af4db9d25c46521f4
2020-10-07 17:58:24 +03:00
Gabriel Masei
21373089c0 Unit test for skipping ModifiedStatus from deduplication
Change-Id: Ie20da2f0060b86c05b1f45e930f31ca5cab6d9fa
2020-10-07 16:16:54 +02:00
Tamás Zolnai
b4bfe69de0 cypress: reenable some impress tests.
removeShapeSelection() method was updated in the
meantime to work with the new canvas layer.

Change-Id: I107f9dd45c66464c10025b938677e6fcee38b360
2020-10-07 16:12:01 +02:00
Tamás Zolnai
7dfb91cbad cypress: more effective testing of saving.
Change-Id: I2d32597e7ed55a6b470b0a6d0c40d94ce3a96c2d
2020-10-07 16:12:01 +02:00
Andras Timar
607095f57a Restore Hungarian welcome file
Change-Id: I78becf6583ccdbedcfb43c4623b9dc03dd1b91d7
2020-10-07 16:01:11 +02:00
Andras Timar
19a782c46f Translated using Weblate (Hungarian)
Currently translated at 20.0% (1 of 5 strings)

Translation: Collabora Online/CODE Welcome message
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-message/hu/
2020-10-07 15:56:11 +02:00
Andras Timar
026f06cffd trying to resolve merge conflict with Weblate
Change-Id: I257dfdeac3f905128aa34cb1f5f311abc91bab7a
2020-10-07 15:53:23 +02:00
Andras Timar
fe39dd9c6a Translated using Weblate (Hungarian)
Currently translated at 20.0% (1 of 5 strings)

Translation: Collabora Online/CODE Welcome message
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-message/hu/
Change-Id: I804e21a699d53874b10393a8336f7352b1f74039
2020-10-07 15:46:37 +02:00
Andras Timar
380570bcb9 Translated using Weblate (Basque)
Currently translated at 99.5% (416 of 418 strings)

Translation: Collabora Online/Help
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eu/
2020-10-07 15:42:37 +02:00
Andras Timar
f5c2028448 Update welcome messages
* update Polish
* remove extra <div> and </div> tags added by Transifex

Change-Id: I70ee06234961a8b41f29f593e1c5a0789ac3abf3
2020-10-07 15:32:26 +02:00
Jan Holesovsky
e4f801a594 Add also the pre-commit and post-merge hooks, they are useful too.
The pre-commit is a bit stripped down compared to the LibreOffice
master.

Change-Id: I162ec1007fa1db5bd8fca522d712db50dafaf998
2020-10-07 15:04:58 +02:00
Ashod Nakashian
08dc42bdaa wsd: log the exception message
Change-Id: Ie9b9cfe38645809c57cec40afbcccc1da87386e1
2020-10-07 08:50:23 -04:00
Ashod Nakashian
eb122ec0a0 wsd: allow URIs without access_header or access_token
URIs may or may not have authorization data specified
via access_header or access_token query parameters.

In the event that the host doesn't have such needs
(for example authrorization could be performed by
some other means), we should accept the request
and still go ahead and make the WOPI request
all the same.

This patch effectively reverts the changes from
a019c93d90 which threw
an exception when the authorization method was
undefined. Since there was an assertion to warn
programmers that something is amis, now we simply
log the fact in trace mode and move on.

A new unit-test is added and another one that
expected the now-removed exception has been modified.

Change-Id: I26cc2514d7465b344037a6e32b777c0fe0ba9a2c
2020-10-07 08:13:29 -04:00
Tamás Zolnai
9c9cbc72da cypress: add comment insertion test for desktop.
Change-Id: Id1ddd25bc4315a5023cbce0c52eadb8227b9eada
2020-10-07 14:12:56 +02:00
Tamás Zolnai
43e22a9a43 cypress: add a paragraph property test for desktop.
Change-Id: I3240846a976322103c20f09c380f3a0796ceee98
2020-10-07 14:12:56 +02:00
Tamás Zolnai
85291d9cfe cypress: add a top toolbar test for desktop.
Change-Id: Iff8ee5d737d66748e22000e8ae728cbb162cbef0
2020-10-07 14:12:56 +02:00
Yunus Bulut
e982a8665b Remove WebDAVStorage in Storage.hpp #111
Change-Id: Ic95b7354ed3448c0ae77cae338d8eb2bbc01e4e5
2020-10-07 14:55:26 +03:00
Yunus Bulut
35ad7d4265 Destroy WebDAVStorage and <webdav> section #169
Change-Id: I7ce095f722599a37b82e8789baeb6145028dd10d
2020-10-07 14:55:26 +03:00
Andras Timar
53f5e98ec3 Add BOM (Weblate needs it?)
Change-Id: Ia61c7bd23c43739303f02e2d36f13e333cf6a804
2020-10-07 13:43:36 +02:00
Miklos Vajna
9619517a10 git hooks: enable them automatically during 'make'
So one can't forget enabling them.

Change-Id: Icb595e9d0711227eaa6f11c1a9ff87f2c361e0bb
2020-10-07 12:54:47 +02:00
Andrea Gelmini
9d01540680 Fix typos
Change-Id: I7d487f32ca43e19023760ef3c6bb1683607f93d1
2020-10-07 12:51:08 +02:00
Andrea Gelmini
6e7f2a1f84 Remove executable bits on gif file
Change-Id: I2b7d10c26ab50f8154ab12047375d2dab5a24b22
2020-10-07 12:50:45 +02:00
Andrea Gelmini
42d835ca45 Fix typo in code
Change-Id: I363845df1aa0ad39ecf1e97838e6457475ecf512
2020-10-07 12:50:23 +02:00
Andrea Gelmini
b2360fec3a Removed duplicated include
Change-Id: Id6ba6e769b3c0ec5493ee32e2abbc00e441388ec
2020-10-07 12:48:04 +02:00
Andrea Gelmini
596b26c7d9 Fix typo in code
Change-Id: I0ef8fe7ff382d7cb295aa8054721448d9bf8e477
2020-10-07 12:46:37 +02:00
gokaysatir
41b04527f4 Online: Hide right clicked sheet. / Online side.
When user hides a sheet, it is hidden even if sheet is not the active one.

Change-Id: Iccedf8a7600da54556e5a6ff8fcfb8a5f7bba426
2020-10-07 10:21:17 +02:00
Pedro Pinto Silva
88ed22fe37 Desktop: Top menu: Fix contrast issues
on elements with .disabled class by increasing contrast ratio
from 1.6:1 to 5.5:1 (> WCAG AA)

Change-Id: I28b0de258657ec34db0f3251cffe32dc41bfd511
2020-10-07 10:17:40 +02:00
Pedro Pinto Silva
6abb99d18d Clipboard: add hidden label to textarea, make it visisble to screen readers
Change-Id: I6f135752f8eacfcd2c97cd56ffc9826e36657a89
2020-10-07 10:17:40 +02:00
Pedro Pinto Silva
2f046c0a36 Search input: add label, hide it but make sure screen readers see it
Change-Id: I22ec2d4221afe18b000480eb2edebc00aca1cf01
2020-10-07 10:17:40 +02:00
Pedro Pinto Silva
9b352038f2 Document name input: Add label, hide it but make sure screen readers can use it
Change-Id: I7f1d0c248829c61726f0083cfc6196fd20066c4c
2020-10-07 10:17:40 +02:00
Pedro Pinto Silva
573409c8f6 iFrame resize-detector: Fix screen reader error on non-readable content
* provide a title to indicate that it's on purpose left blank and to pass automated tests
* be sure to hide the content altogether from screen reader users using aria-hidden="true"

Change-Id: Ia86eded442777d695ef399fe4bee95ac89000549
2020-10-07 10:17:40 +02:00