Commit graph

1701 commits

Author SHA1 Message Date
Andras Timar
c037f53b4b Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I56a9e4d7b08dbacec05e33f9be89a1943a91391a
2022-11-18 14:53:54 +01:00
Translator-3000
8cd2b7bc82 Translated using Weblate (Italian)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Translator-3000 <weblate.m1d0h@8shield.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/it/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2cd8abdf79e2e8efdb4e815a30a80f1e479fcbe3
2022-11-18 14:46:37 +01:00
Giacomo Bertolotti
eb2752d713 Translated using Weblate (Italian)
Currently translated at 99.5% (460 of 462 strings)

Co-authored-by: Giacomo Bertolotti <giacomo.chappo@hotmail.it>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/it/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ic5955ce6453f151bb68b9e30d532ed50751d4377
2022-11-18 14:46:37 +01:00
Alex Gabilondo
79bdcd46be Translated using Weblate (Basque)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Alex Gabilondo <alexgabi@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eu/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: If1306b1a2b78edbe1cb126807c651ee3d0a9083a
2022-11-18 14:46:36 +01:00
Luna Jernberg
76e732c044 Translated using Weblate (Swedish)
Currently translated at 100.0% (462 of 462 strings)

Co-authored-by: Luna Jernberg <droidbittin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1694f94a401773d395a249477fe3e4331755dc71
2022-11-18 14:46:36 +01:00
Szymon Kłos
e48a2ab2bd Deduplicate code in calc function list for mobile
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I775a01a42dec8780fe149d079667c41c7602bf89
2022-11-17 20:20:42 +01:00
Szymon Kłos
3a0d34d5c5 Fix display of functions help in calc on mobile
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id42439405752e6f72876469f67fd61450e2cc2d7
2022-11-17 20:20:42 +01:00
Szymon Kłos
dffaeb228b masterpage: correclty refresh after switching mode
Mode is sent via status message so handle it there to avoid
race

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Iaa9c23d4c88950d88701d8adf552d606871902d8
2022-11-17 11:42:24 +01:00
Szymon Kłos
cfb6fbd150 sidebar: don't send null command
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id790bdddfb5263fe23b7ca9e9264a20041228dfa
2022-11-17 11:42:24 +01:00
Gökay Şatır
192e12a864 Merge permission sources into one. Use global variable for file permission.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I19b6c0e95ccc3249219c88224b8c183992cd3b6d
2022-11-16 15:58:14 +03:00
Gökay Şatır
fa14b9aecf Remove unusued function.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ie21e4164c268d5dfac78e588630f8d30682e591d
2022-11-16 15:58:14 +03:00
Aron Budea
12f8fb200f Code cleanup around print dialog vs. directly opening PDF
Remove the comment mentioning the pdf.js issue,
which has been fixed since FF 87:
https://github.com/mozilla/pdf.js/issues/5397

Also remove the Edge and IE cases:
- Edge identifies itself as Chrome, and supports print dialog,
- IE is not supported anymore.

Follow-up to 403e9739cf.

Signed-off-by: Aron Budea <aron.budea@collabora.com>
Change-Id: I7747ee27fccc52b90212ade2a2665dcbd8aa97d4
2022-11-16 11:35:15 +01:00
Pedro Pinto Silva
e3d3e1ffa0 Hide insert menu item when in readonly mode
except if we are in presence of PDF
- Insert is needed there (insert > comment)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I604c5fd483862852bc41396e9780d06a6fdb08d8
2022-11-16 10:23:30 +01:00
Rash419
95f555b468 mention: send a postMessage to integrator when username is selected in mention popup
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I2ad604e069b224f2642666b10d916d07f540f43d
2022-11-15 14:04:46 +01:00
Pranam Lashkari
c3ac1ef0b7 annotation: fine tune the comment permission in mobile
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I6ec564d2524a9cc8735179fc282eaf8deb81a74b
2022-11-15 09:33:51 +03:00
Pranam Lashkari
8a04942023 segregate edit/read only permissions better
Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I85861352929d150aaf93da5570bda960b1ad46f0
2022-11-15 09:17:19 +03:00
Gökay Şatır
91984be1a5 Set max width for the "a" element. Hide the overflowing content
Set the height of sibling element to make them align in the row.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I96b7bd761b208a1000b86cb57b68c83e427bc4d4
2022-11-14 10:32:58 +03:00
Pedro Pinto Silva
e0d86b05af Hyperlink popup: Add tooltips to every button
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I98c61b954118f172062ab67a4a4d21faa1d0e5a4
2022-11-14 10:32:58 +03:00
Pedro Pinto Silva
bc13b66b8b Hyperlink popup: bind RemoveHyperlink uno command to button
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2627d9fdb8fd789ded7f15d70220b5c6bcab1455
2022-11-14 10:32:58 +03:00
user
05ef47842f Hyperlink popup: setup click events
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If447d3b4d77efb08f6b4547a53f42c7975482c79
2022-11-14 10:32:58 +03:00
Pedro Pinto Silva
13f59efdeb Hyperlink popup: add edit and remove hyperlink buttons
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie5d3027faf7f061aaffe87820dd78b8d0ba20335
2022-11-14 10:32:58 +03:00
Pedro Pinto Silva
324d699849 Hyperlink popup improve look and feel
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I9e50fb8002b3018e5bd93c52dbe8f3ec488b880e
2022-11-14 10:32:58 +03:00
Pedro Pinto Silva
b0a8379771 Fix send feedback svg
do not use height and width, use viewbox, fix dimensions
to be a square and scale factor

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic468ab8ff5615e2f27c5fadfd3248f57efc6914e
2022-11-11 14:36:31 +01:00
Pedro Pinto Silva
0478aad90e Remove unnecessary CSS for MacroSelector dialog
Also Remove unicode char in MarcoSelector. Better to  avoid
triangles all together since we have cases were the
selected row is a parent and thus having a triangle pointing to
the right makes no sense

Remove other specific rules that are not needed anymore

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia9ad58917f29fc78ae22075672dc837a6a96318e
2022-11-10 11:48:21 +01:00
Gökay Şatır
7bc537bbfb Send row selection text when Function Wizard is open.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: If5176a34cca65ed8280b3a9ba212f6c2c3a7c310
2022-11-10 12:33:07 +03:00
Gökay Şatır
0e36b31294 Send column selection text when Function Wizard is open.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I09ca97f2f7ec19cd4836f0dbfb8cbf863f3c5f3e
2022-11-10 12:33:07 +03:00
Szymon Kłos
101daccc5e Don't mix mouse move and auto-scroll-to-point handling
If user moves mouse - reset current auto scroll settings.
So we don't get scheduled events changing current state
and causing movement in the other direction.

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ic7e59c87ec7b9a2cba327b5ba8e84ca14b8066e0
2022-11-10 12:12:10 +03:00
Szymon Kłos
932543250b Extend scrollbar range when goes outside data
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I9c80d74cab22076ea3fa4f65fa79ff0822a9bfe5
2022-11-10 12:12:10 +03:00
Szymon Kłos
48ec2f5925 Limit scrollbar range to used area in the spreadsheet
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I44ae52809b2f7ea9ac687f2b4c9f10f0592fbfd2
2022-11-10 12:12:10 +03:00
Szymon Kłos
96aa69a2fd Don't process status message two times
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Id1f0f76e8e0624aa322ffb9d8263295b44d73903
2022-11-10 12:12:10 +03:00
Pedro Pinto Silva
162c7624bd Show not-allowed cursor when user mouseovers disabled items
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie9f02a9d453ca269305f6c7e382d9dacf532dcc0
2022-11-09 08:56:26 +01:00
Rizal Muttaqin
76c47c0922 Signed-off-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
Change-Id: Icf386e7deef067c728d0b0d18438d4823918714b
2022-11-08 14:07:45 +01:00
Pedro Pinto Silva
b55f07a91e Don't use the same icon for online help and send feedback
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I2ca83fdde484d6db733e41cc15cd42245505e628
2022-11-07 15:39:02 +01:00
Pedro Pinto Silva
b7e0ca73da Duplicate and place Accessibility Check in the Help tab
Accessibility checker seems hard to discover. Users tend
to look for such feature in the Help tab (near to Keyboard shortcuts)
and after all we have plenty of space to place it in the help tab.

Better to duplicate instead of moving the icon altogether since it has
been there and we might already have a user base that expects to see
it there. On top of that it makes sense to be together with other
review related action.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ibb5fa8b681faa5a16267f8a23cdbff0ee0d42ec2
2022-11-07 14:10:03 +01:00
Pedro Pinto Silva
db3d429124 Fix missing icon for Line Spacing: 1.5
With the following commit
4e075146b9
we need to update css to use the same lc_linespacing.svg

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ibd7131a69765b29d69de6d2bb53d1407df363345
2022-11-04 16:37:26 +01:00
Gökay Şatır
403e9739cf Enable print dialogue on FireFox browser.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ib1a22ce30c9b84692c673196642cf0522035d5ea
2022-11-04 14:53:55 +03:00
Tor Lillqvist
cc3d1ef721 Avoid the Send Feedback functionality in the mobile apps
That is only for web-based COOL. The mobile app stores have their own
feedback and rating mechanisms.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I6f28e27abdf204c7b77247136cc88924639efbd7
2022-11-03 16:04:35 +01:00
Tor Lillqvist
29ac04159f Fix the iOS app: Can't use %THINGIES% in cool.html.m4
There is no "file server" in the mobile apps that would expand such
percent sequences. The generated cool.html file is used as is.

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I046c23c13ade6195f3f4a8b395ede7c42fc46bd2
2022-11-03 12:47:01 +02:00
Pedro Pinto Silva
438b4e9411 Remove insert shape dropdown extra bottom padding
Before this commit the extra space was not used plus
it was making the popup bigger without necessity.

Referenced in https://github.com/CollaboraOnline/online/issues/2015

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6b2ba82b3d522f9673e555fb4f762b563c3a9c99
2022-11-03 11:18:52 +03:00
Pedro Pinto Silva
6d6e49e214 Fix statusbar display discrepancies when in readonly mode
Before this commit the statusbar was not being set with the
.readonly css class (already present in other main parent elements)
this, in turn was resulting in enabled and shown actions not proper
for readonly mode.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ife35a5f15c03681788bd16f007c338a9ddaeea52
2022-11-03 10:47:03 +03:00
Pedro Pinto Silva
01fcf38524 Code refactoring: avoid long statusbar css rules
We can instead, use the existent place for readonly hidden
button on Control.StatusBar.js

Also make use of _updateToolbarsVisibility to show/hide
disable/enable statusbar elements depending on permission mode,
this way changes take affect no only when statusbar is created
but also when we update it.

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5f7186f87740156c486d7a870bf2bfff6f828501
2022-11-03 10:47:03 +03:00
Michael Meeks
9a3b1738d7 calc: add InsertCells / DeleteCells to calc row/column context menu.
Thanks to Tracie Fabb for the tip.

Change-Id: I5e8a7cb833e0d9a6257fd73324cd1fa553de1fd9
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-11-02 15:48:37 +00:00
Pranam Lashkari
88b183bc05 UI: add missing file property setting button in UI
added button in file menu in desktop view in:
calc, impress and draw

added this button in mobile too.

this will allow user to check the property or change it (i.e: password)

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Ie9b0776e291046231755739a3c0aa48323c67725
2022-11-02 15:37:26 +01:00
Pranam Lashkari
44d0575d57 pdf: fix comment intsert short cut
regression introduced in 47c52b90f3
regression PR: #5274

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: I7fc5b16b9d229c732437d921feb0bba7da5e0562
2022-11-02 15:57:43 +03:00
Michael Meeks
a8c449642e Android - add --with-zstd-includes and libs and build instructions.
Also reduce cut/paste in configure.ac around checking for files.

Change-Id: I33f789e99ed79f08cb9cfa5ed147b764332adfde
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-11-02 12:09:53 +01:00
Michael Meeks
e7b57b2fad delta: optimize away re-fetching of pixel data as we apply.
Avoid fetching and putting pixel data back to the canvas when we
apply a series of deltas to a single keyframe.

Also split high-level from low-level delta debugging.

Change-Id: If4c308b695fb236e0753490d0d20a0fef0a9a470
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-11-02 12:09:53 +01:00
Michael Meeks
2def6dc3d5 Switch to zstd image compression.
zstd provides for much faster compression server-side, as well
as better decompression.

zstd allows us to de-compress a keyframe and several deltas in a
single call in JS, so it is necessar to add a terminator to the
delta stream so that we can detect when to flush the buffer we
are working on - so the next delta applies to the correct data.

Change-Id: I0e292e3a697b4902d6488b7c04deaba2d1485e94
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-11-02 12:09:53 +01:00
Henry Castro
38764966dc browser: add fzstd lib
usage

	var decompressed = fzstd.decompress(compressed);
	// Second argument is optional: custom output buffer
	var outBuf = new Uint8Array(100000);

	// IMPORTANT: fzstd will assume the buffer is sufficiently sized, so it
	// will yield corrupt data if the buffer is too small. It is highly
	// recommended to only specify this if you know the maximum output size.
	window.fzstd.decompress(compressed, outBuf);

Change-Id: I0b378f9395b2442bac9f0790f7633e6a6cb0402e
Signed-off-by: Henry Castro <hcastro@collabora.com>
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-11-02 12:09:53 +01:00
Szymon Kłos
0b86e55339 Dont set readonly on non-critical error
When we insert empty/not esiting image - we can continue...

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ib52f530d06dc8c5cd2780a08623435c440f9eb0a
2022-11-02 12:47:07 +05:30
Gülşah Köse
6302568c1c Limit the automatic addition of percentage sign.
In mobile view there is no way to select a cell and type something into.
We had to switch edit mode or use formula bar. So automatic percentage
sign addition is useless on mobile view.

Signed-off-by: Gülşah Köse <gulsah.kose@collabora.com>
Change-Id: Ie0fca8121534a53304414d98e6fbdef82a349d89
2022-11-02 07:48:24 +01:00