Commit graph

5019 commits

Author SHA1 Message Date
Michael Meeks
9287910223 admin: Chrome refuses to override jwt cookies over http.
So alert the user with a helpful dialog when auth. fails.

Perhaps we could avoid the cookie and substitute and send the
auth token inside the HTML itself in future.

Change-Id: I1860e92e3a365bffb4cd6ab938dc3ab9cf47e5f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93424
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-04 17:56:30 +02:00
Rizal Muttaqin
dbd74e7d68 Sync with latest Colibre icon sets
- Make some icons pixel perfect
- Make cell type looks like a cell
- Replace old Tango icons (shape)

Change-Id: I13affa1c24bad08873a1a5e1974ac21ec35f3b04
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93394
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-05-04 17:44:16 +02:00
Muhammet Kara
8eb1910362 Welcome: prevent the welcome message being circumvented
* Repro:
	- Open a document on a welcome-message-enabled system
	- You'll get the message at this point, don't accept it
	- Close the app or browser, or navigate away
	- Open the file again
	-> No message, session opens

* Now the cookie is created only when the dialog is closed

Change-Id: Ifa3eb45a24747212a3b741c7a5277e16c70ed44e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93426
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2020-05-04 17:26:35 +02:00
Michael Meeks
b976b48dba Admin: expand humanization for immensely long running servers.
Change-Id: I8fb1176cfe1ac4f9a1a8549777adbf6cbf7e69a8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93421
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-04 16:41:08 +02:00
Pranam Lashkari
85f09360d8 Follow up for be48005
substr method replaced with startsWith for more readability and optimisation

Change-Id: I205a843359942ef7dea92333eaf2076ab2080983
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87661
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-05-04 13:59:47 +02:00
Szymon Kłos
389a5e8674 notebookbar: hide unsupported items from review tab
Change-Id: I730a68b46e0a7a896a068e5e2fff4e7d5ea3dc86
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93400
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-04 10:27:13 +02:00
Szymon Kłos
b0e2bd990e notebookbar: separate file for each app
Change-Id: If61ed762a3dd55c0cef7d58b7a3b1ddf8276cce3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93304
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-04 08:54:32 +02:00
Szymon Kłos
100396286b notebookbar: show inline labels for small icons
Change-Id: Id8128c2b043eb17d2f31773ba966a6ab9944ec04
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93303
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-04 08:54:01 +02:00
Szymon Kłos
147f1e1490 notebookbar: icons & layout the table tab
Change-Id: Icdc8cfca849ebf05ffa9feb0455cc324445b4e60
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93301
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-04 08:53:00 +02:00
Szymon Kłos
0ca56c8e70 notebookbar: added review tab
Change-Id: I734ed2ed4d261e00a30ebc209749142fb8a1f157
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93302
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-04 08:52:51 +02:00
Ashod Nakashian
2ccb0c2b0a leaflet: re-align child popups to avoid trimming
When a child's origin is such that its width
overflows its parent, we move it left such that
it fits the parent and doesn't get trimmed.

Change-Id: Ica8e0e9c8ce994aeb00704eb38ce3485db7cbd59
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92995
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-05-02 22:59:26 +02:00
Szymon Kłos
3c73ef8765 notebookbar: icons & layout the references tab
Change-Id: I52f319be7dc17cfe8376e673d46adb691f994df7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93300
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:40:29 +02:00
Szymon Kłos
23ec45bf58 notebookbar: icons & layout the layout tab
Change-Id: I69ded05cd834b8249bb057d55adcb2da14dd1a33
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93299
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:40:10 +02:00
Szymon Kłos
20ead20731 notebookbar: layout & icons for insert tab
Change-Id: I6b70d1a25ed701ad039b9bce608ea55bb768a7b3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93297
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:39:56 +02:00
Szymon Kłos
9e020d6024 notebookbar: icons & layout the home tab
Change-Id: I73f8b1dcc51994f89db6debce83bcf20dfa90c31
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93296
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-05-01 21:39:38 +02:00
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
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