Commit graph

16710 commits

Author SHA1 Message Date
Matthaiks
e44fb7fd8c Translated using Weblate (Polish)
Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6e2e0e8becefd0a085012d5bf0277aacca0c1c2f
2021-11-08 09:38:45 +01:00
Andras Timar
709a31d956 Translated using Weblate (English (New Zealand))
Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Icelandic)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (French)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (German)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (412 of 412 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (412 of 412 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/de/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/id/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/nl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I509f120945d9b7e95b5117a7b7d0ec2f24b0992a
2021-11-08 09:38:45 +01:00
Andras Timar
48838d0073 l10n of button text 'Dismiss'
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1910b46a68abb13bc0fc24f84c9fce480cdd9e66
2021-11-08 09:35:51 +01:00
Rash419
c9f8f32e64 cypress: added scrolling tests for desktop calc,impress and writer
loleaflet: added test-div for horizontal and vertical scrollbar to get position

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I61f5823c26e1dc0a1ec96257bc58cb51bb29024f
2021-11-08 12:49:56 +05:30
Rash419
e6a2a43e72 cypress: added delay in annotation_spec.js
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ibfc46e24054cb042c27611397295d80e31c25eb3
2021-11-08 11:56:20 +05:30
Rash419
1836bbd5e6 debug.html: fix: opening a file using the full test URL in a make run build often gets stuck at Initializing
here full test URL mean, first you take the URL from the console, open it in the browser, then take the URL from the URL bar, close the existing session, and open a new one with that URL

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I4b4e59721fb1deec709bc778a8e59a52fb466a3a
2021-11-08 11:56:20 +05:30
Rash419
09fd9e6b1d cypress: added clone formatting test in calc/top_toolbar_spec
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I7e7b0376ab4dfa27e5e8fb7035717e9958272e2c
2021-11-08 11:35:18 +05:30
Dennis Francis
39c189c189 Fix slow loading/editing of sheet with ~800 comments
Profiling points to updateReplyCount() as the bottleneck where it does
O(N^3) work where N is the number of comments. The innermost loop is
used to find the index of a comment-section in an array using its 'id'.
Turns out that flattening this loop to a < log(N) lookup via a js map
from id -> index pretty much cures the perceived 'slowness'. But we need
to ensure the correctness of the map by updating it whenever
'commentList' is mutated.

Time to load the document with 800 comments (arranged in 50 rows x 16
cols table):

Before the patch: 1min 31 sec
After the patch:  3.5 sec

After-load performance (comment popup/hide/scroll) with this patch is
similar to how it feels in co-6-4 which does not have this issue.

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: I4c47f14767cac4c7e9744344d24f646dd27302a6
2021-11-08 09:16:22 +05:30
Andras Timar
5506e7d9f0 po/Update l10n files for Weblate
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ifdaf741a232e6d5e055fa952b66f8894d0b200ae
2021-11-06 21:50:21 +01:00
Martin Srebotnjak
c7d3767c19 Translated using Weblate (Slovenian)
Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id95ff12ade57a46b179b35ad199b0be055ebfcbc
2021-11-06 21:46:10 +01:00
Stanislav Horáček
37c29c1615 Translated using Weblate (Czech)
Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/cs/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Icc954d41c68f05bb30783c4bdb9a1dbb3455d37f
2021-11-06 21:46:10 +01:00
Ihor Hordiichuk
21ce9b6065 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/uk/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ia7accb6a567eb183e39291cd8f75b8b5c6ea93bc
2021-11-06 21:46:10 +01:00
Oğuz Ersen
09f470ed49 Translated using Weblate (Turkish)
Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/tr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Idf51d46bcbc63ae4b67f1fd690d90742aceb46cc
2021-11-06 21:46:10 +01:00
SC
824b1a666f Translated using Weblate (Portuguese)
Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: SC <lalocas@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pt/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I2c6f4a56cf18c250f05792a7b0832c0131051b78
2021-11-06 21:46:10 +01:00
Matthaiks
09775b31e0 Translated using Weblate (Polish)
Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/pl/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4424129be13f17e331f15671dfe9a29e4808e665
2021-11-06 21:46:10 +01:00
Yaron Shahrabani
f1c252e138 Translated using Weblate (Hebrew)
Currently translated at 64.1% (293 of 457 strings)

Translated using Weblate (Hebrew)

Currently translated at 63.8% (292 of 457 strings)

Translated using Weblate (Hebrew)

Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/he/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/he/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I404d5ea303d832bb1f0566929d4b3a26b0d98ec0
2021-11-06 21:46:10 +01:00
Nathan
c93fec59af Translated using Weblate (French)
Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Nathan <bonnemainsnathan@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id0b331cbac11485c878ddbe252915d5eedcfcde8
2021-11-06 21:46:10 +01:00
phlostically
d5e5f2f5ee Translated using Weblate (Esperanto)
Currently translated at 93.4% (427 of 457 strings)

Translated using Weblate (Esperanto)

Currently translated at 96.3% (395 of 410 strings)

Co-authored-by: phlostically <phlostically@mailinator.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/eo/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/eo/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I97c90851156bfb190600dc901d2789c8c546be68
2021-11-06 21:46:10 +01:00
Rob Pearson
48772563e5 Translated using Weblate (English (South Africa))
Currently translated at 100.0% (410 of 410 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (410 of 410 strings)

Co-authored-by: Rob Pearson <rob.dunedin@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_ZA/
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I05959e03230dd188a5f30a9272096528ea073233
2021-11-06 21:46:10 +01:00
Andras Timar
f4d53a1a37 Translated using Weblate (Spanish)
Currently translated at 99.5% (455 of 457 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (English (New Zealand))

Currently translated at 100.0% (410 of 410 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Slovenian)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Hungarian)

Currently translated at 56.8% (260 of 457 strings)

Translated using Weblate (French)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (English (South Africa))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (English (United Kingdom))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (410 of 410 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (410 of 410 strings)

Translated using Weblate (English (Australia))

Currently translated at 100.0% (457 of 457 strings)

Translated using Weblate (Catalan)

Currently translated at 100.0% (457 of 457 strings)

Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/ca/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/cs/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_GB/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/en_ZA/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/es/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/hu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/pt/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sl/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/tr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/uk/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_AU/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/en_NZ/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/hu/
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5279ab9ad51b99e2b560b2f60b7278face50cfba
2021-11-06 21:46:10 +01:00
Michael Meeks
f92e85dacc Ensure that options are always initialized.
Socket.js was failing in doc.connect with permission access in
a local debug build otherwise; possibly a JS init. ordering issue.

Change-Id: Iccb68a43ee300ae85498a3652d1a2f51ade3d115
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-11-06 15:25:13 +00:00
Szymon Kłos
035620c912 Simplify comments switching to bubbles
- now we switch to minified mode also depending on document size
  (not only window size) so when zoom is used we will also switch.
- no longer needed to use minSize property as comments section doesn't
  change it's size

Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: Ie9ac822ec6fcac7722035083653dd4e90f970559
2021-11-06 13:38:51 +01:00
Andras Timar
a362d89313 make this text localizable (again)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id00b334430ef060e6659499d0e9720d7bb2a98e4
2021-11-05 17:01:21 +01:00
Andras Timar
5a34ed7cd1 Introduce security.enable_metrics_unauthenticated config item
When enabled, the /lool/getMetrics endpoint will not require authentication.
By default authentication is required and this setting is set to "false".

Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I801130cf552eb14c231fcc0a0bdd39d9ebb6db7f
2021-11-05 16:47:11 +01:00
Henry Castro
d3cadea93e loleaflet: avoid creating an empty dialog
When a document is reconnecting, it shows an empty dialog.

Change-Id: I00b8d47b2fee67175d2e2936d93e121b10c38389
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-05 11:26:37 -04:00
Pedro Pinto Silva
2632880ddc Loleaflet: impress: Fix Slide properties label
Instead of using Page as in `Page properties` use
Slide as in `Slide properties` so it's consistent with the other
labels

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib41a2b00a3bb31a148726496aeafda6ad13befde
2021-11-05 13:06:55 +01:00
Pedro Pinto Silva
8ecf4b2985 Loleaflet: impress: Fix labels in the insert tab
Replace all instances of `Page` with `Slide` since we
are talking about presentations and so it's consistent with
all the other elements

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I604b3d3fd8194a22d606149d4e5704f0301b1c46
2021-11-05 13:06:55 +01:00
Rash419
e6825083a2 loleaflet: calc: fix: remove sheet confirmation dialog has extra space
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I84b59ced2b0fd803235f667ddcc4f81f81913576
2021-11-05 13:06:55 +01:00
Rash419
e824fe1e8f loleaflet: impress: fix: Wrong labelling of buttons in Layout tab
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I627103970ce34cf1612dfe1c2f072e4f58596965
2021-11-05 13:06:55 +01:00
Szymon Kłos
74ef554fb4 autofilter: delete elements on close
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8c0ad1d27fc6c1daee1d2409b4fe19d39ac5a55e
2021-11-05 12:01:16 +01:00
Pedro Pinto Silva
8204e8a427 JSsidebar: spinfields n edge elms: Fix alignments
Many elements are too wide (as a group) which breaks the sidebar
layout:
- Spinfields and their labels (example cm) occupy too much width
- Many other elements are getting some with: max-content rules
from the generic jsdialog.css file which is affecting and also
breaking the sidebar
- Make sure these changes do not affect layout from impress sidebar
as in that case it's not needed

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie6c18e829cbe32319e77ce031521c6ccc7c6a5c9
2021-11-05 11:09:02 +01:00
Tor Lillqvist
50399b20ed Don't generate useless loleaflet._emitSlurpedEvents-to-idle async trace events
The resulting Trace Event JSON ends up with tons of such async events
for which the viewer in Edge (i.e. Chromium) just says "Did Not
Finish".

Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I29ae233bf16086ffd464567660954ac4c171c7fb
2021-11-05 02:45:42 +02:00
Pedro Pinto Silva
8356433c03 Color picker: Don't set indicator's border so bright
Before, when the color is set to black the border color
that was alright — for any other non-black color — but for black
the grayish border around was causing weird contrast artifacts

Fix by setting different border color for that situation

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ia660f559f276bc7e9c335d43e57d51a9b1036472
2021-11-04 17:49:57 +01:00
Pedro Pinto Silva
22830f33d3 Color picker: UI, fix radius n add visual padding
- Before indicators were positioned in such a way that they would
, rightly so, inside of the main parent (visible on hover status)
but it would unfortunately spill over some of the icons (example:
in the font colour goes above "A")
  - Use whit outline so we keep the same positioning but creating that
  white separator
- Fix radius: Use round corners for these indicators instead of
a harsh rectangle to denote that this element is not a simple
icon detail or a small btn but instead an indicator

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ibee65b832c8f01a185b0461efa3630cbbcceaf37
2021-11-04 17:49:57 +01:00
Pedro Pinto Silva
c046dc7980 Mobile: Remove unused rules, were affecting desktop
Color panels do not used .w2ui-tb-caption and thus
Border-radius rule was having not effect on mobile and
instead of affecting Desktop, namely some of the color picker

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I13efd2b04a7e6abfe773f4931f830124e209d72c
2021-11-04 17:49:57 +01:00
Michael Meeks
1444ac7251 Add a version suffix configuration option.
This allows people to perturb the etags for now, and in future the
URL sub-path to make it easier to develop with binaries where the
git hash doens't change.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I6082a71cde5d3a34cca29fa5858feaf6fdb7f4d6
2021-11-04 14:02:03 +00:00
Andras Timar
1f4dad602f typo: missing space
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7a25f6311f2ce5f7c20cb96eab2cb649dcdd8fa0
2021-11-04 14:23:26 +01:00
Andras Timar
531394381a Better error message when quarantining failed
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib5722237a0f0b2962552470f35abc8e1042c9b7d
2021-11-04 14:09:51 +01:00
Nnamani Ezinne Martina
3a5383cc30 Trace: Writer and Impress: Generated loolstress traces
Created trace for adding and editing slides and shapes in Impress. Also re-typing and adding bullet points using large Writer file

Signed-off-by: Nnamani Ezinne Martina <nnamani.ezinne@collabora.com>
Change-Id: I3541295fada230338acb934409c2bcb80730354b
Signed-off-by: Nnamani Ezinne Martina <nnamani.ezinne@collabora.com>
2021-11-04 13:02:04 +00:00
Pedro Pinto Silva
5f08881ebd Fix: empty CSS file errors
By removing those files that are not needed anymore and
thus avoiding extra useless requests

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I8fcbd8053edd0ee00d388117ccd77094fc4594ed
2021-11-04 12:44:31 +01:00
Miklos Vajna
1190f85d27 configure: extend --enable-fuzzers description
To make it more clear that if you enable this in an existing build tree,
you'll get an outdated loolwsd binary, which is confusing.

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: Iaf6e747a9d7ac4262732c3df69bb5012bc7dc352
2021-11-04 11:26:46 +01:00
Mert Tumer
ecb2b1f4b5 android: Do copy back in another thread for network operations
If network provider is used, on some devices download/upload
operations can cause an exception. Creating a new file is already
covered but better to cover saving back operation too.

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I90ffa890ed864e730c16c68bc777b1d6371fd0a8
2021-11-04 10:07:57 +03:00
Mert Tumer
b4fcb63a43 mobile: Fix hidden blue edit button on readonly files
We display the edit button on mobile and offer save-as
to allow editing
Except for PDF

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Iee4590704bb38880b39d00f6973559f68b96b781
2021-11-04 10:07:52 +03:00
Mert Tumer
bcd28ec9e8 android: Attempt to fix modification time issue
the issue is when there's no change in the document, the modification time is
still being updated. The current approach was using the modified status
message but appearently due to it's sent delayed, it caused the changes
being not saved. We already upload the changes on uno callback result
of uno:Save command if it is sucessfull and it should be enough.
No need to copy back the temp file on after killing the document because
it also saves the file thus it updates the original file before the exit.

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I2a26a3bc6d55ac0a090c4e4d89e47544c545f8d1
2021-11-04 10:07:44 +03:00
Mert Tumer
36e627a21b android: Fix inserting special characters in Non English Languages
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I7b0fd5e8a1abb5048cc0bd4dd4b7a6d794b446ea
2021-11-04 10:07:38 +03:00
Mert Tumer
b95807d6aa android: Make pdf not editable & commentable
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I477adc715b9a75a9f0e3455e81507285e730cb48
2021-11-04 10:07:34 +03:00
Mert Tumer
a8bd7720f2 android: Blind fix for 0 byte output file after close
for some reason if the input stream of the temp file becomes 0 byte
we should not try to write it back to the original file

Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: Id1d2f623d5c7262c06f2c72dc813a8a81c786bc6
2021-11-04 10:07:28 +03:00
Mert Tumer
921186b98c Fix #1372 - dont copy back the temp file if unmodified
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I174c96947aeca9585c586bdcdddc246bdcd14457
2021-11-04 10:07:18 +03:00
Ashod Nakashian
4cf5797585 leaflet: correct map reference in socket
This caused an exception which prevented
the WSDServer member from updating after
a saveas operation that ended up on a
different server (in a load-balanced setup).

Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
(cherry picked from commit 2b0180c4104ccf1a3e7da94cfc2d2f35c09d0684)

Change-Id: Ibf8f69d53dc3cb14fa004201660e3997ad5c298e
2021-11-03 21:50:57 -04:00
Julius Härtl
5162f91eca Keep branding theme dynamic
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Change-Id: I07c952d10d50a38dd43369f5db6db41a2a4f32a0
2021-11-03 21:25:01 +01:00