Commit graph

20594 commits

Author SHA1 Message Date
Andras Timar
7e88b1160b rpm: fix path of setcap
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I737a3d298d457d608e5ccb377afa847ddadf2c4c
2023-05-15 09:09:37 +02:00
Szymon Kłos
8e81725635 jsdialog: make expanders work correctly
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I37a679fac92073172b7960a8d9a4eb116dd441d6
2023-05-15 07:55:22 +02:00
Szymon Kłos
7311927c15 jsdialog: fix snackbar css rule
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie7442eb5f9b15556989e478718e07d34e65d0eab
2023-05-15 07:55:22 +02:00
Szymon Kłos
afbf052bb5 jsdialog: use minial size of a dialog needed
Use 'position: absolute' in jsdialog-window and jsdialog-container
so we don't stretch the dialog. It will use minimal needed size.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I7b38b9200e190cfc184bf4bfe8b7bd814c60d5a6
2023-05-15 07:55:22 +02:00
Szymon Kłos
fd71e664b6 jsdialog: fix jumping ans dragging Page Style dialog
when html document has <form> and inside <button> with
id=style, instead of having map with properties in
style attribute, the form has reference to the button!

that caused not working dragging and updating the position
in writer format -> page style dialog

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic3e35c096f537e6f3cdd4bd7b1a06af1302e7c9e
2023-05-15 07:55:22 +02:00
Szymon Kłos
e8e1e261dd jsdialog: dialog adjusted to size of biggest tab
this uses css grid to position all the tabs stacked
on each other at row 1 col 1. then when tab is hidden
we use 'visibility: hidden' instead of 'display: none'
so we hide content but leave white space needed for it.
this way we don't change dialog's size on tab switch when
tab has different size requirement, but we match dialog
to the size of biggest content

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I634e9f610c4e6dda4df38b85ee15cd58b3b18432
2023-05-15 07:55:22 +02:00
Andras Timar
fc19d7cb00 rpm: compatibility with older systemd versions
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5674b74e7b2ac06ade0b34b33513d2100105b10d
2023-05-14 23:31:38 +02:00
Andras Timar
39e83470a8 Remove distro-specific code from rpm spec file
We'd like to build distro independent rpm packages.
Distro specific macros and other code were removed.
The empty environment file for systemd was removed, it can be
easily created by the user, if necessary.
The obsolete trigger for rebuilding the systemplate was removed,
because we no longer copy system libs to systemplate.

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I0ac9be8f72a7089e38349abc1dff0d39b0410e44
2023-05-14 21:29:00 +02:00
Jaume Pujantell
cfe1fd955f enable export to pdf for readonly documents
Signed-off-by: Jaume Pujantell <jaume.pujantell@collabora.com>
Change-Id: Ibcd149d51b20df552a0961c58b7c9159fbf0af9e
2023-05-14 14:43:07 +02:00
Henry Castro
107509260b browser: fix bundle exceptions
builddir != srcdir

Change-Id: I0c129d2bc9ea11fc0d46b37a72faa6a32a69b002
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-05-14 14:40:24 +02:00
Gülşah Köse
da19d1b39f Impress Draw: Fix insert field buttons
Draw: We should use uno:InsertPage* commands instead of uno:InsertSlide same
like compact view. We should use "Page Count, Page Number" instead of
Slide count Slide Number as button text. "Slide" word should be used for
only impress.

Impress: We should use InsertPage* commands instead of InsertSlide* same
like compact view.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I91989d4d61b65bd3b719753300a14a5177ca9e95
2023-05-14 14:22:56 +02:00
Gülşah Köse
4220305fb6 Fix the layout of page number diaog #6285
Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: I00bd8d75a2e0ae509f78eda3ae1af687da088419
2023-05-13 22:32:09 +02:00
Gökay Şatır
9018e3f174 Enable one writer desktop test in track changes spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I3d465f331bda1f2619939e8d6d9ca89ef95a0026
2023-05-13 15:10:08 +03:00
Gökay Şatır
9a680bf2c7 Enable skipped tests in desktop writer top toolbar spec.
Remove notebookbar tag and use switch UI functionality.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I49cfc7340b7ef07d06b0b7c37d24d88127c03735
2023-05-13 10:26:44 +03:00
Gökay Şatır
e433c42cc7 Replace notebookbar tag of writer desktop image operation spec with desktop tag.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ic9ff5eaeafa75d2968b7b0a9a4acc6960c28a079
2023-05-13 07:50:01 +03:00
Gökay Şatır
3703c72d73 Replace tagnotebookbar tag with tagdesktop tag in calc image operation spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ic09bb64a06b6287a3c953ee4ea1f8fbb46c854b6
2023-05-13 07:50:01 +03:00
Gökay Şatır
a883a23b65 Replace calc annotation tagnotebookbar with tagdesktop.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Icacf4d387e9c8df4d0e5defa2fec0cdcc8899aae
2023-05-13 07:50:01 +03:00
Szymon Kłos
888448f597 jsdialog: fix spelling dialog layout
rules from sidebar were applied to dialog

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I18d274d0aaeeeba3ba47d839f82efaa5805eaa28
2023-05-11 21:08:51 +02:00
Gökay Şatır
1a15c0a1d2 Replace notebookbar tag in table operation writer desktop spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I15a53f8d1b70152646d7799821de10a8df4fdc60
2023-05-11 21:14:34 +03:00
Gökay Şatır
3f9fc143ac Writer desktop enable one test in scroll spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ief09792894d4a2dc7d11eaa90bfc3286598cfa41
2023-05-11 21:14:34 +03:00
Gökay Şatır
1664169dda Enable 1 desktop writer file properties test.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Iad0e4959d79c2394d6174fd81e5e349460fe5246
2023-05-11 19:09:03 +03:00
Gökay Şatır
d0aa99d25f Enable desktop writer complex image operation spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Iebd862ff5c01078e07f1af93e81c4e528f24d978
2023-05-11 19:09:03 +03:00
Gökay Şatır
a2838cca3a Enable desktop writer annotation tests.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I5ee91f32da271b5fdb209262f52a6828aa248500
2023-05-11 19:09:03 +03:00
Szymon Kłos
99e57059a4 jsdialog: show expander content
can be tested with calc -> insert -> pivot table -> ok
or calc -> insert -> define range

- main expander content should have visible state so we show it on
  toggle
- use expanded state to detect if we should be expanded

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I5ad2f8d22fa0746ab5324cbf1f211b6ea3d69886
2023-05-11 14:44:52 +02:00
Gökay Şatır
43e701084e Enable impress delete objects spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ib26227b453a8e21e9c5393872aaa04fe6142fd77
2023-05-11 15:42:47 +03:00
Gökay Şatır
9d5d153972 Enable desktop impress undo redo spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I71f5d43bb1e52e1962db0dfd9e66c6a4a4726e51
2023-05-11 15:28:13 +03:00
Gökay Şatır
31e94b6cb7 Enable 1 test in desktop calc table operation spec and remove notebookbar tag.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I36bf9b14d44c6cde651da78808c4c783ebf794b2
2023-05-11 15:06:53 +03:00
Gökay Şatır
0ce09a3ae6 enable 1 desktop impress test in sidebar spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I711c8a771aa6f6830da69888646ed66cd7ffb4b9
2023-05-11 15:06:53 +03:00
Gökay Şatır
1122f5a5e6 Add tag to searchbar spec.
Tests are failing on a valid reason.

Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I029f9d1079b81a79a6ecb0aca4ed930c75b29c90
2023-05-11 15:06:53 +03:00
Gökay Şatır
f5d9654e87 Remove tagnotebbokbar and use switchUI function on image operation spec (impress).
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I4f2097cbfd0e2401783b065b63f70b34d1d9d3b1
2023-05-11 15:06:53 +03:00
Ashod Nakashian
d4b27f6643 killpoco: replace HTTP status codes
We use our own status codes, which
are type-safe and use streaming
operators to serialize and log.

Change-Id: I0eba7b16694866b5a79476a7ef4b1b78f7f9c176
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-11 07:21:42 -04:00
Gökay Şatır
acc944c176 Disable 3 mobile tests for now.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Icd45cff770b1cc64365a1713d683451aeffe3618
2023-05-11 13:55:55 +03:00
Gökay Şatır
731c5b8d8c Increase default command timeout to 10 seconds.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Id6271261dde7d45bdf05e4f01d3a1f1732fd44b0
2023-05-11 13:55:55 +03:00
Gökay Şatır
e8acb950b0 Enable calc text editing mode test.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Ib03f0aa24268a104b6815c813a795c9a21e8e932
2023-05-11 13:55:55 +03:00
Gökay Şatır
71687e1c66 Enable calc switch sheets test.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I1adda596e402a3be116459b3669080844f79ade7
2023-05-11 13:55:55 +03:00
Gökay Şatır
442830484d Enable calc row_column_operation_spec.js.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: Iebda9cb893602e827f945c08e5a6b05e5c1c6d5d
2023-05-11 13:55:55 +03:00
andreas kainz
06f69a8813 jsdialog ui-widget-header border-radius and color fix
ui-widget-header has no border-bottom-radius
ui-widget-content has no border-top-radius
cause both widgets are next to each other

ui-icon use the blue hightlight colors
and the blue icons for more consistancy

Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Id891548c56b540f8d0b27f65b805c1823fe28906
2023-05-11 08:22:52 +01:00
Gökay Şatır
31d70be23f Enable impress text paragraph props test.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I75540d483b71b4d61ad274097c61b3f974be1393
2023-05-10 18:57:53 +03:00
Ashod Nakashian
171a3614d7 wsd: use helper where available
Change-Id: If5d1abdc4da6218e318a72d06eb2483c4348d349
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-10 08:46:11 -04:00
Ashod Nakashian
4456acd2da wsd: make unreusable classes final
Change-Id: Ieea44cdba1315051ede7dde6e154055a0820b0a8
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-10 08:46:11 -04:00
Ashod Nakashian
6d4bb52946 wsd: minor logging cleanup
Change-Id: I1ea4f224ef2e0caee1a849abd5256521afe939bd
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-10 08:46:11 -04:00
Ashod Nakashian
72cff36195 wsd: move streaming operator overloads
This is needed to correct overload
resolution of these operators.

Change-Id: I02c0859674efe112102a8d3833bfb0a30b1a6574
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-10 08:46:11 -04:00
Ashod Nakashian
0182af7a4a wsd: http: native support for logging http::Header
Change-Id: I8c34531e6f2616d98a4ee75fe8490d4ad25c45a9
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-10 08:46:11 -04:00
Ashod Nakashian
ff1657934a wsd: simplify log streaming
Change-Id: Id22de0bc06680f957e7475f142bcaf1131fdbdb9
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-10 08:46:11 -04:00
Ashod Nakashian
5dcbff8e5d wsd: move streaming operators to the global space
This is needed for correct resolution of these
overloads when we add more that are otherwise
ambiguous.

Change-Id: I6e442b661445f49502fca9271ed6a11278c78d61
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2023-05-10 08:46:11 -04:00
Gökay Şatır
88129f9911 Remove notebookbar tag and add switchUIToNotebookbar to impress desktop annotation spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I19140e62566cd341ebb035ee0c4e43271661fb30
2023-05-10 13:30:37 +03:00
Gökay Şatır
7d2084c700 Enable desktop pdf spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I3b37aeca2d8c6f28412c2161abd6336558a82ac7
2023-05-10 13:30:37 +03:00
Gökay Şatır
edeb764958 Enable desktop calc add-delete decimal places spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I6d665c7e7561f5096b5b860f5a8cdea5a86e2b00
2023-05-10 13:30:37 +03:00
Gökay Şatır
3bb8c28939 Enable calc desktop focus spec.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I5d11a05acbe512c2fd13be8816dbdca7c2464ad9
2023-05-10 08:59:00 +03:00
Gökay Şatır
bd4fda8895 Enable one more desktop calc test.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I754c98f91aa5a8a4791e017e59432c08759b2355
2023-05-10 08:59:00 +03:00