Commit graph

17677 commits

Author SHA1 Message Date
Mert Tumer
c30d8cafba android: Fix ppt files are not saved
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I432abf87b6638bb81878dd2fb611d4f26af59500
2022-02-18 17:59:59 +03:00
Mert Tumer
22ed644e0c android: fix xls files are not saved
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ida85063885fb0537191aa84712e9df1c6837ecb6
2022-02-18 17:59:59 +03:00
Mert Tumer
9d1b4e95ca android: fix uncaught exception documentSigningUrl
use empty string in mobile app since it is not used

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I699c348c01ad06b7e720499a615e2c9a27bbf630
2022-02-18 17:41:15 +03:00
Michael Meeks
96b15bd704 Count and report on various internal exceptions.
An initial set of seven of these, easy to add more as/when needed.

Change-Id: I6c65e052d00f9eaa10adee3c9464043e4c594848
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-02-18 13:51:41 +00:00
Pedro Pinto Silva
6a4f634630 PostMessage examples: Improve form formatting
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3bc508600c1ad6531cd88bf5c4ef972d21f10fae
2022-02-18 14:34:46 +01:00
Pedro Pinto Silva
a84f6a96a7 PostMessage examples: Add Insert_Button example
fixes: #4039

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I82e8ec731efd392d720103527e1a3719c8685c63
2022-02-18 14:34:46 +01:00
Alexandru Vlăduţu
307472875c browser: support inserting remote image via postMessage
Signed-off-by: Alexandru Vlăduţu <alexandru.vladutu@1and1.ro>
Change-Id: I1b1acee0770b1d650afad12b54c62ccace63a696
2022-02-18 11:49:37 +01:00
andreas kainz
b91d75b321 document-logo use 16px app icons
update the menubar.css file to make the icon size 16 x 16px
add 16px x-office-* icons so that no scaling is needed.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If6d84218920e8200e644fa8ded5c950f61c02197
2022-02-18 08:34:21 +01:00
andreas kainz
bab1d1ec7d Menubar use var for background-color at dropdown menues from the menubar
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I82565cd811bc4b0b71c39670a88e0fe21fa91d70
2022-02-18 08:32:52 +01:00
andreas kainz
820c365479 Toolbar Dropdown Widget arrow use --color-main-text
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I5cc8e47148df5b5a68fed75d4b0298ee930b7792
2022-02-18 08:32:36 +01:00
andreas kainz
55a5c8a743 Spinfield use now --color-text-dark cause it also use the select background
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If250f52c7b21f5683ee6223466107addf01f4acc
2022-02-18 08:32:20 +01:00
Ashod Nakashian
52f2600cf9 wsd: test: embue all tests with a name and unify logs
Now the remaining tests that didn't have a name
get one and the logs are unified between old-
and new-style tests. Mostly.

This makes sure that all logs and assertions
properly log the test name and make test
failures easier to debug and fix.

Change-Id: Id159ffacc81642a6ec594c5143498408adab67cf
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
74cf0857d9 wsd: test: CPPUNIT_ASSERT -> LOK_ASSERT
Reduce direct dependency on CPPUNIT further.

Change-Id: I9ca39c20a9c64f983aed1a6488446e0b7f21cffe
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
df98f0c4f0 wsd: test: modernize UnitWOPIVersionRestore
Change-Id: I94d271b055d6666b59188284eee0b9bc0bd18744
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
c92fb35309 wsd: test: dump DocBroker state when tests fail
Change-Id: Idc98847d6b54ff8057a232022fa62531a2bb3ced
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
f8b05a0f83 wsd: support unattended runs
With --unattended, do not wait for a debugger
upon seg-faulting. This avoids the unnecessary wait
that prolongs failed unit-tests in automated runs.
Now run_unit.sh and Cypress Makefile set this flag.

Note that the wait only happens when in debug
builds, or when envar COOL_DEBUG is set. This
prevents us from waiting when running a debug
build where we can't see the output, or indeed
the run is on a CI build machine.

This flag can also be used by devs when reproducing
failures where there is no interest in attaching
a debugger. The logs are shorter and more
readable, too. At least in trace level.

Change-Id: Ice15482c6724abc47f5955402295198eb7f671ee
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
5d10e27fee wsd: test: move DocBroker events to UnitWSD
Change-Id: I233b5f95265458b5e13347e8061c019847e1ca4d
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
17ef1a4b80 wsd: test: more consistent test logging
And some include cleanup.

Change-Id: I3807553bf2abe6d36c5cc521bc82e5b089ae91ea
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
4fcd07b172 make: silence chmod failure on missing path
Change-Id: I38d302377a26f2ebe4a734b5f16286613e762891
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
08702df63f wsd: add getSystemClockAsString helper
Change-Id: If6cfa07b48d0d08060987f831fa926f5cf9214a7
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
4369d14c14 wsd: test: terminate promptly when tests finish
No need to wait for a 'clean' shutdown when
a test finishes, regardless of the results.

Change-Id: Ie242d716ad681506a1272c8dd2e8cf1a2b91e69c
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
3d04a857bd wsd: test: improved and simplify test logging
Build-time unit-test output is now only
displayed when the test fails. This is to
reduce noise while building when not helpful.

Change-Id: I273d97dae192a24e9a1ae9f662b0fcd7ff555b75
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
2b8944b96e wsd: test: add more DocBroker test events
Change-Id: I89df4709049184e90be21882053b8adfdcbaa868
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
6bf5771376 wsd: test: track wopi operations
Change-Id: Ibd65d3cc29e665510379e72abd7ff1e0f214cc91
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
11dc26b9dc wsd: test: make WopiTestServer less public
Change-Id: Idf28f0a93cab0abcfdf3e518fa08bb06d6eaedd6
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
39e29cf3dc wsd: test: remove inherited logic from UnitWOPIDocumentConflict
Change-Id: I433d0aaa661ad607fc029a52989d806e8364d037
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Ashod Nakashian
44796fc6c9 wsd: test: improvements
Change-Id: I2ed744f8d1a8a472645e5db46789226d6d3ba04a
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-17 18:52:48 -05:00
Andreas_K
8ffea18007 Revert "Update Save icon to use cloud icon instead of floppy disk"
This reverts commit 3d25bad4e7.

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ifd288eb7499ff9b789baaff614996704f8cf27c7
2022-02-17 17:00:25 +01:00
Mert Tumer
85310c888c fix sidebar can be visible on pdf
it appears that sidebar callback can arrive before
docloaded message when it is already loaded in the background
Also app.file.fileBasedView parameter is set after docloaded
so it wasnt a correct fix. perm: message arrives before document
initialization and we can hide sidebar unless the arrived messsage is
not 'edit'. if the user have edit mode, it will be up to the users preference

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ifb220d8bb8baad0078bcd32f71ee6853d31adfb8
2022-02-16 15:27:14 +03:00
Tor Lillqvist
41cab506b0 Turn ctrl-left-click into right-click for browsers on macOS
Not sure why the browser doesn't do it automatically. Ctrl-left-click
works on normal webpages just fine, it is equivalent to a tap with two
fingers on a trackpad. (Which, I think, is what Mac users most often
use. That is equivalent to a right-click.)

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I1f0daf0929b41e25a58456bd995f1463c873c42c
2022-02-16 13:04:49 +02:00
Pedro Pinto Silva
b79b8d3b28 Remove border color from #toolbar-up on mobile except calc
improvement upon d9e766c19a
- On calc we need that border since we have the formula bar component

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7d4c255654bf570a2fa4ac11a9df978f36f22971
2022-02-16 10:41:52 +01:00
andreas kainz
9793882e01 Notebookbar shortcutbar layout update
Notebookbar

 -   Updated save and burger menu in the
    shortcuts-bar color follow --color-main-text
 - savemodified use var color and modifier was added to save
   icon in the file tab

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: If12b9cf5e294982298c4ef392eeac9e12d0ef800
2022-02-16 08:55:48 +01:00
andreas kainz
8f69c5b2b8 Hamburger icon update
icon
 - hamburger menu use --color-main-text
 - so all stuff in the header area use the same color

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Id3361c0f58d5ce12bd1d312bd7aa303fe2071282
2022-02-16 08:55:36 +01:00
andreas kainz
3d25bad4e7 Update Save icon to use cloud icon instead of floppy disk
ordinary you use cool at a cloud storage
and didn't save on a floppy disk

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I91ce93b8c0cb21176a561a7da70abc621ee31e22
2022-02-16 08:07:24 +01:00
andreas kainz
251933b199 Notebookbar add Save command to file tab
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I82f5d8275571292ffa4568954e97f376cae61b04
2022-02-16 08:07:12 +01:00
Michael Meeks
60b76efe82 Count bandwidth use during stress testing.
Change-Id: I48e1540795f0992833d4c4365d4a9d0da7a48442
2022-02-15 19:44:08 +00:00
Tor Lillqvist
46e6f6b4ba Introduce symbolic names for the UNO key codes and modifiers.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I1c97f4a8f1ad7ca1d788357399b4fac0f28e74c2
2022-02-15 13:39:47 +02:00
Pedro Pinto Silva
69175404c3 NB: Hamburger menu: Remove items present already within tabs
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6d5dce4c3cd31baa9e103b5e09559c4994fe6f86
2022-02-15 12:20:54 +01:00
Mert Tumer
3d85f153bd fix copy comments breaking the canvassection completely
core sends same id for copy comments and this breaks the
existing implementation because sections are named based on the id.

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Ia410227b7a42ac8ea7682f12aa980b34ee5c940b
2022-02-15 13:27:58 +03:00
andreas kainz
d548f380bb Icon update for sidebar
Classic Toolbar
 - Update print icon without blue

Sidebar Icons
 - use svg icons instead of png
 - update sidebar icon
 - update statusbar icon

goal for the updates were less visual disturbing

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I27f0d6bd6aa9c0df41ef5e7763bb1bcf97c1f10b
2022-02-15 07:18:04 +01:00
Andras Timar
86a3d53b7a Bump package version to 21.11.2.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5ab6ef7a5ff1fdf49b57cc475b8f5bdaedf1422a
2022-02-14 22:16:18 +01:00
Ayhan Yalçınsoy
b928c7fcae Translated using Weblate (Turkish)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: PhD. Ayhan YALÇINSOY <ayhanyalcinsoy@pisilinux.org>
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: Icd24424822b70e571bf75a3d4b8bf9946eedecd5
2022-02-14 22:14:06 +01:00
Luna Jernberg
738d7a8360 Translated using Weblate (Swedish)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If6989f513a88ffb826cd643c94db2703b758e8d2
2022-02-14 22:14:06 +01:00
Ihor Hordiichuk
fb8009f023 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (429 of 429 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: I435fe97e0065a292c957a9e591a28eb24a7b0d73
2022-02-14 22:14:06 +01:00
Martin Srebotnjak
a3ceeef58c Translated using Weblate (Slovenian)
Currently translated at 100.0% (429 of 429 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: I13da21d7057aa27123b9ca4ba93d646efba75c84
2022-02-14 22:14:06 +01:00
SC
d39a56d83e Translated using Weblate (Portuguese)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib221497e3b0ba406e91ef5b1a2eb201987c5fb59
2022-02-14 22:14:06 +01:00
Matthaiks
ca7b61c43c Translated using Weblate (Polish)
Currently translated at 100.0% (429 of 429 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: I9426ab52f6ce75090a62fd6ad7827ce4417269c7
2022-02-14 22:14:06 +01:00
Sveinn í Felli
d58fc6eb6c Translated using Weblate (Icelandic)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I11a910652665753597f1b890799b80df48bb630b
2022-02-14 22:14:06 +01:00
Yaron Shahrabani
df17c6e0b7 Translated using Weblate (Hebrew)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5b8b19586870bf6389875f1b42e30b1b45c2de93
2022-02-14 22:14:06 +01:00
Nathan
c8699900a4 Translated using Weblate (French)
Currently translated at 100.0% (429 of 429 strings)

Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I041b32ff370537472c6f7261868ab100000de6f1
2022-02-14 22:14:05 +01:00