Commit graph

12319 commits

Author SHA1 Message Date
gokaysatir
aca07fec86 loleaflet: Hide portrait view previews on layout view.
When user switches to layout view on mobile. Viewing a page's properties opens 2 preview sliders. Portrait view's slider is hidden with this patch.

Change-Id: Iebbdd9c6c94f19a39df271106b75f2e9f55a7b35
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101641
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-09-09 14:20:21 +02:00
Pranam Lashkari
a70ff81ee9 leaflet: fixed annotation getting out of screen
problem:
annotations in impress were overlapped by controls sometimes
which makes kabab menu inaccessible
on the reloading or opening doc if annotation,
half annotation is out of the screen on right

Change-Id: I830df8a393dae93db571fb999cb649bc87126d4a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102212
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-09-09 14:18:49 +02:00
Weblate
f2383e9977 update translations
LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: Ib7fb91a8ff0285454a0617087021ed32155dc373

update translations

LibreOffice Online/loleaflet-ui (Catalan)
Currently translated at 99.4% (342 of 344 strings)

Change-Id: I8839a25b4ed38ae76a8b02d31350836866d22eaa

update translations

LibreOffice Online/loleaflet-ui (Slovak)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: Idb29e2f23e0b33e3098bb8f673481cfa385946bc
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102100
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-09-09 12:38:55 +02:00
Pranam Lashkari
89061cda51 leaflet: replaced w2ui tooltip with jquery tooltip
makes UI more consistent with notebookbar
some tooltip used to go out of screen on edges

Change-Id: I306591146c21cc9d4f2d92361f411628a91f3d89
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102277
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-09-09 11:52:42 +02:00
Pedro Pinto Silva
bef32043d6 CSS lint: add more rules and fix problems
- Fix duplicated properties (ignore cases where it's needed
for browser compatibility);
- Fix space inconsistencies before !
- Fix space inconsistencies after colon
- Fix space inconsistencies after and before combinator (>, +, ~)
- Invalid calc
- Many rules added to json, namely no-extra-semicolons

Change-Id: I78af6bc546aeb1d7d7090e2ef278c895f0393a07
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102289
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-09 11:48:31 +02:00
Aron Budea
d876290762 wsd: Don't fail if config item is missing in loolwsd.xml
After upgrading from old versions that didn't include
config.storage.ssl in loolwsd.xml, an exception was thrown
and not caught, and loolwsd failed to start with the following
message: "Not found: storage.ssl.cert_file_path".

Change-Id: Id0ca76632c513c6f5c80797a2c7d20f0173e4b56
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102250
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-09-09 08:55:55 +02:00
Pranam Lashkari
28d163f843 leaflet: hyperlink popup will not displace the view
hyperlink popups always opend above the links
when it did not fit into the view it would scroll
this scrolling caused problem in calc by messing the grid

now popup will not trigger the scroll
and would be adjusted to fit in view

Change-Id: I6c886e0dc57b010db16f51baed0e7a0465e52d4f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100407
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-09-09 08:07:30 +02:00
Henry Castro
d7353acf96 loleaflet: introduce "stylelint" a modern linter for CSS
Change-Id: I8a7427eeb3b838baac8a6669d5313dc0d53d9ddd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102199
Tested-by: Pedro Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-08 17:33:12 +02:00
Pedro Pinto Silva
175ac6e740 CSS lint: Code refactoring
- Detected many duplicated selectors within the same file (squashed them)
- Detected inconsistency (sometimes spaces sometimes tabs). Tabify as in JS.
- Detected quotes' inconsistency (sometimes none, sometimes '', sometimes ""). Use '' as in JS
- Avoid touching on files from 3rd party sources (jquery, w2ui), ignore files

Change-Id: Idd82945f29ac6c5c9f522e5d5df4a783a367654d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102009
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-08 17:02:30 +02:00
Tamás Zolnai
b027150707 cypress: disable unstable test.
Change-Id: I3358c38d11692bcd7e08aa79fd6a9e95c6509654
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102259
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-08 16:39:58 +02:00
Pedro Pinto Silva
79d99156dc leaflet: cursor: bucket-cursor fix alignment
Change-Id: Iafe8dea3d379b6c1fe9241063bab4ab4b7c17e8e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102247
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-08 14:34:46 +02:00
Pedro Pinto Silva
80542f6cf9 Fix inconsistencies wrt slide-sorter between impress and draw
- Inconsistencies between impress and draw (slide-sorter)
- Fix missing slide-sorter divider
- Mobile: Fix white borders
- Read-only mode inconsistencies (slide-sorter)
- Mobile: landscape: divider is present at the left edge of the screen (remove)
- #presentation-toolbar misaligned and lack bottom border

Change-Id: Ib45438e955f4e65b35bae67b5d0edbc510a4987c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102182
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-08 10:25:57 +02:00
Szymon Kłos
c780726c52 Handle back button on mobile
This patch created states in history when using
mobilewizard, allows to use back button which navigates
back in the menu.

Used History API and popstate event.

Also unified onClose handler to close the app.

Change-Id: Id9da9bf71ee6183525ea20d43a416d3ddabec7c2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100301
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102177
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-08 09:59:21 +02:00
Szymon Kłos
c42255ad71 Reduce height of textarea in annotation vex
Size has fixed value which is too big for small screen
devices. Reduce it for now, more intelligent calculation
seems to be hard to implement in existing vex dialog
structure.

Change-Id: Ic16845a96000b17aa668f39fc2871fca57076d0c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100655
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102178
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-08 09:59:17 +02:00
Andras Timar
c7dbb7541d Set Noto Sans as the default font for new files created from minimal ODF templates
Change-Id: I2f145c8d3d934699a3f4c6c8fd6faf06958f323d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102139
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-09-08 09:24:10 +02:00
Hillwood Yang
215a76e213 Support ppc64
Change-Id: I28c44b6ccc58cd49cc9c45e19e92047cabcc185d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102071
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-09-07 18:19:55 +02:00
Szymon Kłos
2c535d564b mobile-wizard: style radio buttons
Change-Id: Iee03b7fceada0ab1166ba35438da50b178a99ce7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100652
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102180
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-07 16:19:16 +02:00
Szymon Kłos
9560a5b021 mobile-wizard: improve calc shape shadow panel
- use listboxes
- reduce input to make space for -/+ controls
- working color selector

Change-Id: Ia9df4fbc09132474985d169d7b0d55985461ec2b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100472
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102179
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-07 16:19:11 +02:00
Thais Vieira
185b357329 Loleaflet: fix menu entry
replacing 'Select...' to 'Select Table'
to it be consistent with the pattern.

Change-Id: I2724db65242588aa5d7aa6d375690ac3f478f209
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102048
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-09-07 15:21:22 +02:00
Szymon Kłos
70827c372c Simplify download process
Use hash to identify download and pass that to the client.
This allows us to reduce parameters for download requests.
DocBroker maps download ids to URL in the file system.

Change-Id: I254d4f0ccaf3cff9f038a817c8162510ae228bc5
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101992
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-09-07 15:00:20 +02:00
Szymon Kłos
277bf7c7c7 notebookar: make loading spinners less distractive
Change-Id: I44d0e11d5f828b221b31d496ac4994134fb7d955
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102165
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-07 13:58:21 +02:00
Szymon Kłos
f279b174b2 notebookbar: add insert comment in the insert tab
Change-Id: I7a68390c716858ad18f578d26f996bfc05eedacd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102161
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-07 13:56:33 +02:00
Szymon Kłos
83436de396 notebookbar: add tooltip to drawingarea widget
Change-Id: Ic0988de264a2782e4f777d8f11236f7b70f9bc72
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102162
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-07 13:00:05 +02:00
Pranam Lashkari
8123e4e26f leaflet: menu options gets hidden behinde the statusbar
problems:
the main menu obscures the submenu,
the file name box / pencil obscures the submenu,
the submenu is hidden behind the status bar.

Change-Id: I8c3d08c9291c76c5b487e248ccbaf58410e3b54c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101302
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-07 12:00:45 +02:00
Szymon Kłos
7ab27b7837 Notebookbar: don't add multiple shortcut bars in the DOM
Change-Id: Ic537ac7181174cfbbc9c7e3da6336d51a0f188ef
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102147
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-07 10:33:15 +02:00
Ezinne Nnamani
581ccb502f A fix to display the avatar on the comments in Impress slides
Change-Id: I1ba699d5e8583253ec9d14502629218d8714e5aa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102141
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-09-07 07:07:57 +02:00
Pedro Pinto Silva
233be83714 Mobile: Add missing formatlegend icon to the context menu
Change-Id: I1acfcefbec8cce0f96a28062a0a1d3d105253ec8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102050
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-04 16:34:21 +02:00
Pedro Pinto Silva
d83c6163fd Notebookbar: shortcutsbar: Fix hamburger menu entries hover state
fix the transparent background on hover state for the menu entries
introduced in https://gerrit.libreoffice.org/c/online/+/101833 by
making sure that the style is just applied to the top level anchor

Change-Id: I48d9d1cd22b618566d131c14d2cd2a345d21b85e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102047
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-04 15:18:50 +02:00
Tor Lillqvist
728d56aa05 Don't use just the basename in the usage help message
That is counter-productive. Use the command name as used by the user
to run the script.

Change-Id: I11b082375db8d8184543cead912cbc556f3695e2
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102041
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-09-04 12:46:42 +02:00
Tamás Zolnai
928d675270 cypress: test search field's focus when we type fast.
Change-Id: If8523238aa5fed258fd93e8a9bcca03ed3490455
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101989
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-03 10:52:05 +02:00
Tamás Zolnai
95bc84e748 cypress: remove outdated comment.
Change-Id: I132ec38feacc5450e0b31d910b8f29e09dca2a66
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101988
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-03 10:51:54 +02:00
Pedro Pinto Silva
337ce6373f Mobile: menu entries with icon missing extra class
.flex-fullwidth

This was causing elements (without arrow) in the insert mobilewizard
to have its labels misaligned

Change-Id: I0472a5d39a2691b48d7920a75821447622cc1801
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101937
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-02 16:57:19 +02:00
Weblate
d0d3ce6703 update translations
LibreOffice Online/android-app (Danish)
Currently translated at 100.0% (102 of 102 strings)

Change-Id: I5983a2cdddbbb2b67ebc0b5b7e202861e984a89b

update translations

LibreOffice Online/android-lib (Danish)
Currently translated at 100.0% (13 of 13 strings)

Change-Id: Ifd4c69312f949ccfc39d016f46ca936ecd7817ba

update translations

LibreOffice Online/ios (Danish)
Currently translated at 100.0% (5 of 5 strings)

Change-Id: I0050a37ac2cd97632de3e4963938c20321be3dcc

update translations

LibreOffice Online/loleaflet-help (Danish)
Currently translated at 100.0% (416 of 416 strings)

Change-Id: I182e8f90e1d017debb37955dbd503901ce5014c5

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 65.6% (67 of 102 strings)

Change-Id: Ie3d81e1f9ae8e6c03db183f1bb858363a089a126

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 65.6% (67 of 102 strings)

Change-Id: Ibd69d877a44ac0e393da7dcc7c84d8ede13d43f9

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 58.8% (60 of 102 strings)

Change-Id: I7d9cbb1031288c9d642b0fb7790408cee2003595

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 58.8% (60 of 102 strings)

Change-Id: I83dbc5fbeb2fee018298dad702e5145ee598f68a

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 57.8% (59 of 102 strings)

Change-Id: Ifd294c592ca4b68a99621fb5a81837d3720ed50e

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 57.8% (59 of 102 strings)

Change-Id: I9f1bd0e072f851ca5e49122e4d9b39fe74dafbda

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 53.9% (55 of 102 strings)

Change-Id: I9887dda9ebd8e808824238e13abfede182560f81

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 53.9% (55 of 102 strings)

Change-Id: Id92b0ff6075be0ab11a41cd3e341b6016c1c1cb6

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 52.9% (54 of 102 strings)

Change-Id: I5c1d38ffd5e6b8de21833be4196da4a41b4068b1

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 52.9% (54 of 102 strings)

Change-Id: Id15460c60cfe3189b2828b624b5264ba615bf4cb

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 49.0% (50 of 102 strings)

Change-Id: I033216c4b00c864c95f1b3ad46434e784127676d

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 49.0% (50 of 102 strings)

Change-Id: Ic37005337167957356790e61ec86d15e9c10d1d9

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 46.0% (47 of 102 strings)

Change-Id: I66aead7d369a7e3b3525b486eb3bea82d315f731

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 46.0% (47 of 102 strings)

Change-Id: Ib381c65bffe625314b03262c81d351b6434087e5

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 45.0% (46 of 102 strings)

Change-Id: I868f7a693672fdd5a5d8919e26a7e5538bc95188

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 45.0% (46 of 102 strings)

Change-Id: Ia4541ee4e600c721ca0ac51f6630f0e6b0bd8dfd

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 44.1% (45 of 102 strings)

Change-Id: I7e8385aafc50dada0e58dbc3394f3436a1f7225e

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 44.1% (45 of 102 strings)

Change-Id: If89647b675fabee6ef78a8cbf2c7b32df4b51486

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 11.7% (12 of 102 strings)

Change-Id: If14650d6b26f49a45c4659231d15dea1de2e7ea8

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 11.7% (12 of 102 strings)

Change-Id: I38528f6c0f01fd670738c63fd65199be5aaa5213

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 7.8% (8 of 102 strings)

Change-Id: Icc74f9c8bb89c1d09378a9ab718018dde97915de

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 7.8% (8 of 102 strings)

Change-Id: I7f3f7b4f7a7efcaee903599d155133f7785d3ebc

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 5.8% (6 of 102 strings)

Change-Id: Ia7c69a753fb5aecfe4cb4eb7a0ff3d17a8e54732

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 5.8% (6 of 102 strings)

Change-Id: Icc7fd07b2e59629a6ed1100fb674cfe251e0618a

update translations

LibreOffice Online/android-app (Danish)
Currently translated at 4.9% (5 of 102 strings)

Change-Id: If8ae789c83d4fba08caedfb48887f261059ea125

update translations

LibreOffice Online/loleaflet-help (Danish)
Currently translated at 94.7% (394 of 416 strings)

Change-Id: I0eaf1648ee8de075033b19d95d0ec4d0c07a88c1

update translations

LibreOffice Online/loleaflet-help (Danish)
Currently translated at 81.7% (340 of 416 strings)

Change-Id: I0e467da03767eeb2503e21ef0e79255aab6071af

update translations

LibreOffice Online/loleaflet-help (Danish)
Currently translated at 75.7% (315 of 416 strings)

Change-Id: Idbefff04614d5c9122b18fa3eee92b0a077e6d14

update translations

LibreOffice Online/loleaflet-help (Danish)
Currently translated at 75.4% (314 of 416 strings)

Change-Id: I9c4eb0975f05438bb50dab7b30453f5b8d9a9caa

update translations

LibreOffice Online/loleaflet-help (Danish)
Currently translated at 75.2% (313 of 416 strings)

Change-Id: I2c97feb61b1264288ef91254a1ad11fc162b05c7

update translations

LibreOffice Online/loleaflet-help (Danish)
Currently translated at 68.2% (284 of 416 strings)

Change-Id: I2e053ee148211a6e10c689ef5250adfb09e5389c

update translations

LibreOffice Online/loleaflet-help (Danish)
Currently translated at 60.3% (251 of 416 strings)

Change-Id: I8c7c9fb0af8a879efdf577b02dc66f8e8ce095a3

update translations

LibreOffice Online/android-app (Afrikaans)
Currently translated at 27.4% (28 of 102 strings)

Change-Id: I58a79b136cc440137769e8aa97366e046c142324

update translations

LibreOffice Online/android-lib (Afrikaans)
Currently translated at 100.0% (13 of 13 strings)

Change-Id: I84fecac811f3cd24613b7d00fa8a5822df94c305

update translations

LibreOffice Online/android-lib (Swedish)
Currently translated at 100.0% (13 of 13 strings)

Change-Id: Ie8be29f76fbb63ac789c093070b6e7648499d2cf

update translations

LibreOffice Online/ios (Danish)
Currently translated at 60.0% (3 of 5 strings)

Change-Id: I77dbbb9862fafaa3ace39ddf10f318d77ee519b8

update translations

LibreOffice Online/loleaflet-ui (Swedish)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I4ce8a7e1005f2a3a5af274c148442ad679c031e1

update translations

LibreOffice Online/loleaflet-ui (Korean)
Currently translated at 80.5% (277 of 344 strings)

Change-Id: Ib57906e9875d21c71a8d98edfd532763f9667eaf

update translations

LibreOffice Online/loleaflet-ui (Danish)
Currently translated at 100.0% (344 of 344 strings)

Change-Id: I97361fe18e1a882cc6b4172cb4c3708c7e242e2d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101663
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-09-02 16:14:30 +02:00
Pedro Pinto Silva
ddda854965 Fix double semicolon added from
https://gerrit.libreoffice.org/c/online/+/67484

Change-Id: Iee19b722664ddb7c1ac6a0a85f1eb0052d6f37a0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101931
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-02 15:49:10 +02:00
thais-dev
e32fc7981e Loleaflet: add time value
for the context menu of header be in sync
with the context menu of the cells.

Change-Id: I3f228e57375b10671b98de1a1444af87e8b2ed38
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101924
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Aron Budea <aron.budea@collabora.com>
2020-09-02 14:02:29 +02:00
Pranam Lashkari
0a54b23251 leaflet: wsd: select the page before opening the slide wizard
problem:
In the mobile view taping on the selected slide preview would open the wizard
but when some object is selected on the slide
wizard would open for that object
this patch helps us to set the Page as selection and as result
mobile wizard opens for the slide even when some object on slide is selected

Change-Id: Ia4f0d5fe6a4d82d101ee26b75f557a44e0627704
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101422
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-09-02 10:41:33 +02:00
Szymon Kłos
9c55d2d5b9 Fix name formatting
Change-Id: I2aed56cf362c0e68918955340d35013179a54ad1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101909
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-02 10:01:43 +02:00
Gülşah Köse
845554a6a3 Revert "wsd: parse headers with Poco::MessageHeader"
This reverts commit dbc562d9ab.

tst-05694-05694 2020-08-26 12:59:14.343136 [ unittest ]
ERR Invalid HTTP header [def]: Malformed message:
Field name too long/no colon found| ../common/Util.cpp:980

Following part of the code tests a request with corrupted http header:
    Authorization auth2(Authorization::Type::Header, "def");
    Poco::Net::HTTPRequest req2;
    auth2.authorizeRequest(req2);
    LOK_ASSERT(!req2.has("Authorization"));

Poco library throws exception.

Change-Id: Ic31a80c0e1e325de27c23059e2bcb3f00d39ad16
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101887
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
2020-09-01 23:17:03 +02:00
Pranam Lashkari
35cc34c420 leaflet: updated paste shortcuts in the help menu
Change-Id: Ie151debcbe169f59e662512448f4df5372cf52a6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101886
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
2020-09-01 20:06:24 +02:00
Pranam Lashkari
457fc3d538 clipboard: leaflet: unformatted paste shortcut changed
Problems:
1: Browsers hard-code ctrl+shift+v as "paste without formatting" - ie. plain text
We need access to the clipboard to get the rich data needed for paste-special,
which we can only get security context /  access to with a ctrl-v keypress
2: we cannot directly access the clipboard data with ctrl+shift+alt+v

Solution:
Externally copied data could not be pasted directly with paste special
and unformatted paste due to no access to the clipboard data

To access the data copied externally we rely on user to trigger paste event
We use default browser shortcut for unformatted paste(ctrl+shift+v)
this triggers a paste event

for paste special we ask user to press ctrl+v with a popup and then
if that popup is open and paste event is triggered we trigger paste special

New shortcuts:
Paste: ctrl+v
unformatted Paste: ctrl+shift+v
Paste special: ctrl+shift+alt+v

Change-Id: Ib15c701f5e03123cb91e36d1c1d64f0c12aa9cfb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100927
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-09-01 18:23:03 +02:00
Tor Lillqvist
3df718aac7 tdf#133284: Improve hardware and on-screen keyboard in the iOS app
This is a quite complicated change that should both fix tdf#133284
(cursor keys on a hardware keyboard do not work in a spreadsheet
document) and also improve the interaction with
CollaboraOnlineWebViewKeyboardManager that manages the on-screen
keyboard. We need to jump through complicated hoops in order to get
the hardware cursor keys handled right after loading a spreadsheet
document.

In the CollaboraOnlineWebViewKeyboardManager case we try harder to
keep loleaflet's _textArea buffer in sync with what the UITextView in
CollaboraOnlineWebViewKeyboardManager uses to provide suggestions
above the on-screen keyboard.

Also merges in related changes from today to
CollaboraOnlineWebViewKeyboardManager.

Change-Id: Ic4acb54bd4e815aa8bfb2bf40b08493446ae5ab0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101878
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-09-01 17:24:36 +02:00
Tor Lillqvist
05d10aba03 Comment out some debug spew
Change-Id: I40a96ea71a78c76b2eb1a7f878320dec1dfd1205
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101877
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-09-01 17:22:11 +02:00
Pedro Pinto Silva
424b914cec Notebookbar: shortcutsbar: hamburger menu + dialog
When a dialog is rendered the hamburger menu appears to have
a different color and thus, it stands out in the background.

Change-Id: I35766d083fc342f1d7bcbdca1ad9723057b70cd3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101833
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
2020-09-01 12:48:13 +02:00
Szymon Kłos
19363ce727 Make dialogs modal, block sidebar actions when opened
This change prevents user from creating multiple instances
of dialogs eg. by using sidebar. Dialogs are modal now.
Child dialogs still can be created from existing dialog and used.

Change-Id: I388006d8857d0196d2884598e150f7bf5948ed47
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100598
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101821
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-01 11:55:08 +02:00
Szymon Kłos
ab53fcbca1 Fix blinking cursor
Change-Id: I723dcfc06e07d3d5a83e64eee812d3084dc8378c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101728
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101822
Tested-by: Jenkins
2020-09-01 11:55:04 +02:00
Szymon Kłos
d4bec9e6e1 Show avatar for newly inserted comments in calc
Change-Id: If602901982e8084856ca5361ab256a93e1045e45
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100581
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101819
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-01 11:54:40 +02:00
Szymon Kłos
bb015fe41e Don't allow to open multiple dialogs
and blink active dialog to inform user that he needs
to close dialog first...

Change-Id: I6c9ee662ae2ab935f03ee8fdd0cf7327703e2170
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100457
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101820
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2020-09-01 11:54:25 +02:00
Tamás Zolnai
433b108c50 cypress: simplify this.
Change-Id: I4b055f13caebd7f034c4aa8aea724aff300c113d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101766
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-01 00:20:18 +02:00
Pranam Lashkari
57226f1981 leaflet: fixed js error in slide reordering with touch screen
Change-Id: I7e1c864640f5829166616e5bf40b95646d913b23
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101756
Tested-by: Jenkins
Reviewed-by: Pranam Lashkari <lpranam@collabora.com>
2020-08-31 19:21:56 +02:00
Tamás Zolnai
b16182c3c3 cypress: correctly append "Second chance!" string to the output.
Change-Id: I193b4b916babcda4e321b9c83e0301cc8a4b947f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101734
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-31 15:41:03 +02:00