Commit graph

19373 commits

Author SHA1 Message Date
Stanislav Horáček
48c1fc7f2e Translated using Weblate (Czech)
Currently translated at 100.0% (479 of 479 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: I117879a036b3ae561ac9dad0c50f4ebe3364694a
2022-12-13 11:13:30 +01:00
Sebastiaan Veld
9abb794d09 Translated using Weblate (Dutch)
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: Sebastiaan Veld <sebastiaan.veld@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5cb4dfefb4de7f125c44b347c128e87e97fa6ffa
2022-12-13 11:13:30 +01:00
Sveinn í Felli
916d750d03 Translated using Weblate (Icelandic)
Currently translated at 100.0% (479 of 479 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: Ic7b2291a8b4ed70d81893f0554fd97d29a8c90ad
2022-12-13 11:13:30 +01:00
Yaron Shahrabani
039a5ad7bc Translated using Weblate (Hebrew)
Currently translated at 100.0% (479 of 479 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: Ie4f0667406ab7a95bda56290a13497cdd72c5aee
2022-12-13 11:13:30 +01:00
Alex Gabilondo
7b6e47b860 Translated using Weblate (Basque)
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: Alex Gabilondo <alexgabi@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I9e5bdff6a7edea61a48f4fd4acf734131e1a5bcf
2022-12-13 11:13:30 +01:00
Ayhan Yalçınsoy
905abdc62e Translated using Weblate (Turkish)
Currently translated at 100.0% (479 of 479 strings)

Co-authored-by: Ayhan Yalçınsoy <ayhanyalcinsoy@pisilinux.org>
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: I8213efb280e33fd71f2f8b096fb4128eb101433a
2022-12-13 11:13:30 +01:00
Adolfo Jayme Barrientos
95b06ad650 Translated using Weblate (Catalan)
Currently translated at 100.0% (479 of 479 strings)

Translated using Weblate (Asturian)

Currently translated at 53.2% (255 of 479 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.1% (470 of 479 strings)

Translated using Weblate (Galician)

Currently translated at 68.0% (326 of 479 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (479 of 479 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (479 of 479 strings)

Translated using Weblate (Asturian)

Currently translated at 53.2% (255 of 479 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (479 of 479 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (479 of 479 strings)

Translated using Weblate (Asturian)

Currently translated at 52.1% (250 of 479 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (110 of 110 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
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/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/gl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt_BR/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iad6b2cda2dc02dffb636a306e84147dbf33b1da4
2022-12-13 11:13:30 +01:00
Pedro Pinto Silva
bf2618d2a7 References (compact view): Always show bibliography
And just disable them when engine is not present

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6504197f096b4e48d075ee0d631217cb576f4a22
2022-12-13 09:05:59 +01:00
Pedro Pinto Silva
4dd3b733e9 References: Move missing items to compact view menu entry
- Move menu entries (that are exclusively related to references)
to References menu
- Add Missing menu entries to References menu so it has 1 to 1
parity with References tab (tabbed view)
- Update text in some menu entries so it follows what has changes
in the tabbed view
- Add separators

Note: Footnote and endnote action were also kept under insert
menu because it seems user are already very used to that. So,
now they can be found both under Insert and References menus

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Icde47f88f60c8423b9af3f6f3793bb8da056adde
2022-12-13 09:05:59 +01:00
Szymon Kłos
aeac944e4b Reinitialize notebookbar after Zotero init
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I697c87bbd995800bdd69358f139fa8537fb70077
2022-12-13 09:05:48 +01:00
Szymon Kłos
45184adba9 Zotero: show categories list
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I6ecf4dd2dd26ce9f420ebe52edd06bf534575e7d
2022-12-13 09:05:48 +01:00
Szymon Kłos
7b6100d1b4 Zotero: show dialog while waiting
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I161795b2d1125b9846b0a6baa96432aeba64bef3
2022-12-13 09:05:48 +01:00
Szymon Kłos
a3862571f8 notebookbar: don't show border under tabs
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ia0b54c0751f0fb3abb9e862b79895c44e890e3e2
2022-12-13 09:05:48 +01:00
Ashod Nakashian
b6cd92dbcd wsd: test: modernize password tests
Change-Id: I8059c22424a337c5f4480f39d6fc6af0886cb1a4
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 18:17:14 -05:00
Ashod Nakashian
16712eadb3 wsd: test: logging fixup
Change-Id: I25fe200c18b322f4e73a8466419d3f864e7b899e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 08:00:05 -05:00
Ashod Nakashian
13b1534f16 wsd: test: cleanup exitTest logs
There is no reason to print the test name
explicitly when each log entry is already
prefixed by the test name.

Change-Id: I72c0a0f2989a65f477902b97e6be816446fba5c3
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 08:00:05 -05:00
Ashod Nakashian
a7541058ca wsd: test: do not assert after test failure
After failing a test, any assertion will simply
pile-on and add noise. There is little benefit
in seeing assertion failures (and especially
core-dumps) after a test has failed.

This change silently suppresses assertions if
a test has failed already.

Change-Id: I5146f12692c0275579510dfac7ef7b37d5af86d0
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 08:00:05 -05:00
Ashod Nakashian
0a90349f33 wsd: test: correctly calculate test timeout
Now that we may have multiple tests in a
given Test Suite (i.e. a since unit-test
.so module), it is important to calculate
the timeout not from the total elapsed
time, but form the start of the *current*
test.

To that end, we capture the start time
on the first checkTimeout call, which
gives us the elapsed time from the very
start of the Test Suite. Using this, we
offset the elapsed time to arrive at
the time the current test consumed.

Change-Id: I01ebc3572bc147a3dabac7e1fb3237ea6d479116
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 08:00:05 -05:00
Ashod Nakashian
798712301f wsd: test: support keepgoing option
Change-Id: I397e9225972e5b50b5b9c91b44ba75bc829bfb04
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 08:00:05 -05:00
Ashod Nakashian
8051543a51 wsd: test: proper test options
Change-Id: Icfe5125b8fcf1ec902fff19c594cd1ffa598de71
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 08:00:05 -05:00
Ashod Nakashian
0146f65c7c wsd: test: minor cleanup in UnitBase
Change-Id: I2e857456895e8070ec9d2479e526186d411191b2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 08:00:05 -05:00
Ashod Nakashian
c707b4dc58 wsd: test: better assertion of test target
Change-Id: I9a13ff49aa6c9fb76e5c43b1934322b97727dddc
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 08:00:05 -05:00
Ashod Nakashian
b9a3115833 wsd: test: add decodeURIComponent
This decodes strings encoded using
encodeURIComponent.

For now, it wraps Poco::URI::decode,
which should be replaced in the future.

Change-Id: I608b327be81aeda37d2afc4dfd29828658e92dc8
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 08:00:05 -05:00
Ashod Nakashian
eca0914e16 wsd: test: support silent assertions on success
Housekeeping assertions in tests can be noisy
and unhelpful. There is little advantage to
logging them on passing as, unlike the
assertions in tests, they don't represent
any particular progress in a given test,
nor are they specific to any test either.

Change-Id: Id1005264b7c75f01c241e36a53f24f2c656406f8
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-12 08:00:05 -05:00
Szymon Kłos
0ba87d1de8 Remove unused zotero variable
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7755122da3f1a1f62ece19fb2248e76c707ca6e4
2022-12-12 13:35:29 +01:00
Szymon Kłos
85661a92c0 Fix Zotero in Notebookbar
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8dd8d6c2792066cf602f0b9cc9d33cc5fbf24d98
2022-12-12 13:35:29 +01:00
Andras Timar
a077c4288b Put all Zotero logic to browser
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib1b071b96322511b7f319ff6b851e902b3556fbb
2022-12-12 13:35:29 +01:00
Gökay Şatır
37ee5bc600 Update image_family to a newer supported version.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I7ed2db3c2223407c6d846882206897d57c7e85ca
2022-12-12 13:09:35 +03:00
Pedro Pinto Silva
907079ea83 Bibliography: use icons for each action independent of engine used
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I96f92a4269c711652f6cac64de0ae461bc69bc42
2022-12-09 16:06:03 +01:00
Pedro Pinto Silva
c0a1c1aead UI menu: Add references compact mode menu instead
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I92d0502a6f8268e28e4f2eabc5cd722b58e53a2d
2022-12-09 16:06:03 +01:00
Pedro Pinto Silva
054af102ce UI Tab: Bibliography add additional buttons conditionally
note: Ideally we would always add the buttons,
but when the extra capabilities are not available we would
switch the trigger for all of those buttons to be a warning
dialog

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7359fe222eff31920b78116e69b45aa60cb15790
2022-12-09 16:06:03 +01:00
Pedro Pinto Silva
d5a6d36c85 UI tab: Bibliography improve labeling
Use keyword citation in multiple buttons so they can be
easily understood and grouped

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4104bdcbb555ee3f4a2b446ad70583e00727cab1
2022-12-09 16:06:03 +01:00
Pedro Pinto Silva
690bd3d425 UI tab: bibliography should be independent of engine used
Thus, Remove Zotero dedicated tab and menu
 - Add instead to existing references tab
Also remove dedicated top menu (compact)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8b056ac17fceb0bad2c9a864faeaf3ed2eec8d9d
2022-12-09 16:06:03 +01:00
Pedro Pinto Silva
2e25609359 Add zotero actions to menubar (compact mode)
Also make sure that new menu is only visible if zotero is
available

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I0893515dbc5495aa8251fc9ca795fea357400e6c
2022-12-09 10:18:05 +01:00
Rizal Muttaqin
3828e1fa47 Add colibre themed zotero icons
Signed-off-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Change-Id: I675dfc86cf9e500adae8c407e06403b3cd624864
2022-12-08 13:16:32 +01:00
Pedro Pinto Silva
826920e41d Improve Zotero tab's layout and add additional placeholder btns
Also rename the current testing button (Citation Style) to be used
temporarily as doc pref.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I70c434a42034a1ee0d729e4aa855b37e5d195950
2022-12-08 13:16:32 +01:00
Szymon Kłos
f6d2786df9 Don't scroll when cursor still visible on the screen
When we have 2 users:
A is typing on the page 0
B is at the bottom of the document

We scrolled view B when page overflow happened what caused
"flickering". This patch prevents us from scrolling when
cursor is still on the screen and visible.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id8f3a12ba566a4b2fd03bf3ab5aa618f8e00c263
2022-12-08 13:16:12 +01:00
Andras Timar
764d443a69 Zotero is a proper name, not for translation
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifaaa5386dc70341672ab97026a6cc1e99c10eaa6
2022-12-08 10:42:35 +01:00
Pedro Pinto Silva
431ba6206f Introducing Zotero tab
- Prefer to show zotero related actions within a dedicated tab (instead
of adding those within references tab as it was previously). This,
hopefully is more familiar to user using similar interface elsewhere
- Show this new tab conditionally (if zotero is enabled)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1690295724d54693aca68ade567e9d1076f26876
2022-12-08 10:14:13 +01:00
Pedro Pinto Silva
0321254443 Fix UpdateCurIndex string
Avoid using `Current Index` (uno text) and instead set custom
string that is easier to understand

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5057b7c974a5bd33f8af5b93f5bf6a85af916f98
2022-12-07 16:42:32 +01:00
Ashod Nakashian
4e5e9de6c2 wsd: test: reduce assertion logging on each sendCommand
Change-Id: If0b0a4a4bfbfa0c1e83e62291771cc4beb4dea13
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-07 17:33:11 +03:00
Ashod Nakashian
8bbf7717db wsd: change message logging level to trace
Messages are high-frequency events and logging
them at debug level is too noisy. Increase the
level to trace.

Debug level should produce legible entries that
outline the main activities, rather than log
each message. That is best done at trace level.

Change-Id: I722ab8b58e0adcab6ecb2f8c571966af0d952051
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-07 17:33:11 +03:00
Ashod Nakashian
d01b73456c wsd: catch mounting exceptions to fallback
In some cases mounting fails on /tmp, which
should be writable. This results in Poco
exception when trying to write to it during
mounting.

This catches exceptions and fails gracefully
to enable falling back to copying.

Change-Id: I38c8db4f452767ee43bb20a98d13bd5cc36fdba2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-07 17:33:11 +03:00
Ashod Nakashian
155dfcee88 wsd: test: reduce the UnitWOPISlow test doc size
With the latest gcc and Core, debug builds load
and save is substantially slower. The size of
the test document for UnitWOPISlow was 100s
of pages, which took minutes to load and save.

This reduces the size and re-sorts the tests
to minimize the total run time.

Change-Id: Id1ca10d882c5ffcd1ea894279b21fedb06f287f7
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-07 17:33:11 +03:00
Ashod Nakashian
fb4ba26ccd wsd: mark save results early and log duration
Capture the save result early and log how
long it took to save, for informational
reasons.

Change-Id: I0ca04a5b62a2dda38a058f8fa5ca62df33cc0555
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-07 17:33:11 +03:00
Tor Lillqvist
c8d176ead9 No need to cd back before exiting a shell script that is run as a command
The autogen.sh script is not supposed to be sourced ("source
autogen.sh"), but run as a command ("./autogen.sh"). After all, it has
the executable bit set. Also, the function called "failed" in it does
an "exit" at the end. That would be a rather rude thing to do as soon
as something goes wrong if the script is sourced.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ia0e4bbb2b9bed93fb4dba5c0f46a1760ec6e50d7
2022-12-07 15:06:16 +02:00
Ashod Nakashian
b2aff3e817 wsd: pass ClientSession to forwardToChild
Change-Id: I2d78687adf9e5a64b75f586b53bf983f3c8d8119
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-07 07:53:09 -05:00
Ashod Nakashian
98687db97e wsd: pass ClientSession to sendUnoSave and simplify
Change-Id: I155c896a3f5520a31ce5f413e0c59c2e93701ad1
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-07 07:53:09 -05:00
Ashod Nakashian
44aeb9e705 wsd: pass ClientSession to uploadAsToStorage
And move the validation of rename sessionId
where it belongs.

Change-Id: I3fb16ff7b648accaa20b041bf3fd6b82f516cb9b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-12-07 07:53:09 -05:00
Andras Timar
f9f858ab67 zotero: fieldmark should be read-only
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If9d816932ff074c40ee159a8c36885c5bdda9fac
2022-12-07 13:44:00 +01:00