Commit graph

22967 commits

Author SHA1 Message Date
Andras Timar
5c48cbfeb1 coolkitconfig.xcu does not contain autoconf variables any more
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I52c42582f28eeff213229a9fa3a5ecf9e6bf3d1f
2024-01-31 09:37:22 +00:00
Andras Timar
49c0565fb0 update iOS specific translatable strings
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7b22d0af41b7e75dff7239b2a6c57e8b785b2f5c
2024-01-31 10:26:02 +01:00
Andras Timar
ce5ffecce8 iOS app version in Settings
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia33c6b25bdfbbe201b4aad74441944039d7906bb
2024-01-31 10:26:02 +01:00
Aron Budea
8e111f497d wsd: Add config to customize OS version info
Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I12abdd0755883acb7bae126ac3c9c999598b4428
2024-01-31 19:33:18 +10:30
Méven Car
b3f487b5d9 widgets: Add a time field
Signed-off-by: Méven Car <meven.car@collabora.com>
Change-Id: I9e3e280db4a0b1f3e3a9df5fe8b6e0bfd97ddaa5
2024-01-30 21:24:49 +01:00
Henry Castro
879c622bc9 browser: fix cell selection if ESC is pressed
If a cell is edited and suddenly press ESC key,
followed by Shitf + Arrow down to select more cells,
so the "uno:InsertMode" state arrives late and
it cannot update the row header selection.

Change-Id: Ib0e4e0699336e07d96efd96559f7b47caa285921
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-01-30 17:49:13 +00:00
Szymon Kłos
b085d3d214 cypress: fix writer/top_toolbar_spec.js insert special character
In 24.04 we activated dialog which informs about idle dialog.
It covers full screen so some tests fail on that.
Add {force: true} to ignore that in failing case.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I11a183deb91ca35a2ddecc63b62bcb82b8ad1d0f
2024-01-30 15:05:46 +01:00
Méven Car
090e4587dd widgets: combobox border-radius handle rtl languages
Signed-off-by: Méven Car <meven.car@collabora.com>
Change-Id: Ib9c6d8e972ff061223af4fa96a63b8e96d21e772
2024-01-30 13:50:44 +01:00
Andras Timar
a04b69b393 Bump version to 23.05.8 for iOS app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5143f0dce43a9e324a2499c2e1defcebbc3a94fe
2024-01-30 10:25:36 +01:00
Szymon Kłos
f623c6edb3 cypress: adjust to simplified notebookbar structure
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id8748b333354abe2f5f75fb081915f6558243587
2024-01-30 07:17:32 +01:00
Pedro Pinto Silva
4e203938aa Notebookbar: remove inline buttons' float and set it to grid (css)
With "notebookbar: simplify structure with css grid" (Change id
I21421da5395fb9a7e4063a40f85e6af64e267ada) there is no more the need
to apply float rules as the grid layout should be responsible for alignment.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie57ffc819f460178eceb03c6796e02a8bc2297e7
2024-01-30 07:17:32 +01:00
Pedro Pinto Silva
8400c1d280 Notebookbar: Don't target Zoomreset button by its id
Zoom reset button ("#zoomreset") was targeted by its ID:
- We shouldn't do this better to instead inherit css class if needed
- With "notebookbar: simplify structure with css grid" (Change id
I21421da5395fb9a7e4063a40f85e6af64e267ada) this becomes more
problematic:
  - Zoom reset button now is align to the top while occupying 2
  rows (hover effect display huge rectangle)
- To do: This button should be a big button instead

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Iaf93a648b10e380b1b8fd5a1cc12e2a88a2accf5
2024-01-30 07:17:32 +01:00
Szymon Kłos
3ddeab3ca8 notebookbar: enable dropdown for currency toolitem
use toolbar from notebookbar_online.ui in the core

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ibeba3acfdae69248ed4de5d6a2df43cb7d1bb47a
2024-01-30 07:17:32 +01:00
Szymon Kłos
2b9558373f notebookbar: simplify structure with css grid
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I21421da5395fb9a7e4063a40f85e6af64e267ada
2024-01-30 07:17:32 +01:00
Michael Meeks
fa80ecd2d0 sockets should use CLOEXEC ticket cool#8016
Change-Id: I5f59ed9446a1fda301bb4791f98ca7c1c137e606
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-01-29 21:01:39 +00:00
Rash419
65bd383000 release: upload helm chart to docker hub as well
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I5c9dfe8538478eff0fb947c5c0befbe262dc38da
2024-01-29 21:13:12 +01:00
Miklos Vajna
82915ab865 unit-bad-doc-load: fix this to pass again
Probably went wrong with bf8b9945ab304c3c4604ff296ff33b3f127accf7 (Warn
on non-async dialog usage when in debug mode., 2024-01-26).

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ifb92e0d9431f252cdf26ac92dd428b87e5d6e8e0
2024-01-29 20:50:11 +01:00
Miklos Vajna
e68c8617f5 cool#8023 browser, clipboard: add image paste testcase
Fails when we don't check for '<img' in Clipboard.js
_navigatorClipboardGetTypeCallback().

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Idde76a7da26bac624c15c316be8cac638032c848
2024-01-29 08:50:25 +00:00
Miklos Vajna
beb20e6ea4 cool#8023 browser, clipboard: add plain text paste testcase
Fails when Clipboard.js _navigatorClipboardReadCallback() doesn't check
for text/plain.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I1aa2ce52e48a8d03ec3af24f91a5eaced02f52b8
2024-01-29 08:50:25 +00:00
Miklos Vajna
f8bc853fda cool#8023 browser, clipboard: add external HTML paste testcase
This is the case when the HTML has no own marker and we actually parse
the HTML data.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I8b1690faccbc9ebc6c67557cde8897eccf641fdc
2024-01-29 08:50:25 +00:00
Miklos Vajna
d16ac21431 cool#8023 browser, clipboard: add internal HTML paste testcase
Fails with Clipboard.js _navigatorClipboardRead() returning false
unconditionally.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ib715cb205a1c01fb3c5208e88285124e68d3c232
2024-01-29 08:50:25 +00:00
Miklos Vajna
df46ae93bb cool#8023 browser, clipboard: allow injecting a dummy clipboard for testing
If tests are invoked in parallel, then interacting with the real
browser/system clipboard would lead to unreliable tests.

In practice this is already problematic, because we don't want to ask
for browser permissions when running tests.

Solve the problem by creating a dummy clipboard that can be overwritten
by a test in cypress_test/.

The actual test is not yet added here, this is just the infrastructure.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Icc9e3900dee7fb4b53454152e5cda13439569bdb
2024-01-29 08:50:25 +00:00
codewithvk
8b5613b03a fix: Impress: Dismiss snackbar on presentation window close
Resolved an issue in Impress's 'Present in Window' feature where the snackbar would persist even after closing the presentation window or pressing the escape key. Now, the snackbar properly disappears as intended, ensuring a cleaner and more intuitive user interface experience.

Signed-off-by: codewithvk <vivek.javiya@collabora.com>
Change-Id: Id491e39d88b433993b5ff83e10c3ca2b1eb8ab40
2024-01-27 12:41:32 +00:00
Michael Meeks
767fa5356d Revert "when exec'ing subprocess, only inherit stdin/stdout/stderr"
This reverts commit 8afaae86a8.
2024-01-27 12:03:53 +00:00
Caolán McNamara
0875d4a74a add pageup and page down to preview navigation
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I8000946e5d4c28288d0ad778b243ce8442c3b8c0
2024-01-27 11:44:48 +00:00
Noel Grandin
8afaae86a8 when exec'ing subprocess, only inherit stdin/stdout/stderr
we want the normal ones, so we see the output in our own console, but we
don't want the others.

It would be better to use posix_spawn_file_actions_addinherit_np here,
but that seems to be currently macos-only.

Signed-off-by: Noel Grandin <noel.grandin@collabora.co.uk>
Change-Id: Ifd42c51f68ca2f340b78066b381cdbc6a23f0abe
2024-01-27 11:26:44 +00:00
Noel Grandin
16228fa0ed speed up spawning/execing child programs
using fork(), the kernel needs to copy the VM data structures,
which can be quite large for the main COOL processes.

I looked into things like vfork(), clone() and using a helper-process,
but it looks like posix_spawn is sufficient for our needs.
Internally it uses clone(CLONE_VM) which means we avoid the VMA copies.

Also, simplify the arguments of spawnProcess,
we don't use the optional params anymore.

Signed-off-by: Noel Grandin <noel.grandin@collabora.co.uk>
Change-Id: I8f943541dc4d7f56c2d36ccbf7b78c40ec14b8e0
2024-01-27 11:26:44 +00:00
Neil Guertin
3162a42459 Add url parameter to launch with random settings
Sets random language and launches debug mode,
turning on the Randomize User Settings tool

Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: I5e06be624cd5383784ea640304980a82e76be229
2024-01-27 11:23:19 +00:00
Neil Guertin
e54ab27957 Encapsulate debug overlayData
Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: I768562e7e4a17d65338d0f5a64c4346e2f09f53f
2024-01-27 11:18:51 +00:00
Michael Meeks
6f749b1055 signal activity dumping: log sixteen previous activies not eight.
Eight is a little few with multiple users around.

Change-Id: I0fe3e8a463463b9d7f2bb3e9efdc4aa12e7777e9
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-01-26 20:03:45 +00:00
Michael Meeks
27a7199fbd Warn on non-async dialog usage when in debug mode.
Change-Id: Ic623ba04b9e2735735bfd3ecc8738e12942ddee0
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2024-01-26 20:03:45 +00:00
Henry Castro
22c11a3557 browser: fix "Uncaught TypeError: getSectionWithName"
Change-Id: I660ca7cbc9e6ce6eaa3834ebd3c2829c606bc045
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-01-26 17:13:48 +00:00
Neil Guertin
c4e7693ed3 Extract debug tools to new file Debug.js
Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: I20f42d24a6af91bdcf79dc7fe19e1cf25f90bd89
2024-01-26 11:55:17 -05:00
Caolán McNamara
8c3bf40bbe the viewrenderedstate=string string is only used in debugging
so we can pass through the full state that the view reports
which makes it easy to see if a browser side is given a view
whose render settings are unexpected.

e.g. clicking "formatting marks" and not getting a viewrenderedstate
with 'P' or view#1 clicks their "formatting marks" and view#2
receives a 'P'ilcrow state.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I31d3a8397f02dedf2505bed5dd83576f3138b504
2024-01-26 15:17:48 +00:00
Hubert Figuière
6b09a0fcc2 global: Add L.Browser.mac to not parse user agent everywhere
Signed-off-by: Hubert Figuière <hub@collabora.com>
Change-Id: I3ce0eaa5145c8d8bb40422c9b2d472579b0ec74f
2024-01-26 10:17:14 -05:00
Andras Timar
05334db969 Bump version to 23.05.8.2
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic4d50e2a63dd6519d3248ddb5ba87890e3ba3f68
2024-01-26 16:16:37 +01:00
Andras Timar
87f7853a56 Bump version to 23.05.8.1
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic576e7e74c9f0f4580c08faf1923f8056d543250
2024-01-26 16:16:37 +01:00
Andras Timar
2b84bb7ab9 Public key for verifying digital signature of official images from Collabora (cosign)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I664411a63c2cf518c340afc6f136033fc59bd5bc
2024-01-26 15:47:39 +01:00
Darshan-upadhyay1110
3be156804a Fix cropped userlist popup
- avatar popup list in the top right corener was getting cropped if we have multiple users ( like more than 10=12)
- this patch will make overflow auto and add scroll otion to tackel this issue
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: Id57539cb91a7f4a2a3766e6d01f0e6a00d3af92a
2024-01-26 12:57:10 +01:00
Darshan-upadhyay1110
c5c1de5993 Close all jsdialog when click or change the sheet tab
- jsdialog not getting close when we change tab
- this will close all dialogs whene we click on tab or change the tab

To test this patch
    - add 2 or 3 tab sheet in calc
    - add `autofilter` in any calc sheet tab
    - open autofilter popup
    - change sheet tab

Before this patch:
    - popup not getting close when focus goes away.

After: - all dialog should be closed now whene change the sheet tab.
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: I4eb308e499853a6e1d86b8dc7f60aa938e9c03b9
2024-01-26 12:56:43 +01:00
Miklos Vajna
cd37b892f0 cool#8023 clipboard: remove old marker
The old marker is stripped away when Chrome sanitizes the incoming
clipboard HTML. We used to go with both markers to allow an incremental
conversion.

By now, there are no remaining consumers of the old marker, so remove it
before somebody would depend on both markers by accident.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Ib9dd0e7cf64e1a99d6038a179651ef5e114c6f8b
2024-01-26 09:14:35 +00:00
Henry Castro
6013d78904 browser: remove 'tmp' dependency
It was a dependency of "pako" package, which it was removed.

Change-Id: Ia35b4c4ff9ee5e9ab1f09da398f6d93e51d24a1f
Signed-off-by: Henry Castro <hcastro@collabora.com>
2024-01-25 22:54:13 +01:00
Szymon Kłos
da3e22ff74 sidebar: reinitialize after reconnect only
It seems that commit 2d7743cb73
sidebar: initialize after recover from idle

Introduced a regression, in multi user case sometimes
sidebar is shown/hidden by other users. Also app was
slow sometimes what could be a sidebar reloading all
the time.

Revert previous single-init on docloaded and use dedicated
reconnection code to reinitialize sidebar.

This should still fix the problem that when doc become unloaded
with sidebar opened - after reconnecting it was not possible
to close.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I4c66d6e7ca0998ea4461ebca1aa401ca4d65a4a9
2024-01-25 22:17:18 +01:00
Szymon Kłos
50734d335e calc: avoid view jump when focusing formula wizard
Change from commit 85ff10db7a
calc: avoid view jump when using formula wizard

wasn't enough to fix the issue. When we receive grab_focus
action for widget which is hidden outside view - browser
will move the app view leaving blank space on bottom.

Steps to reproduce problem:
    1.    open spreadsheet
    2.    open function wizard (Fx icon next to the formulabar)
    3.    move dialog so it is almost completely outside view (edit field
          with focus has to be outside view)
    4.    select some function and click inside edit field for it's param
    5.    click on the sheet content
    Result: view jumps and moves everything up

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I02c5e7432f46d20ccb8ccb6d84395dddb6eb5409
2024-01-25 13:23:25 +01:00
Szymon Kłos
7cfd624c76 calc: don't jump on merged cell selection with split panes
This issue can be reproduced in spreadsheet with split pane
where some cell is merged and longer than a visible area.
Then every click on that cell will move view to the
beginning of the cell - we don't want that.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5649b8a24f0948d08ca5cc5b71f39844d620b52e
2024-01-25 09:58:31 +01:00
Szymon Kłos
b24a9183d8 cypress: test view jump on merged cell with split pane
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iec6ff179a28dce802d330a3f59ac484189a25c48
2024-01-25 09:58:31 +01:00
Milo Ivir
db903a3d1d Translated using Weblate (Croatian)
Currently translated at 100.0% (573 of 573 strings)

Co-authored-by: Milo Ivir <mail@milotype.de>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iddfec457d77716c1b71a42687935c49dc46a1a52
2024-01-24 22:16:14 +01:00
Software In Interlingua
4a01a28041 Added translation using Weblate (Interlingua)
Added translation using Weblate (Interlingua)

Co-authored-by: Software In Interlingua <softinterlingua@gmail.com>
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I441bc6b6cda63560bf6d27b1d759e3af690a8da4
2024-01-24 22:16:14 +01:00
Ayhan Yalçınsoy
2325319a24 Translated using Weblate (Turkish)
Currently translated at 100.0% (467 of 467 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/help/tr/
Translation: Collabora Online/Help
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2365cf1126492cd047057850e8746bb6dc00a199
2024-01-24 22:16:14 +01:00
Szymon Kłos
85ff10db7a calc: avoid view jump when using formula wizard
Steps to reproduce problem:
1.    open spreadsheet
2.    open function wizard (Fx icon next to the formulabar)
3.    move dialog so it is outside view partially
4.    select some function and click inside edit field for it's param
5.    click on the sheet content
Result: view jumps and moves everything up

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I0555fb72a1dcf6de5e969994229e7a36b7811028
2024-01-24 16:09:30 -04:00