Commit graph

20056 commits

Author SHA1 Message Date
Pedro Pinto Silva
ccc90c2403 Do not error out when inserting empty hyperlinks
Plus always good to inform the user of what is happening

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia9a85062f525139f716669e9cdacf444d6055274
2023-02-02 10:31:46 +01:00
Pranam Lashkari
a8cd0ef8ab feature locking: fix custom uno command handling of menu items
adding 'uno' field to menu items broke some custom feature handling
removed '.uno:' from the command and if uno field is missing add lockUno field

it is a revert of a6cc06a with some additional changes

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I1cce37c0d943be5f2cd1ec53f363fbbd73464ac8
2023-02-02 09:25:33 +01:00
Szymon Kłos
a135af0db4 Show error when user not provided extension for export file name
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ida96cc7b972ba1b72f596319bcc8129d6218fd92
2023-02-01 12:16:12 +01:00
Andras Timar
719ae9bf4f Bump version to 22.05.10.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I90710c1ea62d42741de59928342c9afbf3b5f13c
2023-02-01 00:14:09 +01:00
Andras Timar
1f503b8681 Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I92a7619a862fc36085a3964f4836600bf174b328
2023-02-01 00:11:22 +01:00
Pranam Lashkari
4a33dfc1eb zotero: fixed setting browser cached language for citation unintentionally
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I4ac11900b0f000e3acd4cb4dc1768852d133e85b
2023-02-01 00:03:21 +01:00
Pranam Lashkari
7cc870d8fc zotero: show warning citations storage type can't be changed
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I76c6ea8989ac9c5496fc497be5e56fab1d44b1ee
2023-02-01 00:03:21 +01:00
Pranam Lashkari
e9a885d32f zotero: introduced support for endnote and footnote citation
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I8429e81c58e72e846ce39de47e883ab6c96c8ebe
2023-02-01 00:03:21 +01:00
Besnik Bleta
f7c650c5b2 Translated using Weblate (Albanian)
Currently translated at 99.0% (109 of 110 strings)

Translated using Weblate (Albanian)

Currently translated at 0.0% (0 of 110 strings)

Translated using Weblate (Albanian)

Currently translated at 100.0% (22 of 22 strings)

Translated using Weblate (Albanian)

Currently translated at 50.1% (229 of 457 strings)

Translated using Weblate (Albanian)

Currently translated at 15.0% (69 of 457 strings)

Translated using Weblate (Albanian)

Currently translated at 96.8% (493 of 509 strings)

Translated using Weblate (Albanian)

Currently translated at 14.6% (67 of 457 strings)

Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sq/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sq/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7c421af6ce5301b420b3422984e0aba7f544133c
2023-01-31 22:46:30 +01:00
Matthaiks
f7749d2509 Translated using Weblate (Polish)
Currently translated at 100.0% (457 of 457 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifdb044737bb89cb72f201b31935c64aff2c10d05
2023-01-31 22:46:30 +01:00
Marc Rodrigues
f88023fd0d Translated using Weblate (German)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (German)

Currently translated at 100.0% (509 of 509 strings)

Co-authored-by: Marc Rodrigues <marc.rodrigues@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ie2748b3550aae618c0033cbc8decddb74592cfc8
2023-01-31 22:46:29 +01:00
Milo Ivir
16d6c41125 Translated using Weblate (Croatian)
Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (509 of 509 strings)

Translated using Weblate (Croatian)

Currently translated at 100.0% (110 of 110 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I31259145559ea3ad50d42de491e6b809a1d4cb7c
2023-01-31 22:46:29 +01:00
Szymon Kłos
f5b1aa8f43 calc: allow to select mutliple columns using mouse
click and drag mouse pointer on row/column headers to
select them in calc

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I3d62269692ffe47269bd6b7db04175c0cdcfb4bc
2023-01-31 15:54:06 +01:00
Szymon Kłos
a523aba4ba formulabar: allow copying using keyboard
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I59c9ee634c4799be421649f99fca3c9be6656781
2023-01-31 15:53:07 +01:00
Szymon Kłos
f290a0829a jsdialog: allow arrow up/down navigation in multiline edit
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1e8ace0c0dae2e06f8d64788b9316e6e1914d7ab
2023-01-31 15:52:17 +01:00
Szymon Kłos
8bc3ed7d54 jsdialog: don't use jQuery in multilineedit
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I1808693c3e9b10d533a60e59f55ac293239235dd
2023-01-31 15:52:17 +01:00
Szymon Kłos
96230dddec jsdialog: move multiline edit widget to separate file
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie47125930166ac966d057cd48c8e91b43f781bee
2023-01-31 15:52:17 +01:00
Ashod Nakashian
4ee99c992d wsd: test: add timezone tests
Currently these tests share the Language tests,
but in the future they can have their own home.

Change-Id: I8e3c0ea08bc28624f03bd8e3441d8419607173eb
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-31 15:38:08 +01:00
Ashod Nakashian
0f9dc9460b wsd: support per-user timezone
Change-Id: I5e2318a34cb39d8d56ec3cf4977ebd75588a7627
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-31 15:38:08 +01:00
Rash419
7e06860ddf js: get full uri from indirection server
instead of just routeToken

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I3755fc2536d4358d2c63effdc9e9f9e5da246504
2023-01-31 15:32:30 +01:00
Rash419
c5fd805619 admin: added new admin->client command
routing_rmdoc command is added specifically to notify indirection url
server about document getting removed with its wopiSrc

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ic077f210d520394e3ef8ced778604b7343436328
2023-01-31 15:32:30 +01:00
Rash419
f63d07bdea wsd: store routeToken in server
- added routeToken in ClientSession::createPublicURI

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib4a211e69d96589dd735ba8e32ddbe5f98c96509
2023-01-31 15:32:30 +01:00
Rash419
c1dbe39a29 admin: monitors configurable with remote config
- make sure online connect to unique monitors
- able to disconnect monitor if uri doesnot exist in updated
  json

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ia6cfd6c8e56416c37d211aae55828c92a4ba27e5
2023-01-31 15:32:30 +01:00
Rash419
2529fa9ee2 notify client when route tokens get updated
- once client get notification it will update the routetoken
by refetching it from indirection url endpoint
- added support to configure indirectionurl enpoint using
remote config

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Iead22af56c655bdece6b70cc4e97a1fa401b1bae
2023-01-31 15:32:30 +01:00
Rash419
b9914a3042 js: added routeToken as parameter in wopisrc
fetch route_token from indirectionurl and add them in wopisrc
parameter

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I6e724d0c59e12d4f7f6c125ec076e90d20b9b3c8
2023-01-31 15:32:30 +01:00
Pranam Lashkari
c7dcca6a16 zotero: added warning for unreachable citation items
In cases where zotero item is added by a user and another user opens the doc,
if the new user does not have that item in the database, he may fail to do activity related to that item,
so we warn the user when we are setting up the zotero

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I9056f38334cb8d9b127ddb594adb083d25bd4472
2023-01-31 09:51:17 +01:00
Pranam Lashkari
321e27b8fc zotero: extracted repeated code into a function
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I6240558e67682b8a00d7c23437523a7170211545
2023-01-31 09:44:41 +01:00
Pranam Lashkari
26744fe861 zotero: added support for uncited and omitted bibliography
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I7d19db38e468da8f405b1d618a60dc3c9231a42b
2023-01-31 09:44:41 +01:00
Gökay Şatır
13387b8df6 Enable deleting page / part with keyboard after a preview is clicked on.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Icffb947bbe0fb11326a9f5478aec16912248fe0a
2023-01-31 09:40:54 +01:00
Gökay Şatır
2c8cf5bc96 After one the previews is clicked, allow using the arrow keys for navigating between previews.
Left and Right arrow keys are also allowed.

If user presses one of the other keys, focus will be set to map again.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I3786ed4b9ef04deb7e3e05f157843fc30f3dc76e
2023-01-31 09:40:54 +01:00
Gülşah Köse
7c3035b2ed Keep focus on map after hyperlink dialog closed
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I9b74978f7778a9772f69e0d3ad982945cd646120
2023-01-31 09:38:20 +01:00
Aron Budea
5947c08302 browser: Make navigation shortcuts work in read-only mode
F5 for slideshow, too.
Regression from 47c52b90f3

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I056703f575460076693b245f790c7284854162be
2023-01-31 09:36:05 +01:00
Ashod Nakashian
5263305685 wsd: test: cppunit include cleanup
Change-Id: I562cba7de39589088d7c87d43523457e77e7b7f2
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-30 07:52:08 -05:00
Ashod Nakashian
92c36dadd9 wsd: test: start next test only after destroying the current
Change-Id: I6924ff288fddd1ad5315b2bf19345d541682bc92
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-30 07:52:08 -05:00
Ashod Nakashian
7569f2bcd2 wsd: test: wrap DocBroker destroy callback
This prepares to start the next test
when the DocBroker of the current one
is destroyed.

Change-Id: I3a9672d8d03ad497f15a9bca262dfe1d4f197e41
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-30 07:52:08 -05:00
Balázs Varga (allotropia)
ceb1ba5668 WASM: Copy all the necessary files from builddir\wasm
to browser\dist, otherwise it has to be done by hand after every
wasm build.

Signed-off-by: Balázs Varga (allotropia) <balazs.varga.extern@allotropia.de>
Change-Id: I46c432116d0d42016dfc1573009d284f82c52114
2023-01-30 13:26:59 +02:00
Pranam Lashkari
e6e4aad796 zotero: restric user from changing field type
if document contains existing zotero citation,
restrict user from changing the field storage type.

currently online does not have any ways to change the field type
maybe in future we can add some core APIs to support this

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I58caf403744431d34344f5a1cb635781409d7e68
2023-01-30 10:34:33 +01:00
Szymon Kłos
61e76e0b0b jsdialog: convert delete slide modal from vex
can be found in menubar -> slide -> delete

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I04db9d5a071a229c1a964c3c512582eff05256bf
2023-01-30 09:02:48 +01:00
Tor Lillqvist
a07f81388c I don't see the reason to use the intermediate libonline.a for WASM
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I520aa232f6ac51a6a57f36d8ac775150aa095a4d
2023-01-30 10:02:06 +02:00
Tor Lillqvist
b360c21c7f Avoid warning: deprecated item in EXPORTED_RUNTIME_METHODS: printErr use err instead.
We don't seem to need it anyway, so drop.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Idcccb3e46de692f179f0c01b5179eb43b816dcd5
2023-01-30 08:10:17 +02:00
Tor Lillqvist
c944348ad7 Adapt to newer Emscripten SDK
Newer Emscripten SDKs no longer provide <sys/epoll.h> and
<sys/inotify.h>. The corresponding functionality is not present, I
assume.

Until now we have been using Emscripten SDK 2.0.31 and that is still
the recommended known-to-work version, but I am experimenting with the
latest, 3.1.30.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I26e89dc38554548aee3ce2dbf6ba352917ba6266
2023-01-30 08:10:17 +02:00
Tor Lillqvist
4417ec556b The poco-no-special-expat-sauce.diff wants -p0 to apply
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Ib0b7227996a7fc9b79ad976cc73b7f8dbbd6ce34
2023-01-30 08:10:17 +02:00
Tor Lillqvist
78b0e82f98 There is no need to call lok_cpp_init() here
LOKit will be initialised in the lok_init_2() call in lokit_main() in
Kit.cpp. This change also puts setting and getting the LOK_OPTIONS
environment variable in the right order.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: Iee6f5adcb60bb887083c67666c2d597a15686bf9
Signed-off-by: Tor Lillqvist <tml@collabora.com>
2023-01-29 22:05:20 +02:00
Tor Lillqvist
457c17d7f1 Use COOL log level 'error' instead of 'trace'
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I50285b974403e95f48106950a81a1ea9bbd95b86
2023-01-29 21:23:44 +02:00
Ashod Nakashian
afefa43a58 wsd: better storage attribute handling
Change-Id: I80ee9ddda00769c5ef34f5f3d7265fd6c5f8648e
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-29 08:53:31 -05:00
Ashod Nakashian
fac3f05859 wsd: test: add UnitSaveOnExitUnmodified
This tests the headers when always_save_on_exit
is set.

Change-Id: I1aa2d11db79f525f2d94ced8702514d5b3535fc8
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-29 08:53:31 -05:00
Ashod Nakashian
2e48738dc8 wsd: fix always_save_on_exit
This fixes the handling of the
always_save_on_exit=true setting.

Change-Id: I6993030c2af7fa080c8421c5cb4fa7cb9ea3eb9b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-29 08:53:31 -05:00
Ashod Nakashian
8e2c238ee9 wsd: test: better UnitWOPISaveOnExit
Improves stability by closing the document
only after uploading has finished.

Change-Id: I20927a5d009998d9d7a25c3309fef02a45077c70
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-29 08:53:31 -05:00
Ashod Nakashian
dd141f0a4b wsd: merge the storage attributes after uploading
This fixes a corner-case where we modify and
save during uploading, which means that the
next save will not have any modifications,
and we will not merge the attributes until
we get new modifications.

Change-Id: I621e26e04ea3e0d04a9a3d535ff2cfc607d56fef
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-29 08:53:31 -05:00
Ashod Nakashian
325c27997b wsd: test: add IsExitSave check in UnitWOPIAsyncUpload_Close
Change-Id: I80936316fb172e5a4ef1811a66d061e63ea0bb27
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-01-29 08:53:31 -05:00