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
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
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
Currently translated at 100.0% (457 of 457 strings)
Translated using Weblate (Swedish)
Currently translated at 74.6% (341 of 457 strings)
Translated using Weblate (Swedish)
Currently translated at 64.3% (294 of 457 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (5 of 5 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (Swedish)
Currently translated at 54.0% (247 of 457 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (395 of 395 strings)
Co-authored-by: Leif-Jöran Olsson <info@friprogramvarusyndikatet.se>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/code-welcome-text/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/sv/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/sv/
Translation: Collabora Online/Android app
Translation: Collabora Online/CODE welcome text
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I3987e574f5adb7e7256c80d2eaf308d4cd05c2cb
Currently translated at 100.0% (22 of 22 strings)
Translated using Weblate (Greek)
Currently translated at 93.2% (426 of 457 strings)
Translated using Weblate (Greek)
Currently translated at 99.4% (393 of 395 strings)
Translated using Weblate (Greek)
Currently translated at 95.4% (21 of 22 strings)
Translated using Weblate (Greek)
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (Greek)
Currently translated at 98.1% (108 of 110 strings)
Co-authored-by: george kitsoukakis <norhorn@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/el/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/el/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib59a0aa2d47cf0c0004703008ef46bdf9165f1e1
This issue is fixing some unidentifed keys with physical
keyboard being sent such as 'space' also some keydown and up
events not being sent correctly. This fixes some shortcut
problems.
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I805e547eaa2a5dc0ce9e7aae6d2d9169d9f9a4bc
When we create a document inside a network storage
we need to do it in a seperate thread
Signed-off-by: Mert Tumer <mert.tumer@collabora.com>
Change-Id: I43cb5f09dfab2f6c31de4647b4a312a3c29e746b
Currently translated at 100.0% (22 of 22 strings)
Translated using Weblate (Russian)
Currently translated at 99.7% (392 of 393 strings)
Translated using Weblate (Russian)
Currently translated at 95.4% (21 of 22 strings)
Translated using Weblate (Russian)
Currently translated at 99.2% (390 of 393 strings)
Co-authored-by: Artem <Localizer_in_Russian@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/ru/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/ru/
Translation: Collabora Online/Android lib
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id6151817f1bbc480839e544fae781ba7cd4f61b7
In addition, refactored the restating the app bits for copy requests
Now, we dont need to reload the activity for the new document
instead LO will switch to the new.
Signed-off-by: merttumer <mert.tumer@collabora.com>
Change-Id: I0319086ece0b7dcd0bbed865ac2a9681c7a1edb5
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (French)
Currently translated at 100.0% (420 of 420 strings)
Translated using Weblate (French)
Currently translated at 100.0% (393 of 393 strings)
Translated using Weblate (French)
Currently translated at 99.0% (109 of 110 strings)
Co-authored-by: K. Herbert <herbert.ka@mailo.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/fr/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/fr/
Translation: Collabora Online/Android app
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I7bbb26235a70cd183d5d6e7dd7e0ab97caa7640b
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (French)
Currently translated at 99.0% (109 of 110 strings)
Translated using Weblate (French)
Currently translated at 98.1% (108 of 110 strings)
Co-authored-by: Elisa de Castro Guerra <elisa.dcg@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/fr/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iecd63c8feb7c3465a66684c732baa4c00b018952
Currently translated at 80.0% (88 of 110 strings)
Translated using Weblate (Galician)
Currently translated at 93.6% (103 of 110 strings)
Translated using Weblate (Asturian)
Currently translated at 78.1% (86 of 110 strings)
Co-authored-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/ast/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/gl/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I5d3cfe35bdeb94cdfc1c08ccfb0eaacbde60cf02
Currently translated at 100.0% (22 of 22 strings)
Translated using Weblate (Icelandic)
Currently translated at 67.1% (282 of 420 strings)
Translated using Weblate (Icelandic)
Currently translated at 100.0% (387 of 387 strings)
Translated using Weblate (Icelandic)
Currently translated at 90.9% (20 of 22 strings)
Translated using Weblate (Icelandic)
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (Icelandic)
Currently translated at 93.7% (363 of 387 strings)
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/help/is/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/ui/is/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Translation: Collabora Online/Help
Translation: Collabora Online/UI
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I93fd9d06e92c468fb47d7646a77ecaea020db17f
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (109 of 109 strings)
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/tr/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I1067e1c83e68ee85de1bd67646763380d020c2c7
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (Hungarian)
Currently translated at 100.0% (22 of 22 strings)
Translated using Weblate (Hungarian)
Currently translated at 100.0% (109 of 109 strings)
Co-authored-by: Andras Timar <andras.timar@collabora.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/hu/
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-lib/hu/
Translation: Collabora Online/Android app
Translation: Collabora Online/Android lib
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I29701895368f80c575a8499265f1d94ebc033c2e
Currently translated at 100.0% (110 of 110 strings)
Translated using Weblate (Esperanto)
Currently translated at 100.0% (109 of 109 strings)
Co-authored-by: phlostically <phlostically@mailinator.com>
Translate-URL: https://hosted.weblate.org/projects/collabora-online/android-app/eo/
Translation: Collabora Online/Android app
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I6ba38f018e328cfb29f44e5fb08391d47aceb4c9
Modelled on how it is done in core. ProfileZone is derived from
NamedEvent which is derived from TraceEvent. Here we don't keep any
separate ProfileZone.hpp, though.
This was needed to introduce generation of "instant" events here, too.
Signed-off-by: Tor Lillqvist <tml@collabora.com>
Change-Id: I6583134e96001641c50339deb4197fca6ab7d5d5
This was already worked on iOS since commit
75a3ab02ca (Add an iOS setting for the
user's name or nickname, 2021-04-07), start using the same API on
Android as well.
Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I37825d143b0ed92bd84f9a1512313e51ff5e761c