Commit graph

11248 commits

Author SHA1 Message Date
Szymon Kłos
bd9637ae12 notebookbar: insert shapes popup
Change-Id: Icb75574372f48bf101ce14fc22bdf373e5e2026a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93298
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:39:12 +02:00
Szymon Kłos
8970ab16df notebookbar: insert symbol control
Change-Id: I7d845862ceb2b666aefcba4c861f2f950524fe73
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93295
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:38:56 +02:00
Szymon Kłos
a2f6921fec notebookbar: linespacing control
Change-Id: Idb481aec70fe43d143a16d978492372f650320df
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93293
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:38:48 +02:00
Szymon Kłos
2f98cbbf91 notebookbar: override copy, cut & paste actions
Change-Id: I5338d844fd279f33d3832fdb2e05d83ee0a79a3f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93292
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:38:37 +02:00
Szymon Kłos
cc15dafe34 notebookbar: insert annotation control
Change-Id: I07adf35f49b5d2d5b8c51d98ab082d984d948fe2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93291
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:38:23 +02:00
Szymon Kłos
6cbc982df6 notebookbar: encode buttons ids to allow applying css styles
- encode also img path to avoid invalid chars

Change-Id: Ie10d3249fec65ac955b556f6d3206701282ca0b7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93294
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:38:12 +02:00
Szymon Kłos
7af518127b notebookbar: insert graphic menu
Change-Id: If14b2fdacc7e317eed0a557669a8bdf8c5ab69cf
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93288
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 19:46:09 +02:00
Szymon Kłos
b60009ed2b notebookbar: override visible tabs
Change-Id: Ib71a8d75e3b6355d9ffa0a6be1eb695c01f0b1ff
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93284
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:34:18 +02:00
Szymon Kłos
64e3da9b35 notebookbar: update font properties comboboxes
Change-Id: Ifb67f09587122b5e49c67e471dab038fa788ffd6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93286
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:30:15 +02:00
Szymon Kłos
fb53f39fa8 notebookbar: correctly positioned in all apps
Change-Id: I33d467954f0da5b1ca0451287ff0e6911f3d6b50
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93289
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:29:13 +02:00
Szymon Kłos
e976ab4889 notebookbar: generate identifiers for containers
Change-Id: Ib76d9bc78bdfede4774d1b01a38f635b456fb3cd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93281
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:28:51 +02:00
Szymon Kłos
29293cbcde notebookbar: uno:Color -> uno:FontColor
Change-Id: Id5c542ee2495cce454a8fcde9e845399950d59ef
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93280
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:28:41 +02:00
Szymon Kłos
878ecc8ab0 notebookbar: handle resize
Change-Id: Ife1be7147b9f11098ec7ed6264dd0b4a1e47c354
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93282
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:27:51 +02:00
Szymon Kłos
89ca66f846 notebookbar: hide shortcuts toolbox from tab content
Change-Id: I74c1c5825a05c7c1a16275a72da764bc68e0febb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93283
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:27:32 +02:00
Szymon Kłos
82f5268ee1 notebookbar: handle selection in comboboxes
Change-Id: Idf3f7cdbe7a437f8996669eee8cc6474408c3c4a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93285
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:27:24 +02:00
Szymon Kłos
42313f8bbc notebookbar: encode spaces in uno command parameters
Change-Id: Id98b95a7c60974cb93ee6f7facc9dc5f885033a1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93287
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 18:27:08 +02:00
Szymon Kłos
d0f5989994 jsdialog: identify tabs by id not label
Change-Id: Ia695020b5c8afadff8031983c29c527c2ed177dd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93273
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 17:40:04 +02:00
Szymon Kłos
37a182a37e notebookbar: added placeholders for tabs
Change-Id: Ib5ad481e92d635b48713a67b608368a867f3e02a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93271
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 17:38:41 +02:00
Szymon Kłos
8b2084928b notebookbar: load selected tab
Change-Id: Ic2741f972c96342abb2916111d52d8e0c3823349
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93270
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 17:38:22 +02:00
Szymon Kłos
6d7f7345d3 notebookbar: implemented color picker control
Change-Id: I0f9609fd0068592e1fa8fcbc564c193fee06b20b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93275
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 17:12:17 +02:00
Szymon Kłos
bffdc690f4 notebookbar: create listboxes
Change-Id: I110ac8c2218dfb16ac5279c4df8b080e8534d4ed
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93274
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 17:11:54 +02:00
Szymon Kłos
fc5ff5776f notebookbar: show tooltip when label is not shown
Change-Id: If10a04e41775f828abc232e0cc19f70ddd48333b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93272
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 17:11:34 +02:00
Szymon Kłos
a098b34106 notebookbar: hide unknown items
Change-Id: I3dd6a825afc87328f519305329ca7e41ac6ff14c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93269
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 16:33:35 +02:00
Szymon Kłos
53eaf895a7 notebookbar reset attributes control
Change-Id: I8e8551a5055f4dde776cbf88f6f7e3f1e6b62a7e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93266
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 15:29:15 +02:00
Szymon Kłos
a629f1b679 notebookbar: style elements hover
Change-Id: I13ee4fb26535683948c145d911aaf667a17069bc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93264
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 15:28:44 +02:00
Szymon Kłos
0995fb5a54 notebookbar: use options to modify building
Change-Id: I8c6c21c4605201a5393a8f8cd0640774b62d074b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93265
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 15:28:26 +02:00
Szymon Kłos
83b1ce5460 notebookbar: reduce size
- changed icon size to 24x24
- table structure is flatter
- uno buttons without label

Change-Id: I63a68aac4f91633b10bfa93f5882b46b8a0fea12
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93263
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 15:27:46 +02:00
Szymon Kłos
5503dcbbe7 notebookbar: align tabs with document name
Change-Id: I9d30832f4753bb6ed071a0bf1316959a6e26ad4d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93262
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 15:24:47 +02:00
Henry Castro
faf381d051 loleaflet: fix the location origin from parent window
Firefox and IE browser fails to get access to
execute actions from parent windows when insert
image from cloud storage.

Change-Id: I3abfc6ecdf28f4c44bbc154af4a77f4c013c1001
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93169
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-01 14:42:36 +02:00
Szymon Kłos
5c1dbc5fe7 notebookbar: override control handlers
Change-Id: I1873d0eacfa99a4bb968e8b7456886a2791bafce
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93257
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 14:22:54 +02:00
Aron Budea
9baea8eb9b tdf#132125: Pasting into comment pastes into document instead
Ignore paste event when editing comments.
Fix is similar to 5bc28a9d30

Change-Id: I12644ca32a99557703eef63dc1b5670e68a22813
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93114
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-05-01 14:10:15 +02:00
Szymon Kłos
cd041d0739 notebookbar: more space for notebookbar
Change-Id: Idf0735a7282bda5b7bc0166e82acbcd2e589a289
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93252
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 13:07:26 +02:00
Szymon Kłos
df6c63516d notebookbar: add stylesheet
Change-Id: Ide159a6df5e9c3ffa9d64fc88b78f3902a991836
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93255
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 13:03:23 +02:00
Szymon Kłos
8fb074b6bf notebookbar: build also vertical containers
Change-Id: Ifb7d964cf524767243efa850fb236186a3f2924f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93256
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 12:59:17 +02:00
Tamás Zolnai
a86ddbb3ab cypress: mobile: fix-up this focus related test.
It's not an actual regression, but using clickFormulaBar()
method to move the cursor to a specific position is not
stable it seems.

Change-Id: I9abd470fd1f0f753181f3550df3b41384fa166dc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93258
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-01 12:56:25 +02:00
Szymon Kłos
dc2e4952df jsdialog: add css style parameter to builder
Change-Id: Iddd8f36133a49d73b89ebb7997c4bbd32c35eea6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93253
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 12:55:45 +02:00
Szymon Kłos
571aab847a notebookbar: create more flat structure
Change-Id: I384f777014283d98a94cc6f352a857158c55a817
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93254
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 12:55:32 +02:00
Szymon Kłos
e1a02812f9 notebookbar: build horizontally
Change-Id: I7772dbf6f15a4ed9feeb506b3100d756736db700
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93053
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 12:19:56 +02:00
Szymon Kłos
7bdf49c33d notebookbar: use builder to create
Change-Id: If8bbbaba66aba887587b8679f7a1ac9f5ccb4490
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93052
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 11:54:25 +02:00
Dennis Francis
1a4322a940 loleaflet: mobile: center the dialog horizontally
Before this the dialogs (in mobile) like 'autofilter/validation list' were
not centered horizontally and looked awkward. However as for vertical
positioning, it is correctly glued to the top of the map as said in
the comments.

Change-Id: I2f31075742ac8f40b3fd4d4016dbfef635b5f805
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93238
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-05-01 04:30:23 +02:00
Dennis Francis
485e849459 The validity dropdown button should react to taps too
Change-Id: I5c689106a2d995c37f28d652e8b0e39c0644ec8b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93212
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-05-01 04:22:31 +02:00
Dennis Francis
2e0f140202 fix validation dropdown icon size
There is no need to have a 'maxHeight' for the icon as we don't mirror
the core's button anymore. The height of the icon follows the cell height,
and lets make the width follow it too, so that the icon is nicely
scaled with zoom (the icon used has a 1:1 aspect ratio).

Change-Id: I175ad98f6a1306fabd003eee7fda9652f5835995
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93211
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-05-01 04:16:09 +02:00
Dennis Francis
903488a782 Lets make 'dropdown marker' icon active
Before this, the dropdown marker icon was just trying to mirror the
exact shape and position of the validity list button in core.
It is a lot easier just to have the js icon according to our
styling and in its click handler, sent '.uno:DataSelect' command to
core. It saves us the trouble of mirroring the core's button which
apparently is not zoom adjusted. With non-default dpiscale, it takes
more effort to mirror it exactly.

Change-Id: Ibe15293e9052dfacf01be94ed4950d1842e46c4b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93210
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-05-01 04:13:09 +02:00
Michael Meeks
e9abaaf71b Proxy: tolerate missing CSS files during CSS re-write.
Change-Id: I3d5af4950962391466192fdb391915d02f8813ed
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93221
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-04-30 19:01:46 +02:00
Tamás Zolnai
39b00d3b84 cypress: disable various regressed test cases.
Change-Id: I316021a57e9bd3288138c1ac2e85af73d8efcf46
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93224
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-30 18:55:41 +02:00
Tamás Zolnai
4008c7120d cypress: don't run mobile and desktop tests in parallel.
With the recent mobile detection related changes having
mobile and dekstop tests running in parallel make the build
fail.

A related commit:
255d24ba8f

Change-Id: I69929b5dbd37298e27409d247a651c79f6dbe33f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93222
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-04-30 18:26:34 +02:00
Jan Holesovsky
4669934a26 Allow overriding the lo-template-path with a command line switch.
This was completely removed in commit
db176ee45b from good reasons - it is
really bad to have that in the config file, the Online and Core versions
are tightly coupled.

Having said that, the possibility to override still has its use cases,
so let's introduce a command line switch for those who need it & know
what they are doing.

Change-Id: I76875f7c7a174fbc16985299eb968a41814b7962
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93196
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-04-30 15:00:58 +02:00
Michael Meeks
f9f392ab5c Storage: add as_scheme to allow auto-determination of whether to use SSL.
This is the new default - do as we're told by the client.
The old setting is left to allow users to force SSL if they are
concerned that they may receive unhelpful URLs.

Change-Id: Idea83aacea6826a8f37264e34d49c7550efe6d27
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93179
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-04-30 14:53:25 +02:00
Tor Lillqvist
ba727f44dd Include <cstdlib> for free()
Change-Id: I30c9f724e6418096c35900ad95f06c36f4f61b88
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93180
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-04-29 23:54:36 +02:00
Gabriel Masei
b1e970371e admin: fix kit CPU metrics computation
Change-Id: Ib0f8411fa3919b4cffe640c13d87e1a644ed8e69
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93149
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2020-04-29 16:46:32 +02:00