Commit graph

12933 commits

Author SHA1 Message Date
Miklos Vajna
32517390e8 git hooks: commit msg: allow to opt in for auto-sign-off
Just the subset when author and the committer is the same.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Icff594a6a82bd0395e31f8e46cb56cb0e046e638
2020-11-04 14:37:27 +01:00
Ezinne Nnamani
bb30f7c346 Created the cypress test for Increase Indent and Decrease Indent attributes in Desktop Writer
Change-Id: Ia374c80d3574b44792381af201dafcfc5b275bff
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-04 12:07:34 +01:00
Miklos Vajna
db10f7f81e git-hooks: check for signed-off-by in the commit-msg hook
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ic85bb838dfb236b7f1a244fd79f8ebeee0453a80
2020-11-04 09:33:13 +01:00
Tamás Zolnai
e9652b99b2 cypress: NC: disable printing also in Impress tests.
Change-Id: I2b2b12094ecaff828803418bf30372265e7855b3
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 22:00:16 +01:00
Tamás Zolnai
0a0d2b89cf cypress: NC: fix restore previous version test case.
Change-Id: I9b5eb6ffb8e938e30a3817f01e57e6c89ca30add
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 22:00:16 +01:00
Tamás Zolnai
4a9174cf5f cypress: NC: deduplicate file loading test code.
Change-Id: I296316366ace68ba4b559c2d82e54623d0738aa7
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 22:00:16 +01:00
Tamás Zolnai
f8b46ffa6b cypress: fix syntax error in selector.
Suprisingly the tests were not failing on this.
It might be an issue in cypress itself.

Change-Id: I27f6bc93a5a2880a00bfd1e0a0ced3e0b7b9b97c
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 16:06:07 +01:00
Tamás Zolnai
ad6839488b cypress: NC: in NC the sidebar is not visible by default.
Change-Id: I37d8f436fc528568f449a58e43ccc7ed8142c866
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 16:06:07 +01:00
Tamás Zolnai
3cceb15b06 cypress: NC: fix hamburger menu related tests.
Change-Id: I219621c7376cd9e84fc635a960ba17dd77cfbf57
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 16:06:07 +01:00
Tamás Zolnai
6d37d7aa6d cypress: NC: disable save related tests.
In an NC environment reopening a document is not that easy.

Change-Id: Id18042dc08ab82c0538b03c17ecf6c9fb697cb23
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 16:06:07 +01:00
Pranam Lashkari
42604c686d leaflet: removed context menu options with tunnelled dialogs
Change-Id: I51b15dc8430193ee5ba145cf7d1f72a3cde6a5c5
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
2020-11-03 15:40:17 +01:00
Pedro Pinto Silva
eee430a4ef Fixes issue 237
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2c05bfc1a8906d6b67e3736174132e5cac9d0052
2020-11-03 13:24:21 +01:00
Ezinne Nnamani
9cd86f28be Created cypress test for Justify, Toggle numbered list and Toggle bulleted list attribute on Desktop writer
Change-Id: I392a312ac887b294bc63d4502a0f8f4645a05e84
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-03 11:24:58 +01:00
Tamás Zolnai
221c02af36 cypress: NC: disable normal image insertion test.
On NC we have different options for image insertion.
In the feature, it would be good to create NC specific
tests too for image insertion.

Change-Id: I540bbe0ddd66e3a2a4560282fd48f9f9002f970d
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 10:20:19 +01:00
Tamás Zolnai
67d63553b1 cypress: NC: hide firstrunwizard more effectively.
Change-Id: I4a8bc873dc1657a0e554ec6132f5fc41531bb3d3
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-03 10:20:19 +01:00
Ezinne Nnamani
2975a266ef Created cypress test for right align attribute on Desktop writer
Change-Id: Ie0128ce0a6f20fe401cea231d0114abe64724ba7
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-03 09:19:34 +01:00
Andras Timar
2b6b9d897e Add support for .vsdx (Visio) files
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I277c6a2a85ac594f8af0525db4faf7861c1080e5
2020-11-03 08:50:34 +01:00
Ezinne Nnamani
335b00d04f Created cypress test for center align attribute on Desktop writer
Change-Id: I81e9765f7c2aa6811ec6ae4f15d37c9ba3d7532c
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-02 20:46:06 +01:00
Tamás Zolnai
65d67c771e cypress: php-proxy: fix insert hyperlink test.
The dialog is opened before the selected text content
arrives to the client.

Change-Id: I40fbc5e415c197515609304a047f0e5e303ae800
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-02 20:44:53 +01:00
Tamás Zolnai
255224abca cypress: php-proxy: disable new image insertion test.
It's a known issue, that image insertion test does
not work with php-proxy.

Change-Id: I0cd22ff4a96893c386fce28c5ef87716fd7b9b71
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-11-02 20:44:53 +01:00
Pranam Lashkari
580eecf87d leaflet: fixed DOM leaking on annotation remove in mobile
An extra annotation element was added but never removed
This was not a functional problem
But not a good practice and also made cypress hard to maintain

Change-Id: I53fc7d55154a601c52f89e35b9236f5ae66b46fd
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
2020-11-02 14:42:23 +01:00
Ashod Nakashian
0d031e19ef wsd: move HttpHelper namespace from Socket to its home
This is non-functional change to have all HttpHelper
members in a single place (HttpHelper.cpp).

Clang-format is applied and FileUtil::Stat is used
instead of a naked stat(2).

Change-Id: I663e2eb3070e873bd1f4477b60e45b0086d29f4e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-11-02 07:56:03 -05:00
Ashod Nakashian
8f2ded18da wsd: misc minor cleanup
Change-Id: I39911e6a6b16661173ae69e39d353e517857f282
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-11-02 07:56:03 -05:00
Ezinne Nnamani
4fc7b1a255 Created a cypress test for Insert chart on Desktop writer
Change-Id: I1cd38fdcf1fa42257d75d02ecf4e2ccb1bd716fc
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-02 12:58:33 +01:00
andreas kainz
f532a3f4d4 Shape icon update
Change-Id: Ie53422acd8835a7544cd4af2c5728b08b1535fbe
Signed-off-by: andreas kainz <kainz.a@gmail.com>
2020-11-02 12:08:36 +01:00
Ezinne Nnamani
a4b4027f42 Created a cypress test for Insert Shape on writer
Change-Id: I689845328981d9dbfe34cc71eefebb802315a85e
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-11-02 11:13:10 +01:00
Andras Timar
06f61c199a Updated localizations
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id09b3c5da8c39bd9ebd6b97df8786bef04446282
2020-11-02 11:11:15 +01:00
Lukáš Jelínek
bfac2ed811 Translated using Weblate (Czech)
Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (418 of 418 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (355 of 355 strings)

Co-authored-by: Lukáš Jelínek <devel@aiken.cz>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Change-Id: I6f4216dbd83ae1fa63e52364e562e08eb4a1f0b4
2020-11-02 11:06:08 +01:00
Rob Pearson
d46b2c6282 Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (355 of 355 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (355 of 355 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (355 of 355 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (355 of 355 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: Ic37fbff56cd14205a330556453d6451844d6f5a4
2020-11-02 11:06:02 +01:00
Adolfo Jayme Barrientos
4a290fdc38 Translated using Weblate (Spanish)
Currently translated at 100.0% (355 of 355 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (355 of 355 strings)

Translated using Weblate (Asturian)

Currently translated at 45.6% (162 of 355 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/es/
Translation: Collabora Online/UI
Change-Id: Ice8ab9dd38d02ddffb78918dfa512231686e882a
2020-11-02 11:05:56 +01:00
Sveinn í Felli
bf74304cf1 Translated using Weblate (Icelandic)
Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (Icelandic)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Icelandic)

Currently translated at 65.7% (275 of 418 strings)

Translated using Weblate (Icelandic)

Currently translated at 100.0% (355 of 355 strings)

Added translation using Weblate (Icelandic)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translation: Collabora Online/Android lib
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Change-Id: Ifc49dc4ef19672cc299e6cccf3b9744f53a79dd2
2020-11-02 11:05:49 +01:00
Rash419
8d122bf522 added postmessages in debug mode
Change-Id: I808aa8a7b99d15129b130e4e42b9e6fd95ee0515
Signed-off-by: Rash419 <rasheshpadia419@gmail.com>
2020-11-02 12:14:39 +03:00
Pranam Lashkari
83eb5e6dc7 leaflet: fixed jquery error on hovering over menubar
regression caused by 0da5c3a2

Change-Id: I005943ddfff7d4208dc432fec5836862c1f3638e
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
2020-11-02 12:19:16 +05:30
Muhammet Kara
0b9648445c Translator credits: Space after comma and tabs-to-spaces
Change-Id: I412b035cf25f7ec40164d0d187881177c7de0f4e
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-11-01 23:00:15 +03:00
kuesji koesnu
8e53541734 edited behaviour: if you pass csv input file with --csv parameter you get output in single line with comma seperated format.
Signed-off-by: kuesji koesnu <kuesji@koesnu.com>
Change-Id: I4ed2299f917aa3bc899d9d2c62ffe7926e65498c
2020-11-01 22:14:20 +03:00
kuesji koesnu
591a5ac9b2 added --csv file argument for taking author list from comma seperated format
removed mail addresses from author list

Signed-off-by: kuesji koesnu <kuesji@koesnu.com>
Change-Id: I369794dfb0db978c890b7691e4101f8fdf316302
2020-11-01 22:14:20 +03:00
kuesji koesnu
668eabffa4 this script searchs "Translated using Weblate" message in commit log and generates list of translators.
Signed-off-by: kuesji koesnu <kuesji@koesnu.com>
Change-Id: If6b1ae1dd9de66138dff0c35a1f6ea98e61c12ca
2020-11-01 11:58:14 +03:00
Muhammet Kara
404eed2187 loleaflet: No trailing whitespaces
Change-Id: I0dd9c22a0e28110f33a4a53e867d5141319cc3b3
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-11-01 00:47:10 +03:00
Ayhan Yalçınsoy
c1df79e229 loleaflet: Towards eslint 6.0.0 #396 - no-prototype-builtins
The "extends": "eslint:recommended" property in a configuration file enables this rule.

In ECMAScript 5.1, Object.create was added, which enables the creation of objects
with a specified [[Prototype]]. Object.create(null) is a common pattern used to create
objects that will be used as a Map. This can lead to errors when it is assumed that
objects will have properties from Object.prototype. This rule prevents calling some
Object.prototype methods directly from an object.

Additionally, objects can have properties that shadow the builtins on Object.prototype,
potentially causing unintended behavior or denial-of-service security vulnerabilities.
For example, it would be unsafe for a webserver to parse JSON input from a client and
call hasOwnProperty directly on the resulting object, because a malicious client could
send a JSON value like {"hasOwnProperty": 1} and cause the server to crash.

To avoid subtle bugs like this, it's better to always call these methods from Object.prototype.
For example, foo.hasOwnProperty("bar") should be replaced with Object.prototype.hasOwnProperty.call(foo, "bar").

See: https://eslint.org/docs/rules/no-prototype-builtins

Change-Id: Id7723f0f0ed81e074f56955f80eda3d70241294e
Signed-off-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
2020-11-01 00:47:10 +03:00
Ashod Nakashian
5f07da1298 wsd: privatize public members
Change-Id: Iab57b946cc29814155fccde9b1fbb0c6697b8c26
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2020-10-31 15:07:53 -04:00
Ezinne Nnamani
3622bbf612 Created a cypress test for Insert Hyperlink on writer
Change-Id: I6056962c7602859b5975d1e2b4da3d033c53dc4a
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-10-31 09:39:39 +01:00
Pranam Lashkari
002e1832c6 leaflet: added missing useCanvasLayer method
Change-Id: I8fa415ff28f0251ea31793f025b8e57b2a8d3744
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
2020-10-31 13:36:00 +05:30
andreas kainz
d1b13ddb43 Menubar Writer Format section update #433
Change-Id: Iaa494b4267c328ce6b133317c0f5de2aef411552
Signed-off-by: andreas kainz <kainz.a@gmail.com>
2020-10-31 01:43:10 +01:00
andreas kainz
d1e119b8ff Menubar view - move sidebar to other show/hide items
Change-Id: I6bd6bf447aca5831c0decba62e24e8aefe7edde8
Signed-off-by: andreas kainz <kainz.a@gmail.com>
2020-10-30 23:06:29 +01:00
Marc Rodrigues
a308453fe4
Update README.md 2020-10-30 16:50:12 +01:00
Ezinne Nnamani
23a5cddfa9 Created a cypress test for Insert Image
Change-Id: I8f7a56f34b8e6bcd7cad269112864e9ed9250ce3
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
2020-10-30 13:34:10 +01:00
Jan Holesovsky
6a0241f3cf mobile calc: Fix the row / colum headers to match the grid.
When we are not using the CanvasTileLayer, we still have to have a
different CSS pixel size (ie. default the _corePixelsPerCssPixel to 1).

The rest (update of the check whether we are using the canvas) is just
cosmetics.

Change-Id: Ie0e7002ac776ab6b0a7c550cf28473f41c5c5e77
2020-10-30 11:22:49 +01:00
Andras Timar
f786244a0b Revert "wsd: temporarily avoid race-conditions when creating documents"
This reverts commit 4410c51b3879c9291b465dea3a59c2e65e94c361.
Reason: this issue should be fixed in the integration that caused the
problem in the first place.

Change-Id: Id41eb66979e4c08dd3b9fd6499e01b4690526541
2020-10-30 11:21:43 +01:00
mert
ffaf53d3ef Make Themeing related CSS vars UI Configurable
Change-Id: If6e4096dc37573ff116f218ceb4ca14135820ff7
Signed-off-by: mert <mert.tumer@collabora.com>
2020-10-30 11:20:00 +01:00
Tamás Zolnai
d3ce9d0a31 cypress: NC: hide firstrunwizard.
Change-Id: I3b02cbe19578db2ecc8bcb597faa575a1552b55f
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-10-29 17:56:18 +01:00